Documentation ¶
Index ¶
- Variables
- func New(ctx context.Context, dockerHost, username, password string, logger util.Logger) (*registry, error)
- func NewBasicTransport(host, username, password string, next http.RoundTripper) *basicTransport
- func NewTokenTransport(username, password string, next *http.Transport) *tokenTransport
- type AuthorizationChallenge
- type Registry
Constants ¶
This section is empty.
Variables ¶
View Source
var GCRScopes = []string{"https://www.googleapis.com/auth/cloud-platform"}
Functions ¶
func NewBasicTransport ¶ added in v1.0.5
func NewBasicTransport(host, username, password string, next http.RoundTripper) *basicTransport
func NewTokenTransport ¶ added in v1.0.5
Types ¶
type AuthorizationChallenge ¶
AuthorizationChallenge carries information from a WWW-Authenticate response header.
Click to show internal directories.
Click to hide internal directories.