Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConfigFile ¶ added in v1.4.0
func LoadConfigFile(name string) (*registryconfig.RegistryConfiguration, error)
LoadConfigFile returns a RegistryConfiguration from the `registryFile`
Types ¶
type Loader ¶
type Loader interface { // Load loads and returns the RegistryConfiguration from the storage layer, or an error if a configuration could not be loaded Load() (*registryconfig.RegistryConfiguration, error) }
Loader loads configuration from a storage layer
func NewFsLoader ¶
func NewFsLoader(fs utilfs.Filesystem, registryFile string) (Loader, error)
NewFsLoader returns a Loader that loads a RegistryConfiguration from the `registryFile`
Click to show internal directories.
Click to hide internal directories.