package
2.0.0-20230208192055-6241090b1050
Repository: https://github.com/mirantis/mcc-api.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

AddFinalizer add provided finalizer to resource.
CheckFinalizer returns `true` if provided finalizer is set +gocode:public-api=true.
+gocode:public-api=true.
ContextWithReducedDeadline -- returns new ctx/cancel pair with reduced remaining time (by divider) of given context if given context does not contains deadline fallbackDeadline will be used if not zero +gocode:public-api=true.
+gocode:public-api=true.
+gocode:public-api=true.
EnsureUIDConsistency -- ensere that UIDlabel consistent to object UID rv indicates whether object was changed while ensuring.
+gocode:public-api=true.
GenerateRegionalName -- Return region-prefixed resource name.
GetClusterObj -- returns Cluster Obj as Unstructured +gocode:public-api=true.
+gocode:public-api=true.
+gocode:public-api=true.
GetRegionName -- returns region name of k8types.K8sObject or empty string if absent.
GetRegionNameFromContext -- returns region name from context.
+gocode:public-api=true.
+gocode:public-api=true.
+gocode:public-api=true.
+gocode:public-api=true.
KeyToNamespacedName convert key (namespace/name) to types.NamespacedName +gocode:public-api=true.
+gocode:public-api=true.
+gocode:public-api=true.
MachRegion -- if bool is true -- sring contains region name, else -- error message.
+gocode:public-api=true.
RemoveAnnotation returns `true` if value really was changed or `true` if optional parameter shouldBeChanged == true +gocode:public-api=true.
RemoveFinalizer remove provided finalizer from resource returns `true` if finalizer was really removed or `true` if optional parameter shouldBeChanged == true +gocode:public-api=true.
RemoveLabel returns `true` if value really was changed or `true` if optional parameter shouldBeChanged == true +gocode:public-api=true.
SetAnnotation returns `true` if value really was changed, or `true` if optional parameter shouldBeChanged == true +gocode:public-api=true.
SetLabel returns `true` if value really was changed, or `true` if optional parameter shouldBeChanged == true +gocode:public-api=true.

# Constants

+gocode:public-api=true.
+gocode:public-api=true.
+gocode:public-api=true.
+gocode:public-api=true.

# Variables

IsMACaddr is MAC address checker +gocode:public-api=true.