MCPcopy Create free account
hub / github.com/CrunchyData/postgres-operator / Patch

Method Patch

internal/controller/runtime/client.go:74–76  ·  view source on GitHub ↗
(ctx context.Context, obj client.Object, patch client.Patch, opts ...client.PatchOption)

Source from the content-addressed store, hash-verified

72}
73
74func (fn ClientPatch) Patch(ctx context.Context, obj client.Object, patch client.Patch, opts ...client.PatchOption) error {
75 return fn(ctx, obj, patch, opts...)
76}
77
78func (fn ClientUpdate) Update(ctx context.Context, obj client.Object, opts ...client.UpdateOption) error {
79 return fn(ctx, obj, opts...)

Callers 14

ReconcileMethod · 0.80
TestDeleteInstanceFunction · 0.80
handleDeleteMethod · 0.80
adoptObjectMethod · 0.80
releaseObjectMethod · 0.80
ReconcileMethod · 0.80
deleteInstancesMethod · 0.80
controller_test.goFile · 0.80
TestCustomLabelsFunction · 0.80
TestCustomAnnotationsFunction · 0.80
TestServerSideApplyFunction · 0.80

Calls

no outgoing calls

Tested by 4

TestDeleteInstanceFunction · 0.64
TestCustomLabelsFunction · 0.64
TestCustomAnnotationsFunction · 0.64
TestServerSideApplyFunction · 0.64