package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev

# Functions

NewEventedPLEG instantiates a new EventedPLEG object and return it.
NewGenericPLEG instantiates a new GenericPLEG object and return it.
RunningContainerWatchCondition wraps a condition on the container status to make a pod WatchCondition.

# Constants

ConditionMet - event type triggered when any number of watch conditions are met.
ContainerChanged - event type when the new state of container is unknown.
ContainerDied - event type when the new state of container is exited.
ContainerRemoved - event type when the old state of container is exited.
ContainerStarted - event type when the new state of container is running.
PodSync is used to trigger syncing of a pod when the observed change of the state of the pod cannot be captured by any single event above.

# Structs

No description provided by the author
GenericPLEG is an extremely simple generic PLEG that relies solely on periodic listing to discover container changes.
PodLifecycleEvent is an event that reflects the change of the pod state.
No description provided by the author

# Interfaces

PodLifecycleEventGenerator contains functions for generating pod life cycle events.

# Type aliases

PodLifeCycleEventType define the event type of pod life cycle events.
WatchCondition takes the latest PodStatus, and returns whether the condition is met.