Documentation ¶
Index ¶
- Variables
- type DockerConfigJSON
- type Engine1_12Client
- func (mc *Engine1_12Client) CreateContainer(config *container.Config, hostconfig *container.HostConfig, ...) (types.ContainerCreateResponse, error)
- func (mc *Engine1_12Client) CreateNetwork(name string, options types.NetworkCreate) (types.NetworkCreateResponse, error)
- func (mc *Engine1_12Client) DockerClient() (*client.Client, error)
- func (mc *Engine1_12Client) InspectContainer(containerid string) (types.ContainerJSON, error)
- func (mc *Engine1_12Client) InspectNetwork(networkid string) (types.NetworkResource, error)
- func (mc *Engine1_12Client) ListNetwork() ([]types.NetworkResource, error)
- func (mc *Engine1_12Client) ProcessStatusContainers(opt types.ContainerListOptions) ([]types.Container, error)
- func (mc *Engine1_12Client) RegistryAuth(image string) types.AuthConfig
- func (mc *Engine1_12Client) RemoveContainer(containerid string) error
- func (mc *Engine1_12Client) StartContainer(containerid string) error
- func (mc *Engine1_12Client) StopContainer(containerid string, timeout time.Duration) error
- type MobyClient
- func (mc *MobyClient) CommitContainer(container string, options types.ContainerCommitOptions) (types.IDResponse, error)
- func (mc *MobyClient) CompareContainer(containerid string) ([]container.ContainerChangeResponseItem, error)
- func (mc *MobyClient) CreateContainer(config *container.Config, hostconfig *container.HostConfig, ...) (container.ContainerCreateCreatedBody, error)
- func (mc *MobyClient) InspectContainer(container string) (types.ContainerJSON, error)
- func (mc *MobyClient) InspectImage(imageid string) (types.ImageInspect, []byte, error)
- func (mc *MobyClient) ListImages(options types.ImageListOptions) ([]types.ImageSummary, error)
- func (mc *MobyClient) PullImage(imgref string, registryauth string)
- func (mc *MobyClient) RemoveContainer(containerid string) error
- func (mc *MobyClient) RemoveImage(imageid string, options types.ImageRemoveOptions) ([]types.ImageDeleteResponseItem, error)
- func (mc *MobyClient) SearchImages(term string, options types.ImageSearchOptions) ([]registry.SearchResult, error)
- func (mc *MobyClient) StartContainer(containerid string) error
- func (mc *MobyClient) StopContainer(containerid string, timeout time.Duration) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Default_docker_API_ver = "1.12"
)
Functions ¶
This section is empty.
Types ¶
type DockerConfigJSON ¶
type DockerConfigJSON struct {
Auths map[string]types.AuthConfig `json:"auths,omitempty"`
}
type Engine1_12Client ¶
type Engine1_12Client struct {
// contains filtered or unexported fields
}
func NewEngine1_12Client ¶
func NewEngine1_12Client() *Engine1_12Client
func (*Engine1_12Client) CreateContainer ¶
func (mc *Engine1_12Client) CreateContainer(config *container.Config, hostconfig *container.HostConfig, networkconfig *network.NetworkingConfig, containername string) (types.ContainerCreateResponse, error)
func (*Engine1_12Client) CreateNetwork ¶
func (mc *Engine1_12Client) CreateNetwork(name string, options types.NetworkCreate) (types.NetworkCreateResponse, error)
func (*Engine1_12Client) DockerClient ¶
func (mc *Engine1_12Client) DockerClient() (*client.Client, error)
func (*Engine1_12Client) InspectContainer ¶
func (mc *Engine1_12Client) InspectContainer(containerid string) (types.ContainerJSON, error)
func (*Engine1_12Client) InspectNetwork ¶
func (mc *Engine1_12Client) InspectNetwork(networkid string) (types.NetworkResource, error)
func (*Engine1_12Client) ListNetwork ¶
func (mc *Engine1_12Client) ListNetwork() ([]types.NetworkResource, error)
func (*Engine1_12Client) ProcessStatusContainers ¶
func (mc *Engine1_12Client) ProcessStatusContainers(opt types.ContainerListOptions) ([]types.Container, error)
func (*Engine1_12Client) RegistryAuth ¶
func (mc *Engine1_12Client) RegistryAuth(image string) types.AuthConfig
func (*Engine1_12Client) RemoveContainer ¶
func (mc *Engine1_12Client) RemoveContainer(containerid string) error
func (*Engine1_12Client) StartContainer ¶
func (mc *Engine1_12Client) StartContainer(containerid string) error
func (*Engine1_12Client) StopContainer ¶
func (mc *Engine1_12Client) StopContainer(containerid string, timeout time.Duration) error
type MobyClient ¶
type MobyClient struct { }
func NewMobyClient ¶
func NewMobyClient(apiversion string) *MobyClient
func (*MobyClient) CommitContainer ¶
func (mc *MobyClient) CommitContainer(container string, options types.ContainerCommitOptions) (types.IDResponse, error)
func (*MobyClient) CompareContainer ¶
func (mc *MobyClient) CompareContainer(containerid string) ([]container.ContainerChangeResponseItem, error)
func (*MobyClient) CreateContainer ¶
func (mc *MobyClient) CreateContainer(config *container.Config, hostconfig *container.HostConfig, networkconfig *network.NetworkingConfig, containername string) (container.ContainerCreateCreatedBody, error)
func (*MobyClient) InspectContainer ¶
func (mc *MobyClient) InspectContainer(container string) (types.ContainerJSON, error)
func (*MobyClient) InspectImage ¶
func (mc *MobyClient) InspectImage(imageid string) (types.ImageInspect, []byte, error)
func (*MobyClient) ListImages ¶
func (mc *MobyClient) ListImages(options types.ImageListOptions) ([]types.ImageSummary, error)
func (*MobyClient) PullImage ¶
func (mc *MobyClient) PullImage(imgref string, registryauth string)
func (*MobyClient) RemoveContainer ¶
func (mc *MobyClient) RemoveContainer(containerid string) error
func (*MobyClient) RemoveImage ¶
func (mc *MobyClient) RemoveImage(imageid string, options types.ImageRemoveOptions) ([]types.ImageDeleteResponseItem, error)
func (*MobyClient) SearchImages ¶
func (mc *MobyClient) SearchImages(term string, options types.ImageSearchOptions) ([]registry.SearchResult, error)
func (*MobyClient) StartContainer ¶
func (mc *MobyClient) StartContainer(containerid string) error
func (*MobyClient) StopContainer ¶
func (mc *MobyClient) StopContainer(containerid string, timeout time.Duration) error
Click to show internal directories.
Click to hide internal directories.