Documentation ¶
Index ¶
- Constants
- func CurrentContextName() (string, error)
- type App
- type Client
- type ClipboardShortcut
- type Container
- type FooterFrame
- type Group
- type Gui
- type GuiItemInfo
- type InfoFrame
- type Item
- type Namespace
- type NamespaceError
- type NamespaceMessage
- type NsGroup
- type Pod
- type PodGroup
- type PodListResult
- type PopupFrame
- type StringItem
- type Type
Constants ¶
View Source
const ( NamespaceXOffset = 0 NamespaceErrorXOffset = 2 NamespaceMessageXOffset = 2 PodGroupXOffset = 1 PodXOffset = 2 ContainerXOffset = 4 ColumnSpacing = 2 NameColumnDefaultWidth = 25 + ColumnSpacing ReadyColumnDefaultWidth = 5 + ColumnSpacing StatusColumnDefaultWidth = 6 + ColumnSpacing RestartsColumnDefaultWidth = 8 + ColumnSpacing AgeColumnDefaultWidth = 3 + ColumnSpacing MainFrameStartY = 4 //Excluding header line. )
View Source
const ( PopupItemXOffset = 2 PopupItemYOffset = 2 )
Variables ¶
This section is empty.
Functions ¶
func CurrentContextName ¶ added in v0.12.0
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
func NewAppFromGroup ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewK8ClientSets ¶
type ClipboardShortcut ¶ added in v0.11.0
type ClipboardShortcut struct {
// contains filtered or unexported fields
}
type Container ¶
type Container struct {
// contains filtered or unexported fields
}
func (Container) DisplayName ¶
func (Container) IsExpanded ¶
type FooterFrame ¶
type FooterFrame struct {
// contains filtered or unexported fields
}
func NewFooterFrame ¶
func NewFooterFrame(s tcell.Screen) *FooterFrame
type GuiItemInfo ¶ added in v0.11.0
type InfoFrame ¶
func NewInfoFrame ¶
type Namespace ¶
type Namespace struct {
// contains filtered or unexported fields
}
func (*Namespace) DisplayName ¶
func (*Namespace) IsExpanded ¶
type NamespaceError ¶
type NamespaceError struct {
// contains filtered or unexported fields
}
func (NamespaceError) Expanded ¶
func (nse NamespaceError) Expanded(b bool)
func (NamespaceError) IsExpanded ¶
func (nse NamespaceError) IsExpanded() bool
func (NamespaceError) Type ¶
func (nse NamespaceError) Type() Type
type NamespaceMessage ¶
type NamespaceMessage struct {
// contains filtered or unexported fields
}
func (NamespaceMessage) Expanded ¶
func (nsm NamespaceMessage) Expanded(b bool)
func (NamespaceMessage) IsExpanded ¶
func (nsm NamespaceMessage) IsExpanded() bool
func (NamespaceMessage) Type ¶
func (nsm NamespaceMessage) Type() Type
type Pod ¶
type Pod struct {
// contains filtered or unexported fields
}
func (*Pod) IsExpanded ¶
func (*Pod) ReadyString ¶
type PodGroup ¶ added in v0.10.0
type PodGroup struct {
// contains filtered or unexported fields
}
func (*PodGroup) IsExpanded ¶ added in v0.10.0
type PodListResult ¶
type PopupFrame ¶ added in v0.10.0
type PopupFrame struct {
// contains filtered or unexported fields
}
func NewPopupFrame ¶ added in v0.10.0
func NewPopupFrame(s tcell.Screen, title string, items []string, callback func(string)) *PopupFrame
type StringItem ¶
type StringItem struct {
// contains filtered or unexported fields
}
func (*StringItem) Draw ¶
func (i *StringItem) Draw(s tcell.Screen)
func (*StringItem) DrawS ¶
func (i *StringItem) DrawS(s tcell.Screen, style tcell.Style)
func (*StringItem) Len ¶
func (i *StringItem) Len(s tcell.Screen) int
func (*StringItem) Update ¶
func (i *StringItem) Update(s tcell.Screen, newValue string)
func (*StringItem) UpdateS ¶
func (i *StringItem) UpdateS(s tcell.Screen, newValue string, style tcell.Style)
Click to show internal directories.
Click to hide internal directories.