Help us shape the future of Go! Take the 2026 Go Developer Survey

cmdutil

package
v1.300073.2 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrOnlyYAML = errors.New("only YAML files detected")

Functions

func ConfigToTomlFile added in v1.300025.0

func ConfigToTomlFile(config interface{}, tomlConfigFilePath string) error

func ConfigToYamlFile added in v1.300025.0

func ConfigToYamlFile(config interface{}, yamlConfigFilePath string) 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 added in v1.300071.0

func TranslateJSONMapToEnvConfigFile(jsonConfigValue map[string]any, envConfigPath string)

TranslateJSONMapToEnvConfigFile populates env-config.json based on the input json config. Keys managed by translation are always overwritten; other keys are retained.

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

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