Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCredentialFunc ¶
func NewCredentialFunc() (auth.CredentialFunc, error)
NewCredentialFunc returns an auth.CredentialFunc backed by the Docker credential resolution chain (credHelpers -> credsStore -> auths).
func NewRepository ¶
func NewRepository(ref string, credFunc auth.CredentialFunc, plainHTTP bool) (*remote.Repository, error)
NewRepository creates an authenticated remote.Repository from a full OCI reference. The plainHTTP parameter forces HTTP instead of HTTPS, or is auto-detected from http:// scheme.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.