Documentation ¶ Index ¶ func ContextSelect(contexts []Context) *promptui.Select type Context Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ContextSelect ¶ func ContextSelect(contexts []Context) *promptui.Select ContextSelect will show a series of contexts stored. To display the content of the struct, the usual dot notation is used inside the templates to select the fields and color them. Types ¶ type Context ¶ type Context struct { Name string Cluster string Auth string } Context contains basic information about a kubernetes context. Source Files ¶ View all Source files select.go Click to show internal directories. Click to hide internal directories.