Documentation
¶
Index ¶
- type ExecOptionsFn
- func AttachStderr(attachStderr bool) ExecOptionsFn
- func AttachStdin(attachStdin bool) ExecOptionsFn
- func AttachStdout(attachStdout bool) ExecOptionsFn
- func CMD(cmd ...string) ExecOptionsFn
- func ConsoleSize(width, height uint) ExecOptionsFn
- func Detach(detach bool) ExecOptionsFn
- func DetachKeys(detachKeys string) ExecOptionsFn
- func ENV(key, value string) ExecOptionsFn
- func Privileged(privileged bool) ExecOptionsFn
- func TTY(tty bool) ExecOptionsFn
- func User(user string) ExecOptionsFn
- func WorkingDir(workingDir string) ExecOptionsFn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecOptionsFn ¶
type ExecOptionsFn func(options *containerType.ExecOptions)
func AttachStderr ¶
func AttachStderr(attachStderr bool) ExecOptionsFn
func AttachStdin ¶
func AttachStdin(attachStdin bool) ExecOptionsFn
func AttachStdout ¶
func AttachStdout(attachStdout bool) ExecOptionsFn
func CMD ¶
func CMD(cmd ...string) ExecOptionsFn
func ConsoleSize ¶
func ConsoleSize(width, height uint) ExecOptionsFn
func Detach ¶
func Detach(detach bool) ExecOptionsFn
func DetachKeys ¶
func DetachKeys(detachKeys string) ExecOptionsFn
func ENV ¶
func ENV(key, value string) ExecOptionsFn
func Privileged ¶
func Privileged(privileged bool) ExecOptionsFn
func TTY ¶
func TTY(tty bool) ExecOptionsFn
func User ¶
func User(user string) ExecOptionsFn
func WorkingDir ¶
func WorkingDir(workingDir string) ExecOptionsFn
Click to show internal directories.
Click to hide internal directories.