var controllerKind …
var podKind …
type StatefulSetController …
func NewStatefulSetController(
ctx context.Context,
podInformer coreinformers.PodInformer,
setInformer appsinformers.StatefulSetInformer,
pvcInformer coreinformers.PersistentVolumeClaimInformer,
revInformer appsinformers.ControllerRevisionInformer,
kubeClient clientset.Interface,
) *StatefulSetController { … }
func (ssc *StatefulSetController) Run(ctx context.Context, workers int) { … }
func (ssc *StatefulSetController) addPod(logger klog.Logger, obj interface{ … }
func (ssc *StatefulSetController) updatePod(logger klog.Logger, old, cur interface{ … }
func (ssc *StatefulSetController) deletePod(logger klog.Logger, obj interface{ … }
func (ssc *StatefulSetController) getPodsForStatefulSet(ctx context.Context, set *apps.StatefulSet, selector labels.Selector) ([]*v1.Pod, error) { … }
func (ssc *StatefulSetController) canAdoptFunc(ctx context.Context, set *apps.StatefulSet) func(ctx2 context.Context) error { … }
func (ssc *StatefulSetController) adoptOrphanRevisions(ctx context.Context, set *apps.StatefulSet) error { … }
func (ssc *StatefulSetController) getStatefulSetsForPod(pod *v1.Pod) []*apps.StatefulSet { … }
func (ssc *StatefulSetController) resolveControllerRef(namespace string, controllerRef *metav1.OwnerReference) *apps.StatefulSet { … }
func (ssc *StatefulSetController) enqueueStatefulSet(obj interface{ … }
func (ssc *StatefulSetController) enqueueSSAfter(ss *apps.StatefulSet, duration time.Duration) { … }
func (ssc *StatefulSetController) processNextWorkItem(ctx context.Context) bool { … }
func (ssc *StatefulSetController) worker(ctx context.Context) { … }
func (ssc *StatefulSetController) sync(ctx context.Context, key string) error { … }
func (ssc *StatefulSetController) syncStatefulSet(ctx context.Context, set *apps.StatefulSet, pods []*v1.Pod) error { … }