logs

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MultiLogPrinter

type MultiLogPrinter struct {
	Out          io.Writer
	ErrOut       io.Writer
	In           io.Reader
	Args         []string
	LogDrainTime time.Duration
}

func (*MultiLogPrinter) PrintLogs

func (m *MultiLogPrinter) PrintLogs(ctx context.Context, podclient typedcorev1.PodInterface, podNames []PodAndContainerName) error

Run lists all available namespaces on a user's KUBECONFIG or updates the current context based on a provided namespace.

type PodAndContainerName

type PodAndContainerName struct {
	PodName string
	// may be empty
	ContainerName string
}

func (*PodAndContainerName) String

func (p *PodAndContainerName) String() string

Jump to

Keyboard shortcuts

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