Documentation ¶
Index ¶
- type Attribute
- type AttributeAttributes
- func (a AttributeAttributes) InternalRef() (terra.Reference, error)
- func (a AttributeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a AttributeAttributes) InternalWithRef(ref terra.Reference) AttributeAttributes
- func (a AttributeAttributes) Key() terra.StringValue
- func (a AttributeAttributes) Value() terra.SetValue[ValueAttributes]
- type AttributeState
- type Value
- type ValueAttributes
- type ValueState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attribute ¶
type Attribute struct { // Key: string, required Key terra.StringValue `hcl:"key,attr" validate:"required"` // Value: min=1 Value []Value `hcl:"value,block" validate:"min=1"` }
type AttributeAttributes ¶
type AttributeAttributes struct {
// contains filtered or unexported fields
}
func (AttributeAttributes) InternalRef ¶
func (a AttributeAttributes) InternalRef() (terra.Reference, error)
func (AttributeAttributes) InternalTokens ¶
func (a AttributeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AttributeAttributes) InternalWithRef ¶
func (a AttributeAttributes) InternalWithRef(ref terra.Reference) AttributeAttributes
func (AttributeAttributes) Key ¶
func (a AttributeAttributes) Key() terra.StringValue
func (AttributeAttributes) Value ¶
func (a AttributeAttributes) Value() terra.SetValue[ValueAttributes]
type AttributeState ¶
type AttributeState struct { Key string `json:"key"` Value []ValueState `json:"value"` }
type Value ¶
type Value struct { // Source: set of string, required Source terra.SetValue[terra.StringValue] `hcl:"source,attr" validate:"required"` }
type ValueAttributes ¶
type ValueAttributes struct {
// contains filtered or unexported fields
}
func (ValueAttributes) InternalRef ¶
func (v ValueAttributes) InternalRef() (terra.Reference, error)
func (ValueAttributes) InternalTokens ¶
func (v ValueAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ValueAttributes) InternalWithRef ¶
func (v ValueAttributes) InternalWithRef(ref terra.Reference) ValueAttributes
func (ValueAttributes) Source ¶
func (v ValueAttributes) Source() terra.SetValue[terra.StringValue]
type ValueState ¶
type ValueState struct {
Source []string `json:"source"`
}
Click to show internal directories.
Click to hide internal directories.