auth

package
v1.0.73-beta.4 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2026 License: MIT Imports: 31 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdAuth

func NewCmdAuth(f *cmdutil.Factory) *cobra.Command

NewCmdAuth creates the auth command with subcommands.

func NewCmdAuthCheck

func NewCmdAuthCheck(f *cmdutil.Factory, runF func(*CheckOptions) error) *cobra.Command

NewCmdAuthCheck creates the auth check subcommand.

func NewCmdAuthList

func NewCmdAuthList(f *cmdutil.Factory, runF func(*ListOptions) error) *cobra.Command

NewCmdAuthList creates the auth list subcommand.

func NewCmdAuthLogin

func NewCmdAuthLogin(f *cmdutil.Factory, runF func(*LoginOptions) error) *cobra.Command

NewCmdAuthLogin creates the auth login subcommand.

func NewCmdAuthLogout

func NewCmdAuthLogout(f *cmdutil.Factory, runF func(*LogoutOptions) error) *cobra.Command

NewCmdAuthLogout creates the auth logout subcommand.

func NewCmdAuthQRCode added in v1.0.40

func NewCmdAuthQRCode(f *cmdutil.Factory, runF func(*QRCodeOptions) error) *cobra.Command

NewCmdAuthQRCode creates the auth qrcode subcommand.

func NewCmdAuthScopes

func NewCmdAuthScopes(f *cmdutil.Factory, runF func(*ScopesOptions) error) *cobra.Command

NewCmdAuthScopes creates the auth scopes subcommand.

func NewCmdAuthStatus

func NewCmdAuthStatus(f *cmdutil.Factory, runF func(*StatusOptions) error) *cobra.Command

NewCmdAuthStatus creates the auth status subcommand.

Types

type CheckOptions

type CheckOptions struct {
	Factory *cmdutil.Factory
	Scope   string
	JSON    bool
}

CheckOptions holds all inputs for auth check.

type ListOptions

type ListOptions struct {
	Factory *cmdutil.Factory
	JSON    bool
}

ListOptions holds all inputs for auth list.

type LoginOptions

type LoginOptions struct {
	Factory    *cmdutil.Factory
	Ctx        context.Context
	JSON       bool
	Scope      string
	Recommend  bool
	Domains    []string
	Exclude    []string
	NoWait     bool
	DeviceCode string
}

LoginOptions holds all inputs for auth login.

type LogoutOptions

type LogoutOptions struct {
	Factory *cmdutil.Factory
	JSON    bool
}

LogoutOptions holds all inputs for auth logout.

type QRCodeOptions added in v1.0.40

type QRCodeOptions struct {
	Factory *cmdutil.Factory
	Ctx     context.Context
	URL     string
	Size    int
	ASCII   bool
	Output  string
}

QRCodeOptions holds inputs for auth qrcode command.

type ScopesOptions

type ScopesOptions struct {
	Factory *cmdutil.Factory
	Ctx     context.Context
	Format  string
	JSON    bool
}

ScopesOptions holds all inputs for auth scopes.

type StatusOptions

type StatusOptions struct {
	Factory *cmdutil.Factory
	Verify  bool
	JSON    bool
}

StatusOptions holds all inputs for auth status.

Jump to

Keyboard shortcuts

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