auth

package
v0.30.3 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2025 License: MIT Imports: 11 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."`
}

Cmd represents the auth command group

type LoginCmd

type LoginCmd struct {
	Namespace    string `short:"n" help:"Target namespace (default: current kubeconfig context)."`
	CallbackPort int    `flag:"" default:"8085" help:"Port for OAuth callback server."`
}

LoginCmd handles OAuth login flow

func (*LoginCmd) Run

func (c *LoginCmd) Run(ctx context.Context, provider k8s.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, provider k8s.Provider) error

Run executes the logout command

Jump to

Keyboard shortcuts

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