func waitForStatus(c clientset.Interface, set *appsv1.StatefulSet) *appsv1.StatefulSet {
	e2estatefulset.WaitForState(c, set, func(set2 *appsv1.StatefulSet, pods *v1.PodList) (bool, error) {
		if set2.Status.ObservedGeneration >= set.Generation {
			set = set2
			return true, nil
		}
		return false, nil
	})
	return set
}
// waitForStatus waits for the StatefulSetStatus's ObservedGeneration to be greater than or equal to set's Generation.
// The returned StatefulSet contains such a StatefulSetStatus
waitForStatus waits for the StatefulSetStatus's ObservedGeneration to be greater than or equal to set's Generation.
The returned StatefulSet contains such a StatefulSetStatus
// waitForStatus waits for the StatefulSetStatus ' s ObservedGeneration to be greater than or equal to set ' s Generation . // The returned StatefulSet contains such a StatefulSetStatus
func waitForStatus(c clientset.Interface, set *appsv1.StatefulSet) *appsv1.StatefulSet {
	e2estatefulset.WaitForState(c, set, func(set2 *appsv1.StatefulSet, pods *v1.PodList) (bool, error) {
		if set2.Status.ObservedGeneration >= set.Generation {
			set = set2
			return true, nil
		}
		return false, nil
	})
	return set
}
func waitForStatus ( c clientset . Interface , set * appsv1 . StatefulSet ) * appsv1 . StatefulSet { e2estatefulset . WaitForState ( c , set , func ( set2 * appsv1 . StatefulSet , pods * v1 . PodList ) ( bool , error ) { if set2 . Status . ObservedGeneration >= set . Generation { set = set2 return true , nil } return false , nil } ) return set }
waitForStatus waits for the StatefulSetStatus's ObservedGeneration to be greater than or equal to set's Generation.
waitForStatus waits for the StatefulSetStatus ' s ObservedGeneration to be greater than or equal to set ' s Generation .