Documentation ¶
Index ¶
- func ChangeUser(mergedJsonConfigMap map[string]interface{}) (string, error)
- func DetectRunAsUser(mergedJsonConfigMap map[string]interface{}) (runAsUser string, err error)
- func GenerateMergedJsonConfigMap(ctx *context.Context) (map[string]interface{}, error)
- func GetTomlConfigPath(tomlFilePath string) string
- func RunSchemaValidation(inputJsonMap map[string]interface{}) (*gojsonschema.Result, error)
- func TranslateJsonMapToEnvConfigFile(jsonConfigValue map[string]interface{}, envConfigPath string)
- func TranslateJsonMapToTomlFile(jsonConfigValue map[string]interface{}, tomlConfigFilePath string)
- func VerifyCredentials(ctx *context.Context, runAsUser string)
- type ChownFunc
- type ExecUser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangeUser ¶
func DetectRunAsUser ¶
DetectRunAsUser get the user name from toml config. It runs on all platforms except windows.
func GetTomlConfigPath ¶
func RunSchemaValidation ¶
func RunSchemaValidation(inputJsonMap map[string]interface{}) (*gojsonschema.Result, error)
func TranslateJsonMapToEnvConfigFile ¶
TranslateJsonMapToEnvConfigFile populates env-config.json based on the input json config.
func VerifyCredentials ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.