package
2.2.1+incompatible
Repository: https://github.com/cscetbon/casskop.git
Documentation: pkg.go.dev

# Functions

addOwnerRefToObject appends the desired OwnerReference to the object.
asOwner returns an owner reference set as the cassandra cluster CRD.
No description provided by the author
ContainSlice return true if each element of n exists in ref.
DCRackLabelsAndNodeSelectorForStatefulSet function return a map with the labels DC & Rack to deploy on the statefulset.
inspirationhttps://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/exec.gofunc ExecPod(clientset *kubernetes.Clientset, cfg *rest.Config, namespace string, pod *corev1.Pod, cmd []string) (string, string, error) {.
inspirationhttps://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/exec.gofunc ExecPodFromName(clientset *kubernetes.Clientset, cfg *rest.Config, namespace string, name string, cmd []string) (string, string, error) {.
InitClient allow to setup an additional client to kubernetes API while operator-sdk don't gives us access to oit.
IsMarkedForDeletion determines if the object is marked for deletion.
No description provided by the author
No description provided by the author
labelsForCassandra returns the labels for selecting the resources belonging to the given name.
LabelTime returns a supported label string containing the current date and time.
LabelTime2Time converts a label string containing a time into a Time.
No description provided by the author
LookupCassandra Cluster returns the running cluster instance based on its name and namespace.
MergeLabels merges all the label maps received as argument into a single new label map.
MergeSlice will add ad the end of old any elements of new which is missingwe want to keep the order of elements in old.
Copy from k8sclient because not yet public MustNewKubeClientAndConfig returns the in-cluster config and kubernetes client or if KUBERNETES_CONFIG is given an out of cluster config and client.
No description provided by the author
PodHostname returns hostname of a pod.
No description provided by the author

# Constants

No description provided by the author

# Variables

Regex to extract date from label.