MCPcopy Create free account
hub / github.com/flant/shell-operator / Create

Method Create

pkg/kube/object_patch/patch_collector.go:31–33  ·  view source on GitHub ↗

Create an object. Options: - WithSubresource - create a specified subresource

(object any)

Source from the content-addressed store, hash-verified

29// Options:
30// - WithSubresource - create a specified subresource
31func (dop *PatchCollector) Create(object any) {
32 dop.add(NewCreateOperation(object))
33}
34
35// Create or update an object.
36//

Callers 12

createExecutableFileFunction · 0.80
createNsWithLabelsFunction · 0.80
createCMFunction · 0.80
submitMethod · 0.80
submitMethod · 0.80
SetInitialStateMethod · 0.80
ChangeStateMethod · 0.80

Calls 2

addMethod · 0.95
NewCreateOperationFunction · 0.85

Tested by 6

createExecutableFileFunction · 0.64
createNsWithLabelsFunction · 0.64
createCMFunction · 0.64