selector

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppConfig

type AppConfig struct {
	KubeconfigDir       string   `yaml:"kubeconfigDir"`
	KubeconfigFile      string   `yaml:"kubeconfigFile"`
	ExtraKubeconfigDirs []string `yaml:"extraKubeconfigDirs"`
	ShowKubeConfig      bool     `yaml:"showKubeconfig"`
}

type ConfigList

type ConfigList struct {
	Rows           []TableListItem
	Config         api.Config
	RedactedConfig api.Config
	Context        *api.Context
}

type Selector

type Selector struct {
	// contains filtered or unexported fields
}

func New

func New(ctx cli.Context) (*Selector, error)

func (*Selector) Run

func (s *Selector) Run() error

type TableListItem

type TableListItem struct {
	Field string
	Value string
}

Jump to

Keyboard shortcuts

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