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

Method Error

pkg/controller/multicluster/error.go:50–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48var _ error = &unavailableError{}
49
50func (e *unavailableError) Error() string {
51 return fmt.Sprintf("cluster %s is unavailable, call: %s, object: %s", e.context, e.call, e.obj)
52}
53
54func genericUnavailableError(context string, obj runtime.Object) error {
55 return &unavailableError{context, "Generic", objectNameKind(obj, "")}

Callers 15

emitFailureEventMethod · 0.45
buildOrderedVerticesFunction · 0.45
kbagent_test.goFile · 0.45
vars_test.goFile · 0.45
resolveNativeObjectKeyFunction · 0.45
resolveClusterObjectVarsFunction · 0.45
lifecycle_test.goFile · 0.45
ReconcileMethod · 0.45

Calls

no outgoing calls

Tested by 8

TestAddVertexFunction · 0.36
TestRemoveVertexFunction · 0.36
TestAddNRemoveEdgeFunction · 0.36
TestXConnectFunction · 0.36
TestWalkTopoOrderFunction · 0.36
TestWalkBFSFunction · 0.36
TestValidateFunction · 0.36
TestEqualsFunction · 0.36