Documentation ¶
Index ¶
- Variables
- 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(parameterName string) interface{}
- func (d *Deployment) GetResourcesByType(t string) []Resource
- func (d *Deployment) GetVariable(variableName string) interface{}
- type EvalContext
- type Kind
- type Output
- type Parameter
- type PropertyBag
- 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) 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 Resources []Resource Outputs []Output }
func (*Deployment) GetDeployment ¶ added in v0.80.0
func (d *Deployment) GetDeployment() interface{}
func (*Deployment) GetEnvVariable ¶ added in v0.80.0
func (d *Deployment) GetEnvVariable(envVariableName string) interface{}
func (*Deployment) GetOutput ¶ added in v0.80.0
func (d *Deployment) GetOutput(outputName string) interface{}
func (*Deployment) GetParameter ¶
func (d *Deployment) GetParameter(parameterName string) interface{}
func (*Deployment) GetResourcesByType ¶
func (d *Deployment) GetResourcesByType(t string) []Resource
func (*Deployment) GetVariable ¶
func (d *Deployment) GetVariable(variableName string) interface{}
type EvalContext ¶
type EvalContext struct{}
type Resource ¶
type Resource struct { Metadata types.Metadata APIVersion Value Type Value Kind Value Name Value Location Value Tags Value Sku Value 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) 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.