auth

package
v0.30.4 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2026 License: MIT Imports: 10 Imported by: 0

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

func (*LoginCmd) Run

func (c *LoginCmd) Run(ctx context.Context, cfgStore airbox.ConfigStore, httpClient http.HTTPDoer, apiFactory airbox.APIServiceFactory, ui ui.Provider) error

Run executes the login command

type LogoutCmd

type LogoutCmd struct {
	Namespace string `short:"n" help:"Target namespace (default: current kubeconfig context)."`
}

LogoutCmd handles logout and credential cleanup

func (*LogoutCmd) Run

func (c *LogoutCmd) Run(ctx context.Context, cfgStore airbox.ConfigStore, ui ui.Provider) error

Run executes the logout command

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.

Jump to

Keyboard shortcuts

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