Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteContexts ¶
Types ¶
type CLIContext ¶
type ContextKeyServerURL ¶
type ContextKeyServerURL struct{}
type Contexts ¶
type Contexts struct {
CurrentContext string `json:"current_context"`
Contexts map[string]CLIContext `json:"contexts"`
}
func ReadContexts ¶
func (*Contexts) Current ¶
func (c *Contexts) Current() *CLIContext
func (*Contexts) Get ¶
func (c *Contexts) Get(contextName string) *CLIContext
func (*Contexts) UpdateContext ¶
Click to show internal directories.
Click to hide internal directories.