Documentation ¶
Overview ¶
Package registry implements a docker V2 registry and the OCI distribution specification.
It is designed to be used anywhere a low dependency container registry is needed, with an initial focus on tests.
Its goal is to be standards compliant and its strictness will increase over time.
This is currently a low flightmiles system. It's likely quite safe to use in tests; If you're using it in production, please let us know how and send us CL's for integration tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CIDResolver ¶
CIDResolver is the interface that maps container image repo[:reference] to content ID.
func NewDNSLinkResolver ¶
func NewDNSLinkResolver(client *ipfs.Client, domain string) (CIDResolver, error)
func NewFileResolver ¶
func NewFileResolver(uri string) (CIDResolver, error)
func NewIPFSResolver ¶
func NewIPFSResolver(client *ipfs.Client, root string) (CIDResolver, error)
func NewResolver ¶
func NewResolver(client *ipfs.Client, list []string) CIDResolver
Source Files ¶
Click to show internal directories.
Click to hide internal directories.