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 *config.DriverConfig, mod *helperkv.Modifier, filePath string, ...) (string, error)
- func ParseApproleYaml(fileName string, namespace string) (map[interface{}]interface{}, error)
- func SeedVault(driverConfig *config.DriverConfig) error
- func SeedVaultFromData(driverConfig *config.DriverConfig, filepath string, fData []byte) error
- func SeedVaultFromFile(driverConfig *config.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, tokenFileFiltersSet map[string]bool, ...) []*pb.InitResp_Token
- func WriteData(driverConfig *config.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 passed logger
func GetExistsRoles ¶
GetExistsRole accepts a file directory and vault object to check existence of token roles. Logs to passed logger
func GetTemplateParam ¶
func ParseApproleYaml ¶
func SeedVault ¶
func SeedVault(driverConfig *config.DriverConfig) error
SeedVault seeds the vault with seed files in the given directory -> only init uses this
func SeedVaultFromData ¶
func SeedVaultFromData(driverConfig *config.DriverConfig, filepath string, fData []byte) error
SeedVaultFromData takes file bytes and seeds the vault with contained data
func SeedVaultFromFile ¶
func SeedVaultFromFile(driverConfig *config.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 passed logger
func UploadTemplateDirectory ¶
func UploadTemplates ¶
func UploadTokenCidrRoles ¶
UploadTokenCidrRoles accepts a file directory and vault object to upload token roles to. Logs to passed logger
func UploadTokens ¶
func UploadTokens(config *core.CoreConfig, dir string, tokenFileFiltersSet map[string]bool, v *sys.Vault) []*pb.InitResp_Token
UploadTokens accepts a file directory and vault object to upload tokens to. Logs to passed logger
Types ¶
This section is empty.