docker

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2019 License: Apache-2.0 Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CelleryDockerCli

type CelleryDockerCli struct {
}

func NewCelleryDockerCli

func NewCelleryDockerCli() *CelleryDockerCli

NewCelleryDockerCli returns a CelleryDockerCli instance.

func (*CelleryDockerCli) ClientVersion

func (cli *CelleryDockerCli) ClientVersion() (string, error)

ClientVersion returns the docker client version.

func (*CelleryDockerCli) PushImages

func (cli *CelleryDockerCli) PushImages(dockerImages []string) error

PushImages pushes docker images.

func (*CelleryDockerCli) ServerVersion

func (cli *CelleryDockerCli) ServerVersion() (string, error)

ServerVersion returns the docker server version.

type Docker

type Docker interface {
	ServerVersion() (string, error)
	ClientVersion() (string, error)
	PushImages(dockerImages []string) error
}

Jump to

Keyboard shortcuts

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