Documentation
¶
Index ¶
- func NewPrompter() *prompter
- type ContextResult
- type Manager
- func (m *Manager) Finish()
- func (m *Manager) GetKubeconfigPath() string
- func (m *Manager) RemoveContext(id string, context *clientcmdapi.Context)
- func (m *Manager) RemoveUnusedUsers()
- func (m *Manager) Run()
- func (m *Manager) Validate(context *clientcmdapi.Context) (bool, string)
- func (m *Manager) ValidateAndAddToWorkqueue(id string, context *clientcmdapi.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPrompter ¶
func NewPrompter() *prompter
Types ¶
type ContextResult ¶ added in v1.0.1
type ContextResult struct { ID string Context *clientcmdapi.Context Message string Valid bool }
type Manager ¶
type Manager struct { Original *clientcmdapi.Config New *clientcmdapi.Config // contains filtered or unexported fields }
func NewManager ¶
func NewManager() *Manager
func (*Manager) GetKubeconfigPath ¶
func (*Manager) RemoveContext ¶
func (m *Manager) RemoveContext(id string, context *clientcmdapi.Context)
func (*Manager) RemoveUnusedUsers ¶
func (m *Manager) RemoveUnusedUsers()
func (*Manager) ValidateAndAddToWorkqueue ¶ added in v1.0.1
func (m *Manager) ValidateAndAddToWorkqueue(id string, context *clientcmdapi.Context)
Click to show internal directories.
Click to hide internal directories.