execstart

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 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

WithTty sets the tty flag for the exec start options. Check if there's a tty

Jump to

Keyboard shortcuts

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