Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartRouter ¶
StartRouter calls the listener function and takes the interface for testing
Types ¶
type DockerEventRouter ¶
DockerEventRouter is the Docker event handler implementation
type DockerHandler ¶
DockerHandler handles docker messages
func NewDockerHandler ¶
func NewDockerHandler(opts *DockerHandlerOpts) (*DockerHandler, error)
NewDockerHandler returns a docker handler with crontab
func (DockerHandler) GetJobStats ¶ added in v0.3.0
func (dh DockerHandler) GetJobStats(guage *prometheus.GaugeVec) (*prometheus.GaugeVec, error)
func (DockerHandler) Handle ¶
func (dh DockerHandler) Handle(msg Message)
Handle implements handler interface
type DockerHandlerOpts ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.