parameters

package
v3.4.9 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2024 License: MPL-2.0 Imports: 13 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDeepValue

func GetDeepValue(parameters interface{}, path string) interface{}

func ResolveTemplateParameters

func ResolveTemplateParameters(set []string, parameters []storagev1.AppParameter, fileName string) (string, error)

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 AppParameters struct {
	Name       string                 `json:"name,omitempty"`
	Parameters map[string]interface{} `json:"parameters"`
}

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"`
}

Jump to

Keyboard shortcuts

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