Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cmd ¶
type Cmd struct {
Login LoginCmd `cmd:"" help:"Login to Airbyte using OAuth."`
Logout LogoutCmd `cmd:"" help:"Logout and clear stored credentials."`
SwitchOrganization SwitchOrganizationCmd `cmd:"" aliases:"switch" help:"Switch to a different organization."`
}
Cmd represents the auth command group
type LoginCmd ¶
type LoginCmd struct {
Namespace string `short:"n" help:"Target namespace (default: current kubeconfig context)."`
}
LoginCmd handles application credentials login
type LogoutCmd ¶
type LogoutCmd struct {
Namespace string `short:"n" help:"Target namespace (default: current kubeconfig context)."`
}
LogoutCmd handles logout and credential cleanup
type SwitchOrganizationCmd ¶ added in v0.30.4
type SwitchOrganizationCmd struct{}
SwitchOrganizationCmd handles switching between orgs.
func (*SwitchOrganizationCmd) Run ¶ added in v0.30.4
func (c *SwitchOrganizationCmd) Run(ctx context.Context, cfgStore airbox.ConfigStore, httpClient http.HTTPDoer, apiFactory airbox.APIServiceFactory, ui ui.Provider) error
Run executes the switch organization command.
Click to show internal directories.
Click to hide internal directories.