Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerService ¶
type ContainerService interface { ListContainers(ctx context.Context, options types.ContainerListOptions) ([]types.Container, error) InspectContainer(ctx context.Context, containerID string) (types.ContainerJSON, error) }
func NewContainerService ¶
func NewContainerService(cli *client.Client) ContainerService
type DockerClient ¶
type DockerClient struct {
// contains filtered or unexported fields
}
func (*DockerClient) InspectContainer ¶
func (dc *DockerClient) InspectContainer(ctx context.Context, containerID string) (types.ContainerJSON, error)
func (*DockerClient) ListContainers ¶
func (dc *DockerClient) ListContainers(ctx context.Context, options types.ContainerListOptions) ([]types.Container, error)
Click to show internal directories.
Click to hide internal directories.