Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type Authenticator interface {
Authenticate(challenge *Challenge, ignoreCached bool) (Token, error)
}
func NewAuthenticator ¶
func NewAuthenticator(client *http.Client, credentials RegistryCredentials, fastChannel bool, tokenProvider FastChannelTokenProvider) Authenticator
type Challenge ¶
type Challenge struct {
// contains filtered or unexported fields
}
func ParseChallenge ¶
type FastChannelTokenProvider ¶
type FastChannelTokenProvider interface {
RequestMirrorToken(registryHost string, service string, scope []string) (string, error)
}
FastChannelTokenProvider fetches tokens for fast channel auth flows.
type RegistryCredentials ¶
Click to show internal directories.
Click to hide internal directories.