system

package
v1.4.2-0...-da2159e Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2016 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeEvents

func DecodeEvents(input io.Reader, ep eventProcessor) error

DecodeEvents decodes event from input stream

func NewEventsCommand

func NewEventsCommand(dockerCli *command.DockerCli) *cobra.Command

NewEventsCommand creates a new cobra.Command for `docker events`

func NewInfoCommand

func NewInfoCommand(dockerCli *command.DockerCli) *cobra.Command

NewInfoCommand creates a new cobra.Command for `docker info`

func NewInspectCommand

func NewInspectCommand(dockerCli *command.DockerCli) *cobra.Command

NewInspectCommand creates a new cobra.Command for `docker inspect`

func NewSystemCommand

func NewSystemCommand(dockerCli *command.DockerCli) *cobra.Command

NewSystemCommand returns a cobra command for `system` subcommands

func NewVersionCommand

func NewVersionCommand(dockerCli *command.DockerCli) *cobra.Command

NewVersionCommand creates a new cobra.Command for `docker version`

Types

type EventHandler

type EventHandler interface {
	Handle(action string, h func(eventtypes.Message))
	Watch(c <-chan eventtypes.Message)
}

EventHandler is abstract interface for user to customize own handle functions of each type of events

func InitEventHandler

func InitEventHandler() EventHandler

InitEventHandler initializes and returns an EventHandler

Jump to

Keyboard shortcuts

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