app

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGetCredentialsCommand

func NewGetCredentialsCommand() (*cobra.Command, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL