context

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const MaxSelectHeight = 500

Variables

This section is empty.

Functions

func Get

func Get(cmd *cobra.Command, kontextConfig *config.Config, name string) error

func Print

func Print(_ *cobra.Command, contextList map[string]*api.Context, apiConfig *api.Config) error

func Set

func Set(_ *cobra.Command, kontextConfig *config.Config, contextName string) error

Types

type JSONContext

type JSONContext struct {
	Name     string `json:"name,omitempty"`
	Cluster  string `json:"cluster,omitempty"`
	AuthInfo string `json:"authInfo,omitempty"`
}

Jump to

Keyboard shortcuts

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