Documentation ¶
Index ¶
Constants ¶
View Source
const ( DockerHub = "dockerhub" Harbor = "harbor" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry struct { Addr string // registry address, domain:port, ip:port, domain, etc Auth string // base64 encoding, for HTTP API Header: registry.AuthHeader Project []string // available projects Name string // identifier of current registry // contains filtered or unexported fields }
func FromAuthConfig ¶
func FromAuthConfig(authConfig registry.AuthConfig) (reg Registry)
func (*Registry) GetAuthConfig ¶
func (r *Registry) GetAuthConfig() registry.AuthConfig
func (*Registry) WithProject ¶
Click to show internal directories.
Click to hide internal directories.