Documentation ¶
Index ¶
- func CheckNotSudo()
- func GetJSONFromClientByGet(config *core.CoreConfig, httpClient *http.Client, headers map[string]string, ...) (map[string]interface{}, int, error)
- func GetJSONFromClientByPost(config *core.CoreConfig, httpClient *http.Client, headers map[string]string, ...) (map[string]interface{}, int, error)
- func GetLocalVaultHost(withPort bool, vaultHostChan chan string, vaultLookupErrChan chan error, ...)
- func GetPluginToolConfig(driverConfig *eUtils.DriverConfig, mod *helperkv.Modifier, ...) (map[string]interface{}, error)
- func LoadBaseTemplate(driverConfig *eUtils.DriverConfig, templateResult *extract.TemplateResultData, ...) error
- func OpenDirectConnection(config *core.CoreConfig, url string, username string, password string) (*sql.DB, error)
- func ResolveTokenName(env string) string
- func Sanitize(input interface{}) string
- func SeedVaultById(driverConfig *eUtils.DriverConfig, goMod *helperkv.Modifier, service string, ...) error
- func UncompressZipFile(filePath string) (bool, []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(driverConfig *eUtils.DriverConfig, templateResult *extract.TemplateResultData, goMod *helperkv.Modifier, project string, service string, templatePath string) error
func OpenDirectConnection ¶
func OpenDirectConnection(config *core.CoreConfig, 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 ¶
func UncompressZipFile ¶ added in v1.3.4
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.