view

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogView

type LogView struct {
	sync.Mutex
	k8s.Client
	Content *tview.TextView
	PodName string
	// contains filtered or unexported fields
}

func NewLogView

func NewLogView(opts *option.Options) *LogView

func (*LogView) Refresh

func (logView *LogView) Refresh()

func (*LogView) SetClient

func (logView *LogView) SetClient(client k8s.Client) *LogView

func (*LogView) Start

func (logView *LogView) Start()

func (*LogView) Stop

func (logView *LogView) Stop()

type PodListView

type PodListView struct {
	k8s.Client
	Content       *tview.List
	SelectedIndex int
	PodList       []string
}

func NewPodListView

func NewPodListView(opts *option.Options) *PodListView

func (*PodListView) Refresh

func (view *PodListView) Refresh()

func (*PodListView) SetClient

func (view *PodListView) SetClient(client k8s.Client) *PodListView

func (*PodListView) SetPodList

func (view *PodListView) SetPodList(list []string) *PodListView

Jump to

Keyboard shortcuts

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