Documentation ¶
Index ¶
- func CheckNotSudo()
- func GetJSONFromClientByGet(config *eUtils.DriverConfig, httpClient *http.Client, ...) (map[string]interface{}, int, error)
- func GetJSONFromClientByPost(config *eUtils.DriverConfig, httpClient *http.Client, ...) (map[string]interface{}, int, error)
- func GetLocalVaultHost(withPort bool, vaultHostChan chan string, vaultLookupErrChan chan error, ...)
- func GetPluginToolConfig(config *eUtils.DriverConfig, mod *helperkv.Modifier, ...) (map[string]interface{}, error)
- func LoadBaseTemplate(config *eUtils.DriverConfig, templateResult *extract.TemplateResultData, ...) error
- func OpenDirectConnection(config *eUtils.DriverConfig, url string, username string, password string) (*sql.DB, error)
- func ResolveTokenName(env string) string
- func SeedVaultById(config *eUtils.DriverConfig, goMod *helperkv.Modifier, service string, ...) error
- type ProcessFlowConfig
- type ProcessFlowFunc
- type ProcessFlowInitConfig
- type Properties
- func (p *Properties) GetConfigValue(service string, config string, key string) (string, bool)
- func (p *Properties) GetConfigValues(service string, config string) (map[string]interface{}, bool)
- func (p *Properties) GetPluginData(region string, service string, config string, log *log.Logger) (map[string]interface{}, map[string]interface{})
- func (p *Properties) GetValue(service string, keyPath []string, key string) (string, error)
- func (p *Properties) WritePluginData(pluginData map[string]interface{}, replacedFields map[string]interface{}, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckNotSudo ¶
func CheckNotSudo()
CheckNotSudo -- checks if current user is sudoer and exits if they are.
func GetJSONFromClientByGet ¶
func GetJSONFromClientByPost ¶
func GetLocalVaultHost ¶
func GetLocalVaultHost(withPort bool, vaultHostChan chan string, vaultLookupErrChan chan error, logger *log.Logger)
Unused/deprecated
func GetPluginToolConfig ¶
func LoadBaseTemplate ¶
func LoadBaseTemplate(config *eUtils.DriverConfig, templateResult *extract.TemplateResultData, goMod *helperkv.Modifier, project string, service string, templatePath string) error
func OpenDirectConnection ¶
func OpenDirectConnection(config *eUtils.DriverConfig, url string, username string, password string) (*sql.DB, error)
OpenDirectConnection opens connection to a database using various sql urls used by Spectrum.
func ResolveTokenName ¶
func SeedVaultById ¶
Types ¶
type ProcessFlowConfig ¶
type ProcessFlowFunc ¶
type ProcessFlowInitConfig ¶
type Properties ¶
type Properties struct { AuthEndpoint string // contains filtered or unexported fields }
Properties stores all configuration properties for a project.
func NewProperties ¶
func (*Properties) GetConfigValue ¶
GetConfigValue gets an invididual configuration value for a service from the data store.
func (*Properties) GetConfigValues ¶
func (p *Properties) GetConfigValues(service string, config string) (map[string]interface{}, bool)
GetConfigValues gets an invididual configuration value for a service from the data store.
func (*Properties) GetPluginData ¶
Click to show internal directories.
Click to hide internal directories.