Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPodLifecycleState ¶
func GetPodLifecycleState(pod *v1.Pod) appspub.LifecycleStateType
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) (bool, error) UpdatePodLifecycleWithHandler(pod *v1.Pod, state appspub.LifecycleStateType, inPlaceUpdateHandler *appspub.LifecycleHook) (bool, error) }
Interface for managing pods lifecycle.
func NewForInformer ¶ added in v0.8.0
func NewForInformer(informer coreinformers.PodInformer) Interface
func NewForTest ¶ added in v0.8.0
func NewForTypedClient ¶ added in v0.8.0
Click to show internal directories.
Click to hide internal directories.