Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrDeprecatedManifest = errors.New("deprecated image manifest") ErrPullRateLimitExceeded = errors.New("image pull rate limit exceeded") )
Functions ¶
This section is empty.
Types ¶
type Repository ¶ added in v1.6.0
type Repository struct {
// contains filtered or unexported fields
}
Repository represents a repository using Docker Registry API v2.
func New ¶
func New(image, user, password string) *Repository
New creates a client for a repository.
func (*Repository) HasImage ¶ added in v1.6.0
HasImage returns an image tag exists or not in the repository.
func (*Repository) HasPlatformImage ¶ added in v1.99.0
HasPlatformImage returns an image tag for arch/os exists or not in the repository.
Click to show internal directories.
Click to hide internal directories.