func CreateStatefulSet(ctx context.Context, c clientset.Interface, manifestPath, ns string) *appsv1.StatefulSet { … }
func GetPodList(ctx context.Context, c clientset.Interface, ss *appsv1.StatefulSet) *v1.PodList { … }
func DeleteAllStatefulSets(ctx context.Context, c clientset.Interface, ns string) { … }
func Scale(ctx context.Context, c clientset.Interface, ss *appsv1.StatefulSet, count int32) (*appsv1.StatefulSet, error) { … }
func UpdateReplicas(ctx context.Context, c clientset.Interface, ss *appsv1.StatefulSet, count int32) { … }
func Restart(ctx context.Context, c clientset.Interface, ss *appsv1.StatefulSet) { … }
func CheckHostname(ctx context.Context, c clientset.Interface, ss *appsv1.StatefulSet) error { … }
func CheckMount(ctx context.Context, c clientset.Interface, ss *appsv1.StatefulSet, mountPath string) error { … }
func CheckServiceName(ss *appsv1.StatefulSet, expectedServiceName string) error { … }
func CheckPodIndexLabel(ctx context.Context, c clientset.Interface, ss *appsv1.StatefulSet) error { … }
func ExecInStatefulPods(ctx context.Context, c clientset.Interface, ss *appsv1.StatefulSet, cmd string) error { … }
func update(ctx context.Context, c clientset.Interface, ns, name string, replicas int32) (ss *appsv1.StatefulSet) { … }