Documentation ¶
Index ¶
- func CreateEngines(config *eUtils.DriverConfig, v *sys.Vault)
- func DownloadTemplateDirectory(config *eUtils.DriverConfig, mod *helperkv.Modifier, dirName string, ...) ([]string, error)
- func DownloadTemplates(config *eUtils.DriverConfig, mod *helperkv.Modifier, dirName string, ...)
- func GetApproleFileNames(config *eUtils.DriverConfig, namespace string) []string
- func GetExistsPolicies(config *eUtils.DriverConfig, dir string, v *sys.Vault) (bool, error)
- func GetExistsRoles(config *eUtils.DriverConfig, dir string, v *sys.Vault) (bool, error)
- func GetTemplateParam(config *eUtils.DriverConfig, mod *helperkv.Modifier, filePath string, ...) (string, error)
- func ParseApproleYaml(fileName string, namespace string) (map[interface{}]interface{}, error)
- func SeedVault(config *eUtils.DriverConfig) error
- func SeedVaultFromData(config *eUtils.DriverConfig, filepath string, fData []byte) error
- func SeedVaultFromFile(config *eUtils.DriverConfig, filepath string)
- func UploadPolicies(config *eUtils.DriverConfig, dir string, v *sys.Vault, noPermissions bool) error
- func UploadTemplateDirectory(c *eUtils.DriverConfig, mod *helperkv.Modifier, dirName string) ([]string, error)
- func UploadTemplates(c *eUtils.DriverConfig, mod *helperkv.Modifier, dirName string) ([]string, error)
- func UploadTokenCidrRoles(config *eUtils.DriverConfig, dir string, v *sys.Vault) error
- func UploadTokens(config *eUtils.DriverConfig, dir string, fileFilterPtr *string, v *sys.Vault) []*pb.InitResp_Token
- func WriteData(config *eUtils.DriverConfig, path string, data map[string]interface{}, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateEngines ¶
func CreateEngines(config *eUtils.DriverConfig, v *sys.Vault)
CreateEngines adds engines specified by the list 'engines'
func DownloadTemplates ¶
func GetApproleFileNames ¶
func GetApproleFileNames(config *eUtils.DriverConfig, namespace string) []string
func GetExistsPolicies ¶
GetExistsPolicies accepts a file directory and vault object to check policies for. Logs to pased logger
func GetExistsRoles ¶
GetExistsRole accepts a file directory and vault object to check existence of token roles. Logs to pased logger
func GetTemplateParam ¶
func ParseApproleYaml ¶
func SeedVault ¶
func SeedVault(config *eUtils.DriverConfig) error
SeedVault seeds the vault with seed files in the given directory -> only init uses this
func SeedVaultFromData ¶
func SeedVaultFromData(config *eUtils.DriverConfig, filepath string, fData []byte) error
SeedVaultFromData takes file bytes and seeds the vault with contained data
func SeedVaultFromFile ¶
func SeedVaultFromFile(config *eUtils.DriverConfig, filepath string)
SeedVaultFromFile takes a file path and seeds the vault with the seeds found in an individual file
func UploadPolicies ¶
func UploadPolicies(config *eUtils.DriverConfig, dir string, v *sys.Vault, noPermissions bool) error
UploadPolicies accepts a file directory and vault object to upload policies to. Logs to pased logger
func UploadTemplateDirectory ¶
func UploadTemplates ¶
func UploadTokenCidrRoles ¶
UploadTokenCidrRoles accepts a file directory and vault object to upload token roles to. Logs to pased logger
func UploadTokens ¶
func UploadTokens(config *eUtils.DriverConfig, dir string, fileFilterPtr *string, v *sys.Vault) []*pb.InitResp_Token
UploadTokens accepts a file directory and vault object to upload tokens to. Logs to pased logger
Types ¶
This section is empty.