Documentation ¶
Index ¶
- type Action
- type ActionAttributes
- func (a ActionAttributes) FixedResponse() terra.ListValue[FixedResponseAttributes]
- func (a ActionAttributes) Forward() terra.ListValue[ForwardAttributes]
- func (a ActionAttributes) InternalRef() (terra.Reference, error)
- func (a ActionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a ActionAttributes) InternalWithRef(ref terra.Reference) ActionAttributes
- type ActionState
- 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 HeaderMatches
- type HeaderMatchesAttributes
- func (hm HeaderMatchesAttributes) CaseSensitive() terra.BoolValue
- func (hm HeaderMatchesAttributes) InternalRef() (terra.Reference, error)
- func (hm HeaderMatchesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (hm HeaderMatchesAttributes) InternalWithRef(ref terra.Reference) HeaderMatchesAttributes
- func (hm HeaderMatchesAttributes) Match() terra.ListValue[HeaderMatchesMatchAttributes]
- func (hm HeaderMatchesAttributes) Name() terra.StringValue
- type HeaderMatchesMatch
- type HeaderMatchesMatchAttributes
- func (m HeaderMatchesMatchAttributes) Contains() terra.StringValue
- func (m HeaderMatchesMatchAttributes) Exact() terra.StringValue
- func (m HeaderMatchesMatchAttributes) InternalRef() (terra.Reference, error)
- func (m HeaderMatchesMatchAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (m HeaderMatchesMatchAttributes) InternalWithRef(ref terra.Reference) HeaderMatchesMatchAttributes
- func (m HeaderMatchesMatchAttributes) Prefix() terra.StringValue
- type HeaderMatchesMatchState
- type HeaderMatchesState
- type HttpMatch
- type HttpMatchAttributes
- func (hm HttpMatchAttributes) HeaderMatches() terra.ListValue[HeaderMatchesAttributes]
- func (hm HttpMatchAttributes) InternalRef() (terra.Reference, error)
- func (hm HttpMatchAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (hm HttpMatchAttributes) InternalWithRef(ref terra.Reference) HttpMatchAttributes
- func (hm HttpMatchAttributes) Method() terra.StringValue
- func (hm HttpMatchAttributes) PathMatch() terra.ListValue[PathMatchAttributes]
- type HttpMatchState
- type Match
- type MatchAttributes
- type MatchState
- type PathMatch
- type PathMatchAttributes
- func (pm PathMatchAttributes) CaseSensitive() terra.BoolValue
- func (pm PathMatchAttributes) InternalRef() (terra.Reference, error)
- func (pm PathMatchAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pm PathMatchAttributes) InternalWithRef(ref terra.Reference) PathMatchAttributes
- func (pm PathMatchAttributes) Match() terra.ListValue[PathMatchMatchAttributes]
- type PathMatchMatch
- type PathMatchMatchAttributes
- func (m PathMatchMatchAttributes) Exact() terra.StringValue
- func (m PathMatchMatchAttributes) InternalRef() (terra.Reference, error)
- func (m PathMatchMatchAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (m PathMatchMatchAttributes) InternalWithRef(ref terra.Reference) PathMatchMatchAttributes
- func (m PathMatchMatchAttributes) Prefix() terra.StringValue
- type PathMatchMatchState
- type PathMatchState
- 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
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct { // FixedResponse: optional FixedResponse *FixedResponse `hcl:"fixed_response,block"` // Forward: optional Forward *Forward `hcl:"forward,block"` }
type ActionAttributes ¶
type ActionAttributes struct {
// contains filtered or unexported fields
}
func (ActionAttributes) FixedResponse ¶
func (a ActionAttributes) FixedResponse() terra.ListValue[FixedResponseAttributes]
func (ActionAttributes) Forward ¶
func (a ActionAttributes) Forward() terra.ListValue[ForwardAttributes]
func (ActionAttributes) InternalRef ¶
func (a ActionAttributes) InternalRef() (terra.Reference, error)
func (ActionAttributes) InternalTokens ¶
func (a ActionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ActionAttributes) InternalWithRef ¶
func (a ActionAttributes) InternalWithRef(ref terra.Reference) ActionAttributes
type ActionState ¶
type ActionState struct { FixedResponse []FixedResponseState `json:"fixed_response"` Forward []ForwardState `json:"forward"` }
type FixedResponse ¶
type FixedResponse struct { // StatusCode: number, required StatusCode terra.NumberValue `hcl:"status_code,attr" validate:"required"` }
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=1,max=2 TargetGroups []TargetGroups `hcl:"target_groups,block" validate:"min=1,max=2"` }
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 HeaderMatches ¶
type HeaderMatches struct { // CaseSensitive: bool, optional CaseSensitive terra.BoolValue `hcl:"case_sensitive,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // HeaderMatchesMatch: required Match *HeaderMatchesMatch `hcl:"match,block" validate:"required"` }
type HeaderMatchesAttributes ¶
type HeaderMatchesAttributes struct {
// contains filtered or unexported fields
}
func (HeaderMatchesAttributes) CaseSensitive ¶
func (hm HeaderMatchesAttributes) CaseSensitive() terra.BoolValue
func (HeaderMatchesAttributes) InternalRef ¶
func (hm HeaderMatchesAttributes) InternalRef() (terra.Reference, error)
func (HeaderMatchesAttributes) InternalTokens ¶
func (hm HeaderMatchesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HeaderMatchesAttributes) InternalWithRef ¶
func (hm HeaderMatchesAttributes) InternalWithRef(ref terra.Reference) HeaderMatchesAttributes
func (HeaderMatchesAttributes) Match ¶
func (hm HeaderMatchesAttributes) Match() terra.ListValue[HeaderMatchesMatchAttributes]
func (HeaderMatchesAttributes) Name ¶
func (hm HeaderMatchesAttributes) Name() terra.StringValue
type HeaderMatchesMatch ¶
type HeaderMatchesMatch struct { // Contains: string, optional Contains terra.StringValue `hcl:"contains,attr"` // Exact: string, optional Exact terra.StringValue `hcl:"exact,attr"` // Prefix: string, optional Prefix terra.StringValue `hcl:"prefix,attr"` }
type HeaderMatchesMatchAttributes ¶
type HeaderMatchesMatchAttributes struct {
// contains filtered or unexported fields
}
func (HeaderMatchesMatchAttributes) Contains ¶
func (m HeaderMatchesMatchAttributes) Contains() terra.StringValue
func (HeaderMatchesMatchAttributes) Exact ¶
func (m HeaderMatchesMatchAttributes) Exact() terra.StringValue
func (HeaderMatchesMatchAttributes) InternalRef ¶
func (m HeaderMatchesMatchAttributes) InternalRef() (terra.Reference, error)
func (HeaderMatchesMatchAttributes) InternalTokens ¶
func (m HeaderMatchesMatchAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HeaderMatchesMatchAttributes) InternalWithRef ¶
func (m HeaderMatchesMatchAttributes) InternalWithRef(ref terra.Reference) HeaderMatchesMatchAttributes
func (HeaderMatchesMatchAttributes) Prefix ¶
func (m HeaderMatchesMatchAttributes) Prefix() terra.StringValue
type HeaderMatchesMatchState ¶
type HeaderMatchesState ¶
type HeaderMatchesState struct { CaseSensitive bool `json:"case_sensitive"` Name string `json:"name"` Match []HeaderMatchesMatchState `json:"match"` }
type HttpMatch ¶
type HttpMatch struct { // Method: string, optional Method terra.StringValue `hcl:"method,attr"` // HeaderMatches: min=0,max=5 HeaderMatches []HeaderMatches `hcl:"header_matches,block" validate:"min=0,max=5"` // PathMatch: optional PathMatch *PathMatch `hcl:"path_match,block"` }
type HttpMatchAttributes ¶
type HttpMatchAttributes struct {
// contains filtered or unexported fields
}
func (HttpMatchAttributes) HeaderMatches ¶
func (hm HttpMatchAttributes) HeaderMatches() terra.ListValue[HeaderMatchesAttributes]
func (HttpMatchAttributes) InternalRef ¶
func (hm HttpMatchAttributes) InternalRef() (terra.Reference, error)
func (HttpMatchAttributes) InternalTokens ¶
func (hm HttpMatchAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HttpMatchAttributes) InternalWithRef ¶
func (hm HttpMatchAttributes) InternalWithRef(ref terra.Reference) HttpMatchAttributes
func (HttpMatchAttributes) Method ¶
func (hm HttpMatchAttributes) Method() terra.StringValue
func (HttpMatchAttributes) PathMatch ¶
func (hm HttpMatchAttributes) PathMatch() terra.ListValue[PathMatchAttributes]
type HttpMatchState ¶
type HttpMatchState struct { Method string `json:"method"` HeaderMatches []HeaderMatchesState `json:"header_matches"` PathMatch []PathMatchState `json:"path_match"` }
type Match ¶
type Match struct { // HttpMatch: optional HttpMatch *HttpMatch `hcl:"http_match,block"` }
type MatchAttributes ¶
type MatchAttributes struct {
// contains filtered or unexported fields
}
func (MatchAttributes) HttpMatch ¶
func (m MatchAttributes) HttpMatch() terra.ListValue[HttpMatchAttributes]
func (MatchAttributes) InternalRef ¶
func (m MatchAttributes) InternalRef() (terra.Reference, error)
func (MatchAttributes) InternalTokens ¶
func (m MatchAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MatchAttributes) InternalWithRef ¶
func (m MatchAttributes) InternalWithRef(ref terra.Reference) MatchAttributes
type MatchState ¶
type MatchState struct {
HttpMatch []HttpMatchState `json:"http_match"`
}
type PathMatch ¶
type PathMatch struct { // CaseSensitive: bool, optional CaseSensitive terra.BoolValue `hcl:"case_sensitive,attr"` // PathMatchMatch: required Match *PathMatchMatch `hcl:"match,block" validate:"required"` }
type PathMatchAttributes ¶
type PathMatchAttributes struct {
// contains filtered or unexported fields
}
func (PathMatchAttributes) CaseSensitive ¶
func (pm PathMatchAttributes) CaseSensitive() terra.BoolValue
func (PathMatchAttributes) InternalRef ¶
func (pm PathMatchAttributes) InternalRef() (terra.Reference, error)
func (PathMatchAttributes) InternalTokens ¶
func (pm PathMatchAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PathMatchAttributes) InternalWithRef ¶
func (pm PathMatchAttributes) InternalWithRef(ref terra.Reference) PathMatchAttributes
func (PathMatchAttributes) Match ¶
func (pm PathMatchAttributes) Match() terra.ListValue[PathMatchMatchAttributes]
type PathMatchMatch ¶
type PathMatchMatch struct { // Exact: string, optional Exact terra.StringValue `hcl:"exact,attr"` // Prefix: string, optional Prefix terra.StringValue `hcl:"prefix,attr"` }
type PathMatchMatchAttributes ¶
type PathMatchMatchAttributes struct {
// contains filtered or unexported fields
}
func (PathMatchMatchAttributes) Exact ¶
func (m PathMatchMatchAttributes) Exact() terra.StringValue
func (PathMatchMatchAttributes) InternalRef ¶
func (m PathMatchMatchAttributes) InternalRef() (terra.Reference, error)
func (PathMatchMatchAttributes) InternalTokens ¶
func (m PathMatchMatchAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PathMatchMatchAttributes) InternalWithRef ¶
func (m PathMatchMatchAttributes) InternalWithRef(ref terra.Reference) PathMatchMatchAttributes
func (PathMatchMatchAttributes) Prefix ¶
func (m PathMatchMatchAttributes) Prefix() terra.StringValue
type PathMatchMatchState ¶
type PathMatchState ¶
type PathMatchState struct { CaseSensitive bool `json:"case_sensitive"` Match []PathMatchMatchState `json:"match"` }
type TargetGroups ¶
type TargetGroups struct { // TargetGroupIdentifier: string, required TargetGroupIdentifier terra.StringValue `hcl:"target_group_identifier,attr" validate:"required"` // Weight: number, optional Weight terra.NumberValue `hcl:"weight,attr"` }
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 ¶
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
func (TimeoutsAttributes) InternalRef ¶
func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
func (TimeoutsAttributes) InternalTokens ¶
func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimeoutsAttributes) InternalWithRef ¶
func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.