MCPcopy Index your code
hub / github.com/apecloud/kubeblocks / Root

Method Root

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

Root setups the given obj as root vertex of the underlying DAG.

(dag *graph.DAG, objOld, objNew client.Object, action *Action)

Source from the content-addressed store, hash-verified

31type GraphWriter interface {
32 // Root setups the given obj as root vertex of the underlying DAG.
33 Root(dag *graph.DAG, objOld, objNew client.Object, action *Action)
34
35 // Create saves the object obj in the underlying DAG.
36 Create(dag *graph.DAG, obj client.Object, opts ...GraphOption)

Implementers 1

realGraphClientpkg/controller/model/graph_client.go

Calls

no outgoing calls

Tested by 2

mockDAGFunction · 0.52
mockDAGWithUpdateFunction · 0.52