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

Method Create

pkg/controller/model/graph_client.go:103–105  ·  view source on GitHub ↗
(dag *graph.DAG, obj client.Object, opts ...GraphOption)

Source from the content-addressed store, hash-verified

101}
102
103func (r *realGraphClient) Create(dag *graph.DAG, obj client.Object, opts ...GraphOption) {
104 r.doWrite(dag, nil, obj, ActionCreatePtr(), opts...)
105}
106
107func (r *realGraphClient) Update(dag *graph.DAG, objOld, objNew client.Object, opts ...GraphOption) {
108 r.doWrite(dag, objOld, objNew, ActionUpdatePtr(), opts...)

Callers

nothing calls this directly

Calls 2

doWriteMethod · 0.95
ActionCreatePtrFunction · 0.85

Tested by

no test coverage detected