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 ¶
- func Dig(gw string, short bool, name string) (string, error)
- func Get(url string) (resp *http.Response, err error)
- func IpfsURL(gw string, s []string) string
- func IpfsifyHash(base32Hash string) string
- func New(config *Config, opts ...Option) http.Handler
- func ToB32(s string) string
- func ToB58(s string) string
- type Config
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
Get issues a GET to the specified URL - a drop-in replacement for http.Get with timeouts.
func IpfsifyHash ¶
IpfsifyHash does base32 to base58 conversion
Types ¶
Click to show internal directories.
Click to hide internal directories.