state

package
v0.0.0-...-657c4c4 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

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 NewState

func NewState() State

func (*State) CurrentCluster

func (s *State) CurrentCluster() string

func (*State) CurrentDirectory

func (s *State) CurrentDirectory() string

func (*State) GetTerminalWidth

func (s *State) GetTerminalWidth() (int, error)

func (*State) Load

func (s *State) Load(cmd *cobra.Command) error

func (*State) SetCurrentDirectory

func (s *State) SetCurrentDirectory(dir string)

func (*State) ToClient

func (s *State) ToClient() *kubernetes.Clientset

func (*State) ToDiscoveryClient

func (s *State) ToDiscoveryClient() (discovery.DiscoveryInterface, error)

Jump to

Keyboard shortcuts

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