Documentation ¶
Index ¶
- type API
- type Client
- func (c Client) ContainerCreate(ctx context.Context, config *ContainerConfig, hostConfig *HostConfig, ...) (ContainerCreateCreatedBody, error)
- func (c Client) ContainerKill(ctx context.Context, container, signal string) error
- func (c Client) ContainerList(ctx context.Context, options types.ContainerListOptions) ([]types.Container, error)
- func (c Client) ContainerRemove(ctx context.Context, container string, options types.ContainerRemoveOptions) error
- func (c Client) ContainerRename(ctx context.Context, container, newContainerName string) error
- func (c Client) ContainerRestart(ctx context.Context, container string, timeout *time.Duration) error
- func (c Client) ContainerStart(ctx context.Context, container string, options types.ContainerStartOptions) error
- func (c Client) ContainerStop(ctx context.Context, container string, timeout *time.Duration) error
- func (c Client) ContainersPrune(ctx context.Context, pruneFilters filters.Args) (types.ContainersPruneReport, error)
- type ContainerConfig
- type ContainerCreateCreatedBody
- type HostConfig
- type NetworkingConfig
- type Transport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface { ContainerList(ctx context.Context, options types.ContainerListOptions) ([]types.Container, error) ContainerCreate(ctx context.Context, config *ContainerConfig, hostConfig *HostConfig, networkingConfig *NetworkingConfig, containerName string) (ContainerCreateCreatedBody, error) ContainerRemove(ctx context.Context, container string, options types.ContainerRemoveOptions) error ContainerRename(ctx context.Context, container, newContainerName string) error ContainerStart(ctx context.Context, container string, options types.ContainerStartOptions) error ContainerStop(ctx context.Context, container string, timeout *time.Duration) error ContainerRestart(ctx context.Context, container string, timeout *time.Duration) error ContainerKill(ctx context.Context, container, signal string) error ContainersPrune(ctx context.Context, pruneFilters filters.Args) (types.ContainersPruneReport, error) }
type Client ¶
type Client struct { }
func (Client) ContainerCreate ¶
func (c Client) ContainerCreate(ctx context.Context, config *ContainerConfig, hostConfig *HostConfig, networkingConfig *NetworkingConfig, containerName string) (ContainerCreateCreatedBody, error)
func (Client) ContainerKill ¶
func (Client) ContainerList ¶
func (Client) ContainerRemove ¶
func (Client) ContainerRename ¶
func (Client) ContainerRestart ¶
func (Client) ContainerStart ¶
func (Client) ContainerStop ¶
func (Client) ContainersPrune ¶
type ContainerConfig ¶
type ContainerConfig any
type ContainerCreateCreatedBody ¶
type ContainerCreateCreatedBody any
type HostConfig ¶
type HostConfig any
type NetworkingConfig ¶
type NetworkingConfig any
Click to show internal directories.
Click to hide internal directories.