attach

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2026 License: MIT Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL