Documentation ¶
Index ¶
- func DefineStatefulSet(statefulSetName string, namespace string, image string, ...) *appsv1.StatefulSet
- func RedefineWithContainerSpecs(statefulSet *appsv1.StatefulSet, containerSpecs []corev1.Container)
- func RedefineWithLivenessProbe(statefulSet *appsv1.StatefulSet)
- func RedefineWithPostStart(statefulSet *appsv1.StatefulSet)
- func RedefineWithPrivilegedContainer(statefulSet *appsv1.StatefulSet)
- func RedefineWithReadinessProbe(statefulSet *appsv1.StatefulSet)
- func RedefineWithReplicaNumber(statefulSet *appsv1.StatefulSet, replicasNumber int32)
- func RedefineWithStartUpProbe(statefulSet *appsv1.StatefulSet)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefineStatefulSet ¶
func DefineStatefulSet(statefulSetName string, namespace string, image string, label map[string]string) *appsv1.StatefulSet
DefineStatefulSet returns statefulset struct.
func RedefineWithContainerSpecs ¶
func RedefineWithContainerSpecs(statefulSet *appsv1.StatefulSet, containerSpecs []corev1.Container)
func RedefineWithLivenessProbe ¶
func RedefineWithLivenessProbe(statefulSet *appsv1.StatefulSet)
RedefineWithLivenessProbe adds liveness probe to statefulSet manifest.
func RedefineWithPostStart ¶
func RedefineWithPostStart(statefulSet *appsv1.StatefulSet)
RedefineWithPostStart adds postStart to statefulSet manifest.
func RedefineWithPrivilegedContainer ¶
func RedefineWithPrivilegedContainer(statefulSet *appsv1.StatefulSet)
func RedefineWithReadinessProbe ¶
func RedefineWithReadinessProbe(statefulSet *appsv1.StatefulSet)
RedefineWithReadinessProbe adds readiness probe to statefulSet manifest.
func RedefineWithReplicaNumber ¶
func RedefineWithReplicaNumber(statefulSet *appsv1.StatefulSet, replicasNumber int32)
func RedefineWithStartUpProbe ¶
func RedefineWithStartUpProbe(statefulSet *appsv1.StatefulSet)
RedefineWithStartUpProbe adds startup probe to statefulSet manifest.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.