qframe_collector_docker_log

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2017 License: Apache-2.0 Imports: 10 Imported by: 1

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 New

func New(qChan qtypes.QChan, cfg *config.Config, name string) (Plugin, error)

func (*Plugin) Run

func (p *Plugin) Run()

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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL