presenter

package
v0.0.0-...-250d599 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2021 License: GPL-3.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const AllNamespaces = " ALL "

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientFactory

type ClientFactory func() (*k8s.Client, error)

type Confirm

type Confirm struct {
	*Modal
}

func NewConfirm

func NewConfirm(ui *ui.UI) Confirm

func (Confirm) DisplayConfirm

func (p Confirm) DisplayConfirm(title, message string) <-chan bool

type Details

type Details struct {
	// contains filtered or unexported fields
}

func NewDetails

func NewDetails(ui *ui.UI, client *k8s.Client) *Details

func (*Details) RegisterObjectMutateActions

func (p *Details) RegisterObjectMutateActions(
	typeName string,
	summary ext.ObjectSummaryProvider,
)

type Editor

type Editor struct {
	// contains filtered or unexported fields
}

func NewEditor

func NewEditor(ui *ui.UI, client *k8s.Client) *Editor

type Error

type Error struct {
	*Modal
}

func NewError

func NewError(ui *ui.UI) Error

func (Error) DisplayError

func (p Error) DisplayError(err error) bool

type Events

type Events struct {
	// contains filtered or unexported fields
}

func NewEvents

func NewEvents(ui *ui.UI, client *k8s.Client) *Events

type FatalError

type FatalError struct {
	// contains filtered or unexported fields
}

type Form

type Form struct {
	*Modal
}

func NewForm

func NewForm(ui *ui.UI) Form

func (Form) DisplayForm

func (p Form) DisplayForm(populate func(*cview.Form))

type Log

type Log struct {
	// contains filtered or unexported fields
}

func NewLog

func NewLog(ui *ui.UI, client *k8s.Client) *Log

type Main

type Main struct {
	Error

	Pods *Pods
	// contains filtered or unexported fields
}

func NewMain

func NewMain(ui *ui.UI, extManager ext.Manager, clientFactory ClientFactory) *Main

func (*Main) Run

func (p *Main) Run() error
type Modal struct {
	// contains filtered or unexported fields
}

func (*Modal) Close

func (p *Modal) Close()

type Picker

type Picker struct {
	*Modal
}

func NewPicker

func NewPicker(ui *ui.UI) Picker

func (Picker) PickFrom

func (p Picker) PickFrom(title string, items []string) <-chan string

type Pods

type Pods struct {
	Error
	// contains filtered or unexported fields
}

func NewPods

func NewPods(ui *ui.UI, client *k8s.Client, extManager ext.Manager) *Pods

type UserRetryableError

type UserRetryableError struct {
	RetryOp func() error
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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