type statefulSetTweak …
func mkStatefulSet(template *api.PodTemplate, tweaks ...statefulSetTweak) apps.StatefulSet { … }
func tweakName(name string) statefulSetTweak { … }
func tweakNamespace(ns string) statefulSetTweak { … }
func tweakLabels(key string, value string) statefulSetTweak { … }
func tweakAnnotations(key string, value string) statefulSetTweak { … }
func tweakFinalizers(finalizers ...string) statefulSetTweak { … }
func tweakPodManagementPolicy(policy apps.PodManagementPolicyType) statefulSetTweak { … }
func tweakReplicas(replicas int32) statefulSetTweak { … }
func tweakSelectorLabels(labels map[string]string) statefulSetTweak { … }
func tweakTemplateRestartPolicy(rp api.RestartPolicy) statefulSetTweak { … }
func tweakMinReadySeconds(t int32) statefulSetTweak { … }
func tweakOrdinalsStart(s int32) statefulSetTweak { … }
func tweakPVCTemplate(pvc ...api.PersistentVolumeClaim) statefulSetTweak { … }
func tweakUpdateStrategyType(t apps.StatefulSetUpdateStrategyType) statefulSetTweak { … }
func tweakRollingUpdatePartition(partition int32) statefulSetTweak { … }
func tweakMaxUnavailable(mu intstr.IntOrString) statefulSetTweak { … }
func tweakPVCPolicy(policy *apps.StatefulSetPersistentVolumeClaimRetentionPolicy) statefulSetTweak { … }
type pvcPolicyTweak …
func mkPVCPolicy(tweaks ...pvcPolicyTweak) *apps.StatefulSetPersistentVolumeClaimRetentionPolicy { … }
func tweakPVCDeletedPolicy(t apps.PersistentVolumeClaimRetentionPolicyType) pvcPolicyTweak { … }
func tweakPVCScalePolicy(t apps.PersistentVolumeClaimRetentionPolicyType) pvcPolicyTweak { … }
func TestValidateStatefulSet(t *testing.T) { … }
func generateStatefulSetSpec(minSeconds int32) *apps.StatefulSetSpec { … }
func TestValidateStatefulSetMinReadySeconds(t *testing.T) { … }
func TestValidateStatefulSetStatus(t *testing.T) { … }
func TestValidateStatefulSetUpdate(t *testing.T) { … }
func TestValidateControllerRevision(t *testing.T) { … }
func TestValidateControllerRevisionUpdate(t *testing.T) { … }
func TestValidateDaemonSetStatusUpdate(t *testing.T) { … }
func TestValidateDaemonSetUpdate(t *testing.T) { … }
func TestValidateDaemonSet(t *testing.T) { … }
func validDeployment(tweaks ...func(d *apps.Deployment)) *apps.Deployment { … }
func TestValidateDeployment(t *testing.T) { … }
func TestValidateDeploymentStatus(t *testing.T) { … }
func TestValidateDeploymentStatusUpdate(t *testing.T) { … }
func validDeploymentRollback() *apps.DeploymentRollback { … }
func TestValidateDeploymentUpdate(t *testing.T) { … }
func TestValidateDeploymentRollback(t *testing.T) { … }
func TestValidateReplicaSetStatus(t *testing.T) { … }
func TestValidateReplicaSetStatusUpdate(t *testing.T) { … }
func TestValidateReplicaSetUpdate(t *testing.T) { … }
func TestValidateReplicaSet(t *testing.T) { … }
func TestDaemonSetUpdateMaxSurge(t *testing.T) { … }