Documentation
¶
Overview ¶
package execstart provides options for the container exec start.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SetContainerExecStartOption ¶
type SetContainerExecStartOption func(*container.ExecStartOptions) error
SetContainerExecStartOption is a function that sets a parameter for the container exec start.
func WithConsoleSize ¶
func WithConsoleSize(width, height uint) SetContainerExecStartOption
WithConsoleSize sets the console size for the exec start options. Terminal size [height, width], unused if Tty == false
func WithDetach ¶
func WithDetach() SetContainerExecStartOption
WithDetach sets the detach flag for the exec start options. ExecStart will first check if it's detached
func WithTty ¶
func WithTty() SetContainerExecStartOption
WithTty sets the tty flag for the exec start options. Check if there's a tty
Click to show internal directories.
Click to hide internal directories.