Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGetCredentialsCommand ¶
NewGetCredentialsCommand returns a cobra command that retrieves auth credentials after validating flags.
Types ¶
type AuthFlowFlagError ¶
type AuthFlowFlagError struct {
// contains filtered or unexported fields
}
AuthFlowFlagError represents an error that occurred during flag validation.
func (*AuthFlowFlagError) Error ¶
func (a *AuthFlowFlagError) Error() string
Error implements error.Error.
func (*AuthFlowFlagError) Is ¶
func (a *AuthFlowFlagError) Is(err error) bool
Is implements the Is function that errors.Is checks for.
type AuthFlowTypeError ¶
type AuthFlowTypeError struct {
// contains filtered or unexported fields
}
AuthFlowTypeError represents an indication that an unrecognized auth flow was passed.
func (*AuthFlowTypeError) Error ¶
func (p *AuthFlowTypeError) Error() string
Error implements error.Error.
func (*AuthFlowTypeError) Is ¶
func (p *AuthFlowTypeError) Is(err error) bool
Is implements the Is function that errors.Is checks for.
type CredentialOptions ¶
type CredentialOptions struct {
AuthFlow string
}
CredentialOptions contains a representation of the options passed to the credential provider.
Click to show internal directories.
Click to hide internal directories.