terminal

package
v5.0.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecAttachCtr

func ExecAttachCtr(ctx context.Context, ctr *libpod.Container, execConfig *libpod.ExecConfig, streams *define.AttachStreams) (int, error)

ExecAttachCtr execs and attaches to a container

func ProxySignals

func ProxySignals(ctr *libpod.Container)

ProxySignals ...

func StartAttachCtr

func StartAttachCtr(ctx context.Context, ctr *libpod.Container, stdout, stderr, stdin *os.File, detachKeys string, sigProxy bool, startContainer bool) error

StartAttachCtr starts and (if required) attaches to a container if you change the signature of this function from os.File to io.Writer, it will trigger a downstream error. we may need to just lint disable this one.

Types

type RawTtyFormatter

type RawTtyFormatter struct {
}

RawTtyFormatter ...

func (*RawTtyFormatter) Format

func (f *RawTtyFormatter) Format(entry *logrus.Entry) ([]byte, error)

Format ...

Jump to

Keyboard shortcuts

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