Documentation ¶
Index ¶
- type DefaultAction
- type DefaultActionAttributes
- func (da DefaultActionAttributes) FixedResponse() terra.ListValue[FixedResponseAttributes]
- func (da DefaultActionAttributes) Forward() terra.ListValue[ForwardAttributes]
- func (da DefaultActionAttributes) InternalRef() (terra.Reference, error)
- func (da DefaultActionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (da DefaultActionAttributes) InternalWithRef(ref terra.Reference) DefaultActionAttributes
- type DefaultActionState
- type FixedResponse
- type FixedResponseAttributes
- func (fr FixedResponseAttributes) InternalRef() (terra.Reference, error)
- func (fr FixedResponseAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (fr FixedResponseAttributes) InternalWithRef(ref terra.Reference) FixedResponseAttributes
- func (fr FixedResponseAttributes) StatusCode() terra.NumberValue
- type FixedResponseState
- type Forward
- type ForwardAttributes
- type ForwardState
- type TargetGroups
- type TargetGroupsAttributes
- func (tg TargetGroupsAttributes) InternalRef() (terra.Reference, error)
- func (tg TargetGroupsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tg TargetGroupsAttributes) InternalWithRef(ref terra.Reference) TargetGroupsAttributes
- func (tg TargetGroupsAttributes) TargetGroupIdentifier() terra.StringValue
- func (tg TargetGroupsAttributes) Weight() terra.NumberValue
- type TargetGroupsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultAction ¶
type DefaultAction struct { // FixedResponse: min=0 FixedResponse []FixedResponse `hcl:"fixed_response,block" validate:"min=0"` // Forward: min=0 Forward []Forward `hcl:"forward,block" validate:"min=0"` }
type DefaultActionAttributes ¶
type DefaultActionAttributes struct {
// contains filtered or unexported fields
}
func (DefaultActionAttributes) FixedResponse ¶
func (da DefaultActionAttributes) FixedResponse() terra.ListValue[FixedResponseAttributes]
func (DefaultActionAttributes) Forward ¶
func (da DefaultActionAttributes) Forward() terra.ListValue[ForwardAttributes]
func (DefaultActionAttributes) InternalRef ¶
func (da DefaultActionAttributes) InternalRef() (terra.Reference, error)
func (DefaultActionAttributes) InternalTokens ¶
func (da DefaultActionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DefaultActionAttributes) InternalWithRef ¶
func (da DefaultActionAttributes) InternalWithRef(ref terra.Reference) DefaultActionAttributes
type DefaultActionState ¶
type DefaultActionState struct { FixedResponse []FixedResponseState `json:"fixed_response"` Forward []ForwardState `json:"forward"` }
type FixedResponse ¶
type FixedResponse struct{}
type FixedResponseAttributes ¶
type FixedResponseAttributes struct {
// contains filtered or unexported fields
}
func (FixedResponseAttributes) InternalRef ¶
func (fr FixedResponseAttributes) InternalRef() (terra.Reference, error)
func (FixedResponseAttributes) InternalTokens ¶
func (fr FixedResponseAttributes) InternalTokens() (hclwrite.Tokens, error)
func (FixedResponseAttributes) InternalWithRef ¶
func (fr FixedResponseAttributes) InternalWithRef(ref terra.Reference) FixedResponseAttributes
func (FixedResponseAttributes) StatusCode ¶
func (fr FixedResponseAttributes) StatusCode() terra.NumberValue
type FixedResponseState ¶
type FixedResponseState struct {
StatusCode float64 `json:"status_code"`
}
type Forward ¶
type Forward struct { // TargetGroups: min=0 TargetGroups []TargetGroups `hcl:"target_groups,block" validate:"min=0"` }
type ForwardAttributes ¶
type ForwardAttributes struct {
// contains filtered or unexported fields
}
func (ForwardAttributes) InternalRef ¶
func (f ForwardAttributes) InternalRef() (terra.Reference, error)
func (ForwardAttributes) InternalTokens ¶
func (f ForwardAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ForwardAttributes) InternalWithRef ¶
func (f ForwardAttributes) InternalWithRef(ref terra.Reference) ForwardAttributes
func (ForwardAttributes) TargetGroups ¶
func (f ForwardAttributes) TargetGroups() terra.ListValue[TargetGroupsAttributes]
type ForwardState ¶
type ForwardState struct {
TargetGroups []TargetGroupsState `json:"target_groups"`
}
type TargetGroups ¶
type TargetGroups struct{}
type TargetGroupsAttributes ¶
type TargetGroupsAttributes struct {
// contains filtered or unexported fields
}
func (TargetGroupsAttributes) InternalRef ¶
func (tg TargetGroupsAttributes) InternalRef() (terra.Reference, error)
func (TargetGroupsAttributes) InternalTokens ¶
func (tg TargetGroupsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TargetGroupsAttributes) InternalWithRef ¶
func (tg TargetGroupsAttributes) InternalWithRef(ref terra.Reference) TargetGroupsAttributes
func (TargetGroupsAttributes) TargetGroupIdentifier ¶
func (tg TargetGroupsAttributes) TargetGroupIdentifier() terra.StringValue
func (TargetGroupsAttributes) Weight ¶
func (tg TargetGroupsAttributes) Weight() terra.NumberValue
type TargetGroupsState ¶
Click to show internal directories.
Click to hide internal directories.