terminal

package
v4.2.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2022 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