Documentation ¶
Index ¶
- func SetLastContext(stores []store.KubeconfigStore, config *types.Config, stateDir string, ...) (*string, *string, error)
- func SetPreviousContext(stores []store.KubeconfigStore, config *types.Config, stateDir string, ...) (*string, *string, error)
- func SwitchToHistory(stores []store.KubeconfigStore, config *types.Config, stateDir string, ...) (*string, *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) (*string, *string, error)
SetLastContext sets the last used context from the history (position 0) does not add a history entry
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.