Documentation
¶
Overview ¶
package attach provides options for the container attach.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SetContainerAttachOption ¶
type SetContainerAttachOption func(*container.AttachOptions) error
SetContainerAttachOption is a function that sets a parameter for the container attach.
func WithDetachKeys ¶
func WithDetachKeys(detachKeys string) SetContainerAttachOption
WithDetachKeys sets the detach keys for the container attach options.
func WithLogs ¶
func WithLogs() SetContainerAttachOption
WithLogs sets the logs flag for the container attach options.
func WithStderr ¶
func WithStderr() SetContainerAttachOption
WithStderr sets the stderr flag for the container attach options.
func WithStdin ¶
func WithStdin() SetContainerAttachOption
WithStdin sets the stdin flag for the container attach options.
func WithStdout ¶
func WithStdout() SetContainerAttachOption
WithStdout sets the stdout flag for the container attach options.
func WithStream ¶
func WithStream() SetContainerAttachOption
WithStream sets the stream flag for the container attach options.
Click to show internal directories.
Click to hide internal directories.