package
0.14.0
Repository: https://github.com/m3db/m3db-operator.git
Documentation: pkg.go.dev

# Functions

CoordinatorServiceName returns a name for a cluster's coordinator service.
GenerateCoordinatorService creates a coordinator service given a cluster name.
GenerateDefaultConfigMap creates a ConfigMap for the clusters with the default config.
GenerateM3DBService will generate the headless service required for an M3DB StatefulSet.
GenerateOwnerRef generates an owner reference to a given m3db cluster.
GenerateStatefulSet provides a statefulset object for a m3db cluster.
GenerateStatefulSetAffinity generates affinity settings for the statefulset.
GenerateStatefulSetNodeAffinity generates a node affinity requiring a strict match for given key and values.
GenerateStatefulSetPodAntiAffinity generates a pod anti-affinity for m3db pods, using labels.Component and labels.ComponentM3DBNode consts as matchexpression key and values, respectively.
HeadlessServiceName returns a name for the cluster's headless service.
New creates a new instance of k8sops.
NewBaseStatefulSet returns a base configured stateful set.
NewMockK8sops creates a new mock instance.
PlacementInstanceFromPod creates a new m3cluster placement instance given a pod spec.
StatefulSetName provides a formatted string to use for naming StatefulSets.
WithCRDClient is a setter to override the default CRD client.
WithExtClient is a setter to override the default Extensions Client.
WithKClient is a setter to override the default Kubernetes client.
WithLogger is a setter to override the default logger.

# Constants

Ports used by M3DB nodes and coordinator nodes.
Ports used by M3DB nodes and coordinator nodes.
Ports used by M3DB nodes and coordinator nodes.
Ports used by M3DB nodes and coordinator nodes.
Ports used by M3DB nodes and coordinator nodes.
Ports used by M3DB nodes and coordinator nodes.
Ports used by M3DB nodes and coordinator nodes.
Ports used by M3DB nodes and coordinator nodes.

# Structs

MockK8sops is a mock of K8sops interface.
MockK8sopsMockRecorder is the mock recorder for MockK8sops.

# Interfaces

K8sops provides an interface for various Kubernetes API calls.
Option provides an interface that can be used for setter options with the constructor.

# Type aliases

Port represents a port number.