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