Documentation ¶
Index ¶
- type State
- func (s *State) CurrentCluster() string
- func (s *State) CurrentDirectory() string
- func (s *State) GetTerminalWidth() (int, error)
- func (s *State) Load(cmd *cobra.Command) error
- func (s *State) SetCurrentDirectory(dir string)
- func (s *State) ToClient() *kubernetes.Clientset
- func (s *State) ToDiscoveryClient() (discovery.DiscoveryInterface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type State ¶
type State struct { Namespace string // contains filtered or unexported fields }
func (*State) CurrentCluster ¶
func (*State) CurrentDirectory ¶
func (*State) GetTerminalWidth ¶
func (*State) SetCurrentDirectory ¶
func (*State) ToClient ¶
func (s *State) ToClient() *kubernetes.Clientset
func (*State) ToDiscoveryClient ¶
func (s *State) ToDiscoveryClient() (discovery.DiscoveryInterface, error)
Click to show internal directories.
Click to hide internal directories.