xutil

package
v1.17.5 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: MIT Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CombineSection

func CombineSection(config *core.CoreConfig, sliceSectionInterface interface{}, maxDepth int, combinedSectionInterface interface{})

Combines the values in a slice, creating a singular map from multiple Input:

  • slice to combine
  • template slice to combine
  • depth of map (-1 for value/secret sections)

func GenerateSeedSectionFromVaultRaw

func GenerateSeedSectionFromVaultRaw(driverConfig *eUtils.DriverConfig, templateFromVault bool, templatePaths []string) ([]byte, bool, map[string]interface{}, map[string]map[string]map[string]string, map[string]map[string]map[string]string, string, error)

func GenerateSeedsFromVault

func GenerateSeedsFromVault(ctx eUtils.ProcessContext, configCtx *eUtils.ConfigContext, driverConfig *eUtils.DriverConfig) (interface{}, error)

GenerateSeedsFromVault configures the templates in trc_templates and writes them to trcx

func GenerateSeedsFromVaultRaw

func GenerateSeedsFromVaultRaw(driverConfig *eUtils.DriverConfig, fromVault bool, templatePaths []string) (string, bool, string, error)

GenerateSeedsFromVaultRaw configures the templates in trc_templates and writes them to trcx

func GetDirFiles

func GetDirFiles(dir string) []string

func MergeMaps

func MergeMaps(x1, x2 interface{}) interface{}

MergeMaps - merges 2 maps recursively.

Types

This section is empty.

Jump to

Keyboard shortcuts

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