Versions in this module Expand all Collapse all v4 v4.1.0 May 1, 2019 Changes in this version + var NoCredentials auth.CredentialStore = &noopCredentialStore + func ContentDigestForManifest(manifest distribution.Manifest, algo digest.Algorithm) (digest.Digest, error) + func NewLimitedRetryRepository(repo distribution.Repository, retries int, limiter *rate.Limiter) distribution.Repository + func VerifyManifestIntegrity(manifest distribution.Manifest, dgst digest.Digest) error + 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 + DisableDigestVerification bool + InsecureTransport http.RoundTripper + Limiter *rate.Limiter + 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 context.Context, registry *url.URL, insecure bool) (http.RoundTripper, *url.URL, error) + func (c *Context) Repository(ctx context.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) WithRateLimiter(limiter *rate.Limiter) *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 context.Context, registry *url.URL, repoName string, insecure bool) (distribution.Repository, error) v4.0.0-alpha.0 Sep 13, 2018 Other modules containing this package gopkg.in/openshift/origin.v3