Documentation ¶
Index ¶
- func ChangeUser(mergedJsonConfigMap map[string]interface{}) (string, error)
- func ConfigToTomlFile(config interface{}, tomlConfigFilePath string) error
- func ConfigToYamlFile(config interface{}, yamlConfigFilePath 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 TranslateJsonMapToTomlConfig(jsonConfigValue interface{}) (interface{}, error)
- func TranslateJsonMapToYamlConfig(jsonConfigValue interface{}) (interface{}, error)
- 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 ConfigToTomlFile ¶ added in v1.300025.0
func ConfigToYamlFile ¶ added in v1.300025.0
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 TranslateJsonMapToTomlConfig ¶ added in v1.300025.0
func TranslateJsonMapToTomlConfig(jsonConfigValue interface{}) (interface{}, error)
func TranslateJsonMapToYamlConfig ¶ added in v1.300025.0
func TranslateJsonMapToYamlConfig(jsonConfigValue interface{}) (interface{}, error)
func VerifyCredentials ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.