container

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

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)

Jump to

Keyboard shortcuts

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