Documentation ¶
Index ¶
Constants ¶
View Source
const EnvInsecure = "INSECURE_REGISTRY"
EnvInsecure - uses insecure registry client to skip cert verification
Variables ¶
View Source
var (
ErrTagNotSupplied = errors.New("tag not supplied")
)
errors
Functions ¶
func LogFormatter ¶
func LogFormatter(format string, args ...interface{})
LogFormatter - formatter callback passed into registry client
Types ¶
type DefaultClient ¶
type DefaultClient struct {
// contains filtered or unexported fields
}
DefaultClient - default client implementation
func (*DefaultClient) Digest ¶
func (c *DefaultClient) Digest(opts Opts) (string, error)
Digest - get digest for repo
func (*DefaultClient) Get ¶
func (c *DefaultClient) Get(opts Opts) (*Repository, error)
Get - get repository
type Opts ¶
Opts - registry client opts. If username & password are not supplied it will try to authenticate as anonymous
type Repository ¶
Repository - holds repository related info
Click to show internal directories.
Click to hide internal directories.