MCPcopy
hub / github.com/apecloud/kubeblocks / Create

Method Create

pkg/controller/model/graph_client.go:36–36  ·  view source on GitHub ↗

Create saves the object obj in the underlying DAG.

(dag *graph.DAG, obj client.Object, opts ...GraphOption)

Source from the content-addressed store, hash-verified

34
35 // Create saves the object obj in the underlying DAG.
36 Create(dag *graph.DAG, obj client.Object, opts ...GraphOption)
37
38 // Delete deletes the given obj from the underlying DAG.
39 Delete(dag *graph.DAG, obj client.Object, opts ...GraphOption)

Implementers 1

realGraphClientpkg/controller/model/graph_client.go

Calls

no outgoing calls

Tested by 6

mockDAGFunction · 0.52
mockDAGWithUpdateFunction · 0.52
mockConfigResourceFunction · 0.52
mockReconcileResourceFunction · 0.52
initOperationsResourcesFunction · 0.52