config

package
v2.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 2, 2019 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PluginConfig

type PluginConfig struct {
	VaultAddr    string
	VaultToken   string
	Environment  string
	SpecsPath    string
	OutputPath   string
	OutputFormat string
}

PluginConfig contains configuration options received from the environment variables

func Create

func Create() *PluginConfig

Create creates a new object with the actual configuration options

func (*PluginConfig) Validate

func (c *PluginConfig) Validate() error

Validate does a basic validation of values received from the environment

Jump to

Keyboard shortcuts

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