Documentation
¶
Index ¶
- Constants
- type Options
- func (o *Options) AddFlags(flags *pflag.FlagSet)
- func (o *Options) Complete() error
- func (o *Options) NewBuilder() *resource.Builder
- func (o *Options) NewChatGPTClient(spinnerSuffix string) client.Client
- func (o *Options) NewKubeClientSet() (kubernetes.Interface, error)
- func (o *Options) ToRawKubeConfigLoader() clientcmd.ClientConfig
Constants ¶
View Source
const ( EnvKopilotToken = "KOPILOT_TOKEN" EnvKopilotLang = "KOPILOT_LANG" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { // set by env vars Token string Lang string // contains filtered or unexported fields }
func NewOptions ¶
func NewOptions() Options
func (*Options) NewBuilder ¶
func (*Options) NewChatGPTClient ¶
func (*Options) NewKubeClientSet ¶
func (o *Options) NewKubeClientSet() (kubernetes.Interface, error)
func (*Options) ToRawKubeConfigLoader ¶
func (o *Options) ToRawKubeConfigLoader() clientcmd.ClientConfig
Click to show internal directories.
Click to hide internal directories.