Documentation
¶
Index ¶
- func Delete(ctx context.Context, container string, options DeleteOptions) error
- func Exec(ctx context.Context, container string, options ExecOptions, command string, ...) error
- func ExecInteractive(ctx context.Context, container string, options ExecOptions, shell string, ...) error
- func Logs(ctx context.Context, container string, options LogsOptions) error
- func Path(ctx context.Context) (string, *semver.Version, error)
- func PortForward(ctx context.Context, container string, source, target int) error
- func Pull(ctx context.Context, image string, options PullOptions) error
- func Run(ctx context.Context, image string, options RunOptions, args ...string) error
- func RunInteractive(ctx context.Context, image string, options RunOptions, args ...string) error
- func Tool(ctx context.Context) (string, *semver.Version, error)
- type Container
- type ContainerInfo
- type DeleteOptions
- type ExecOptions
- type ListOptions
- type LogsOptions
- type PullOptions
- type RunOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecInteractive ¶
func PortForward ¶ added in v0.0.5
func RunInteractive ¶
Types ¶
type Container ¶
type ContainerInfo ¶ added in v0.0.5
type DeleteOptions ¶
type ExecOptions ¶
type ListOptions ¶
type RunOptions ¶
type RunOptions struct {
Name string
Labels map[string]string
Platform string
Temporary bool
Privileged bool
MaxNoProcs int
MaxNoFiles int
Stdin io.Reader
Stdout io.Writer
Stderr io.Writer
Attach bool
TTY bool
Interactive bool
Dir string
User string
Env map[string]string
Ports map[int]int
Volumes map[string]string
}
Click to show internal directories.
Click to hide internal directories.