Documentation
¶
Overview ¶
Package auth provides auth related subcommands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckCommand ¶
type CheckCommand struct {
// contains filtered or unexported fields
}
CheckCommand implements auth-check subcommands.
func CheckCmd ¶
func CheckCmd(authOpts func() cred.Options) *CheckCommand
CheckCmd creates new CheckCommand.
func (*CheckCommand) Execute ¶
func (c *CheckCommand) Execute(ctx context.Context, flagSet *flag.FlagSet, _ ...any) subcommands.ExitStatus
func (*CheckCommand) Name ¶
func (*CheckCommand) Name() string
func (*CheckCommand) SetFlags ¶
func (c *CheckCommand) SetFlags(flagSet *flag.FlagSet)
func (*CheckCommand) Synopsis ¶
func (*CheckCommand) Synopsis() string
func (*CheckCommand) Usage ¶
func (*CheckCommand) Usage() string
type LoginCommand ¶
type LoginCommand struct {
// contains filtered or unexported fields
}
LoginCommand implements login subcommand.
func LoginCmd ¶
func LoginCmd(authOpts func() cred.Options) *LoginCommand
LoginCmd creates new LoginCommand.
func (*LoginCommand) Execute ¶
func (c *LoginCommand) Execute(ctx context.Context, flagSet *flag.FlagSet, _ ...any) subcommands.ExitStatus
func (*LoginCommand) Name ¶
func (*LoginCommand) Name() string
func (*LoginCommand) SetFlags ¶
func (*LoginCommand) SetFlags(flagSet *flag.FlagSet)
func (*LoginCommand) Synopsis ¶
func (*LoginCommand) Synopsis() string
func (*LoginCommand) Usage ¶
func (*LoginCommand) Usage() string
type LogoutCommand ¶
type LogoutCommand struct {
// contains filtered or unexported fields
}
LogoutCommand implements logout subcommand.
func LogoutCmd ¶
func LogoutCmd(authOpts func() cred.Options) *LogoutCommand
LogoutCmd creates new LogoutCommand.
func (*LogoutCommand) Execute ¶
func (c *LogoutCommand) Execute(ctx context.Context, flagSet *flag.FlagSet, _ ...any) subcommands.ExitStatus
func (*LogoutCommand) Name ¶
func (*LogoutCommand) Name() string
func (*LogoutCommand) SetFlags ¶
func (*LogoutCommand) SetFlags(flagSet *flag.FlagSet)
func (*LogoutCommand) Synopsis ¶
func (*LogoutCommand) Synopsis() string
func (*LogoutCommand) Usage ¶
func (*LogoutCommand) Usage() string
Click to show internal directories.
Click to hide internal directories.