Documentation
¶
Index ¶
- func NewCmdAuth(f *cmdutil.Factory) *cobra.Command
- func NewCmdAuthCheck(f *cmdutil.Factory, runF func(*CheckOptions) error) *cobra.Command
- func NewCmdAuthList(f *cmdutil.Factory, runF func(*ListOptions) error) *cobra.Command
- func NewCmdAuthLogin(f *cmdutil.Factory, runF func(*LoginOptions) error) *cobra.Command
- func NewCmdAuthLogout(f *cmdutil.Factory, runF func(*LogoutOptions) error) *cobra.Command
- func NewCmdAuthScopes(f *cmdutil.Factory, runF func(*ScopesOptions) error) *cobra.Command
- func NewCmdAuthStatus(f *cmdutil.Factory, runF func(*StatusOptions) error) *cobra.Command
- type CheckOptions
- type ListOptions
- type LoginOptions
- type LogoutOptions
- type ScopesOptions
- type StatusOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdAuth ¶
NewCmdAuth creates the auth command with subcommands.
func NewCmdAuthCheck ¶
NewCmdAuthCheck creates the auth check subcommand.
func NewCmdAuthList ¶
NewCmdAuthList creates the auth list subcommand.
func NewCmdAuthLogin ¶
NewCmdAuthLogin creates the auth login subcommand.
func NewCmdAuthLogout ¶
NewCmdAuthLogout creates the auth logout subcommand.
func NewCmdAuthScopes ¶
NewCmdAuthScopes creates the auth scopes subcommand.
func NewCmdAuthStatus ¶
NewCmdAuthStatus creates the auth status subcommand.
Types ¶
type CheckOptions ¶
CheckOptions holds all inputs for auth check.
type ListOptions ¶
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 ¶
LogoutOptions holds all inputs for auth logout.
type ScopesOptions ¶
ScopesOptions holds all inputs for auth scopes.
type StatusOptions ¶
StatusOptions holds all inputs for auth status.
Click to show internal directories.
Click to hide internal directories.