config

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

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) Finish

func (m *Manager) Finish()

func (*Manager) GetKubeconfigPath

func (m *Manager) GetKubeconfigPath() string

func (*Manager) RemoveContext

func (m *Manager) RemoveContext(id string, context *clientcmdapi.Context)

func (*Manager) RemoveUnusedUsers

func (m *Manager) RemoveUnusedUsers()

func (*Manager) Run added in v1.0.1

func (m *Manager) Run()

func (*Manager) Validate

func (m *Manager) Validate(context *clientcmdapi.Context) (bool, string)

func (*Manager) ValidateAndAddToWorkqueue added in v1.0.1

func (m *Manager) ValidateAndAddToWorkqueue(id string, context *clientcmdapi.Context)

Jump to

Keyboard shortcuts

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