logtail

package
v0.0.364 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Listen

func Listen(ctx context.Context, control io.Writer, env cfg.Context, server runtime.Deployable, writerFactory func(ev runtime.ObserveEvent) io.Writer) error

Listen blocks fetching logs from a container.

Types

type Keybinding

type Keybinding struct {
	LoadEnvironment func(name string) (cfg.Context, error)
	DefaultPaused   bool
}

func (Keybinding) Handle

func (l Keybinding) Handle(ctx context.Context, ch chan keyboard.Event, control chan<- keyboard.Control)

func (Keybinding) Key

func (l Keybinding) Key() string

func (Keybinding) States added in v0.0.81

func (l Keybinding) States() []keyboard.HandlerState

Jump to

Keyboard shortcuts

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