cmdutil

package
v1.247346.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2020 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChangeUser

func ChangeUser(mergedJsonConfigMap map[string]interface{}) (user string, err error)

func DetectRunAsUser

func DetectRunAsUser(mergedJsonConfigMap map[string]interface{}) (runAsUser string, err error)

func GenerateMergedJsonConfigMap

func GenerateMergedJsonConfigMap(ctx *context.Context) (map[string]interface{}, error)

func GetTomlConfigPath

func GetTomlConfigPath(tomlFilePath string) string

func RunSchemaValidation

func RunSchemaValidation(inputJsonMap map[string]interface{}) (*gojsonschema.Result, error)

func TranslateJsonMapToEnvConfigFile

func TranslateJsonMapToEnvConfigFile(jsonConfigValue map[string]interface{}, envConfigPath string)

Generate env config based on the input json config

func TranslateJsonMapToTomlFile

func TranslateJsonMapToTomlFile(jsonConfigValue map[string]interface{}, tomlConfigFilePath string)

Translate from Json map to toml file

func VerifyCredentials

func VerifyCredentials(ctx *context.Context, runAsUser string)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL