docker

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIs

type APIs interface {
	GetRunningContainers() (map[string]*ContainerInfo, error)
}

APIs provides Docker API

type Client

type Client struct{}

func New

func New() *Client

func (*Client) GetRunningContainers

func (c *Client) GetRunningContainers() (map[string]*ContainerInfo, error)

type ContainerInfo

type ContainerInfo struct {
	ID     string
	Name   string
	K8SUID string
}

ContainerInfo provides container information

Directories

Path Synopsis
Package mock_docker is a generated GoMock package.
Package mock_docker is a generated GoMock package.

Jump to

Keyboard shortcuts

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