Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCredentialResolver ¶
func NewCredentialResolver() auth.CredentialResolver
Types ¶
type NoMatchingResolverError ¶
type NoMatchingResolverError struct {
Type string
}
func (*NoMatchingResolverError) Error ¶
func (e *NoMatchingResolverError) Error() string
func (*NoMatchingResolverError) Is ¶
func (e *NoMatchingResolverError) Is(err error) bool
type Resolver ¶
func NewAuthResolver ¶
func NewAuthResolver() Resolver
type ViperAuthCredential ¶
func (*ViperAuthCredential) ToAuthMethod ¶
func (b *ViperAuthCredential) ToAuthMethod() transport.AuthMethod
func (*ViperAuthCredential) Valid ¶
func (b *ViperAuthCredential) Valid() bool
type ViperAuthResolver ¶
type ViperAuthResolver struct{}
func (*ViperAuthResolver) Resolve ¶
func (b *ViperAuthResolver) Resolve(_ context.Context, name string) (auth.Credential, error)
Click to show internal directories.
Click to hide internal directories.