Discover Packages
github.com/deislabs/oras
pkg
auth
docker
package
Version:
v0.5.0
Opens a new window with list of versions in this module.
Published: May 10, 2019
License: MIT
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
NewClient creates a new auth client based on provided config paths.
If not config path is provided, the default path is used.
Credentials are read from the first config and fall backs to next.
All changes will only be written to the first config file.
Client provides authentication operations for docker registries.
Credential returns the login credential of the request host.
Login logs in to a docker registry identified by the hostname.
Logout logs out from a docker registry identified by the hostname.
Resolver returns a new authenticated resolver.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.