Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerSupervisor ¶
type ContainerSupervisor struct { Plugin Action string CntID string // ContainerID CntName string // sanatized name of container Container types.ContainerJSON Com chan interface{} // Channel to communicate with goroutine // contains filtered or unexported fields }
struct to keep info and channels to goroutine -> get heartbeats so that we know it's still alive -> allow for gracefully shutdown of the supervisor
func (ContainerSupervisor) Run ¶
func (cs ContainerSupervisor) Run()
type Plugin ¶
type Plugin struct { qtypes.Plugin // contains filtered or unexported fields }
func (*Plugin) StartSupervisor ¶
func (p *Plugin) StartSupervisor(ce events.Message, cnt types.ContainerJSON)
func (*Plugin) StartSupervisorCE ¶
func (p *Plugin) StartSupervisorCE(ce qtypes.ContainerEvent)
func (*Plugin) SubscribeRunning ¶ added in v0.1.1
func (p *Plugin) SubscribeRunning()
Click to show internal directories.
Click to hide internal directories.