docker

package
v0.0.0-...-7839030 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(timeout time.Duration, labelFilters []string) (*Client, error)

func (*Client) GetContainers

func (c *Client) GetContainers() ([]model.Container, error)

func (*Client) GetEngineStats

func (c *Client) GetEngineStats() (*model.EngineStats, error)

func (*Client) GetStats

func (c *Client) GetStats(container *model.Container) (*model.Stats, error)

func (*Client) ListenForEvents

func (c *Client) ListenForEvents(channel chan<- []model.Container)

Jump to

Keyboard shortcuts

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