Documentation ¶
Index ¶
- type GrpcRoute
- type GrpcRouteAction
- type GrpcRouteActionAttributes
- func (a GrpcRouteActionAttributes) InternalRef() (terra.Reference, error)
- func (a GrpcRouteActionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a GrpcRouteActionAttributes) InternalWithRef(ref terra.Reference) GrpcRouteActionAttributes
- func (a GrpcRouteActionAttributes) WeightedTarget() terra.SetValue[GrpcRouteActionWeightedTargetAttributes]
- type GrpcRouteActionState
- type GrpcRouteActionWeightedTarget
- type GrpcRouteActionWeightedTargetAttributes
- func (wt GrpcRouteActionWeightedTargetAttributes) InternalRef() (terra.Reference, error)
- func (wt GrpcRouteActionWeightedTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (wt GrpcRouteActionWeightedTargetAttributes) InternalWithRef(ref terra.Reference) GrpcRouteActionWeightedTargetAttributes
- func (wt GrpcRouteActionWeightedTargetAttributes) Port() terra.NumberValue
- func (wt GrpcRouteActionWeightedTargetAttributes) VirtualNode() terra.StringValue
- func (wt GrpcRouteActionWeightedTargetAttributes) Weight() terra.NumberValue
- type GrpcRouteActionWeightedTargetState
- type GrpcRouteAttributes
- func (gr GrpcRouteAttributes) Action() terra.ListValue[GrpcRouteActionAttributes]
- func (gr GrpcRouteAttributes) InternalRef() (terra.Reference, error)
- func (gr GrpcRouteAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (gr GrpcRouteAttributes) InternalWithRef(ref terra.Reference) GrpcRouteAttributes
- func (gr GrpcRouteAttributes) Match() terra.ListValue[GrpcRouteMatchAttributes]
- func (gr GrpcRouteAttributes) RetryPolicy() terra.ListValue[GrpcRouteRetryPolicyAttributes]
- func (gr GrpcRouteAttributes) Timeout() terra.ListValue[GrpcRouteTimeoutAttributes]
- type GrpcRouteMatch
- type GrpcRouteMatchAttributes
- func (m GrpcRouteMatchAttributes) InternalRef() (terra.Reference, error)
- func (m GrpcRouteMatchAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (m GrpcRouteMatchAttributes) InternalWithRef(ref terra.Reference) GrpcRouteMatchAttributes
- func (m GrpcRouteMatchAttributes) Metadata() terra.SetValue[MetadataAttributes]
- func (m GrpcRouteMatchAttributes) MethodName() terra.StringValue
- func (m GrpcRouteMatchAttributes) Port() terra.NumberValue
- func (m GrpcRouteMatchAttributes) Prefix() terra.StringValue
- func (m GrpcRouteMatchAttributes) ServiceName() terra.StringValue
- type GrpcRouteMatchState
- type GrpcRouteRetryPolicy
- type GrpcRouteRetryPolicyAttributes
- func (rp GrpcRouteRetryPolicyAttributes) GrpcRetryEvents() terra.SetValue[terra.StringValue]
- func (rp GrpcRouteRetryPolicyAttributes) HttpRetryEvents() terra.SetValue[terra.StringValue]
- func (rp GrpcRouteRetryPolicyAttributes) InternalRef() (terra.Reference, error)
- func (rp GrpcRouteRetryPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rp GrpcRouteRetryPolicyAttributes) InternalWithRef(ref terra.Reference) GrpcRouteRetryPolicyAttributes
- func (rp GrpcRouteRetryPolicyAttributes) MaxRetries() terra.NumberValue
- func (rp GrpcRouteRetryPolicyAttributes) PerRetryTimeout() terra.ListValue[GrpcRouteRetryPolicyPerRetryTimeoutAttributes]
- func (rp GrpcRouteRetryPolicyAttributes) TcpRetryEvents() terra.SetValue[terra.StringValue]
- type GrpcRouteRetryPolicyPerRetryTimeout
- type GrpcRouteRetryPolicyPerRetryTimeoutAttributes
- func (prt GrpcRouteRetryPolicyPerRetryTimeoutAttributes) InternalRef() (terra.Reference, error)
- func (prt GrpcRouteRetryPolicyPerRetryTimeoutAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (prt GrpcRouteRetryPolicyPerRetryTimeoutAttributes) InternalWithRef(ref terra.Reference) GrpcRouteRetryPolicyPerRetryTimeoutAttributes
- func (prt GrpcRouteRetryPolicyPerRetryTimeoutAttributes) Unit() terra.StringValue
- func (prt GrpcRouteRetryPolicyPerRetryTimeoutAttributes) Value() terra.NumberValue
- type GrpcRouteRetryPolicyPerRetryTimeoutState
- type GrpcRouteRetryPolicyState
- type GrpcRouteState
- type GrpcRouteTimeout
- type GrpcRouteTimeoutAttributes
- func (t GrpcRouteTimeoutAttributes) Idle() terra.ListValue[GrpcRouteTimeoutIdleAttributes]
- func (t GrpcRouteTimeoutAttributes) InternalRef() (terra.Reference, error)
- func (t GrpcRouteTimeoutAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t GrpcRouteTimeoutAttributes) InternalWithRef(ref terra.Reference) GrpcRouteTimeoutAttributes
- func (t GrpcRouteTimeoutAttributes) PerRequest() terra.ListValue[GrpcRouteTimeoutPerRequestAttributes]
- type GrpcRouteTimeoutIdle
- type GrpcRouteTimeoutIdleAttributes
- func (i GrpcRouteTimeoutIdleAttributes) InternalRef() (terra.Reference, error)
- func (i GrpcRouteTimeoutIdleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (i GrpcRouteTimeoutIdleAttributes) InternalWithRef(ref terra.Reference) GrpcRouteTimeoutIdleAttributes
- func (i GrpcRouteTimeoutIdleAttributes) Unit() terra.StringValue
- func (i GrpcRouteTimeoutIdleAttributes) Value() terra.NumberValue
- type GrpcRouteTimeoutIdleState
- type GrpcRouteTimeoutPerRequest
- type GrpcRouteTimeoutPerRequestAttributes
- func (pr GrpcRouteTimeoutPerRequestAttributes) InternalRef() (terra.Reference, error)
- func (pr GrpcRouteTimeoutPerRequestAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pr GrpcRouteTimeoutPerRequestAttributes) InternalWithRef(ref terra.Reference) GrpcRouteTimeoutPerRequestAttributes
- func (pr GrpcRouteTimeoutPerRequestAttributes) Unit() terra.StringValue
- func (pr GrpcRouteTimeoutPerRequestAttributes) Value() terra.NumberValue
- type GrpcRouteTimeoutPerRequestState
- type GrpcRouteTimeoutState
- type Http2Route
- type Http2RouteAction
- type Http2RouteActionAttributes
- func (a Http2RouteActionAttributes) InternalRef() (terra.Reference, error)
- func (a Http2RouteActionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a Http2RouteActionAttributes) InternalWithRef(ref terra.Reference) Http2RouteActionAttributes
- func (a Http2RouteActionAttributes) WeightedTarget() terra.SetValue[Http2RouteActionWeightedTargetAttributes]
- type Http2RouteActionState
- type Http2RouteActionWeightedTarget
- type Http2RouteActionWeightedTargetAttributes
- func (wt Http2RouteActionWeightedTargetAttributes) InternalRef() (terra.Reference, error)
- func (wt Http2RouteActionWeightedTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (wt Http2RouteActionWeightedTargetAttributes) InternalWithRef(ref terra.Reference) Http2RouteActionWeightedTargetAttributes
- func (wt Http2RouteActionWeightedTargetAttributes) Port() terra.NumberValue
- func (wt Http2RouteActionWeightedTargetAttributes) VirtualNode() terra.StringValue
- func (wt Http2RouteActionWeightedTargetAttributes) Weight() terra.NumberValue
- type Http2RouteActionWeightedTargetState
- type Http2RouteAttributes
- func (hr Http2RouteAttributes) Action() terra.ListValue[Http2RouteActionAttributes]
- func (hr Http2RouteAttributes) InternalRef() (terra.Reference, error)
- func (hr Http2RouteAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (hr Http2RouteAttributes) InternalWithRef(ref terra.Reference) Http2RouteAttributes
- func (hr Http2RouteAttributes) Match() terra.ListValue[Http2RouteMatchAttributes]
- func (hr Http2RouteAttributes) RetryPolicy() terra.ListValue[Http2RouteRetryPolicyAttributes]
- func (hr Http2RouteAttributes) Timeout() terra.ListValue[Http2RouteTimeoutAttributes]
- type Http2RouteMatch
- type Http2RouteMatchAttributes
- func (m Http2RouteMatchAttributes) Header() terra.SetValue[Http2RouteMatchHeaderAttributes]
- func (m Http2RouteMatchAttributes) InternalRef() (terra.Reference, error)
- func (m Http2RouteMatchAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (m Http2RouteMatchAttributes) InternalWithRef(ref terra.Reference) Http2RouteMatchAttributes
- func (m Http2RouteMatchAttributes) Method() terra.StringValue
- func (m Http2RouteMatchAttributes) Path() terra.ListValue[Http2RouteMatchPathAttributes]
- func (m Http2RouteMatchAttributes) Port() terra.NumberValue
- func (m Http2RouteMatchAttributes) Prefix() terra.StringValue
- func (m Http2RouteMatchAttributes) QueryParameter() terra.SetValue[Http2RouteMatchQueryParameterAttributes]
- func (m Http2RouteMatchAttributes) Scheme() terra.StringValue
- type Http2RouteMatchHeader
- type Http2RouteMatchHeaderAttributes
- func (h Http2RouteMatchHeaderAttributes) InternalRef() (terra.Reference, error)
- func (h Http2RouteMatchHeaderAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (h Http2RouteMatchHeaderAttributes) InternalWithRef(ref terra.Reference) Http2RouteMatchHeaderAttributes
- func (h Http2RouteMatchHeaderAttributes) Invert() terra.BoolValue
- func (h Http2RouteMatchHeaderAttributes) Match() terra.ListValue[Http2RouteMatchHeaderMatchAttributes]
- func (h Http2RouteMatchHeaderAttributes) Name() terra.StringValue
- type Http2RouteMatchHeaderMatch
- type Http2RouteMatchHeaderMatchAttributes
- func (m Http2RouteMatchHeaderMatchAttributes) Exact() terra.StringValue
- func (m Http2RouteMatchHeaderMatchAttributes) InternalRef() (terra.Reference, error)
- func (m Http2RouteMatchHeaderMatchAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (m Http2RouteMatchHeaderMatchAttributes) InternalWithRef(ref terra.Reference) Http2RouteMatchHeaderMatchAttributes
- func (m Http2RouteMatchHeaderMatchAttributes) Prefix() terra.StringValue
- func (m Http2RouteMatchHeaderMatchAttributes) Range() terra.ListValue[Http2RouteMatchHeaderMatchRangeAttributes]
- func (m Http2RouteMatchHeaderMatchAttributes) Regex() terra.StringValue
- func (m Http2RouteMatchHeaderMatchAttributes) Suffix() terra.StringValue
- type Http2RouteMatchHeaderMatchRange
- type Http2RouteMatchHeaderMatchRangeAttributes
- func (r Http2RouteMatchHeaderMatchRangeAttributes) End() terra.NumberValue
- func (r Http2RouteMatchHeaderMatchRangeAttributes) InternalRef() (terra.Reference, error)
- func (r Http2RouteMatchHeaderMatchRangeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r Http2RouteMatchHeaderMatchRangeAttributes) InternalWithRef(ref terra.Reference) Http2RouteMatchHeaderMatchRangeAttributes
- func (r Http2RouteMatchHeaderMatchRangeAttributes) Start() terra.NumberValue
- type Http2RouteMatchHeaderMatchRangeState
- type Http2RouteMatchHeaderMatchState
- type Http2RouteMatchHeaderState
- type Http2RouteMatchPath
- type Http2RouteMatchPathAttributes
- func (p Http2RouteMatchPathAttributes) Exact() terra.StringValue
- func (p Http2RouteMatchPathAttributes) InternalRef() (terra.Reference, error)
- func (p Http2RouteMatchPathAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (p Http2RouteMatchPathAttributes) InternalWithRef(ref terra.Reference) Http2RouteMatchPathAttributes
- func (p Http2RouteMatchPathAttributes) Regex() terra.StringValue
- type Http2RouteMatchPathState
- type Http2RouteMatchQueryParameter
- type Http2RouteMatchQueryParameterAttributes
- func (qp Http2RouteMatchQueryParameterAttributes) InternalRef() (terra.Reference, error)
- func (qp Http2RouteMatchQueryParameterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (qp Http2RouteMatchQueryParameterAttributes) InternalWithRef(ref terra.Reference) Http2RouteMatchQueryParameterAttributes
- func (qp Http2RouteMatchQueryParameterAttributes) Match() terra.ListValue[Http2RouteMatchQueryParameterMatchAttributes]
- func (qp Http2RouteMatchQueryParameterAttributes) Name() terra.StringValue
- type Http2RouteMatchQueryParameterMatch
- type Http2RouteMatchQueryParameterMatchAttributes
- func (m Http2RouteMatchQueryParameterMatchAttributes) Exact() terra.StringValue
- func (m Http2RouteMatchQueryParameterMatchAttributes) InternalRef() (terra.Reference, error)
- func (m Http2RouteMatchQueryParameterMatchAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (m Http2RouteMatchQueryParameterMatchAttributes) InternalWithRef(ref terra.Reference) Http2RouteMatchQueryParameterMatchAttributes
- type Http2RouteMatchQueryParameterMatchState
- type Http2RouteMatchQueryParameterState
- type Http2RouteMatchState
- type Http2RouteRetryPolicy
- type Http2RouteRetryPolicyAttributes
- func (rp Http2RouteRetryPolicyAttributes) HttpRetryEvents() terra.SetValue[terra.StringValue]
- func (rp Http2RouteRetryPolicyAttributes) InternalRef() (terra.Reference, error)
- func (rp Http2RouteRetryPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rp Http2RouteRetryPolicyAttributes) InternalWithRef(ref terra.Reference) Http2RouteRetryPolicyAttributes
- func (rp Http2RouteRetryPolicyAttributes) MaxRetries() terra.NumberValue
- func (rp Http2RouteRetryPolicyAttributes) PerRetryTimeout() terra.ListValue[Http2RouteRetryPolicyPerRetryTimeoutAttributes]
- func (rp Http2RouteRetryPolicyAttributes) TcpRetryEvents() terra.SetValue[terra.StringValue]
- type Http2RouteRetryPolicyPerRetryTimeout
- type Http2RouteRetryPolicyPerRetryTimeoutAttributes
- func (prt Http2RouteRetryPolicyPerRetryTimeoutAttributes) InternalRef() (terra.Reference, error)
- func (prt Http2RouteRetryPolicyPerRetryTimeoutAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (prt Http2RouteRetryPolicyPerRetryTimeoutAttributes) InternalWithRef(ref terra.Reference) Http2RouteRetryPolicyPerRetryTimeoutAttributes
- func (prt Http2RouteRetryPolicyPerRetryTimeoutAttributes) Unit() terra.StringValue
- func (prt Http2RouteRetryPolicyPerRetryTimeoutAttributes) Value() terra.NumberValue
- type Http2RouteRetryPolicyPerRetryTimeoutState
- type Http2RouteRetryPolicyState
- type Http2RouteState
- type Http2RouteTimeout
- type Http2RouteTimeoutAttributes
- func (t Http2RouteTimeoutAttributes) Idle() terra.ListValue[Http2RouteTimeoutIdleAttributes]
- func (t Http2RouteTimeoutAttributes) InternalRef() (terra.Reference, error)
- func (t Http2RouteTimeoutAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t Http2RouteTimeoutAttributes) InternalWithRef(ref terra.Reference) Http2RouteTimeoutAttributes
- func (t Http2RouteTimeoutAttributes) PerRequest() terra.ListValue[Http2RouteTimeoutPerRequestAttributes]
- type Http2RouteTimeoutIdle
- type Http2RouteTimeoutIdleAttributes
- func (i Http2RouteTimeoutIdleAttributes) InternalRef() (terra.Reference, error)
- func (i Http2RouteTimeoutIdleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (i Http2RouteTimeoutIdleAttributes) InternalWithRef(ref terra.Reference) Http2RouteTimeoutIdleAttributes
- func (i Http2RouteTimeoutIdleAttributes) Unit() terra.StringValue
- func (i Http2RouteTimeoutIdleAttributes) Value() terra.NumberValue
- type Http2RouteTimeoutIdleState
- type Http2RouteTimeoutPerRequest
- type Http2RouteTimeoutPerRequestAttributes
- func (pr Http2RouteTimeoutPerRequestAttributes) InternalRef() (terra.Reference, error)
- func (pr Http2RouteTimeoutPerRequestAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pr Http2RouteTimeoutPerRequestAttributes) InternalWithRef(ref terra.Reference) Http2RouteTimeoutPerRequestAttributes
- func (pr Http2RouteTimeoutPerRequestAttributes) Unit() terra.StringValue
- func (pr Http2RouteTimeoutPerRequestAttributes) Value() terra.NumberValue
- type Http2RouteTimeoutPerRequestState
- type Http2RouteTimeoutState
- type HttpRoute
- type HttpRouteAction
- type HttpRouteActionAttributes
- func (a HttpRouteActionAttributes) InternalRef() (terra.Reference, error)
- func (a HttpRouteActionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a HttpRouteActionAttributes) InternalWithRef(ref terra.Reference) HttpRouteActionAttributes
- func (a HttpRouteActionAttributes) WeightedTarget() terra.SetValue[HttpRouteActionWeightedTargetAttributes]
- type HttpRouteActionState
- type HttpRouteActionWeightedTarget
- type HttpRouteActionWeightedTargetAttributes
- func (wt HttpRouteActionWeightedTargetAttributes) InternalRef() (terra.Reference, error)
- func (wt HttpRouteActionWeightedTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (wt HttpRouteActionWeightedTargetAttributes) InternalWithRef(ref terra.Reference) HttpRouteActionWeightedTargetAttributes
- func (wt HttpRouteActionWeightedTargetAttributes) Port() terra.NumberValue
- func (wt HttpRouteActionWeightedTargetAttributes) VirtualNode() terra.StringValue
- func (wt HttpRouteActionWeightedTargetAttributes) Weight() terra.NumberValue
- type HttpRouteActionWeightedTargetState
- type HttpRouteAttributes
- func (hr HttpRouteAttributes) Action() terra.ListValue[HttpRouteActionAttributes]
- func (hr HttpRouteAttributes) InternalRef() (terra.Reference, error)
- func (hr HttpRouteAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (hr HttpRouteAttributes) InternalWithRef(ref terra.Reference) HttpRouteAttributes
- func (hr HttpRouteAttributes) Match() terra.ListValue[HttpRouteMatchAttributes]
- func (hr HttpRouteAttributes) RetryPolicy() terra.ListValue[HttpRouteRetryPolicyAttributes]
- func (hr HttpRouteAttributes) Timeout() terra.ListValue[HttpRouteTimeoutAttributes]
- type HttpRouteMatch
- type HttpRouteMatchAttributes
- func (m HttpRouteMatchAttributes) Header() terra.SetValue[HttpRouteMatchHeaderAttributes]
- func (m HttpRouteMatchAttributes) InternalRef() (terra.Reference, error)
- func (m HttpRouteMatchAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (m HttpRouteMatchAttributes) InternalWithRef(ref terra.Reference) HttpRouteMatchAttributes
- func (m HttpRouteMatchAttributes) Method() terra.StringValue
- func (m HttpRouteMatchAttributes) Path() terra.ListValue[HttpRouteMatchPathAttributes]
- func (m HttpRouteMatchAttributes) Port() terra.NumberValue
- func (m HttpRouteMatchAttributes) Prefix() terra.StringValue
- func (m HttpRouteMatchAttributes) QueryParameter() terra.SetValue[HttpRouteMatchQueryParameterAttributes]
- func (m HttpRouteMatchAttributes) Scheme() terra.StringValue
- type HttpRouteMatchHeader
- type HttpRouteMatchHeaderAttributes
- func (h HttpRouteMatchHeaderAttributes) InternalRef() (terra.Reference, error)
- func (h HttpRouteMatchHeaderAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (h HttpRouteMatchHeaderAttributes) InternalWithRef(ref terra.Reference) HttpRouteMatchHeaderAttributes
- func (h HttpRouteMatchHeaderAttributes) Invert() terra.BoolValue
- func (h HttpRouteMatchHeaderAttributes) Match() terra.ListValue[HttpRouteMatchHeaderMatchAttributes]
- func (h HttpRouteMatchHeaderAttributes) Name() terra.StringValue
- type HttpRouteMatchHeaderMatch
- type HttpRouteMatchHeaderMatchAttributes
- func (m HttpRouteMatchHeaderMatchAttributes) Exact() terra.StringValue
- func (m HttpRouteMatchHeaderMatchAttributes) InternalRef() (terra.Reference, error)
- func (m HttpRouteMatchHeaderMatchAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (m HttpRouteMatchHeaderMatchAttributes) InternalWithRef(ref terra.Reference) HttpRouteMatchHeaderMatchAttributes
- func (m HttpRouteMatchHeaderMatchAttributes) Prefix() terra.StringValue
- func (m HttpRouteMatchHeaderMatchAttributes) Range() terra.ListValue[HttpRouteMatchHeaderMatchRangeAttributes]
- func (m HttpRouteMatchHeaderMatchAttributes) Regex() terra.StringValue
- func (m HttpRouteMatchHeaderMatchAttributes) Suffix() terra.StringValue
- type HttpRouteMatchHeaderMatchRange
- type HttpRouteMatchHeaderMatchRangeAttributes
- func (r HttpRouteMatchHeaderMatchRangeAttributes) End() terra.NumberValue
- func (r HttpRouteMatchHeaderMatchRangeAttributes) InternalRef() (terra.Reference, error)
- func (r HttpRouteMatchHeaderMatchRangeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r HttpRouteMatchHeaderMatchRangeAttributes) InternalWithRef(ref terra.Reference) HttpRouteMatchHeaderMatchRangeAttributes
- func (r HttpRouteMatchHeaderMatchRangeAttributes) Start() terra.NumberValue
- type HttpRouteMatchHeaderMatchRangeState
- type HttpRouteMatchHeaderMatchState
- type HttpRouteMatchHeaderState
- type HttpRouteMatchPath
- type HttpRouteMatchPathAttributes
- func (p HttpRouteMatchPathAttributes) Exact() terra.StringValue
- func (p HttpRouteMatchPathAttributes) InternalRef() (terra.Reference, error)
- func (p HttpRouteMatchPathAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (p HttpRouteMatchPathAttributes) InternalWithRef(ref terra.Reference) HttpRouteMatchPathAttributes
- func (p HttpRouteMatchPathAttributes) Regex() terra.StringValue
- type HttpRouteMatchPathState
- type HttpRouteMatchQueryParameter
- type HttpRouteMatchQueryParameterAttributes
- func (qp HttpRouteMatchQueryParameterAttributes) InternalRef() (terra.Reference, error)
- func (qp HttpRouteMatchQueryParameterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (qp HttpRouteMatchQueryParameterAttributes) InternalWithRef(ref terra.Reference) HttpRouteMatchQueryParameterAttributes
- func (qp HttpRouteMatchQueryParameterAttributes) Match() terra.ListValue[HttpRouteMatchQueryParameterMatchAttributes]
- func (qp HttpRouteMatchQueryParameterAttributes) Name() terra.StringValue
- type HttpRouteMatchQueryParameterMatch
- type HttpRouteMatchQueryParameterMatchAttributes
- func (m HttpRouteMatchQueryParameterMatchAttributes) Exact() terra.StringValue
- func (m HttpRouteMatchQueryParameterMatchAttributes) InternalRef() (terra.Reference, error)
- func (m HttpRouteMatchQueryParameterMatchAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (m HttpRouteMatchQueryParameterMatchAttributes) InternalWithRef(ref terra.Reference) HttpRouteMatchQueryParameterMatchAttributes
- type HttpRouteMatchQueryParameterMatchState
- type HttpRouteMatchQueryParameterState
- type HttpRouteMatchState
- type HttpRouteRetryPolicy
- type HttpRouteRetryPolicyAttributes
- func (rp HttpRouteRetryPolicyAttributes) HttpRetryEvents() terra.SetValue[terra.StringValue]
- func (rp HttpRouteRetryPolicyAttributes) InternalRef() (terra.Reference, error)
- func (rp HttpRouteRetryPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rp HttpRouteRetryPolicyAttributes) InternalWithRef(ref terra.Reference) HttpRouteRetryPolicyAttributes
- func (rp HttpRouteRetryPolicyAttributes) MaxRetries() terra.NumberValue
- func (rp HttpRouteRetryPolicyAttributes) PerRetryTimeout() terra.ListValue[HttpRouteRetryPolicyPerRetryTimeoutAttributes]
- func (rp HttpRouteRetryPolicyAttributes) TcpRetryEvents() terra.SetValue[terra.StringValue]
- type HttpRouteRetryPolicyPerRetryTimeout
- type HttpRouteRetryPolicyPerRetryTimeoutAttributes
- func (prt HttpRouteRetryPolicyPerRetryTimeoutAttributes) InternalRef() (terra.Reference, error)
- func (prt HttpRouteRetryPolicyPerRetryTimeoutAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (prt HttpRouteRetryPolicyPerRetryTimeoutAttributes) InternalWithRef(ref terra.Reference) HttpRouteRetryPolicyPerRetryTimeoutAttributes
- func (prt HttpRouteRetryPolicyPerRetryTimeoutAttributes) Unit() terra.StringValue
- func (prt HttpRouteRetryPolicyPerRetryTimeoutAttributes) Value() terra.NumberValue
- type HttpRouteRetryPolicyPerRetryTimeoutState
- type HttpRouteRetryPolicyState
- type HttpRouteState
- type HttpRouteTimeout
- type HttpRouteTimeoutAttributes
- func (t HttpRouteTimeoutAttributes) Idle() terra.ListValue[HttpRouteTimeoutIdleAttributes]
- func (t HttpRouteTimeoutAttributes) InternalRef() (terra.Reference, error)
- func (t HttpRouteTimeoutAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t HttpRouteTimeoutAttributes) InternalWithRef(ref terra.Reference) HttpRouteTimeoutAttributes
- func (t HttpRouteTimeoutAttributes) PerRequest() terra.ListValue[HttpRouteTimeoutPerRequestAttributes]
- type HttpRouteTimeoutIdle
- type HttpRouteTimeoutIdleAttributes
- func (i HttpRouteTimeoutIdleAttributes) InternalRef() (terra.Reference, error)
- func (i HttpRouteTimeoutIdleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (i HttpRouteTimeoutIdleAttributes) InternalWithRef(ref terra.Reference) HttpRouteTimeoutIdleAttributes
- func (i HttpRouteTimeoutIdleAttributes) Unit() terra.StringValue
- func (i HttpRouteTimeoutIdleAttributes) Value() terra.NumberValue
- type HttpRouteTimeoutIdleState
- type HttpRouteTimeoutPerRequest
- type HttpRouteTimeoutPerRequestAttributes
- func (pr HttpRouteTimeoutPerRequestAttributes) InternalRef() (terra.Reference, error)
- func (pr HttpRouteTimeoutPerRequestAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pr HttpRouteTimeoutPerRequestAttributes) InternalWithRef(ref terra.Reference) HttpRouteTimeoutPerRequestAttributes
- func (pr HttpRouteTimeoutPerRequestAttributes) Unit() terra.StringValue
- func (pr HttpRouteTimeoutPerRequestAttributes) Value() terra.NumberValue
- type HttpRouteTimeoutPerRequestState
- type HttpRouteTimeoutState
- type Metadata
- type MetadataAttributes
- func (m MetadataAttributes) InternalRef() (terra.Reference, error)
- func (m MetadataAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (m MetadataAttributes) InternalWithRef(ref terra.Reference) MetadataAttributes
- func (m MetadataAttributes) Invert() terra.BoolValue
- func (m MetadataAttributes) Match() terra.ListValue[MetadataMatchAttributes]
- func (m MetadataAttributes) Name() terra.StringValue
- type MetadataMatch
- type MetadataMatchAttributes
- func (m MetadataMatchAttributes) Exact() terra.StringValue
- func (m MetadataMatchAttributes) InternalRef() (terra.Reference, error)
- func (m MetadataMatchAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (m MetadataMatchAttributes) InternalWithRef(ref terra.Reference) MetadataMatchAttributes
- func (m MetadataMatchAttributes) Prefix() terra.StringValue
- func (m MetadataMatchAttributes) Range() terra.ListValue[MetadataMatchRangeAttributes]
- func (m MetadataMatchAttributes) Regex() terra.StringValue
- func (m MetadataMatchAttributes) Suffix() terra.StringValue
- type MetadataMatchRange
- type MetadataMatchRangeAttributes
- func (r MetadataMatchRangeAttributes) End() terra.NumberValue
- func (r MetadataMatchRangeAttributes) InternalRef() (terra.Reference, error)
- func (r MetadataMatchRangeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r MetadataMatchRangeAttributes) InternalWithRef(ref terra.Reference) MetadataMatchRangeAttributes
- func (r MetadataMatchRangeAttributes) Start() terra.NumberValue
- type MetadataMatchRangeState
- type MetadataMatchState
- type MetadataState
- type Spec
- type SpecAttributes
- func (s SpecAttributes) GrpcRoute() terra.ListValue[GrpcRouteAttributes]
- func (s SpecAttributes) Http2Route() terra.ListValue[Http2RouteAttributes]
- func (s SpecAttributes) HttpRoute() terra.ListValue[HttpRouteAttributes]
- func (s SpecAttributes) InternalRef() (terra.Reference, error)
- func (s SpecAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s SpecAttributes) InternalWithRef(ref terra.Reference) SpecAttributes
- func (s SpecAttributes) Priority() terra.NumberValue
- func (s SpecAttributes) TcpRoute() terra.ListValue[TcpRouteAttributes]
- type SpecState
- type TcpRoute
- type TcpRouteAction
- type TcpRouteActionAttributes
- func (a TcpRouteActionAttributes) InternalRef() (terra.Reference, error)
- func (a TcpRouteActionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a TcpRouteActionAttributes) InternalWithRef(ref terra.Reference) TcpRouteActionAttributes
- func (a TcpRouteActionAttributes) WeightedTarget() terra.SetValue[TcpRouteActionWeightedTargetAttributes]
- type TcpRouteActionState
- type TcpRouteActionWeightedTarget
- type TcpRouteActionWeightedTargetAttributes
- func (wt TcpRouteActionWeightedTargetAttributes) InternalRef() (terra.Reference, error)
- func (wt TcpRouteActionWeightedTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (wt TcpRouteActionWeightedTargetAttributes) InternalWithRef(ref terra.Reference) TcpRouteActionWeightedTargetAttributes
- func (wt TcpRouteActionWeightedTargetAttributes) Port() terra.NumberValue
- func (wt TcpRouteActionWeightedTargetAttributes) VirtualNode() terra.StringValue
- func (wt TcpRouteActionWeightedTargetAttributes) Weight() terra.NumberValue
- type TcpRouteActionWeightedTargetState
- type TcpRouteAttributes
- func (tr TcpRouteAttributes) Action() terra.ListValue[TcpRouteActionAttributes]
- func (tr TcpRouteAttributes) InternalRef() (terra.Reference, error)
- func (tr TcpRouteAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tr TcpRouteAttributes) InternalWithRef(ref terra.Reference) TcpRouteAttributes
- func (tr TcpRouteAttributes) Match() terra.ListValue[TcpRouteMatchAttributes]
- func (tr TcpRouteAttributes) Timeout() terra.ListValue[TcpRouteTimeoutAttributes]
- type TcpRouteMatch
- type TcpRouteMatchAttributes
- type TcpRouteMatchState
- type TcpRouteState
- type TcpRouteTimeout
- type TcpRouteTimeoutAttributes
- func (t TcpRouteTimeoutAttributes) Idle() terra.ListValue[TcpRouteTimeoutIdleAttributes]
- func (t TcpRouteTimeoutAttributes) InternalRef() (terra.Reference, error)
- func (t TcpRouteTimeoutAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TcpRouteTimeoutAttributes) InternalWithRef(ref terra.Reference) TcpRouteTimeoutAttributes
- type TcpRouteTimeoutIdle
- type TcpRouteTimeoutIdleAttributes
- func (i TcpRouteTimeoutIdleAttributes) InternalRef() (terra.Reference, error)
- func (i TcpRouteTimeoutIdleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (i TcpRouteTimeoutIdleAttributes) InternalWithRef(ref terra.Reference) TcpRouteTimeoutIdleAttributes
- func (i TcpRouteTimeoutIdleAttributes) Unit() terra.StringValue
- func (i TcpRouteTimeoutIdleAttributes) Value() terra.NumberValue
- type TcpRouteTimeoutIdleState
- type TcpRouteTimeoutState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GrpcRoute ¶
type GrpcRoute struct { // GrpcRouteAction: min=0 Action []GrpcRouteAction `hcl:"action,block" validate:"min=0"` // GrpcRouteMatch: min=0 Match []GrpcRouteMatch `hcl:"match,block" validate:"min=0"` // GrpcRouteRetryPolicy: min=0 RetryPolicy []GrpcRouteRetryPolicy `hcl:"retry_policy,block" validate:"min=0"` // GrpcRouteTimeout: min=0 Timeout []GrpcRouteTimeout `hcl:"timeout,block" validate:"min=0"` }
type GrpcRouteAction ¶
type GrpcRouteAction struct { // GrpcRouteActionWeightedTarget: min=0 WeightedTarget []GrpcRouteActionWeightedTarget `hcl:"weighted_target,block" validate:"min=0"` }
type GrpcRouteActionAttributes ¶
type GrpcRouteActionAttributes struct {
// contains filtered or unexported fields
}
func (GrpcRouteActionAttributes) InternalRef ¶
func (a GrpcRouteActionAttributes) InternalRef() (terra.Reference, error)
func (GrpcRouteActionAttributes) InternalTokens ¶
func (a GrpcRouteActionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GrpcRouteActionAttributes) InternalWithRef ¶
func (a GrpcRouteActionAttributes) InternalWithRef(ref terra.Reference) GrpcRouteActionAttributes
func (GrpcRouteActionAttributes) WeightedTarget ¶
func (a GrpcRouteActionAttributes) WeightedTarget() terra.SetValue[GrpcRouteActionWeightedTargetAttributes]
type GrpcRouteActionState ¶
type GrpcRouteActionState struct {
WeightedTarget []GrpcRouteActionWeightedTargetState `json:"weighted_target"`
}
type GrpcRouteActionWeightedTarget ¶
type GrpcRouteActionWeightedTarget struct{}
type GrpcRouteActionWeightedTargetAttributes ¶
type GrpcRouteActionWeightedTargetAttributes struct {
// contains filtered or unexported fields
}
func (GrpcRouteActionWeightedTargetAttributes) InternalRef ¶
func (wt GrpcRouteActionWeightedTargetAttributes) InternalRef() (terra.Reference, error)
func (GrpcRouteActionWeightedTargetAttributes) InternalTokens ¶
func (wt GrpcRouteActionWeightedTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GrpcRouteActionWeightedTargetAttributes) InternalWithRef ¶
func (wt GrpcRouteActionWeightedTargetAttributes) InternalWithRef(ref terra.Reference) GrpcRouteActionWeightedTargetAttributes
func (GrpcRouteActionWeightedTargetAttributes) Port ¶
func (wt GrpcRouteActionWeightedTargetAttributes) Port() terra.NumberValue
func (GrpcRouteActionWeightedTargetAttributes) VirtualNode ¶
func (wt GrpcRouteActionWeightedTargetAttributes) VirtualNode() terra.StringValue
func (GrpcRouteActionWeightedTargetAttributes) Weight ¶
func (wt GrpcRouteActionWeightedTargetAttributes) Weight() terra.NumberValue
type GrpcRouteAttributes ¶
type GrpcRouteAttributes struct {
// contains filtered or unexported fields
}
func (GrpcRouteAttributes) Action ¶
func (gr GrpcRouteAttributes) Action() terra.ListValue[GrpcRouteActionAttributes]
func (GrpcRouteAttributes) InternalRef ¶
func (gr GrpcRouteAttributes) InternalRef() (terra.Reference, error)
func (GrpcRouteAttributes) InternalTokens ¶
func (gr GrpcRouteAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GrpcRouteAttributes) InternalWithRef ¶
func (gr GrpcRouteAttributes) InternalWithRef(ref terra.Reference) GrpcRouteAttributes
func (GrpcRouteAttributes) Match ¶
func (gr GrpcRouteAttributes) Match() terra.ListValue[GrpcRouteMatchAttributes]
func (GrpcRouteAttributes) RetryPolicy ¶
func (gr GrpcRouteAttributes) RetryPolicy() terra.ListValue[GrpcRouteRetryPolicyAttributes]
func (GrpcRouteAttributes) Timeout ¶
func (gr GrpcRouteAttributes) Timeout() terra.ListValue[GrpcRouteTimeoutAttributes]
type GrpcRouteMatch ¶
type GrpcRouteMatch struct { // Metadata: min=0 Metadata []Metadata `hcl:"metadata,block" validate:"min=0"` }
type GrpcRouteMatchAttributes ¶
type GrpcRouteMatchAttributes struct {
// contains filtered or unexported fields
}
func (GrpcRouteMatchAttributes) InternalRef ¶
func (m GrpcRouteMatchAttributes) InternalRef() (terra.Reference, error)
func (GrpcRouteMatchAttributes) InternalTokens ¶
func (m GrpcRouteMatchAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GrpcRouteMatchAttributes) InternalWithRef ¶
func (m GrpcRouteMatchAttributes) InternalWithRef(ref terra.Reference) GrpcRouteMatchAttributes
func (GrpcRouteMatchAttributes) Metadata ¶
func (m GrpcRouteMatchAttributes) Metadata() terra.SetValue[MetadataAttributes]
func (GrpcRouteMatchAttributes) MethodName ¶
func (m GrpcRouteMatchAttributes) MethodName() terra.StringValue
func (GrpcRouteMatchAttributes) Port ¶
func (m GrpcRouteMatchAttributes) Port() terra.NumberValue
func (GrpcRouteMatchAttributes) Prefix ¶
func (m GrpcRouteMatchAttributes) Prefix() terra.StringValue
func (GrpcRouteMatchAttributes) ServiceName ¶
func (m GrpcRouteMatchAttributes) ServiceName() terra.StringValue
type GrpcRouteMatchState ¶
type GrpcRouteMatchState struct { MethodName string `json:"method_name"` Port float64 `json:"port"` Prefix string `json:"prefix"` ServiceName string `json:"service_name"` Metadata []MetadataState `json:"metadata"` }
type GrpcRouteRetryPolicy ¶
type GrpcRouteRetryPolicy struct { // GrpcRouteRetryPolicyPerRetryTimeout: min=0 PerRetryTimeout []GrpcRouteRetryPolicyPerRetryTimeout `hcl:"per_retry_timeout,block" validate:"min=0"` }
type GrpcRouteRetryPolicyAttributes ¶
type GrpcRouteRetryPolicyAttributes struct {
// contains filtered or unexported fields
}
func (GrpcRouteRetryPolicyAttributes) GrpcRetryEvents ¶
func (rp GrpcRouteRetryPolicyAttributes) GrpcRetryEvents() terra.SetValue[terra.StringValue]
func (GrpcRouteRetryPolicyAttributes) HttpRetryEvents ¶
func (rp GrpcRouteRetryPolicyAttributes) HttpRetryEvents() terra.SetValue[terra.StringValue]
func (GrpcRouteRetryPolicyAttributes) InternalRef ¶
func (rp GrpcRouteRetryPolicyAttributes) InternalRef() (terra.Reference, error)
func (GrpcRouteRetryPolicyAttributes) InternalTokens ¶
func (rp GrpcRouteRetryPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GrpcRouteRetryPolicyAttributes) InternalWithRef ¶
func (rp GrpcRouteRetryPolicyAttributes) InternalWithRef(ref terra.Reference) GrpcRouteRetryPolicyAttributes
func (GrpcRouteRetryPolicyAttributes) MaxRetries ¶
func (rp GrpcRouteRetryPolicyAttributes) MaxRetries() terra.NumberValue
func (GrpcRouteRetryPolicyAttributes) PerRetryTimeout ¶
func (rp GrpcRouteRetryPolicyAttributes) PerRetryTimeout() terra.ListValue[GrpcRouteRetryPolicyPerRetryTimeoutAttributes]
func (GrpcRouteRetryPolicyAttributes) TcpRetryEvents ¶
func (rp GrpcRouteRetryPolicyAttributes) TcpRetryEvents() terra.SetValue[terra.StringValue]
type GrpcRouteRetryPolicyPerRetryTimeout ¶
type GrpcRouteRetryPolicyPerRetryTimeout struct{}
type GrpcRouteRetryPolicyPerRetryTimeoutAttributes ¶
type GrpcRouteRetryPolicyPerRetryTimeoutAttributes struct {
// contains filtered or unexported fields
}
func (GrpcRouteRetryPolicyPerRetryTimeoutAttributes) InternalRef ¶
func (prt GrpcRouteRetryPolicyPerRetryTimeoutAttributes) InternalRef() (terra.Reference, error)
func (GrpcRouteRetryPolicyPerRetryTimeoutAttributes) InternalTokens ¶
func (prt GrpcRouteRetryPolicyPerRetryTimeoutAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GrpcRouteRetryPolicyPerRetryTimeoutAttributes) InternalWithRef ¶
func (prt GrpcRouteRetryPolicyPerRetryTimeoutAttributes) InternalWithRef(ref terra.Reference) GrpcRouteRetryPolicyPerRetryTimeoutAttributes
func (GrpcRouteRetryPolicyPerRetryTimeoutAttributes) Unit ¶
func (prt GrpcRouteRetryPolicyPerRetryTimeoutAttributes) Unit() terra.StringValue
func (GrpcRouteRetryPolicyPerRetryTimeoutAttributes) Value ¶
func (prt GrpcRouteRetryPolicyPerRetryTimeoutAttributes) Value() terra.NumberValue
type GrpcRouteRetryPolicyState ¶
type GrpcRouteRetryPolicyState struct { GrpcRetryEvents []string `json:"grpc_retry_events"` HttpRetryEvents []string `json:"http_retry_events"` MaxRetries float64 `json:"max_retries"` TcpRetryEvents []string `json:"tcp_retry_events"` PerRetryTimeout []GrpcRouteRetryPolicyPerRetryTimeoutState `json:"per_retry_timeout"` }
type GrpcRouteState ¶
type GrpcRouteState struct { Action []GrpcRouteActionState `json:"action"` Match []GrpcRouteMatchState `json:"match"` RetryPolicy []GrpcRouteRetryPolicyState `json:"retry_policy"` Timeout []GrpcRouteTimeoutState `json:"timeout"` }
type GrpcRouteTimeout ¶
type GrpcRouteTimeout struct { // GrpcRouteTimeoutIdle: min=0 Idle []GrpcRouteTimeoutIdle `hcl:"idle,block" validate:"min=0"` // GrpcRouteTimeoutPerRequest: min=0 PerRequest []GrpcRouteTimeoutPerRequest `hcl:"per_request,block" validate:"min=0"` }
type GrpcRouteTimeoutAttributes ¶
type GrpcRouteTimeoutAttributes struct {
// contains filtered or unexported fields
}
func (GrpcRouteTimeoutAttributes) Idle ¶
func (t GrpcRouteTimeoutAttributes) Idle() terra.ListValue[GrpcRouteTimeoutIdleAttributes]
func (GrpcRouteTimeoutAttributes) InternalRef ¶
func (t GrpcRouteTimeoutAttributes) InternalRef() (terra.Reference, error)
func (GrpcRouteTimeoutAttributes) InternalTokens ¶
func (t GrpcRouteTimeoutAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GrpcRouteTimeoutAttributes) InternalWithRef ¶
func (t GrpcRouteTimeoutAttributes) InternalWithRef(ref terra.Reference) GrpcRouteTimeoutAttributes
func (GrpcRouteTimeoutAttributes) PerRequest ¶
func (t GrpcRouteTimeoutAttributes) PerRequest() terra.ListValue[GrpcRouteTimeoutPerRequestAttributes]
type GrpcRouteTimeoutIdle ¶
type GrpcRouteTimeoutIdle struct{}
type GrpcRouteTimeoutIdleAttributes ¶
type GrpcRouteTimeoutIdleAttributes struct {
// contains filtered or unexported fields
}
func (GrpcRouteTimeoutIdleAttributes) InternalRef ¶
func (i GrpcRouteTimeoutIdleAttributes) InternalRef() (terra.Reference, error)
func (GrpcRouteTimeoutIdleAttributes) InternalTokens ¶
func (i GrpcRouteTimeoutIdleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GrpcRouteTimeoutIdleAttributes) InternalWithRef ¶
func (i GrpcRouteTimeoutIdleAttributes) InternalWithRef(ref terra.Reference) GrpcRouteTimeoutIdleAttributes
func (GrpcRouteTimeoutIdleAttributes) Unit ¶
func (i GrpcRouteTimeoutIdleAttributes) Unit() terra.StringValue
func (GrpcRouteTimeoutIdleAttributes) Value ¶
func (i GrpcRouteTimeoutIdleAttributes) Value() terra.NumberValue
type GrpcRouteTimeoutPerRequest ¶
type GrpcRouteTimeoutPerRequest struct{}
type GrpcRouteTimeoutPerRequestAttributes ¶
type GrpcRouteTimeoutPerRequestAttributes struct {
// contains filtered or unexported fields
}
func (GrpcRouteTimeoutPerRequestAttributes) InternalRef ¶
func (pr GrpcRouteTimeoutPerRequestAttributes) InternalRef() (terra.Reference, error)
func (GrpcRouteTimeoutPerRequestAttributes) InternalTokens ¶
func (pr GrpcRouteTimeoutPerRequestAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GrpcRouteTimeoutPerRequestAttributes) InternalWithRef ¶
func (pr GrpcRouteTimeoutPerRequestAttributes) InternalWithRef(ref terra.Reference) GrpcRouteTimeoutPerRequestAttributes
func (GrpcRouteTimeoutPerRequestAttributes) Unit ¶
func (pr GrpcRouteTimeoutPerRequestAttributes) Unit() terra.StringValue
func (GrpcRouteTimeoutPerRequestAttributes) Value ¶
func (pr GrpcRouteTimeoutPerRequestAttributes) Value() terra.NumberValue
type GrpcRouteTimeoutState ¶
type GrpcRouteTimeoutState struct { Idle []GrpcRouteTimeoutIdleState `json:"idle"` PerRequest []GrpcRouteTimeoutPerRequestState `json:"per_request"` }
type Http2Route ¶
type Http2Route struct { // Http2RouteAction: min=0 Action []Http2RouteAction `hcl:"action,block" validate:"min=0"` // Http2RouteMatch: min=0 Match []Http2RouteMatch `hcl:"match,block" validate:"min=0"` // Http2RouteRetryPolicy: min=0 RetryPolicy []Http2RouteRetryPolicy `hcl:"retry_policy,block" validate:"min=0"` // Http2RouteTimeout: min=0 Timeout []Http2RouteTimeout `hcl:"timeout,block" validate:"min=0"` }
type Http2RouteAction ¶
type Http2RouteAction struct { // Http2RouteActionWeightedTarget: min=0 WeightedTarget []Http2RouteActionWeightedTarget `hcl:"weighted_target,block" validate:"min=0"` }
type Http2RouteActionAttributes ¶
type Http2RouteActionAttributes struct {
// contains filtered or unexported fields
}
func (Http2RouteActionAttributes) InternalRef ¶
func (a Http2RouteActionAttributes) InternalRef() (terra.Reference, error)
func (Http2RouteActionAttributes) InternalTokens ¶
func (a Http2RouteActionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (Http2RouteActionAttributes) InternalWithRef ¶
func (a Http2RouteActionAttributes) InternalWithRef(ref terra.Reference) Http2RouteActionAttributes
func (Http2RouteActionAttributes) WeightedTarget ¶
func (a Http2RouteActionAttributes) WeightedTarget() terra.SetValue[Http2RouteActionWeightedTargetAttributes]
type Http2RouteActionState ¶
type Http2RouteActionState struct {
WeightedTarget []Http2RouteActionWeightedTargetState `json:"weighted_target"`
}
type Http2RouteActionWeightedTarget ¶
type Http2RouteActionWeightedTarget struct{}
type Http2RouteActionWeightedTargetAttributes ¶
type Http2RouteActionWeightedTargetAttributes struct {
// contains filtered or unexported fields
}
func (Http2RouteActionWeightedTargetAttributes) InternalRef ¶
func (wt Http2RouteActionWeightedTargetAttributes) InternalRef() (terra.Reference, error)
func (Http2RouteActionWeightedTargetAttributes) InternalTokens ¶
func (wt Http2RouteActionWeightedTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (Http2RouteActionWeightedTargetAttributes) InternalWithRef ¶
func (wt Http2RouteActionWeightedTargetAttributes) InternalWithRef(ref terra.Reference) Http2RouteActionWeightedTargetAttributes
func (Http2RouteActionWeightedTargetAttributes) Port ¶
func (wt Http2RouteActionWeightedTargetAttributes) Port() terra.NumberValue
func (Http2RouteActionWeightedTargetAttributes) VirtualNode ¶
func (wt Http2RouteActionWeightedTargetAttributes) VirtualNode() terra.StringValue
func (Http2RouteActionWeightedTargetAttributes) Weight ¶
func (wt Http2RouteActionWeightedTargetAttributes) Weight() terra.NumberValue
type Http2RouteAttributes ¶
type Http2RouteAttributes struct {
// contains filtered or unexported fields
}
func (Http2RouteAttributes) Action ¶
func (hr Http2RouteAttributes) Action() terra.ListValue[Http2RouteActionAttributes]
func (Http2RouteAttributes) InternalRef ¶
func (hr Http2RouteAttributes) InternalRef() (terra.Reference, error)
func (Http2RouteAttributes) InternalTokens ¶
func (hr Http2RouteAttributes) InternalTokens() (hclwrite.Tokens, error)
func (Http2RouteAttributes) InternalWithRef ¶
func (hr Http2RouteAttributes) InternalWithRef(ref terra.Reference) Http2RouteAttributes
func (Http2RouteAttributes) Match ¶
func (hr Http2RouteAttributes) Match() terra.ListValue[Http2RouteMatchAttributes]
func (Http2RouteAttributes) RetryPolicy ¶
func (hr Http2RouteAttributes) RetryPolicy() terra.ListValue[Http2RouteRetryPolicyAttributes]
func (Http2RouteAttributes) Timeout ¶
func (hr Http2RouteAttributes) Timeout() terra.ListValue[Http2RouteTimeoutAttributes]
type Http2RouteMatch ¶
type Http2RouteMatch struct { // Http2RouteMatchHeader: min=0 Header []Http2RouteMatchHeader `hcl:"header,block" validate:"min=0"` // Http2RouteMatchPath: min=0 Path []Http2RouteMatchPath `hcl:"path,block" validate:"min=0"` // Http2RouteMatchQueryParameter: min=0 QueryParameter []Http2RouteMatchQueryParameter `hcl:"query_parameter,block" validate:"min=0"` }
type Http2RouteMatchAttributes ¶
type Http2RouteMatchAttributes struct {
// contains filtered or unexported fields
}
func (Http2RouteMatchAttributes) Header ¶
func (m Http2RouteMatchAttributes) Header() terra.SetValue[Http2RouteMatchHeaderAttributes]
func (Http2RouteMatchAttributes) InternalRef ¶
func (m Http2RouteMatchAttributes) InternalRef() (terra.Reference, error)
func (Http2RouteMatchAttributes) InternalTokens ¶
func (m Http2RouteMatchAttributes) InternalTokens() (hclwrite.Tokens, error)
func (Http2RouteMatchAttributes) InternalWithRef ¶
func (m Http2RouteMatchAttributes) InternalWithRef(ref terra.Reference) Http2RouteMatchAttributes
func (Http2RouteMatchAttributes) Method ¶
func (m Http2RouteMatchAttributes) Method() terra.StringValue
func (Http2RouteMatchAttributes) Path ¶
func (m Http2RouteMatchAttributes) Path() terra.ListValue[Http2RouteMatchPathAttributes]
func (Http2RouteMatchAttributes) Port ¶
func (m Http2RouteMatchAttributes) Port() terra.NumberValue
func (Http2RouteMatchAttributes) Prefix ¶
func (m Http2RouteMatchAttributes) Prefix() terra.StringValue
func (Http2RouteMatchAttributes) QueryParameter ¶
func (m Http2RouteMatchAttributes) QueryParameter() terra.SetValue[Http2RouteMatchQueryParameterAttributes]
func (Http2RouteMatchAttributes) Scheme ¶
func (m Http2RouteMatchAttributes) Scheme() terra.StringValue
type Http2RouteMatchHeader ¶
type Http2RouteMatchHeader struct { // Http2RouteMatchHeaderMatch: min=0 Match []Http2RouteMatchHeaderMatch `hcl:"match,block" validate:"min=0"` }
type Http2RouteMatchHeaderAttributes ¶
type Http2RouteMatchHeaderAttributes struct {
// contains filtered or unexported fields
}
func (Http2RouteMatchHeaderAttributes) InternalRef ¶
func (h Http2RouteMatchHeaderAttributes) InternalRef() (terra.Reference, error)
func (Http2RouteMatchHeaderAttributes) InternalTokens ¶
func (h Http2RouteMatchHeaderAttributes) InternalTokens() (hclwrite.Tokens, error)
func (Http2RouteMatchHeaderAttributes) InternalWithRef ¶
func (h Http2RouteMatchHeaderAttributes) InternalWithRef(ref terra.Reference) Http2RouteMatchHeaderAttributes
func (Http2RouteMatchHeaderAttributes) Invert ¶
func (h Http2RouteMatchHeaderAttributes) Invert() terra.BoolValue
func (Http2RouteMatchHeaderAttributes) Match ¶
func (h Http2RouteMatchHeaderAttributes) Match() terra.ListValue[Http2RouteMatchHeaderMatchAttributes]
func (Http2RouteMatchHeaderAttributes) Name ¶
func (h Http2RouteMatchHeaderAttributes) Name() terra.StringValue
type Http2RouteMatchHeaderMatch ¶
type Http2RouteMatchHeaderMatch struct { // Http2RouteMatchHeaderMatchRange: min=0 Range []Http2RouteMatchHeaderMatchRange `hcl:"range,block" validate:"min=0"` }
type Http2RouteMatchHeaderMatchAttributes ¶
type Http2RouteMatchHeaderMatchAttributes struct {
// contains filtered or unexported fields
}
func (Http2RouteMatchHeaderMatchAttributes) Exact ¶
func (m Http2RouteMatchHeaderMatchAttributes) Exact() terra.StringValue
func (Http2RouteMatchHeaderMatchAttributes) InternalRef ¶
func (m Http2RouteMatchHeaderMatchAttributes) InternalRef() (terra.Reference, error)
func (Http2RouteMatchHeaderMatchAttributes) InternalTokens ¶
func (m Http2RouteMatchHeaderMatchAttributes) InternalTokens() (hclwrite.Tokens, error)
func (Http2RouteMatchHeaderMatchAttributes) InternalWithRef ¶
func (m Http2RouteMatchHeaderMatchAttributes) InternalWithRef(ref terra.Reference) Http2RouteMatchHeaderMatchAttributes
func (Http2RouteMatchHeaderMatchAttributes) Prefix ¶
func (m Http2RouteMatchHeaderMatchAttributes) Prefix() terra.StringValue
func (Http2RouteMatchHeaderMatchAttributes) Regex ¶
func (m Http2RouteMatchHeaderMatchAttributes) Regex() terra.StringValue
func (Http2RouteMatchHeaderMatchAttributes) Suffix ¶
func (m Http2RouteMatchHeaderMatchAttributes) Suffix() terra.StringValue
type Http2RouteMatchHeaderMatchRange ¶
type Http2RouteMatchHeaderMatchRange struct{}
type Http2RouteMatchHeaderMatchRangeAttributes ¶
type Http2RouteMatchHeaderMatchRangeAttributes struct {
// contains filtered or unexported fields
}
func (Http2RouteMatchHeaderMatchRangeAttributes) End ¶
func (r Http2RouteMatchHeaderMatchRangeAttributes) End() terra.NumberValue
func (Http2RouteMatchHeaderMatchRangeAttributes) InternalRef ¶
func (r Http2RouteMatchHeaderMatchRangeAttributes) InternalRef() (terra.Reference, error)
func (Http2RouteMatchHeaderMatchRangeAttributes) InternalTokens ¶
func (r Http2RouteMatchHeaderMatchRangeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (Http2RouteMatchHeaderMatchRangeAttributes) InternalWithRef ¶
func (r Http2RouteMatchHeaderMatchRangeAttributes) InternalWithRef(ref terra.Reference) Http2RouteMatchHeaderMatchRangeAttributes
func (Http2RouteMatchHeaderMatchRangeAttributes) Start ¶
func (r Http2RouteMatchHeaderMatchRangeAttributes) Start() terra.NumberValue
type Http2RouteMatchHeaderMatchState ¶
type Http2RouteMatchHeaderMatchState struct { Exact string `json:"exact"` Prefix string `json:"prefix"` Regex string `json:"regex"` Suffix string `json:"suffix"` Range []Http2RouteMatchHeaderMatchRangeState `json:"range"` }
type Http2RouteMatchHeaderState ¶
type Http2RouteMatchHeaderState struct { Invert bool `json:"invert"` Name string `json:"name"` Match []Http2RouteMatchHeaderMatchState `json:"match"` }
type Http2RouteMatchPath ¶
type Http2RouteMatchPath struct{}
type Http2RouteMatchPathAttributes ¶
type Http2RouteMatchPathAttributes struct {
// contains filtered or unexported fields
}
func (Http2RouteMatchPathAttributes) Exact ¶
func (p Http2RouteMatchPathAttributes) Exact() terra.StringValue
func (Http2RouteMatchPathAttributes) InternalRef ¶
func (p Http2RouteMatchPathAttributes) InternalRef() (terra.Reference, error)
func (Http2RouteMatchPathAttributes) InternalTokens ¶
func (p Http2RouteMatchPathAttributes) InternalTokens() (hclwrite.Tokens, error)
func (Http2RouteMatchPathAttributes) InternalWithRef ¶
func (p Http2RouteMatchPathAttributes) InternalWithRef(ref terra.Reference) Http2RouteMatchPathAttributes
func (Http2RouteMatchPathAttributes) Regex ¶
func (p Http2RouteMatchPathAttributes) Regex() terra.StringValue
type Http2RouteMatchQueryParameter ¶
type Http2RouteMatchQueryParameter struct { // Http2RouteMatchQueryParameterMatch: min=0 Match []Http2RouteMatchQueryParameterMatch `hcl:"match,block" validate:"min=0"` }
type Http2RouteMatchQueryParameterAttributes ¶
type Http2RouteMatchQueryParameterAttributes struct {
// contains filtered or unexported fields
}
func (Http2RouteMatchQueryParameterAttributes) InternalRef ¶
func (qp Http2RouteMatchQueryParameterAttributes) InternalRef() (terra.Reference, error)
func (Http2RouteMatchQueryParameterAttributes) InternalTokens ¶
func (qp Http2RouteMatchQueryParameterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (Http2RouteMatchQueryParameterAttributes) InternalWithRef ¶
func (qp Http2RouteMatchQueryParameterAttributes) InternalWithRef(ref terra.Reference) Http2RouteMatchQueryParameterAttributes
func (Http2RouteMatchQueryParameterAttributes) Name ¶
func (qp Http2RouteMatchQueryParameterAttributes) Name() terra.StringValue
type Http2RouteMatchQueryParameterMatch ¶
type Http2RouteMatchQueryParameterMatch struct{}
type Http2RouteMatchQueryParameterMatchAttributes ¶
type Http2RouteMatchQueryParameterMatchAttributes struct {
// contains filtered or unexported fields
}
func (Http2RouteMatchQueryParameterMatchAttributes) Exact ¶
func (m Http2RouteMatchQueryParameterMatchAttributes) Exact() terra.StringValue
func (Http2RouteMatchQueryParameterMatchAttributes) InternalRef ¶
func (m Http2RouteMatchQueryParameterMatchAttributes) InternalRef() (terra.Reference, error)
func (Http2RouteMatchQueryParameterMatchAttributes) InternalTokens ¶
func (m Http2RouteMatchQueryParameterMatchAttributes) InternalTokens() (hclwrite.Tokens, error)
func (Http2RouteMatchQueryParameterMatchAttributes) InternalWithRef ¶
func (m Http2RouteMatchQueryParameterMatchAttributes) InternalWithRef(ref terra.Reference) Http2RouteMatchQueryParameterMatchAttributes
type Http2RouteMatchQueryParameterMatchState ¶
type Http2RouteMatchQueryParameterMatchState struct {
Exact string `json:"exact"`
}
type Http2RouteMatchQueryParameterState ¶
type Http2RouteMatchQueryParameterState struct { Name string `json:"name"` Match []Http2RouteMatchQueryParameterMatchState `json:"match"` }
type Http2RouteMatchState ¶
type Http2RouteMatchState struct { Method string `json:"method"` Port float64 `json:"port"` Prefix string `json:"prefix"` Scheme string `json:"scheme"` Header []Http2RouteMatchHeaderState `json:"header"` Path []Http2RouteMatchPathState `json:"path"` QueryParameter []Http2RouteMatchQueryParameterState `json:"query_parameter"` }
type Http2RouteRetryPolicy ¶
type Http2RouteRetryPolicy struct { // Http2RouteRetryPolicyPerRetryTimeout: min=0 PerRetryTimeout []Http2RouteRetryPolicyPerRetryTimeout `hcl:"per_retry_timeout,block" validate:"min=0"` }
type Http2RouteRetryPolicyAttributes ¶
type Http2RouteRetryPolicyAttributes struct {
// contains filtered or unexported fields
}
func (Http2RouteRetryPolicyAttributes) HttpRetryEvents ¶
func (rp Http2RouteRetryPolicyAttributes) HttpRetryEvents() terra.SetValue[terra.StringValue]
func (Http2RouteRetryPolicyAttributes) InternalRef ¶
func (rp Http2RouteRetryPolicyAttributes) InternalRef() (terra.Reference, error)
func (Http2RouteRetryPolicyAttributes) InternalTokens ¶
func (rp Http2RouteRetryPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (Http2RouteRetryPolicyAttributes) InternalWithRef ¶
func (rp Http2RouteRetryPolicyAttributes) InternalWithRef(ref terra.Reference) Http2RouteRetryPolicyAttributes
func (Http2RouteRetryPolicyAttributes) MaxRetries ¶
func (rp Http2RouteRetryPolicyAttributes) MaxRetries() terra.NumberValue
func (Http2RouteRetryPolicyAttributes) PerRetryTimeout ¶
func (rp Http2RouteRetryPolicyAttributes) PerRetryTimeout() terra.ListValue[Http2RouteRetryPolicyPerRetryTimeoutAttributes]
func (Http2RouteRetryPolicyAttributes) TcpRetryEvents ¶
func (rp Http2RouteRetryPolicyAttributes) TcpRetryEvents() terra.SetValue[terra.StringValue]
type Http2RouteRetryPolicyPerRetryTimeout ¶
type Http2RouteRetryPolicyPerRetryTimeout struct{}
type Http2RouteRetryPolicyPerRetryTimeoutAttributes ¶
type Http2RouteRetryPolicyPerRetryTimeoutAttributes struct {
// contains filtered or unexported fields
}
func (Http2RouteRetryPolicyPerRetryTimeoutAttributes) InternalRef ¶
func (prt Http2RouteRetryPolicyPerRetryTimeoutAttributes) InternalRef() (terra.Reference, error)
func (Http2RouteRetryPolicyPerRetryTimeoutAttributes) InternalTokens ¶
func (prt Http2RouteRetryPolicyPerRetryTimeoutAttributes) InternalTokens() (hclwrite.Tokens, error)
func (Http2RouteRetryPolicyPerRetryTimeoutAttributes) InternalWithRef ¶
func (prt Http2RouteRetryPolicyPerRetryTimeoutAttributes) InternalWithRef(ref terra.Reference) Http2RouteRetryPolicyPerRetryTimeoutAttributes
func (Http2RouteRetryPolicyPerRetryTimeoutAttributes) Unit ¶
func (prt Http2RouteRetryPolicyPerRetryTimeoutAttributes) Unit() terra.StringValue
func (Http2RouteRetryPolicyPerRetryTimeoutAttributes) Value ¶
func (prt Http2RouteRetryPolicyPerRetryTimeoutAttributes) Value() terra.NumberValue
type Http2RouteRetryPolicyState ¶
type Http2RouteRetryPolicyState struct { HttpRetryEvents []string `json:"http_retry_events"` MaxRetries float64 `json:"max_retries"` TcpRetryEvents []string `json:"tcp_retry_events"` PerRetryTimeout []Http2RouteRetryPolicyPerRetryTimeoutState `json:"per_retry_timeout"` }
type Http2RouteState ¶
type Http2RouteState struct { Action []Http2RouteActionState `json:"action"` Match []Http2RouteMatchState `json:"match"` RetryPolicy []Http2RouteRetryPolicyState `json:"retry_policy"` Timeout []Http2RouteTimeoutState `json:"timeout"` }
type Http2RouteTimeout ¶
type Http2RouteTimeout struct { // Http2RouteTimeoutIdle: min=0 Idle []Http2RouteTimeoutIdle `hcl:"idle,block" validate:"min=0"` // Http2RouteTimeoutPerRequest: min=0 PerRequest []Http2RouteTimeoutPerRequest `hcl:"per_request,block" validate:"min=0"` }
type Http2RouteTimeoutAttributes ¶
type Http2RouteTimeoutAttributes struct {
// contains filtered or unexported fields
}
func (Http2RouteTimeoutAttributes) Idle ¶
func (t Http2RouteTimeoutAttributes) Idle() terra.ListValue[Http2RouteTimeoutIdleAttributes]
func (Http2RouteTimeoutAttributes) InternalRef ¶
func (t Http2RouteTimeoutAttributes) InternalRef() (terra.Reference, error)
func (Http2RouteTimeoutAttributes) InternalTokens ¶
func (t Http2RouteTimeoutAttributes) InternalTokens() (hclwrite.Tokens, error)
func (Http2RouteTimeoutAttributes) InternalWithRef ¶
func (t Http2RouteTimeoutAttributes) InternalWithRef(ref terra.Reference) Http2RouteTimeoutAttributes
func (Http2RouteTimeoutAttributes) PerRequest ¶
func (t Http2RouteTimeoutAttributes) PerRequest() terra.ListValue[Http2RouteTimeoutPerRequestAttributes]
type Http2RouteTimeoutIdle ¶
type Http2RouteTimeoutIdle struct{}
type Http2RouteTimeoutIdleAttributes ¶
type Http2RouteTimeoutIdleAttributes struct {
// contains filtered or unexported fields
}
func (Http2RouteTimeoutIdleAttributes) InternalRef ¶
func (i Http2RouteTimeoutIdleAttributes) InternalRef() (terra.Reference, error)
func (Http2RouteTimeoutIdleAttributes) InternalTokens ¶
func (i Http2RouteTimeoutIdleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (Http2RouteTimeoutIdleAttributes) InternalWithRef ¶
func (i Http2RouteTimeoutIdleAttributes) InternalWithRef(ref terra.Reference) Http2RouteTimeoutIdleAttributes
func (Http2RouteTimeoutIdleAttributes) Unit ¶
func (i Http2RouteTimeoutIdleAttributes) Unit() terra.StringValue
func (Http2RouteTimeoutIdleAttributes) Value ¶
func (i Http2RouteTimeoutIdleAttributes) Value() terra.NumberValue
type Http2RouteTimeoutPerRequest ¶
type Http2RouteTimeoutPerRequest struct{}
type Http2RouteTimeoutPerRequestAttributes ¶
type Http2RouteTimeoutPerRequestAttributes struct {
// contains filtered or unexported fields
}
func (Http2RouteTimeoutPerRequestAttributes) InternalRef ¶
func (pr Http2RouteTimeoutPerRequestAttributes) InternalRef() (terra.Reference, error)
func (Http2RouteTimeoutPerRequestAttributes) InternalTokens ¶
func (pr Http2RouteTimeoutPerRequestAttributes) InternalTokens() (hclwrite.Tokens, error)
func (Http2RouteTimeoutPerRequestAttributes) InternalWithRef ¶
func (pr Http2RouteTimeoutPerRequestAttributes) InternalWithRef(ref terra.Reference) Http2RouteTimeoutPerRequestAttributes
func (Http2RouteTimeoutPerRequestAttributes) Unit ¶
func (pr Http2RouteTimeoutPerRequestAttributes) Unit() terra.StringValue
func (Http2RouteTimeoutPerRequestAttributes) Value ¶
func (pr Http2RouteTimeoutPerRequestAttributes) Value() terra.NumberValue
type Http2RouteTimeoutState ¶
type Http2RouteTimeoutState struct { Idle []Http2RouteTimeoutIdleState `json:"idle"` PerRequest []Http2RouteTimeoutPerRequestState `json:"per_request"` }
type HttpRoute ¶
type HttpRoute struct { // HttpRouteAction: min=0 Action []HttpRouteAction `hcl:"action,block" validate:"min=0"` // HttpRouteMatch: min=0 Match []HttpRouteMatch `hcl:"match,block" validate:"min=0"` // HttpRouteRetryPolicy: min=0 RetryPolicy []HttpRouteRetryPolicy `hcl:"retry_policy,block" validate:"min=0"` // HttpRouteTimeout: min=0 Timeout []HttpRouteTimeout `hcl:"timeout,block" validate:"min=0"` }
type HttpRouteAction ¶
type HttpRouteAction struct { // HttpRouteActionWeightedTarget: min=0 WeightedTarget []HttpRouteActionWeightedTarget `hcl:"weighted_target,block" validate:"min=0"` }
type HttpRouteActionAttributes ¶
type HttpRouteActionAttributes struct {
// contains filtered or unexported fields
}
func (HttpRouteActionAttributes) InternalRef ¶
func (a HttpRouteActionAttributes) InternalRef() (terra.Reference, error)
func (HttpRouteActionAttributes) InternalTokens ¶
func (a HttpRouteActionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HttpRouteActionAttributes) InternalWithRef ¶
func (a HttpRouteActionAttributes) InternalWithRef(ref terra.Reference) HttpRouteActionAttributes
func (HttpRouteActionAttributes) WeightedTarget ¶
func (a HttpRouteActionAttributes) WeightedTarget() terra.SetValue[HttpRouteActionWeightedTargetAttributes]
type HttpRouteActionState ¶
type HttpRouteActionState struct {
WeightedTarget []HttpRouteActionWeightedTargetState `json:"weighted_target"`
}
type HttpRouteActionWeightedTarget ¶
type HttpRouteActionWeightedTarget struct{}
type HttpRouteActionWeightedTargetAttributes ¶
type HttpRouteActionWeightedTargetAttributes struct {
// contains filtered or unexported fields
}
func (HttpRouteActionWeightedTargetAttributes) InternalRef ¶
func (wt HttpRouteActionWeightedTargetAttributes) InternalRef() (terra.Reference, error)
func (HttpRouteActionWeightedTargetAttributes) InternalTokens ¶
func (wt HttpRouteActionWeightedTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HttpRouteActionWeightedTargetAttributes) InternalWithRef ¶
func (wt HttpRouteActionWeightedTargetAttributes) InternalWithRef(ref terra.Reference) HttpRouteActionWeightedTargetAttributes
func (HttpRouteActionWeightedTargetAttributes) Port ¶
func (wt HttpRouteActionWeightedTargetAttributes) Port() terra.NumberValue
func (HttpRouteActionWeightedTargetAttributes) VirtualNode ¶
func (wt HttpRouteActionWeightedTargetAttributes) VirtualNode() terra.StringValue
func (HttpRouteActionWeightedTargetAttributes) Weight ¶
func (wt HttpRouteActionWeightedTargetAttributes) Weight() terra.NumberValue
type HttpRouteAttributes ¶
type HttpRouteAttributes struct {
// contains filtered or unexported fields
}
func (HttpRouteAttributes) Action ¶
func (hr HttpRouteAttributes) Action() terra.ListValue[HttpRouteActionAttributes]
func (HttpRouteAttributes) InternalRef ¶
func (hr HttpRouteAttributes) InternalRef() (terra.Reference, error)
func (HttpRouteAttributes) InternalTokens ¶
func (hr HttpRouteAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HttpRouteAttributes) InternalWithRef ¶
func (hr HttpRouteAttributes) InternalWithRef(ref terra.Reference) HttpRouteAttributes
func (HttpRouteAttributes) Match ¶
func (hr HttpRouteAttributes) Match() terra.ListValue[HttpRouteMatchAttributes]
func (HttpRouteAttributes) RetryPolicy ¶
func (hr HttpRouteAttributes) RetryPolicy() terra.ListValue[HttpRouteRetryPolicyAttributes]
func (HttpRouteAttributes) Timeout ¶
func (hr HttpRouteAttributes) Timeout() terra.ListValue[HttpRouteTimeoutAttributes]
type HttpRouteMatch ¶
type HttpRouteMatch struct { // HttpRouteMatchHeader: min=0 Header []HttpRouteMatchHeader `hcl:"header,block" validate:"min=0"` // HttpRouteMatchPath: min=0 Path []HttpRouteMatchPath `hcl:"path,block" validate:"min=0"` // HttpRouteMatchQueryParameter: min=0 QueryParameter []HttpRouteMatchQueryParameter `hcl:"query_parameter,block" validate:"min=0"` }
type HttpRouteMatchAttributes ¶
type HttpRouteMatchAttributes struct {
// contains filtered or unexported fields
}
func (HttpRouteMatchAttributes) Header ¶
func (m HttpRouteMatchAttributes) Header() terra.SetValue[HttpRouteMatchHeaderAttributes]
func (HttpRouteMatchAttributes) InternalRef ¶
func (m HttpRouteMatchAttributes) InternalRef() (terra.Reference, error)
func (HttpRouteMatchAttributes) InternalTokens ¶
func (m HttpRouteMatchAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HttpRouteMatchAttributes) InternalWithRef ¶
func (m HttpRouteMatchAttributes) InternalWithRef(ref terra.Reference) HttpRouteMatchAttributes
func (HttpRouteMatchAttributes) Method ¶
func (m HttpRouteMatchAttributes) Method() terra.StringValue
func (HttpRouteMatchAttributes) Path ¶
func (m HttpRouteMatchAttributes) Path() terra.ListValue[HttpRouteMatchPathAttributes]
func (HttpRouteMatchAttributes) Port ¶
func (m HttpRouteMatchAttributes) Port() terra.NumberValue
func (HttpRouteMatchAttributes) Prefix ¶
func (m HttpRouteMatchAttributes) Prefix() terra.StringValue
func (HttpRouteMatchAttributes) QueryParameter ¶
func (m HttpRouteMatchAttributes) QueryParameter() terra.SetValue[HttpRouteMatchQueryParameterAttributes]
func (HttpRouteMatchAttributes) Scheme ¶
func (m HttpRouteMatchAttributes) Scheme() terra.StringValue
type HttpRouteMatchHeader ¶
type HttpRouteMatchHeader struct { // HttpRouteMatchHeaderMatch: min=0 Match []HttpRouteMatchHeaderMatch `hcl:"match,block" validate:"min=0"` }
type HttpRouteMatchHeaderAttributes ¶
type HttpRouteMatchHeaderAttributes struct {
// contains filtered or unexported fields
}
func (HttpRouteMatchHeaderAttributes) InternalRef ¶
func (h HttpRouteMatchHeaderAttributes) InternalRef() (terra.Reference, error)
func (HttpRouteMatchHeaderAttributes) InternalTokens ¶
func (h HttpRouteMatchHeaderAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HttpRouteMatchHeaderAttributes) InternalWithRef ¶
func (h HttpRouteMatchHeaderAttributes) InternalWithRef(ref terra.Reference) HttpRouteMatchHeaderAttributes
func (HttpRouteMatchHeaderAttributes) Invert ¶
func (h HttpRouteMatchHeaderAttributes) Invert() terra.BoolValue
func (HttpRouteMatchHeaderAttributes) Match ¶
func (h HttpRouteMatchHeaderAttributes) Match() terra.ListValue[HttpRouteMatchHeaderMatchAttributes]
func (HttpRouteMatchHeaderAttributes) Name ¶
func (h HttpRouteMatchHeaderAttributes) Name() terra.StringValue
type HttpRouteMatchHeaderMatch ¶
type HttpRouteMatchHeaderMatch struct { // HttpRouteMatchHeaderMatchRange: min=0 Range []HttpRouteMatchHeaderMatchRange `hcl:"range,block" validate:"min=0"` }
type HttpRouteMatchHeaderMatchAttributes ¶
type HttpRouteMatchHeaderMatchAttributes struct {
// contains filtered or unexported fields
}
func (HttpRouteMatchHeaderMatchAttributes) Exact ¶
func (m HttpRouteMatchHeaderMatchAttributes) Exact() terra.StringValue
func (HttpRouteMatchHeaderMatchAttributes) InternalRef ¶
func (m HttpRouteMatchHeaderMatchAttributes) InternalRef() (terra.Reference, error)
func (HttpRouteMatchHeaderMatchAttributes) InternalTokens ¶
func (m HttpRouteMatchHeaderMatchAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HttpRouteMatchHeaderMatchAttributes) InternalWithRef ¶
func (m HttpRouteMatchHeaderMatchAttributes) InternalWithRef(ref terra.Reference) HttpRouteMatchHeaderMatchAttributes
func (HttpRouteMatchHeaderMatchAttributes) Prefix ¶
func (m HttpRouteMatchHeaderMatchAttributes) Prefix() terra.StringValue
func (HttpRouteMatchHeaderMatchAttributes) Regex ¶
func (m HttpRouteMatchHeaderMatchAttributes) Regex() terra.StringValue
func (HttpRouteMatchHeaderMatchAttributes) Suffix ¶
func (m HttpRouteMatchHeaderMatchAttributes) Suffix() terra.StringValue
type HttpRouteMatchHeaderMatchRange ¶
type HttpRouteMatchHeaderMatchRange struct{}
type HttpRouteMatchHeaderMatchRangeAttributes ¶
type HttpRouteMatchHeaderMatchRangeAttributes struct {
// contains filtered or unexported fields
}
func (HttpRouteMatchHeaderMatchRangeAttributes) End ¶
func (r HttpRouteMatchHeaderMatchRangeAttributes) End() terra.NumberValue
func (HttpRouteMatchHeaderMatchRangeAttributes) InternalRef ¶
func (r HttpRouteMatchHeaderMatchRangeAttributes) InternalRef() (terra.Reference, error)
func (HttpRouteMatchHeaderMatchRangeAttributes) InternalTokens ¶
func (r HttpRouteMatchHeaderMatchRangeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HttpRouteMatchHeaderMatchRangeAttributes) InternalWithRef ¶
func (r HttpRouteMatchHeaderMatchRangeAttributes) InternalWithRef(ref terra.Reference) HttpRouteMatchHeaderMatchRangeAttributes
func (HttpRouteMatchHeaderMatchRangeAttributes) Start ¶
func (r HttpRouteMatchHeaderMatchRangeAttributes) Start() terra.NumberValue
type HttpRouteMatchHeaderMatchState ¶
type HttpRouteMatchHeaderMatchState struct { Exact string `json:"exact"` Prefix string `json:"prefix"` Regex string `json:"regex"` Suffix string `json:"suffix"` Range []HttpRouteMatchHeaderMatchRangeState `json:"range"` }
type HttpRouteMatchHeaderState ¶
type HttpRouteMatchHeaderState struct { Invert bool `json:"invert"` Name string `json:"name"` Match []HttpRouteMatchHeaderMatchState `json:"match"` }
type HttpRouteMatchPath ¶
type HttpRouteMatchPath struct{}
type HttpRouteMatchPathAttributes ¶
type HttpRouteMatchPathAttributes struct {
// contains filtered or unexported fields
}
func (HttpRouteMatchPathAttributes) Exact ¶
func (p HttpRouteMatchPathAttributes) Exact() terra.StringValue
func (HttpRouteMatchPathAttributes) InternalRef ¶
func (p HttpRouteMatchPathAttributes) InternalRef() (terra.Reference, error)
func (HttpRouteMatchPathAttributes) InternalTokens ¶
func (p HttpRouteMatchPathAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HttpRouteMatchPathAttributes) InternalWithRef ¶
func (p HttpRouteMatchPathAttributes) InternalWithRef(ref terra.Reference) HttpRouteMatchPathAttributes
func (HttpRouteMatchPathAttributes) Regex ¶
func (p HttpRouteMatchPathAttributes) Regex() terra.StringValue
type HttpRouteMatchPathState ¶
type HttpRouteMatchQueryParameter ¶
type HttpRouteMatchQueryParameter struct { // HttpRouteMatchQueryParameterMatch: min=0 Match []HttpRouteMatchQueryParameterMatch `hcl:"match,block" validate:"min=0"` }
type HttpRouteMatchQueryParameterAttributes ¶
type HttpRouteMatchQueryParameterAttributes struct {
// contains filtered or unexported fields
}
func (HttpRouteMatchQueryParameterAttributes) InternalRef ¶
func (qp HttpRouteMatchQueryParameterAttributes) InternalRef() (terra.Reference, error)
func (HttpRouteMatchQueryParameterAttributes) InternalTokens ¶
func (qp HttpRouteMatchQueryParameterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HttpRouteMatchQueryParameterAttributes) InternalWithRef ¶
func (qp HttpRouteMatchQueryParameterAttributes) InternalWithRef(ref terra.Reference) HttpRouteMatchQueryParameterAttributes
func (HttpRouteMatchQueryParameterAttributes) Name ¶
func (qp HttpRouteMatchQueryParameterAttributes) Name() terra.StringValue
type HttpRouteMatchQueryParameterMatch ¶
type HttpRouteMatchQueryParameterMatch struct{}
type HttpRouteMatchQueryParameterMatchAttributes ¶
type HttpRouteMatchQueryParameterMatchAttributes struct {
// contains filtered or unexported fields
}
func (HttpRouteMatchQueryParameterMatchAttributes) Exact ¶
func (m HttpRouteMatchQueryParameterMatchAttributes) Exact() terra.StringValue
func (HttpRouteMatchQueryParameterMatchAttributes) InternalRef ¶
func (m HttpRouteMatchQueryParameterMatchAttributes) InternalRef() (terra.Reference, error)
func (HttpRouteMatchQueryParameterMatchAttributes) InternalTokens ¶
func (m HttpRouteMatchQueryParameterMatchAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HttpRouteMatchQueryParameterMatchAttributes) InternalWithRef ¶
func (m HttpRouteMatchQueryParameterMatchAttributes) InternalWithRef(ref terra.Reference) HttpRouteMatchQueryParameterMatchAttributes
type HttpRouteMatchQueryParameterMatchState ¶
type HttpRouteMatchQueryParameterMatchState struct {
Exact string `json:"exact"`
}
type HttpRouteMatchQueryParameterState ¶
type HttpRouteMatchQueryParameterState struct { Name string `json:"name"` Match []HttpRouteMatchQueryParameterMatchState `json:"match"` }
type HttpRouteMatchState ¶
type HttpRouteMatchState struct { Method string `json:"method"` Port float64 `json:"port"` Prefix string `json:"prefix"` Scheme string `json:"scheme"` Header []HttpRouteMatchHeaderState `json:"header"` Path []HttpRouteMatchPathState `json:"path"` QueryParameter []HttpRouteMatchQueryParameterState `json:"query_parameter"` }
type HttpRouteRetryPolicy ¶
type HttpRouteRetryPolicy struct { // HttpRouteRetryPolicyPerRetryTimeout: min=0 PerRetryTimeout []HttpRouteRetryPolicyPerRetryTimeout `hcl:"per_retry_timeout,block" validate:"min=0"` }
type HttpRouteRetryPolicyAttributes ¶
type HttpRouteRetryPolicyAttributes struct {
// contains filtered or unexported fields
}
func (HttpRouteRetryPolicyAttributes) HttpRetryEvents ¶
func (rp HttpRouteRetryPolicyAttributes) HttpRetryEvents() terra.SetValue[terra.StringValue]
func (HttpRouteRetryPolicyAttributes) InternalRef ¶
func (rp HttpRouteRetryPolicyAttributes) InternalRef() (terra.Reference, error)
func (HttpRouteRetryPolicyAttributes) InternalTokens ¶
func (rp HttpRouteRetryPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HttpRouteRetryPolicyAttributes) InternalWithRef ¶
func (rp HttpRouteRetryPolicyAttributes) InternalWithRef(ref terra.Reference) HttpRouteRetryPolicyAttributes
func (HttpRouteRetryPolicyAttributes) MaxRetries ¶
func (rp HttpRouteRetryPolicyAttributes) MaxRetries() terra.NumberValue
func (HttpRouteRetryPolicyAttributes) PerRetryTimeout ¶
func (rp HttpRouteRetryPolicyAttributes) PerRetryTimeout() terra.ListValue[HttpRouteRetryPolicyPerRetryTimeoutAttributes]
func (HttpRouteRetryPolicyAttributes) TcpRetryEvents ¶
func (rp HttpRouteRetryPolicyAttributes) TcpRetryEvents() terra.SetValue[terra.StringValue]
type HttpRouteRetryPolicyPerRetryTimeout ¶
type HttpRouteRetryPolicyPerRetryTimeout struct{}
type HttpRouteRetryPolicyPerRetryTimeoutAttributes ¶
type HttpRouteRetryPolicyPerRetryTimeoutAttributes struct {
// contains filtered or unexported fields
}
func (HttpRouteRetryPolicyPerRetryTimeoutAttributes) InternalRef ¶
func (prt HttpRouteRetryPolicyPerRetryTimeoutAttributes) InternalRef() (terra.Reference, error)
func (HttpRouteRetryPolicyPerRetryTimeoutAttributes) InternalTokens ¶
func (prt HttpRouteRetryPolicyPerRetryTimeoutAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HttpRouteRetryPolicyPerRetryTimeoutAttributes) InternalWithRef ¶
func (prt HttpRouteRetryPolicyPerRetryTimeoutAttributes) InternalWithRef(ref terra.Reference) HttpRouteRetryPolicyPerRetryTimeoutAttributes
func (HttpRouteRetryPolicyPerRetryTimeoutAttributes) Unit ¶
func (prt HttpRouteRetryPolicyPerRetryTimeoutAttributes) Unit() terra.StringValue
func (HttpRouteRetryPolicyPerRetryTimeoutAttributes) Value ¶
func (prt HttpRouteRetryPolicyPerRetryTimeoutAttributes) Value() terra.NumberValue
type HttpRouteRetryPolicyState ¶
type HttpRouteRetryPolicyState struct { HttpRetryEvents []string `json:"http_retry_events"` MaxRetries float64 `json:"max_retries"` TcpRetryEvents []string `json:"tcp_retry_events"` PerRetryTimeout []HttpRouteRetryPolicyPerRetryTimeoutState `json:"per_retry_timeout"` }
type HttpRouteState ¶
type HttpRouteState struct { Action []HttpRouteActionState `json:"action"` Match []HttpRouteMatchState `json:"match"` RetryPolicy []HttpRouteRetryPolicyState `json:"retry_policy"` Timeout []HttpRouteTimeoutState `json:"timeout"` }
type HttpRouteTimeout ¶
type HttpRouteTimeout struct { // HttpRouteTimeoutIdle: min=0 Idle []HttpRouteTimeoutIdle `hcl:"idle,block" validate:"min=0"` // HttpRouteTimeoutPerRequest: min=0 PerRequest []HttpRouteTimeoutPerRequest `hcl:"per_request,block" validate:"min=0"` }
type HttpRouteTimeoutAttributes ¶
type HttpRouteTimeoutAttributes struct {
// contains filtered or unexported fields
}
func (HttpRouteTimeoutAttributes) Idle ¶
func (t HttpRouteTimeoutAttributes) Idle() terra.ListValue[HttpRouteTimeoutIdleAttributes]
func (HttpRouteTimeoutAttributes) InternalRef ¶
func (t HttpRouteTimeoutAttributes) InternalRef() (terra.Reference, error)
func (HttpRouteTimeoutAttributes) InternalTokens ¶
func (t HttpRouteTimeoutAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HttpRouteTimeoutAttributes) InternalWithRef ¶
func (t HttpRouteTimeoutAttributes) InternalWithRef(ref terra.Reference) HttpRouteTimeoutAttributes
func (HttpRouteTimeoutAttributes) PerRequest ¶
func (t HttpRouteTimeoutAttributes) PerRequest() terra.ListValue[HttpRouteTimeoutPerRequestAttributes]
type HttpRouteTimeoutIdle ¶
type HttpRouteTimeoutIdle struct{}
type HttpRouteTimeoutIdleAttributes ¶
type HttpRouteTimeoutIdleAttributes struct {
// contains filtered or unexported fields
}
func (HttpRouteTimeoutIdleAttributes) InternalRef ¶
func (i HttpRouteTimeoutIdleAttributes) InternalRef() (terra.Reference, error)
func (HttpRouteTimeoutIdleAttributes) InternalTokens ¶
func (i HttpRouteTimeoutIdleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HttpRouteTimeoutIdleAttributes) InternalWithRef ¶
func (i HttpRouteTimeoutIdleAttributes) InternalWithRef(ref terra.Reference) HttpRouteTimeoutIdleAttributes
func (HttpRouteTimeoutIdleAttributes) Unit ¶
func (i HttpRouteTimeoutIdleAttributes) Unit() terra.StringValue
func (HttpRouteTimeoutIdleAttributes) Value ¶
func (i HttpRouteTimeoutIdleAttributes) Value() terra.NumberValue
type HttpRouteTimeoutPerRequest ¶
type HttpRouteTimeoutPerRequest struct{}
type HttpRouteTimeoutPerRequestAttributes ¶
type HttpRouteTimeoutPerRequestAttributes struct {
// contains filtered or unexported fields
}
func (HttpRouteTimeoutPerRequestAttributes) InternalRef ¶
func (pr HttpRouteTimeoutPerRequestAttributes) InternalRef() (terra.Reference, error)
func (HttpRouteTimeoutPerRequestAttributes) InternalTokens ¶
func (pr HttpRouteTimeoutPerRequestAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HttpRouteTimeoutPerRequestAttributes) InternalWithRef ¶
func (pr HttpRouteTimeoutPerRequestAttributes) InternalWithRef(ref terra.Reference) HttpRouteTimeoutPerRequestAttributes
func (HttpRouteTimeoutPerRequestAttributes) Unit ¶
func (pr HttpRouteTimeoutPerRequestAttributes) Unit() terra.StringValue
func (HttpRouteTimeoutPerRequestAttributes) Value ¶
func (pr HttpRouteTimeoutPerRequestAttributes) Value() terra.NumberValue
type HttpRouteTimeoutState ¶
type HttpRouteTimeoutState struct { Idle []HttpRouteTimeoutIdleState `json:"idle"` PerRequest []HttpRouteTimeoutPerRequestState `json:"per_request"` }
type Metadata ¶
type Metadata struct { // MetadataMatch: min=0 Match []MetadataMatch `hcl:"match,block" validate:"min=0"` }
type MetadataAttributes ¶
type MetadataAttributes struct {
// contains filtered or unexported fields
}
func (MetadataAttributes) InternalRef ¶
func (m MetadataAttributes) InternalRef() (terra.Reference, error)
func (MetadataAttributes) InternalTokens ¶
func (m MetadataAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MetadataAttributes) InternalWithRef ¶
func (m MetadataAttributes) InternalWithRef(ref terra.Reference) MetadataAttributes
func (MetadataAttributes) Invert ¶
func (m MetadataAttributes) Invert() terra.BoolValue
func (MetadataAttributes) Match ¶
func (m MetadataAttributes) Match() terra.ListValue[MetadataMatchAttributes]
func (MetadataAttributes) Name ¶
func (m MetadataAttributes) Name() terra.StringValue
type MetadataMatch ¶
type MetadataMatch struct { // MetadataMatchRange: min=0 Range []MetadataMatchRange `hcl:"range,block" validate:"min=0"` }
type MetadataMatchAttributes ¶
type MetadataMatchAttributes struct {
// contains filtered or unexported fields
}
func (MetadataMatchAttributes) Exact ¶
func (m MetadataMatchAttributes) Exact() terra.StringValue
func (MetadataMatchAttributes) InternalRef ¶
func (m MetadataMatchAttributes) InternalRef() (terra.Reference, error)
func (MetadataMatchAttributes) InternalTokens ¶
func (m MetadataMatchAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MetadataMatchAttributes) InternalWithRef ¶
func (m MetadataMatchAttributes) InternalWithRef(ref terra.Reference) MetadataMatchAttributes
func (MetadataMatchAttributes) Prefix ¶
func (m MetadataMatchAttributes) Prefix() terra.StringValue
func (MetadataMatchAttributes) Range ¶
func (m MetadataMatchAttributes) Range() terra.ListValue[MetadataMatchRangeAttributes]
func (MetadataMatchAttributes) Regex ¶
func (m MetadataMatchAttributes) Regex() terra.StringValue
func (MetadataMatchAttributes) Suffix ¶
func (m MetadataMatchAttributes) Suffix() terra.StringValue
type MetadataMatchRange ¶
type MetadataMatchRange struct{}
type MetadataMatchRangeAttributes ¶
type MetadataMatchRangeAttributes struct {
// contains filtered or unexported fields
}
func (MetadataMatchRangeAttributes) End ¶
func (r MetadataMatchRangeAttributes) End() terra.NumberValue
func (MetadataMatchRangeAttributes) InternalRef ¶
func (r MetadataMatchRangeAttributes) InternalRef() (terra.Reference, error)
func (MetadataMatchRangeAttributes) InternalTokens ¶
func (r MetadataMatchRangeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MetadataMatchRangeAttributes) InternalWithRef ¶
func (r MetadataMatchRangeAttributes) InternalWithRef(ref terra.Reference) MetadataMatchRangeAttributes
func (MetadataMatchRangeAttributes) Start ¶
func (r MetadataMatchRangeAttributes) Start() terra.NumberValue
type MetadataMatchRangeState ¶
type MetadataMatchState ¶
type MetadataMatchState struct { Exact string `json:"exact"` Prefix string `json:"prefix"` Regex string `json:"regex"` Suffix string `json:"suffix"` Range []MetadataMatchRangeState `json:"range"` }
type MetadataState ¶
type MetadataState struct { Invert bool `json:"invert"` Name string `json:"name"` Match []MetadataMatchState `json:"match"` }
type Spec ¶
type Spec struct { // GrpcRoute: min=0 GrpcRoute []GrpcRoute `hcl:"grpc_route,block" validate:"min=0"` // Http2Route: min=0 Http2Route []Http2Route `hcl:"http2_route,block" validate:"min=0"` // HttpRoute: min=0 HttpRoute []HttpRoute `hcl:"http_route,block" validate:"min=0"` // TcpRoute: min=0 TcpRoute []TcpRoute `hcl:"tcp_route,block" validate:"min=0"` }
type SpecAttributes ¶
type SpecAttributes struct {
// contains filtered or unexported fields
}
func (SpecAttributes) GrpcRoute ¶
func (s SpecAttributes) GrpcRoute() terra.ListValue[GrpcRouteAttributes]
func (SpecAttributes) Http2Route ¶
func (s SpecAttributes) Http2Route() terra.ListValue[Http2RouteAttributes]
func (SpecAttributes) HttpRoute ¶
func (s SpecAttributes) HttpRoute() terra.ListValue[HttpRouteAttributes]
func (SpecAttributes) InternalRef ¶
func (s SpecAttributes) InternalRef() (terra.Reference, error)
func (SpecAttributes) InternalTokens ¶
func (s SpecAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecAttributes) InternalWithRef ¶
func (s SpecAttributes) InternalWithRef(ref terra.Reference) SpecAttributes
func (SpecAttributes) Priority ¶
func (s SpecAttributes) Priority() terra.NumberValue
func (SpecAttributes) TcpRoute ¶
func (s SpecAttributes) TcpRoute() terra.ListValue[TcpRouteAttributes]
type SpecState ¶
type SpecState struct { Priority float64 `json:"priority"` GrpcRoute []GrpcRouteState `json:"grpc_route"` Http2Route []Http2RouteState `json:"http2_route"` HttpRoute []HttpRouteState `json:"http_route"` TcpRoute []TcpRouteState `json:"tcp_route"` }
type TcpRoute ¶
type TcpRoute struct { // TcpRouteAction: min=0 Action []TcpRouteAction `hcl:"action,block" validate:"min=0"` // TcpRouteMatch: min=0 Match []TcpRouteMatch `hcl:"match,block" validate:"min=0"` // TcpRouteTimeout: min=0 Timeout []TcpRouteTimeout `hcl:"timeout,block" validate:"min=0"` }
type TcpRouteAction ¶
type TcpRouteAction struct { // TcpRouteActionWeightedTarget: min=0 WeightedTarget []TcpRouteActionWeightedTarget `hcl:"weighted_target,block" validate:"min=0"` }
type TcpRouteActionAttributes ¶
type TcpRouteActionAttributes struct {
// contains filtered or unexported fields
}
func (TcpRouteActionAttributes) InternalRef ¶
func (a TcpRouteActionAttributes) InternalRef() (terra.Reference, error)
func (TcpRouteActionAttributes) InternalTokens ¶
func (a TcpRouteActionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TcpRouteActionAttributes) InternalWithRef ¶
func (a TcpRouteActionAttributes) InternalWithRef(ref terra.Reference) TcpRouteActionAttributes
func (TcpRouteActionAttributes) WeightedTarget ¶
func (a TcpRouteActionAttributes) WeightedTarget() terra.SetValue[TcpRouteActionWeightedTargetAttributes]
type TcpRouteActionState ¶
type TcpRouteActionState struct {
WeightedTarget []TcpRouteActionWeightedTargetState `json:"weighted_target"`
}
type TcpRouteActionWeightedTarget ¶
type TcpRouteActionWeightedTarget struct{}
type TcpRouteActionWeightedTargetAttributes ¶
type TcpRouteActionWeightedTargetAttributes struct {
// contains filtered or unexported fields
}
func (TcpRouteActionWeightedTargetAttributes) InternalRef ¶
func (wt TcpRouteActionWeightedTargetAttributes) InternalRef() (terra.Reference, error)
func (TcpRouteActionWeightedTargetAttributes) InternalTokens ¶
func (wt TcpRouteActionWeightedTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TcpRouteActionWeightedTargetAttributes) InternalWithRef ¶
func (wt TcpRouteActionWeightedTargetAttributes) InternalWithRef(ref terra.Reference) TcpRouteActionWeightedTargetAttributes
func (TcpRouteActionWeightedTargetAttributes) Port ¶
func (wt TcpRouteActionWeightedTargetAttributes) Port() terra.NumberValue
func (TcpRouteActionWeightedTargetAttributes) VirtualNode ¶
func (wt TcpRouteActionWeightedTargetAttributes) VirtualNode() terra.StringValue
func (TcpRouteActionWeightedTargetAttributes) Weight ¶
func (wt TcpRouteActionWeightedTargetAttributes) Weight() terra.NumberValue
type TcpRouteAttributes ¶
type TcpRouteAttributes struct {
// contains filtered or unexported fields
}
func (TcpRouteAttributes) Action ¶
func (tr TcpRouteAttributes) Action() terra.ListValue[TcpRouteActionAttributes]
func (TcpRouteAttributes) InternalRef ¶
func (tr TcpRouteAttributes) InternalRef() (terra.Reference, error)
func (TcpRouteAttributes) InternalTokens ¶
func (tr TcpRouteAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TcpRouteAttributes) InternalWithRef ¶
func (tr TcpRouteAttributes) InternalWithRef(ref terra.Reference) TcpRouteAttributes
func (TcpRouteAttributes) Match ¶
func (tr TcpRouteAttributes) Match() terra.ListValue[TcpRouteMatchAttributes]
func (TcpRouteAttributes) Timeout ¶
func (tr TcpRouteAttributes) Timeout() terra.ListValue[TcpRouteTimeoutAttributes]
type TcpRouteMatch ¶
type TcpRouteMatch struct{}
type TcpRouteMatchAttributes ¶
type TcpRouteMatchAttributes struct {
// contains filtered or unexported fields
}
func (TcpRouteMatchAttributes) InternalRef ¶
func (m TcpRouteMatchAttributes) InternalRef() (terra.Reference, error)
func (TcpRouteMatchAttributes) InternalTokens ¶
func (m TcpRouteMatchAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TcpRouteMatchAttributes) InternalWithRef ¶
func (m TcpRouteMatchAttributes) InternalWithRef(ref terra.Reference) TcpRouteMatchAttributes
func (TcpRouteMatchAttributes) Port ¶
func (m TcpRouteMatchAttributes) Port() terra.NumberValue
type TcpRouteMatchState ¶
type TcpRouteMatchState struct {
Port float64 `json:"port"`
}
type TcpRouteState ¶
type TcpRouteState struct { Action []TcpRouteActionState `json:"action"` Match []TcpRouteMatchState `json:"match"` Timeout []TcpRouteTimeoutState `json:"timeout"` }
type TcpRouteTimeout ¶
type TcpRouteTimeout struct { // TcpRouteTimeoutIdle: min=0 Idle []TcpRouteTimeoutIdle `hcl:"idle,block" validate:"min=0"` }
type TcpRouteTimeoutAttributes ¶
type TcpRouteTimeoutAttributes struct {
// contains filtered or unexported fields
}
func (TcpRouteTimeoutAttributes) Idle ¶
func (t TcpRouteTimeoutAttributes) Idle() terra.ListValue[TcpRouteTimeoutIdleAttributes]
func (TcpRouteTimeoutAttributes) InternalRef ¶
func (t TcpRouteTimeoutAttributes) InternalRef() (terra.Reference, error)
func (TcpRouteTimeoutAttributes) InternalTokens ¶
func (t TcpRouteTimeoutAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TcpRouteTimeoutAttributes) InternalWithRef ¶
func (t TcpRouteTimeoutAttributes) InternalWithRef(ref terra.Reference) TcpRouteTimeoutAttributes
type TcpRouteTimeoutIdle ¶
type TcpRouteTimeoutIdle struct{}
type TcpRouteTimeoutIdleAttributes ¶
type TcpRouteTimeoutIdleAttributes struct {
// contains filtered or unexported fields
}
func (TcpRouteTimeoutIdleAttributes) InternalRef ¶
func (i TcpRouteTimeoutIdleAttributes) InternalRef() (terra.Reference, error)
func (TcpRouteTimeoutIdleAttributes) InternalTokens ¶
func (i TcpRouteTimeoutIdleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TcpRouteTimeoutIdleAttributes) InternalWithRef ¶
func (i TcpRouteTimeoutIdleAttributes) InternalWithRef(ref terra.Reference) TcpRouteTimeoutIdleAttributes
func (TcpRouteTimeoutIdleAttributes) Unit ¶
func (i TcpRouteTimeoutIdleAttributes) Unit() terra.StringValue
func (TcpRouteTimeoutIdleAttributes) Value ¶
func (i TcpRouteTimeoutIdleAttributes) Value() terra.NumberValue
type TcpRouteTimeoutState ¶
type TcpRouteTimeoutState struct {
Idle []TcpRouteTimeoutIdleState `json:"idle"`
}
Click to show internal directories.
Click to hide internal directories.