utils

package
v0.0.0-...-5785f03 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: MIT Imports: 11 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JsonPathQuery

func JsonPathQuery(obj interface{}, jsonPath string) (interface{}, error)

func ParseProperty

func ParseProperty(val string) string

func UnmarshalDuration

func UnmarshalDuration(duration string) (time.Duration, error)

Types

type EvaluationContext

type EvaluationContext struct {
	ConfigProvider config.IExtConfigProvider
	SecretProvider secret.ISecretProvider
	DeploymentSpec interface{}
	Properties     map[string]string
	Inputs         map[string]interface{}
	Outputs        map[string]map[string]interface{}
	Component      string
	Value          interface{}
	Namespace      string
}

func (*EvaluationContext) Clone

Jump to

Keyboard shortcuts

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