term

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrInitializeView is thrown if the view could not initialized.
	ErrInitializeView = errors.New("could not initialize view")
)

Functions

This section is empty.

Types

type Term

type Term struct {
	APIClient *api.Client
	ViewType  widgets.ViewType
}

Term represents the user interface for kubetop. To initialize the view we need an API client for the interaction with the Kubernetes API. We also need a view type to know which view/widget should be rendered.

func (*Term) Run

func (t *Term) Run(filter api.Filter) error

Run initialize the user interface and handles the core logic for user interactions.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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