parameter

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ReservedPrefix = "FLOW_"
)

Variables

This section is empty.

Functions

func ParameterListToEnvList

func ParameterListToEnvList(params []Parameter) ([]string, error)

Types

type Parameter

type Parameter struct {
	// Only one of text, secretRef, or prompt should be set.
	Text      string `yaml:"text"`
	Prompt    string `yaml:"prompt"`
	SecretRef string `yaml:"secretRef"`

	EnvKey string `yaml:"envKey"`
}

func (*Parameter) Validate

func (p *Parameter) Validate() error

func (*Parameter) Value

func (p *Parameter) Value() (string, error)

Jump to

Keyboard shortcuts

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