Documentation ¶
Index ¶
- func GetDeepValue(parameters interface{}, path string) interface{}
- func ResolveTemplateParameters(set []string, parameters []storagev1.AppParameter, fileName string) (string, error)
- func SetDeepValue(parameters interface{}, path string, value interface{})
- func VerifyValue(value string, parameter storagev1.AppParameter) (interface{}, error)
- type AppFile
- type AppParameters
- type NamespacedApp
- type NamespacedAppWithParameters
- type ParametersFile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDeepValue ¶
func GetDeepValue(parameters interface{}, path string) interface{}
func SetDeepValue ¶
func SetDeepValue(parameters interface{}, path string, value interface{})
func VerifyValue ¶
func VerifyValue(value string, parameter storagev1.AppParameter) (interface{}, error)
Types ¶
type AppFile ¶
type AppFile struct {
Apps []AppParameters `json:"apps,omitempty"`
}
type AppParameters ¶
type NamespacedApp ¶
type NamespacedApp struct { App *managementv1.App Namespace string }
type NamespacedAppWithParameters ¶
type NamespacedAppWithParameters struct { App *managementv1.App Namespace string Parameters string }
func ResolveAppParameters ¶
func ResolveAppParameters(apps []NamespacedApp, appFilename string, log log.Logger) ([]NamespacedAppWithParameters, error)
type ParametersFile ¶
type ParametersFile struct {
Parameters map[string]interface{} `json:"parameters"`
}
Click to show internal directories.
Click to hide internal directories.