MCPcopy
hub / github.com/kubernetes/client-go / NewRootCreateAction

Function NewRootCreateAction

testing/actions.go:95–102  ·  view source on GitHub ↗
(resource schema.GroupVersionResource, object runtime.Object)

Source from the content-addressed store, hash-verified

93}
94
95func NewRootCreateAction(resource schema.GroupVersionResource, object runtime.Object) CreateActionImpl {
96 action := CreateActionImpl{}
97 action.Verb = "create"
98 action.Resource = resource
99 action.Object = object
100
101 return action
102}
103
104func NewCreateAction(resource schema.GroupVersionResource, namespace string, object runtime.Object) CreateActionImpl {
105 action := CreateActionImpl{}

Callers 15

CreateMethod · 0.92
CreateMethod · 0.92
CreateMethod · 0.92
CreateMethod · 0.92
CreateMethod · 0.92
CreateMethod · 0.92
CreateMethod · 0.92
CreateMethod · 0.92
CreateMethod · 0.92
CreateMethod · 0.92
CreateMethod · 0.92
CreateMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected