Documentation
¶
Index ¶
Constants ¶
View Source
const ( FmtResponseChanUClosed = "%w: Response chan unexpectable closed" FmtKW = "%s: %s" FmtErrKW = "%s: %w" FmtRFC3339 = "2006-01-02T15:04:05.00000Z07" )
Variables ¶
View Source
var ( Err = errors.New("") ErrUndefined = fmt.Errorf("not defined%w", Err) ErrClusterUndefined = fmt.Errorf("cluster %w", ErrUndefined) ErrRegionUndefined = fmt.Errorf("region %w", ErrUndefined) ErrProviderUndefined = fmt.Errorf("provider %w", ErrUndefined) ErrObjLookup = fmt.Errorf("%w", Err) ErrNotFound = fmt.Errorf("not found%w", ErrObjLookup) ErrMoreThanOne = fmt.Errorf("more than one%w", ErrObjLookup) ErrInoperable = fmt.Errorf("inoperable%w", Err) ErrWrong = fmt.Errorf("wrong%w", Err) ErrWrongFormat = fmt.Errorf("%w format", ErrWrong) ErrWrongObject = fmt.Errorf("%w object", ErrWrong) ErrWrongName = fmt.Errorf("%w name", ErrWrong) ErrWrongParametr = fmt.Errorf("%w parameter", ErrWrong) ErrWrongRequest = fmt.Errorf("%w request", ErrWrong) ErrTimeoutOrCancel = fmt.Errorf("timeout or cancel%w", Err) ErrUnableToAllocate = fmt.Errorf("unable to allocate%w", Err) ErrDoNothing = fmt.Errorf("do nothing%w", Err) ErrSomethingWentWrong = fmt.Errorf("Something went wrong%w", Err) )
Functions ¶
This section is empty.
Types ¶
type K8sObject ¶
type K8sObject interface { GetFinalizers() []string GetAnnotations() map[string]string GetLabels() map[string]string GetNamespace() string GetName() string GetUID() types.UID GetOwnerReferences() []metav1.OwnerReference SetAnnotations(map[string]string) SetFinalizers([]string) SetLabels(map[string]string) SetOwnerReferences([]metav1.OwnerReference) }
K8sObject -- Minimalistic interface, described k8s object
type TimeInterval ¶
Click to show internal directories.
Click to hide internal directories.