# Packages
No description provided by the author
# Functions
AddFinalizer is a function to add specific conditions before deleting the resource.
AppendHyphenAndPercentageSToString is a function to add hyphen and % at the end of string.
AppendHyphenToString is a function add hyphen at the end of string.
No description provided by the author
CheckDuplicateInArray check duplicate data in array.
CheckForProjectNamespace is a function to check namespace is in decided format.
DeleteResource is a function to delete the resource of given kind.
UpdateResource is a function to update resource.
UpdateStatus is a function to update the status of given resource.
ContainsString is a function to check if the given string is in given array.
CreateResource is a function to create the given kind of resource if not exist in namepscae.
CtxClient is a function to get the Client.
CtxEventRecorder is a function to get the EventRecorder.
CtxLogger is a function to get the logs.
CtxScheme is a function to get the Scheme.
DeleteResource is a function to delete the resource of given kind.
Set Difference: A - B.
EncodeToBase64 is a function to encode the string.
FindCIDRByMaxClusters is a function to find the CIDR by max clusters.
No description provided by the author
GetKubeSliceControllerRequestContext is a function to get the request context.
GetObjectKindis a function which return the kind of existing resource.
GetOwnerLabel is a function returns the label of object.
GetProjectName is function to get the project name from the namespace.
GetResourceIfExist is a function to get the given resource is in namespace.
GetZapLogLevel is function to add the layer of debug, error, info in logging.
HasLastTwoOctetsZero is a function to check if the subnet address's last octet is 0.
HasPrefix is function to check if the string has given prefix.
IsDNSCompliant is a function to check if the given string/name is DNS compliant.
IsInSlice function for check if element is in array slice.
IsPrivateSubnet function for check if prefix matches any item in a slice.
IsReconciled is a function to requeue the reconcilation process.
ListResources is a function to list down the resources/objects of given kind.
NewLogger Creates a new SugaredLogger instance with predefined standard fields SugaredLogger makes it easy to use structured logging with logging levels and additional fields.
OverlapIP function to check whether two IP addresses overlap each other.
PrepareKubeSliceControllersRequestContext is a function to create the context for kube slice.
RecordEvent is a function to record the event.
No description provided by the author
RemoveFinalizer is a function to discard the condition to delete the resource.
Resource is a function returns the resource for testing.
Retry tries to execute the funtion, If failed reattempts till backoffLimit.
UpdateResource is a function to update resource.
UpdateStatus is a function to update the status of given resource.
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
# Interfaces
Client is interface for k8s.