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 ¶
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 ¶
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 ¶
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.