Documentation ¶
Index ¶
Constants ¶
View Source
const ( IN_CREATE = 0x100 IN_DELETE = 0x200 IN_ISDIR = 0x40000000 )
for test only
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pleg ¶
type Pleg interface { Run(<-chan struct{}) error AddHandler(PodLifeCycleHandler) HandlerID RemoverHandler(id HandlerID) PodLifeCycleHandler }
type PodLifeCycleHandler ¶
type PodLifeCycleHandlerFuncs ¶
type PodLifeCycleHandlerFuncs struct { PodAddedFunc func(podID string) PodDeletedFunc func(podID string) ContainerAddedFunc func(podID, containerID string) ContainerDeletedFunc func(podID, containerID string) }
func (PodLifeCycleHandlerFuncs) OnContainerAdded ¶
func (r PodLifeCycleHandlerFuncs) OnContainerAdded(podID, containerID string)
func (PodLifeCycleHandlerFuncs) OnContainerDeleted ¶
func (r PodLifeCycleHandlerFuncs) OnContainerDeleted(podID, containerID string)
func (PodLifeCycleHandlerFuncs) OnPodAdded ¶
func (r PodLifeCycleHandlerFuncs) OnPodAdded(podID string)
func (PodLifeCycleHandlerFuncs) OnPodDeleted ¶
func (r PodLifeCycleHandlerFuncs) OnPodDeleted(podID string)
Click to show internal directories.
Click to hide internal directories.