variables

package
v0.1.14 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2022 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandLineVariable

type CommandLineVariable struct {
	Name  string
	Value string
}

type CommandLineVariables

type CommandLineVariables []CommandLineVariable

func (*CommandLineVariables) Set

func (i *CommandLineVariables) Set(value string) error

func (*CommandLineVariables) String

func (i *CommandLineVariables) String() string

func (*CommandLineVariables) Type

func (i *CommandLineVariables) Type() string

type Variable

type Variable struct {
	Name    string         `hcl:"name,label"`
	Default hcl.Expression `hcl:"default"`
	Type    hcl.Expression `hcl:"type"`
}

func (Variable) GetDefaultValueFunction

func (v Variable) GetDefaultValueFunction() func(common.CloudProvider) cty.Value

func (Variable) GetValueFromCli

func (v Variable) GetValueFromCli(cliVar *string) cty.Value

Jump to

Keyboard shortcuts

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