Documentation ¶
Index ¶
- func GetPodLifecycleState(pod *v1.Pod) appspub.LifecycleStateType
- func IsHookMarkPodNotReady(lifecycleHook *appspub.LifecycleHook) bool
- func IsLifecycleMarkPodNotReady(lifecycle *appspub.Lifecycle) bool
- func IsPodAllHooked(hook *appspub.LifecycleHook, pod *v1.Pod) bool
- func IsPodHooked(hook *appspub.LifecycleHook, pod *v1.Pod) bool
- func SetPodLifecycle(state appspub.LifecycleStateType) func(*v1.Pod)
- type Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPodLifecycleState ¶
func GetPodLifecycleState(pod *v1.Pod) appspub.LifecycleStateType
func IsHookMarkPodNotReady ¶ added in v1.2.0
func IsHookMarkPodNotReady(lifecycleHook *appspub.LifecycleHook) bool
func IsLifecycleMarkPodNotReady ¶ added in v1.2.0
func IsPodAllHooked ¶ added in v0.8.0
func IsPodAllHooked(hook *appspub.LifecycleHook, pod *v1.Pod) bool
func IsPodHooked ¶
func IsPodHooked(hook *appspub.LifecycleHook, pod *v1.Pod) bool
func SetPodLifecycle ¶
func SetPodLifecycle(state appspub.LifecycleStateType) func(*v1.Pod)
Types ¶
type Interface ¶ added in v0.8.0
type Interface interface { UpdatePodLifecycle(pod *v1.Pod, state appspub.LifecycleStateType, markPodNotReady bool) (bool, *v1.Pod, error) UpdatePodLifecycleWithHandler(pod *v1.Pod, state appspub.LifecycleStateType, inPlaceUpdateHandler *appspub.LifecycleHook) (bool, *v1.Pod, error) }
Interface for managing pods lifecycle.
func NewForInformer ¶ added in v0.8.0
func NewForInformer(informer coreinformers.PodInformer) Interface
func NewForTypedClient ¶ added in v0.8.0
Click to show internal directories.
Click to hide internal directories.