MCPcopy Create free account
hub / github.com/cloudnative-pg/cloudnative-pg / Update

Method Update

internal/webhook/guard/guard_test.go:113–118  ·  view source on GitHub ↗
(ctx context.Context, obj client.Object, opts ...client.UpdateOption)

Source from the content-addressed store, hash-verified

111}
112
113func (m *mockClient) Update(ctx context.Context, obj client.Object, opts ...client.UpdateOption) error {
114 if m.UpdateFunc != nil {
115 return m.UpdateFunc(ctx, obj, opts...)
116 }
117 return nil
118}
119
120func (m *mockClient) Status() client.SubResourceWriter {
121 return &mockStatusWriter{

Callers 15

markAsFailedFunction · 0.45
markAsUnknownFunction · 0.45
markAsReadyFunction · 0.45
reconcileMethod · 0.45
finalizers_test.goFile · 0.45
ReconcileMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected