MCPcopy Create free account
hub / github.com/flant/shell-operator / withIgnoreMissingObject

Function withIgnoreMissingObject

pkg/kube/object_patch/options.go:19–23  ·  view source on GitHub ↗
(ignore bool)

Source from the content-addressed store, hash-verified

17}
18
19func withIgnoreMissingObject(ignore bool) Option {
20 return func(o sdkpkg.PatchCollectorOptionApplier) {
21 o.WithIgnoreMissingObject(ignore)
22 }
23}
24
25func WithIgnoreMissingObject() Option {
26 return withIgnoreMissingObject(true)

Callers 2

WithIgnoreMissingObjectFunction · 0.85
NewFromOperationSpecFunction · 0.85

Calls 1

Tested by

no test coverage detected