types

package
v0.0.0-...-59fcf8b Latest Latest
Warning

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

Go to latest
Published: May 31, 2019 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Kubeconfig string

Functions

This section is empty.

Types

type Action

type Action struct {
	Name        string
	Description string
	Shortcut    string
}

type Drawer

type Drawer struct {
	RootPage  string
	ViewMap   map[string]View
	PageNav   map[rune]string
	Shortcuts [][]string
	Footers   []ResourceView
	Menu      []Action
}

type Refresher

type Refresher func(b *bytes.Buffer) error

type ResourceKind

type ResourceKind struct {
	Title string
	Kind  string
}

type ResourceView

type ResourceView struct {
	tview.Primitive
	Title string
	Kind  string
	Index int
}

type View

type View struct {
	Actions []Action
	Kind    ResourceKind
	Feeder  datafeeder.DataSource
}

Jump to

Keyboard shortcuts

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