config

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2020 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ProviderConfig ProviderConfig `mapstructure:"providers"`
	Templates      []TemplateDefs `mapstructure:"templates"`
}

func Load

func Load(cfgFile string) (*Config, error)

type ProviderConfig

type ProviderConfig struct {
	SecretProviders  []string `mapstructure:"secret"`
	TemplateProvider string   `mapstructure:"template"`
}

type TemplateDefs

type TemplateDefs struct {
	Source string `mapstructure:"src"`
	Dest   string `mapstructure:"dest"`
}

Jump to

Keyboard shortcuts

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