Documentation ¶
Index ¶
- Variables
- type Copy
- type Decorator
- type Deployment
- func (d *Deployment) GetDeployment() interface{}
- func (d *Deployment) GetEnvVariable(envVariableName string) interface{}
- func (d *Deployment) GetOutput(outputName string) interface{}
- func (d *Deployment) GetParameter(name string) interface{}
- func (d *Deployment) GetResourcesByType(t string) []Resource
- func (d *Deployment) GetVariable(variableName string) interface{}
- func (d *Deployment) SetParameter(name string, value interface{}) error
- type DeploymentProperties
- type EvalContext
- type ExpressionEvaluationOptions
- type Kind
- type Output
- type Parameter
- type PropertyBag
- type Resolver
- type Resource
- type Scope
- type Value
- func (v Value) AsBool() bool
- func (v Value) AsBoolValue(defaultValue bool, metadata types.Metadata) types.BoolValue
- func (v Value) AsExpressionString() string
- func (v Value) AsFloat() float64
- func (v Value) AsInt() int
- func (v Value) AsIntValue(defaultValue int, metadata types.Metadata) types.IntValue
- func (v Value) AsList() []Value
- func (v Value) AsMap() map[string]Value
- func (v Value) AsString() string
- func (v Value) AsStringValue(defaultValue string, metadata types.Metadata) types.StringValue
- func (v Value) AsStringValuesList(defaultValue string) (stringValues []types.StringValue)
- func (v Value) AsTimeValue(metadata types.Metadata) types.TimeValue
- func (v Value) EqualTo(value interface{}) bool
- func (v Value) GetMapValue(key string) Value
- func (v *Value) GetMetadata() types.Metadata
- func (v Value) HasKey(key string) bool
- func (v Value) Raw() interface{}
- func (v *Value) Resolve()
- func (v *Value) UnmarshalJSONWithMetadata(node armjson.Node) error
- type Variable
Constants ¶
This section is empty.
Variables ¶
View Source
var NullValue = Value{ Kind: KindNull, }
Functions ¶
This section is empty.
Types ¶
type Deployment ¶
type Deployment struct { Metadata types.Metadata TargetScope Scope Parameters []Parameter Variables []Variable Copy *Copy Resources []Resource Outputs []Output }
func (*Deployment) GetDeployment ¶
func (d *Deployment) GetDeployment() interface{}
func (*Deployment) GetEnvVariable ¶
func (d *Deployment) GetEnvVariable(envVariableName string) interface{}
func (*Deployment) GetOutput ¶
func (d *Deployment) GetOutput(outputName string) interface{}
func (*Deployment) GetParameter ¶
func (d *Deployment) GetParameter(name string) interface{}
func (*Deployment) GetResourcesByType ¶
func (d *Deployment) GetResourcesByType(t string) []Resource
func (*Deployment) GetVariable ¶
func (d *Deployment) GetVariable(variableName string) interface{}
func (*Deployment) SetParameter ¶
func (d *Deployment) SetParameter(name string, value interface{}) error
type DeploymentProperties ¶
type DeploymentProperties struct { Mode Value ParameterValues map[string]Value ExpressionEvaluationOptions *ExpressionEvaluationOptions Deployment *Deployment }
type EvalContext ¶
type EvalContext struct{}
type ExpressionEvaluationOptions ¶
type ExpressionEvaluationOptions struct {
Scope Value
}
type Resolver ¶
type Resolver interface { ResolveExpression(expression Value) Value SetDeployment(d *Deployment) }
func NewResolver ¶
func NewResolver() Resolver
type Resource ¶
type Resource struct { Metadata types.Metadata Condition Value APIVersion Value Type Value Kind Value Name Value Location Value Tags Value Sku Value DeploymentProperties DeploymentProperties Copy *Copy Properties Value Resources []Resource }
func (*Resource) GetResourcesByType ¶
type Value ¶
type Value struct { types.Metadata Kind Kind Comments []string // contains filtered or unexported fields }
func (Value) AsBoolValue ¶
func (Value) AsExpressionString ¶
func (Value) AsIntValue ¶
func (Value) AsStringValue ¶
func (Value) AsStringValuesList ¶
func (v Value) AsStringValuesList(defaultValue string) (stringValues []types.StringValue)
func (Value) GetMapValue ¶
func (*Value) GetMetadata ¶
Click to show internal directories.
Click to hide internal directories.