docker

package
v0.0.0-...-9d0e97a Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2021 License: MIT Imports: 8 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() (Client, error)

func (Client) ContainerDetails

func (s Client) ContainerDetails(id string) (types.ContainerJSON, error)

func (Client) CreateContainer

func (s Client) CreateContainer(name, image, deployment string) (string, error)

func (Client) KillContainer

func (s Client) KillContainer(id string) error

func (Client) ListAllContainers

func (s Client) ListAllContainers() ([]types.Container, error)

func (Client) ListDeploymentContainers

func (s Client) ListDeploymentContainers(deployment string) ([]types.Container, error)

func (Client) RemoveContainer

func (s Client) RemoveContainer(id string) error

func (Client) StartContainer

func (s Client) StartContainer(id string) error

func (Client) StopContainer

func (s Client) StopContainer(id string) error

Jump to

Keyboard shortcuts

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