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

Method Patch

pkg/controller/model/graph_client.go:111–113  ·  view source on GitHub ↗
(dag *graph.DAG, objOld, objNew client.Object, opts ...GraphOption)

Source from the content-addressed store, hash-verified

109}
110
111func (r *realGraphClient) Patch(dag *graph.DAG, objOld, objNew client.Object, opts ...GraphOption) {
112 r.doWrite(dag, objOld, objNew, ActionPatchPtr(), opts...)
113}
114
115func (r *realGraphClient) Delete(dag *graph.DAG, obj client.Object, opts ...GraphOption) {
116 r.doWrite(dag, nil, obj, ActionDeletePtr(), opts...)

Callers

nothing calls this directly

Calls 2

doWriteMethod · 0.95
ActionPatchPtrFunction · 0.85

Tested by

no test coverage detected