Versions in this module Expand all Collapse all v1 v1.0.0 Jul 24, 2018 Changes in this version + var NoCredentials auth.CredentialStore = &noopCredentialStore + func NewRetryRepository(repo distribution.Repository, retries int, interval time.Duration) distribution.Repository + type AuthHandlersFunc func(transport http.RoundTripper, registry *url.URL, repoName string) []auth.AuthenticationHandler + type BasicCredentials struct + func NewBasicCredentials() *BasicCredentials + func (c *BasicCredentials) Add(url *url.URL, username, password string) + func (c *BasicCredentials) Basic(url *url.URL) (string, string) + func (s BasicCredentials) RefreshToken(url *url.URL, service string) string + func (s BasicCredentials) SetRefreshToken(url *url.URL, service string, token string) + type Context struct + Actions []string + Challenges challenge.Manager + Credentials auth.CredentialStore + InsecureTransport http.RoundTripper + Retries int + Scopes []auth.Scope + Transport http.RoundTripper + func NewContext(transport, insecureTransport http.RoundTripper) *Context + func (c *Context) Copy() *Context + func (c *Context) Ping(ctx gocontext.Context, registry *url.URL, insecure bool) (http.RoundTripper, *url.URL, error) + func (c *Context) Repository(ctx gocontext.Context, registry *url.URL, repoName string, insecure bool) (distribution.Repository, error) + func (c *Context) Reset() + func (c *Context) WithActions(actions ...string) *Context + func (c *Context) WithCredentials(credentials auth.CredentialStore) *Context + func (c *Context) WithScopes(scopes ...auth.Scope) *Context + type ErrNotV2Registry struct + Registry string + func (e *ErrNotV2Registry) Error() string + type RefreshTokenStore interface + RefreshToken func(url *url.URL, service string) string + SetRefreshToken func(url *url.URL, service string, token string) + func NewRefreshTokenStore() RefreshTokenStore + type RepositoryRetriever interface + Repository func(ctx gocontext.Context, registry *url.URL, repoName string, insecure bool) (distribution.Repository, error)