Documentation
¶
Overview ¶
Package harbor lists a Harbor registry through Harbor's v2 API instead of the distribution API. One artifacts page covers up to 100 manifests with their tags, push and pull times and attached signatures and SBOMs, so tags need no request each.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry is one Harbor instance. It is a crawl.Lister.
func New ¶
func New(host string, insecure bool, kc authn.Keychain, rt http.RoundTripper, userAgent string) (*Registry, error)
New returns a client for the Harbor at host. Credentials, such as a robot account, come from the keychain as a username and password.