package
3.0.0+incompatible
Repository: https://github.com/lsm5/containers-image.git
Documentation: pkg.go.dev
# Functions
ConfigPath returns the path to the system-wide registry configuration file.
FindRegistry returns the Registry with the longest prefix for ref, which is a registry, repository namespace repository or image reference (as formatted by reference.Domain(), reference.Named.Name() or reference.Reference.String() — note that this requires the name to start with an explicit hostname!).
GetRegistries loads and returns the registries specified in the config.
InvalidateCache invalidates the registry cache.
TryUpdatingCache loads the configuration from the provided `SystemContext` without using the internal cache.
UnqualifiedSearchRegistries returns a list of host[:port] entries to try for unqualified image search, in the returned order).
# Structs
Endpoint describes a remote location of a registry.
InvalidRegistries represents an invalid registry configurations.
PullSource consists of an Endpoint and a Reference.
Registry represents a registry.
V1RegistriesConf is the sysregistries v1 configuration format.
V1TOMLConfig is for backwards compatibility to sysregistries v1.
V1TOMLregistries is for backwards compatibility to sysregistries v1.
V2RegistriesConf is the sysregistries v2 configuration format.