configfiles

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2020 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Loader

type Loader interface {
	// Load loads and returns the GatewayConfiguration from the storage layer, or an error if a configuration could not be loaded
	Load() (*gatewayconfig.GatewayConfiguration, error)
}

Loader loads configuration from a storage layer

func NewFsLoader

func NewFsLoader(fs utilfs.Filesystem, gatewayFile string) (Loader, error)

NewFsLoader returns a Loader that loads a GatewayConfiguration from the `gatewayFile`

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL