Documentation ¶
Index ¶
- func GenerateConfigMapObject(ndb *v1alpha1.Ndb) *corev1.ConfigMap
- func GetConfigFromConfigMapObject(cm *corev1.ConfigMap) (string, error)
- func GetConfigHashAndGenerationFromConfig(configStr string) (string, int64, error)
- func GetConfigString(ndb *v1alpha1.Ndb) (string, error)
- func InjectUpdateToConfigMapObject(ndb *v1alpha1.Ndb, dest *corev1.ConfigMap) *corev1.ConfigMap
- func NewMgmdStatefulSet(cluster *v1alpha1.Ndb) *baseStatefulSet
- func NewNdbdStatefulSet(cluster *v1alpha1.Ndb) *baseStatefulSet
- func NewPodDisruptionBudget(ndb *v1alpha1.Ndb) *policyv1beta1.PodDisruptionBudget
- func NewService(ndb *v1alpha1.Ndb, mgmd bool, externalIP bool, svcName string) *corev1.Service
- type StatefulSetInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InjectUpdateToConfigMapObject ¶
injects a newly generated config map into an existing config map object returns a pointer to the changed original
func NewMgmdStatefulSet ¶
func NewNdbdStatefulSet ¶
func NewPodDisruptionBudget ¶
func NewPodDisruptionBudget(ndb *v1alpha1.Ndb) *policyv1beta1.PodDisruptionBudget
Create a PodDisruptionBudget
Types ¶
type StatefulSetInterface ¶
type StatefulSetInterface interface { NewStatefulSet(cluster *v1alpha1.Ndb) *apps.StatefulSet GetName() string }
Click to show internal directories.
Click to hide internal directories.