MCPcopy Create free account
hub / github.com/VictoriaMetrics/operator / newGetError

Function newGetError

internal/controller/operator/controllers.go:126–128  ·  view source on GitHub ↗

newGetError wraps a client.Get failure as a reconcileError tagged reasonGetObject.

(err error)

Source from the content-addressed store, hash-verified

124
125// newGetError wraps a client.Get failure as a reconcileError tagged reasonGetObject.
126func newGetError(err error) error {
127 return &reconcileError{origin: err, reason: reasonGetObject}
128}
129
130// newParsingError wraps a stored ParsingSpecError message as a reconcileError tagged reasonParseObject.
131func newParsingError(msg string) error {

Callers 15

ReconcileMethod · 0.85
ReconcileMethod · 0.85
ReconcileMethod · 0.85
ReconcileMethod · 0.85
ReconcileMethod · 0.85
ReconcileMethod · 0.85
ReconcileMethod · 0.85
ReconcileMethod · 0.85
TestHandleReconcileErrFunction · 0.85
ReconcileMethod · 0.85
ReconcileMethod · 0.85

Calls

no outgoing calls

Tested by 2

TestHandleReconcileErrFunction · 0.68