config

package
v0.0.0-...-fc2a2c9 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	ApiKey       string
	Auth         map[string]string
	JwksEndpoint string
	NetApp       filer.NetAppConfig
	CephFs       filer.CephFsConfig
}

Configuration is the data structure for marshaling the config.yml file using the viper configuration framework.

func LoadConfig

func LoadConfig(cpath string) (Configuration, error)

LoadConfig reads configuration file `cpath` and returns the `Configuration` data structure.

Jump to

Keyboard shortcuts

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