Documentation ¶
Index ¶
- func GetRemotePodStatus(gl *GenericLifecycle, podUID types.UID) (*kubecontainer.PodStatus, error)
- func NewGenericLifecycle(manager containers.ContainerManager, probeManager prober.Manager, ...) pleg.PodLifecycleEventGenerator
- func NewGenericLifecycleRemote(runtime kubecontainer.Runtime, probeManager prober.Manager, ...) pleg.PodLifecycleEventGenerator
- type GenericLifecycle
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRemotePodStatus ¶ added in v1.0.0
func GetRemotePodStatus(gl *GenericLifecycle, podUID types.UID) (*kubecontainer.PodStatus, error)
GetRemotePodStatus gets the pods's status
func NewGenericLifecycle ¶
func NewGenericLifecycle(manager containers.ContainerManager, probeManager prober.Manager, channelCapacity int, relistPeriod time.Duration, podManager podmanager.Manager, statusManager status.Manager) pleg.PodLifecycleEventGenerator
NewGenericLifecycle creates new generic life cycle object
func NewGenericLifecycleRemote ¶ added in v1.0.0
func NewGenericLifecycleRemote(runtime kubecontainer.Runtime, probeManager prober.Manager, channelCapacity int, relistPeriod time.Duration, podManager podmanager.Manager, statusManager status.Manager, podCache kubecontainer.Cache, clock clock.Clock, iface string) pleg.PodLifecycleEventGenerator
NewGenericLifecycleRemote creates new generic life cycle object for remote
Types ¶
type GenericLifecycle ¶
type GenericLifecycle struct { pleg.GenericPLEG // contains filtered or unexported fields }
GenericLifecycle is object for pleg lifecycle
func (*GenericLifecycle) GetPodStatus ¶ added in v1.0.0
GetPodStatus gets the pods's status
func (*GenericLifecycle) Start ¶
func (gl *GenericLifecycle) Start()
Start spawns a goroutine to relist periodically.
Click to show internal directories.
Click to hide internal directories.