Documentation ¶
Index ¶
- func NoResyncPeriodFunc() time.Duration
- func PatchPod(kubeClient kubernetes.Interface, oldData *v1.Pod, newData *v1.Pod) (*v1.Pod, error)
- func PatchStatefulSet(kubeClient kubernetes.Interface, oldData *v1beta1.StatefulSet, ...) (*v1beta1.StatefulSet, error)
- func UpdatePod(kubeClient kubernetes.Interface, newData *v1.Pod) (*v1.Pod, error)
- func UpdateStatefulSet(kubeClient kubernetes.Interface, newData *v1beta1.StatefulSet) (*v1beta1.StatefulSet, error)
- func WaitForCacheSync(controllerName string, stopCh <-chan struct{}, ...) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NoResyncPeriodFunc ¶
NoResyncPeriodFunc Returns 0 for resyncPeriod in case resyncing is not needed. See: github.com/kubernetes/kubernetes/pkg/controller/controller_utils.go
func PatchStatefulSet ¶
func PatchStatefulSet(kubeClient kubernetes.Interface, oldData *v1beta1.StatefulSet, newData *v1beta1.StatefulSet) (*v1beta1.StatefulSet, error)
PatchStatefulSet performs a direct patch update for the specified StatefulSet.
func UpdateStatefulSet ¶
func UpdateStatefulSet(kubeClient kubernetes.Interface, newData *v1beta1.StatefulSet) (*v1beta1.StatefulSet, error)
UpdateStatefulSet performs a direct update for the specified StatefulSet.
func WaitForCacheSync ¶
func WaitForCacheSync(controllerName string, stopCh <-chan struct{}, cacheSyncs ...cache.InformerSynced) bool
WaitForCacheSync is a wrapper around cache.WaitForCacheSync that generates log messages indicating that the controller identified by controllerName is waiting for syncs, followed by either a successful or failed sync.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.