registry

package
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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

func (c *Repository) HasImage(tag string) (bool, error)

HasImage returns an image tag exists or not in the repository.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL