config

package
v0.0.0-...-9f0065b Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: MIT Imports: 6 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 {
	NetApp  filer.NetAppConfig
	FreeNas filer.FreeNasConfig
	CephFs  filer.CephFsConfig
	Smtp    tscfg.SMTPConfiguration
	Pdb     tscfg.PDBConfiguration
}

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