auth

package
v1.0.20 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2026 License: MIT Imports: 25 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 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
}

CheckOptions holds all inputs for auth check.

type ListOptions

type ListOptions struct {
	Factory *cmdutil.Factory
}

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
	NoWait     bool
	DeviceCode string
}

LoginOptions holds all inputs for auth login.

type LogoutOptions

type LogoutOptions struct {
	Factory *cmdutil.Factory
}

LogoutOptions holds all inputs for auth logout.

type ScopesOptions

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

ScopesOptions holds all inputs for auth scopes.

type StatusOptions

type StatusOptions struct {
	Factory *cmdutil.Factory
	Verify  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