Documentation ¶
Index ¶
- Variables
- type Decorator
- type Deployment
- func (d *Deployment) GetDeployment() any
- func (d *Deployment) GetEnvVariable(envVariableName string) any
- func (d *Deployment) GetOutput(outputName string) any
- func (d *Deployment) GetParameter(parameterName string) any
- func (d *Deployment) GetResourcesByType(t string) []Resource
- func (d *Deployment) GetVariable(variableName string) any
- 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 any) 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() any
- func (v *Value) Resolve()
- func (v *Value) UnmarshalJSONWithMetadata(node armjson2.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 ¶
func (d *Deployment) GetDeployment() any
func (*Deployment) GetEnvVariable ¶
func (d *Deployment) GetEnvVariable(envVariableName string) any
func (*Deployment) GetOutput ¶
func (d *Deployment) GetOutput(outputName string) any
func (*Deployment) GetParameter ¶
func (d *Deployment) GetParameter(parameterName string) any
func (*Deployment) GetResourcesByType ¶
func (d *Deployment) GetResourcesByType(t string) []Resource
func (*Deployment) GetVariable ¶
func (d *Deployment) GetVariable(variableName string) any
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.