Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { List(ctx context.Context, options ListOptions) ([]Container, error) Pull(ctx context.Context, image, platform string, options PullOptions) error Create(ctx context.Context, spec Container, options CreateOptions) (string, error) Delete(ctx context.Context, container string, options DeleteOptions) error Inspect(ctx context.Context, container string) (Container, error) Logs(ctx context.Context, container string, options LogsOptions) error Run(ctx context.Context, spec Container, options RunOptions) error Exec(ctx context.Context, containerID string, command []string, options ExecOptions) error PortForward(ctx context.Context, containerID, address string, ports map[int]int, readyChan chan struct{}) error }
type Container ¶
type Container struct { ID string Name string Labels map[string]string Image string Platform string Privileged bool RunAsUser string RunAsGroup string MaxFiles int64 MaxProcesses int64 Env map[string]string Dir string Command []string Args []string Hostname string IPAddress net.IP Ports []ContainerPort Mounts []ContainerMount }
type ContainerMount ¶
type ContainerPort ¶
type CreateOptions ¶
type CreateOptions struct { }
type DeleteOptions ¶
type DeleteOptions struct { }
type ExecOptions ¶ added in v0.2.6
type ListOptions ¶
Click to show internal directories.
Click to hide internal directories.