Documentation ¶
Index ¶
- func Exec(command string, args []string) error
- func Exit() error
- func Explore(explorable Explorable) error
- func Init(opt *RuntimeOptions) error
- type ClusterExplorer
- type DaemonSetExplorer
- type DeploymentExplorer
- type Explorable
- type MenuItem
- type NamespaceExplorer
- type PodExplorer
- type PodsExplorer
- type RuntimeOptions
- type StatefulSetExplorer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Explore ¶
func Explore(explorable Explorable) error
func Init ¶
func Init(opt *RuntimeOptions) error
Types ¶
type ClusterExplorer ¶
type ClusterExplorer struct {
Items []*MenuItem
}
func (*ClusterExplorer) Execute ¶
func (n *ClusterExplorer) Execute(selection string) error
func (*ClusterExplorer) Kind ¶
func (n *ClusterExplorer) Kind() string
func (*ClusterExplorer) List ¶
func (n *ClusterExplorer) List() error
func (*ClusterExplorer) RunPrompt ¶
func (n *ClusterExplorer) RunPrompt() (string, error)
type DaemonSetExplorer ¶
type DaemonSetExplorer struct { Items []*MenuItem PreviousItem *MenuItem NamespaceToExplore string DaemonSetToExplore string PreviousExplorer Explorable }
func (*DaemonSetExplorer) Execute ¶
func (n *DaemonSetExplorer) Execute(selection string) error
func (*DaemonSetExplorer) Kind ¶
func (n *DaemonSetExplorer) Kind() string
func (*DaemonSetExplorer) List ¶
func (n *DaemonSetExplorer) List() error
func (*DaemonSetExplorer) RunPrompt ¶
func (n *DaemonSetExplorer) RunPrompt() (string, error)
type DeploymentExplorer ¶
type DeploymentExplorer struct { Items []*MenuItem PreviousItem *MenuItem NamespaceToExplore string DeploymentToExplore string PreviousExplorer Explorable }
func (*DeploymentExplorer) Execute ¶
func (n *DeploymentExplorer) Execute(selection string) error
func (*DeploymentExplorer) Kind ¶
func (n *DeploymentExplorer) Kind() string
func (*DeploymentExplorer) List ¶
func (n *DeploymentExplorer) List() error
func (*DeploymentExplorer) RunPrompt ¶
func (n *DeploymentExplorer) RunPrompt() (string, error)
type Explorable ¶
type MenuItem ¶
type MenuItem struct {
// contains filtered or unexported fields
}
func NewMenuItemFromReadable ¶
func (*MenuItem) GetReadable ¶
type NamespaceExplorer ¶
type NamespaceExplorer struct { Items []*MenuItem PreviousItem *MenuItem NamespaceToExplore string PreviousExplorer Explorable }
func (*NamespaceExplorer) Execute ¶
func (n *NamespaceExplorer) Execute(selection string) error
func (*NamespaceExplorer) Kind ¶
func (n *NamespaceExplorer) Kind() string
func (*NamespaceExplorer) List ¶
func (n *NamespaceExplorer) List() error
func (*NamespaceExplorer) RunPrompt ¶
func (n *NamespaceExplorer) RunPrompt() (string, error)
type PodExplorer ¶
type PodExplorer struct { Items []*MenuItem PreviousItem *MenuItem NamespaceToExplore string PodToExplore string PreviousExplorer Explorable }
func (*PodExplorer) Execute ¶
func (n *PodExplorer) Execute(selection string) error
func (*PodExplorer) Kind ¶
func (n *PodExplorer) Kind() string
func (*PodExplorer) List ¶
func (n *PodExplorer) List() error
func (*PodExplorer) RunPrompt ¶
func (n *PodExplorer) RunPrompt() (string, error)
type PodsExplorer ¶
type PodsExplorer struct { Items []*MenuItem PreviousItem *MenuItem NamespaceToExplore string Filters map[string]string PreviousExplorer Explorable PreviousResourceName string }
func (*PodsExplorer) Execute ¶
func (n *PodsExplorer) Execute(selection string) error
func (*PodsExplorer) Kind ¶
func (n *PodsExplorer) Kind() string
func (*PodsExplorer) List ¶
func (n *PodsExplorer) List() error
func (*PodsExplorer) RunPrompt ¶
func (n *PodsExplorer) RunPrompt() (string, error)
type RuntimeOptions ¶
type StatefulSetExplorer ¶
type StatefulSetExplorer struct { Items []*MenuItem PreviousItem *MenuItem NamespaceToExplore string StatefulSetToExplore string PreviousExplorer Explorable }
func (*StatefulSetExplorer) Execute ¶
func (n *StatefulSetExplorer) Execute(selection string) error
func (*StatefulSetExplorer) Kind ¶
func (n *StatefulSetExplorer) Kind() string
func (*StatefulSetExplorer) List ¶
func (n *StatefulSetExplorer) List() error
func (*StatefulSetExplorer) RunPrompt ¶
func (n *StatefulSetExplorer) RunPrompt() (string, error)
Click to show internal directories.
Click to hide internal directories.