config

package
v0.0.0-...-7bb5739 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfigVipers

func GetConfigVipers() map[string]*viper.Viper

GetVipers returns a map of config name -> *viper.Viper config objects

func GetState

func GetState(stdin io.Reader) (*specs.State, error)

Types

type InjectorConfig

type InjectorConfig struct {
	Name           string
	ActivationFlag string   `mapstructure:"activation_flag"`
	Devices        []string `mapstructure:"devices"`
	Binaries       []string `mapstructure:"binaries"`
	Libraries      []string `mapstructure:"libraries"`
	Directories    []string `mapstructure:"directories"`
	Misc           []string `mapstructure:"miscellaneous"`
}

func GetConfigs

func GetConfigs() []*InjectorConfig

func (*InjectorConfig) ActivationFlagPresent

func (c *InjectorConfig) ActivationFlagPresent(env []string) bool

Jump to

Keyboard shortcuts

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