execattach

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2025 License: MIT Imports: 1 Imported by: 0

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

WithTty sets the tty flag for the exec attach options.

Jump to

Keyboard shortcuts

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