query

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResolveArgs

func ResolveArgs(template string, args []v1alpha1.Argument) (string, error)

ResolveArgs substitute the supplied arguments in the given template

func ResolveExperimentArgsValue added in v0.7.1

func ResolveExperimentArgsValue(argTemplate string, ex *v1alpha1.Experiment, templateRSs map[string]*appsv1.ReplicaSet) (string, error)

ResolveExperimentArgsValue substitutes values from the experiment (i.e. a template's pod hash) in the args value field

func ResolveQuotedArgs

func ResolveQuotedArgs(template string, args []v1alpha1.Argument) (string, error)

ResolveQuotedArgs is used for substituting templates which need quotes escaped such as when args are used in JSON which we marshal and unmarshal

Types

This section is empty.

Jump to

Keyboard shortcuts

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