Documentation ¶
Index ¶
- func SetLastContext(stores []store.KubeconfigStore, config *types.Config, stateDir string, ...) error
- func SetPreviousContext(stores []store.KubeconfigStore, config *types.Config, stateDir string, ...) error
- func SwitchToHistory(stores []store.KubeconfigStore, config *types.Config, stateDir string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetLastContext ¶
func SetLastContext(stores []store.KubeconfigStore, config *types.Config, stateDir string, noIndex bool) error
SetLastContext sets the last used context from the history (position 0) does not add a history entry
func SetPreviousContext ¶
func SetPreviousContext(stores []store.KubeconfigStore, config *types.Config, stateDir string, noIndex bool) error
SetPreviousContext sets the previously used context from the history (position 1) does not add a history entry
func SwitchToHistory ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.