Documentation ¶
Index ¶
- func CreateEngines(config *core.CoreConfig, v *sys.Vault)
- func DownloadTemplateDirectory(config *core.CoreConfig, mod *helperkv.Modifier, dirName string, ...) ([]string, error)
- func DownloadTemplates(config *core.CoreConfig, mod *helperkv.Modifier, dirName string, ...)
- func GetApproleFileNames(config *core.CoreConfig, namespace string) []string
- func GetExistsPolicies(config *core.CoreConfig, dir string, v *sys.Vault) (bool, error)
- func GetExistsRoles(config *core.CoreConfig, dir string, v *sys.Vault) (bool, error)
- func GetTemplateParam(driverConfig *eUtils.DriverConfig, mod *helperkv.Modifier, filePath string, ...) (string, error)
- func ParseApproleYaml(fileName string, namespace string) (map[interface{}]interface{}, error)
- func SeedVault(driverConfig *eUtils.DriverConfig) error
- func SeedVaultFromData(driverConfig *eUtils.DriverConfig, filepath string, fData []byte) error
- func SeedVaultFromFile(driverConfig *eUtils.DriverConfig, filepath string)
- func UploadPolicies(config *core.CoreConfig, dir string, v *sys.Vault, noPermissions bool) error
- func UploadTemplateDirectory(config *core.CoreConfig, mod *helperkv.Modifier, dirName string, ...) ([]string, error)
- func UploadTemplates(config *core.CoreConfig, mod *helperkv.Modifier, dirName string, ...) ([]string, error)
- func UploadTokenCidrRoles(config *core.CoreConfig, dir string, v *sys.Vault) error
- func UploadTokens(config *core.CoreConfig, dir string, fileFilterPtr *string, v *sys.Vault) []*pb.InitResp_Token
- func WriteData(driverConfig *eUtils.DriverConfig, path string, data map[string]interface{}, ...) *helperkv.Modifier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateEngines ¶
func CreateEngines(config *core.CoreConfig, v *sys.Vault)
CreateEngines adds engines specified by the list 'engines'
func DownloadTemplates ¶
func GetApproleFileNames ¶
func GetApproleFileNames(config *core.CoreConfig, 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(driverConfig *eUtils.DriverConfig) error
SeedVault seeds the vault with seed files in the given directory -> only init uses this
func SeedVaultFromData ¶
func SeedVaultFromData(driverConfig *eUtils.DriverConfig, filepath string, fData []byte) error
SeedVaultFromData takes file bytes and seeds the vault with contained data
func SeedVaultFromFile ¶
func SeedVaultFromFile(driverConfig *eUtils.DriverConfig, filepath string)
SeedVaultFromFile takes a file path and seeds the vault with the seeds found in an individual file
func UploadPolicies ¶
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 *core.CoreConfig, 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.