Documentation
¶
Overview ¶
Package auth provides CLI commands for authentication management.
Index ¶
- func CommandAuth(cliParams *settings.Run, ioStreams *terminal.IOStreams, path string) *cobra.Command
- func CommandLogin(_ *settings.Run, _ *terminal.IOStreams, _ string) *cobra.Command
- func CommandLogout(_ *settings.Run, _ *terminal.IOStreams, _ string) *cobra.Command
- func CommandStatus(cliParams *settings.Run, ioStreams *terminal.IOStreams, _ string) *cobra.Command
- func CommandToken(cliParams *settings.Run, ioStreams *terminal.IOStreams, _ string) *cobra.Command
- func IsSupportedHandler(name string) bool
- func SupportedHandlers() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommandAuth ¶
func CommandAuth(cliParams *settings.Run, ioStreams *terminal.IOStreams, path string) *cobra.Command
CommandAuth creates the 'auth' command group.
func CommandLogin ¶
CommandLogin creates the 'auth login' command.
func CommandLogout ¶
CommandLogout creates the 'auth logout' command.
func CommandStatus ¶
CommandStatus creates the 'auth status' command.
func CommandToken ¶
CommandToken creates the 'auth token' command.
func IsSupportedHandler ¶
IsSupportedHandler returns true if the handler name is supported.
func SupportedHandlers ¶
func SupportedHandlers() []string
SupportedHandlers returns the list of supported auth handler names.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.