Documentation ¶
Index ¶
- type Args
- type Resource
- func (aar *Resource) Attributes() awsAppmeshRouteAttributes
- func (aar *Resource) Configuration() interface{}
- func (aar *Resource) DependOn() terra.Reference
- func (aar *Resource) Dependencies() terra.Dependencies
- func (aar *Resource) ImportState(state io.Reader) error
- func (aar *Resource) LifecycleManagement() *terra.Lifecycle
- func (aar *Resource) LocalName() string
- func (aar *Resource) State() (*awsAppmeshRouteState, bool)
- func (aar *Resource) StateMust() *awsAppmeshRouteState
- func (aar *Resource) Type() string
- type Spec
- type SpecAttributes
- func (s SpecAttributes) GrpcRoute() terra.ListValue[SpecGrpcRouteAttributes]
- func (s SpecAttributes) Http2Route() terra.ListValue[SpecHttp2RouteAttributes]
- func (s SpecAttributes) HttpRoute() terra.ListValue[SpecHttpRouteAttributes]
- 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[SpecTcpRouteAttributes]
- type SpecGrpcRoute
- type SpecGrpcRoute8B0C9706
- type SpecGrpcRoute8B0C9706Attributes
- func (r SpecGrpcRoute8B0C9706Attributes) End() terra.NumberValue
- func (r SpecGrpcRoute8B0C9706Attributes) InternalRef() (terra.Reference, error)
- func (r SpecGrpcRoute8B0C9706Attributes) InternalTokens() (hclwrite.Tokens, error)
- func (r SpecGrpcRoute8B0C9706Attributes) InternalWithRef(ref terra.Reference) SpecGrpcRoute8B0C9706Attributes
- func (r SpecGrpcRoute8B0C9706Attributes) Start() terra.NumberValue
- type SpecGrpcRoute8B0C9706State
- type SpecGrpcRouteAction
- type SpecGrpcRouteActionAttributes
- func (a SpecGrpcRouteActionAttributes) InternalRef() (terra.Reference, error)
- func (a SpecGrpcRouteActionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a SpecGrpcRouteActionAttributes) InternalWithRef(ref terra.Reference) SpecGrpcRouteActionAttributes
- func (a SpecGrpcRouteActionAttributes) WeightedTarget() terra.SetValue[SpecGrpcRouteActionWeightedTargetAttributes]
- type SpecGrpcRouteActionState
- type SpecGrpcRouteActionWeightedTarget
- type SpecGrpcRouteActionWeightedTargetAttributes
- func (wt SpecGrpcRouteActionWeightedTargetAttributes) InternalRef() (terra.Reference, error)
- func (wt SpecGrpcRouteActionWeightedTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (wt SpecGrpcRouteActionWeightedTargetAttributes) InternalWithRef(ref terra.Reference) SpecGrpcRouteActionWeightedTargetAttributes
- func (wt SpecGrpcRouteActionWeightedTargetAttributes) VirtualNode() terra.StringValue
- func (wt SpecGrpcRouteActionWeightedTargetAttributes) Weight() terra.NumberValue
- type SpecGrpcRouteActionWeightedTargetState
- type SpecGrpcRouteAttributes
- func (gr SpecGrpcRouteAttributes) Action() terra.ListValue[SpecGrpcRouteActionAttributes]
- func (gr SpecGrpcRouteAttributes) InternalRef() (terra.Reference, error)
- func (gr SpecGrpcRouteAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (gr SpecGrpcRouteAttributes) InternalWithRef(ref terra.Reference) SpecGrpcRouteAttributes
- func (gr SpecGrpcRouteAttributes) Match() terra.ListValue[SpecGrpcRouteMatchAttributes]
- func (gr SpecGrpcRouteAttributes) RetryPolicy() terra.ListValue[SpecGrpcRouteRetryPolicyAttributes]
- func (gr SpecGrpcRouteAttributes) Timeout() terra.ListValue[SpecGrpcRouteTimeoutAttributes]
- type SpecGrpcRouteD86B2967
- type SpecGrpcRouteD86B2967Attributes
- func (m SpecGrpcRouteD86B2967Attributes) Exact() terra.StringValue
- func (m SpecGrpcRouteD86B2967Attributes) InternalRef() (terra.Reference, error)
- func (m SpecGrpcRouteD86B2967Attributes) InternalTokens() (hclwrite.Tokens, error)
- func (m SpecGrpcRouteD86B2967Attributes) InternalWithRef(ref terra.Reference) SpecGrpcRouteD86B2967Attributes
- func (m SpecGrpcRouteD86B2967Attributes) Prefix() terra.StringValue
- func (m SpecGrpcRouteD86B2967Attributes) Range() terra.ListValue[SpecGrpcRoute8B0C9706Attributes]
- func (m SpecGrpcRouteD86B2967Attributes) Regex() terra.StringValue
- func (m SpecGrpcRouteD86B2967Attributes) Suffix() terra.StringValue
- type SpecGrpcRouteD86B2967State
- type SpecGrpcRouteMatch
- type SpecGrpcRouteMatchAttributes
- func (m SpecGrpcRouteMatchAttributes) InternalRef() (terra.Reference, error)
- func (m SpecGrpcRouteMatchAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (m SpecGrpcRouteMatchAttributes) InternalWithRef(ref terra.Reference) SpecGrpcRouteMatchAttributes
- func (m SpecGrpcRouteMatchAttributes) Metadata() terra.SetValue[SpecGrpcRouteMatchMetadataAttributes]
- func (m SpecGrpcRouteMatchAttributes) MethodName() terra.StringValue
- func (m SpecGrpcRouteMatchAttributes) Prefix() terra.StringValue
- func (m SpecGrpcRouteMatchAttributes) ServiceName() terra.StringValue
- type SpecGrpcRouteMatchMetadata
- type SpecGrpcRouteMatchMetadataAttributes
- func (m SpecGrpcRouteMatchMetadataAttributes) InternalRef() (terra.Reference, error)
- func (m SpecGrpcRouteMatchMetadataAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (m SpecGrpcRouteMatchMetadataAttributes) InternalWithRef(ref terra.Reference) SpecGrpcRouteMatchMetadataAttributes
- func (m SpecGrpcRouteMatchMetadataAttributes) Invert() terra.BoolValue
- func (m SpecGrpcRouteMatchMetadataAttributes) Match() terra.ListValue[SpecGrpcRouteD86B2967Attributes]
- func (m SpecGrpcRouteMatchMetadataAttributes) Name() terra.StringValue
- type SpecGrpcRouteMatchMetadataState
- type SpecGrpcRouteMatchState
- type SpecGrpcRouteRetryPolicy
- type SpecGrpcRouteRetryPolicyAttributes
- func (rp SpecGrpcRouteRetryPolicyAttributes) GrpcRetryEvents() terra.SetValue[terra.StringValue]
- func (rp SpecGrpcRouteRetryPolicyAttributes) HttpRetryEvents() terra.SetValue[terra.StringValue]
- func (rp SpecGrpcRouteRetryPolicyAttributes) InternalRef() (terra.Reference, error)
- func (rp SpecGrpcRouteRetryPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rp SpecGrpcRouteRetryPolicyAttributes) InternalWithRef(ref terra.Reference) SpecGrpcRouteRetryPolicyAttributes
- func (rp SpecGrpcRouteRetryPolicyAttributes) MaxRetries() terra.NumberValue
- func (rp SpecGrpcRouteRetryPolicyAttributes) PerRetryTimeout() terra.ListValue[SpecGrpcRouteRetryPolicyPerRetryTimeoutAttributes]
- func (rp SpecGrpcRouteRetryPolicyAttributes) TcpRetryEvents() terra.SetValue[terra.StringValue]
- type SpecGrpcRouteRetryPolicyPerRetryTimeout
- type SpecGrpcRouteRetryPolicyPerRetryTimeoutAttributes
- func (prt SpecGrpcRouteRetryPolicyPerRetryTimeoutAttributes) InternalRef() (terra.Reference, error)
- func (prt SpecGrpcRouteRetryPolicyPerRetryTimeoutAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (prt SpecGrpcRouteRetryPolicyPerRetryTimeoutAttributes) InternalWithRef(ref terra.Reference) SpecGrpcRouteRetryPolicyPerRetryTimeoutAttributes
- func (prt SpecGrpcRouteRetryPolicyPerRetryTimeoutAttributes) Unit() terra.StringValue
- func (prt SpecGrpcRouteRetryPolicyPerRetryTimeoutAttributes) Value() terra.NumberValue
- type SpecGrpcRouteRetryPolicyPerRetryTimeoutState
- type SpecGrpcRouteRetryPolicyState
- type SpecGrpcRouteState
- type SpecGrpcRouteTimeout
- type SpecGrpcRouteTimeoutAttributes
- func (t SpecGrpcRouteTimeoutAttributes) Idle() terra.ListValue[SpecGrpcRouteTimeoutIdleAttributes]
- func (t SpecGrpcRouteTimeoutAttributes) InternalRef() (terra.Reference, error)
- func (t SpecGrpcRouteTimeoutAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t SpecGrpcRouteTimeoutAttributes) InternalWithRef(ref terra.Reference) SpecGrpcRouteTimeoutAttributes
- func (t SpecGrpcRouteTimeoutAttributes) PerRequest() terra.ListValue[SpecGrpcRouteTimeoutPerRequestAttributes]
- type SpecGrpcRouteTimeoutIdle
- type SpecGrpcRouteTimeoutIdleAttributes
- func (i SpecGrpcRouteTimeoutIdleAttributes) InternalRef() (terra.Reference, error)
- func (i SpecGrpcRouteTimeoutIdleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (i SpecGrpcRouteTimeoutIdleAttributes) InternalWithRef(ref terra.Reference) SpecGrpcRouteTimeoutIdleAttributes
- func (i SpecGrpcRouteTimeoutIdleAttributes) Unit() terra.StringValue
- func (i SpecGrpcRouteTimeoutIdleAttributes) Value() terra.NumberValue
- type SpecGrpcRouteTimeoutIdleState
- type SpecGrpcRouteTimeoutPerRequest
- type SpecGrpcRouteTimeoutPerRequestAttributes
- func (pr SpecGrpcRouteTimeoutPerRequestAttributes) InternalRef() (terra.Reference, error)
- func (pr SpecGrpcRouteTimeoutPerRequestAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pr SpecGrpcRouteTimeoutPerRequestAttributes) InternalWithRef(ref terra.Reference) SpecGrpcRouteTimeoutPerRequestAttributes
- func (pr SpecGrpcRouteTimeoutPerRequestAttributes) Unit() terra.StringValue
- func (pr SpecGrpcRouteTimeoutPerRequestAttributes) Value() terra.NumberValue
- type SpecGrpcRouteTimeoutPerRequestState
- type SpecGrpcRouteTimeoutState
- type SpecHttp2Route
- type SpecHttp2Route30Dd3523
- type SpecHttp2Route30Dd3523Attributes
- func (m SpecHttp2Route30Dd3523Attributes) Exact() terra.StringValue
- func (m SpecHttp2Route30Dd3523Attributes) InternalRef() (terra.Reference, error)
- func (m SpecHttp2Route30Dd3523Attributes) InternalTokens() (hclwrite.Tokens, error)
- func (m SpecHttp2Route30Dd3523Attributes) InternalWithRef(ref terra.Reference) SpecHttp2Route30Dd3523Attributes
- func (m SpecHttp2Route30Dd3523Attributes) Prefix() terra.StringValue
- func (m SpecHttp2Route30Dd3523Attributes) Range() terra.ListValue[SpecHttp2Route31605981Attributes]
- func (m SpecHttp2Route30Dd3523Attributes) Regex() terra.StringValue
- func (m SpecHttp2Route30Dd3523Attributes) Suffix() terra.StringValue
- type SpecHttp2Route30Dd3523State
- type SpecHttp2Route31605981
- type SpecHttp2Route31605981Attributes
- func (r SpecHttp2Route31605981Attributes) End() terra.NumberValue
- func (r SpecHttp2Route31605981Attributes) InternalRef() (terra.Reference, error)
- func (r SpecHttp2Route31605981Attributes) InternalTokens() (hclwrite.Tokens, error)
- func (r SpecHttp2Route31605981Attributes) InternalWithRef(ref terra.Reference) SpecHttp2Route31605981Attributes
- func (r SpecHttp2Route31605981Attributes) Start() terra.NumberValue
- type SpecHttp2Route31605981State
- type SpecHttp2RouteAction
- type SpecHttp2RouteActionAttributes
- func (a SpecHttp2RouteActionAttributes) InternalRef() (terra.Reference, error)
- func (a SpecHttp2RouteActionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a SpecHttp2RouteActionAttributes) InternalWithRef(ref terra.Reference) SpecHttp2RouteActionAttributes
- func (a SpecHttp2RouteActionAttributes) WeightedTarget() terra.SetValue[SpecHttp2RouteActionWeightedTargetAttributes]
- type SpecHttp2RouteActionState
- type SpecHttp2RouteActionWeightedTarget
- type SpecHttp2RouteActionWeightedTargetAttributes
- func (wt SpecHttp2RouteActionWeightedTargetAttributes) InternalRef() (terra.Reference, error)
- func (wt SpecHttp2RouteActionWeightedTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (wt SpecHttp2RouteActionWeightedTargetAttributes) InternalWithRef(ref terra.Reference) SpecHttp2RouteActionWeightedTargetAttributes
- func (wt SpecHttp2RouteActionWeightedTargetAttributes) VirtualNode() terra.StringValue
- func (wt SpecHttp2RouteActionWeightedTargetAttributes) Weight() terra.NumberValue
- type SpecHttp2RouteActionWeightedTargetState
- type SpecHttp2RouteAttributes
- func (hr SpecHttp2RouteAttributes) Action() terra.ListValue[SpecHttp2RouteActionAttributes]
- func (hr SpecHttp2RouteAttributes) InternalRef() (terra.Reference, error)
- func (hr SpecHttp2RouteAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (hr SpecHttp2RouteAttributes) InternalWithRef(ref terra.Reference) SpecHttp2RouteAttributes
- func (hr SpecHttp2RouteAttributes) Match() terra.ListValue[SpecHttp2RouteMatchAttributes]
- func (hr SpecHttp2RouteAttributes) RetryPolicy() terra.ListValue[SpecHttp2RouteRetryPolicyAttributes]
- func (hr SpecHttp2RouteAttributes) Timeout() terra.ListValue[SpecHttp2RouteTimeoutAttributes]
- type SpecHttp2RouteMatch
- type SpecHttp2RouteMatchAttributes
- func (m SpecHttp2RouteMatchAttributes) Header() terra.SetValue[SpecHttp2RouteMatchHeaderAttributes]
- func (m SpecHttp2RouteMatchAttributes) InternalRef() (terra.Reference, error)
- func (m SpecHttp2RouteMatchAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (m SpecHttp2RouteMatchAttributes) InternalWithRef(ref terra.Reference) SpecHttp2RouteMatchAttributes
- func (m SpecHttp2RouteMatchAttributes) Method() terra.StringValue
- func (m SpecHttp2RouteMatchAttributes) Prefix() terra.StringValue
- func (m SpecHttp2RouteMatchAttributes) Scheme() terra.StringValue
- type SpecHttp2RouteMatchHeader
- type SpecHttp2RouteMatchHeaderAttributes
- func (h SpecHttp2RouteMatchHeaderAttributes) InternalRef() (terra.Reference, error)
- func (h SpecHttp2RouteMatchHeaderAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (h SpecHttp2RouteMatchHeaderAttributes) InternalWithRef(ref terra.Reference) SpecHttp2RouteMatchHeaderAttributes
- func (h SpecHttp2RouteMatchHeaderAttributes) Invert() terra.BoolValue
- func (h SpecHttp2RouteMatchHeaderAttributes) Match() terra.ListValue[SpecHttp2Route30Dd3523Attributes]
- func (h SpecHttp2RouteMatchHeaderAttributes) Name() terra.StringValue
- type SpecHttp2RouteMatchHeaderState
- type SpecHttp2RouteMatchState
- type SpecHttp2RouteRetryPolicy
- type SpecHttp2RouteRetryPolicyAttributes
- func (rp SpecHttp2RouteRetryPolicyAttributes) HttpRetryEvents() terra.SetValue[terra.StringValue]
- func (rp SpecHttp2RouteRetryPolicyAttributes) InternalRef() (terra.Reference, error)
- func (rp SpecHttp2RouteRetryPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rp SpecHttp2RouteRetryPolicyAttributes) InternalWithRef(ref terra.Reference) SpecHttp2RouteRetryPolicyAttributes
- func (rp SpecHttp2RouteRetryPolicyAttributes) MaxRetries() terra.NumberValue
- func (rp SpecHttp2RouteRetryPolicyAttributes) PerRetryTimeout() terra.ListValue[SpecHttp2RouteRetryPolicyPerRetryTimeoutAttributes]
- func (rp SpecHttp2RouteRetryPolicyAttributes) TcpRetryEvents() terra.SetValue[terra.StringValue]
- type SpecHttp2RouteRetryPolicyPerRetryTimeout
- type SpecHttp2RouteRetryPolicyPerRetryTimeoutAttributes
- func (prt SpecHttp2RouteRetryPolicyPerRetryTimeoutAttributes) InternalRef() (terra.Reference, error)
- func (prt SpecHttp2RouteRetryPolicyPerRetryTimeoutAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (prt SpecHttp2RouteRetryPolicyPerRetryTimeoutAttributes) InternalWithRef(ref terra.Reference) SpecHttp2RouteRetryPolicyPerRetryTimeoutAttributes
- func (prt SpecHttp2RouteRetryPolicyPerRetryTimeoutAttributes) Unit() terra.StringValue
- func (prt SpecHttp2RouteRetryPolicyPerRetryTimeoutAttributes) Value() terra.NumberValue
- type SpecHttp2RouteRetryPolicyPerRetryTimeoutState
- type SpecHttp2RouteRetryPolicyState
- type SpecHttp2RouteState
- type SpecHttp2RouteTimeout
- type SpecHttp2RouteTimeoutAttributes
- func (t SpecHttp2RouteTimeoutAttributes) Idle() terra.ListValue[SpecHttp2RouteTimeoutIdleAttributes]
- func (t SpecHttp2RouteTimeoutAttributes) InternalRef() (terra.Reference, error)
- func (t SpecHttp2RouteTimeoutAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t SpecHttp2RouteTimeoutAttributes) InternalWithRef(ref terra.Reference) SpecHttp2RouteTimeoutAttributes
- func (t SpecHttp2RouteTimeoutAttributes) PerRequest() terra.ListValue[SpecHttp2RouteTimeoutPerRequestAttributes]
- type SpecHttp2RouteTimeoutIdle
- type SpecHttp2RouteTimeoutIdleAttributes
- func (i SpecHttp2RouteTimeoutIdleAttributes) InternalRef() (terra.Reference, error)
- func (i SpecHttp2RouteTimeoutIdleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (i SpecHttp2RouteTimeoutIdleAttributes) InternalWithRef(ref terra.Reference) SpecHttp2RouteTimeoutIdleAttributes
- func (i SpecHttp2RouteTimeoutIdleAttributes) Unit() terra.StringValue
- func (i SpecHttp2RouteTimeoutIdleAttributes) Value() terra.NumberValue
- type SpecHttp2RouteTimeoutIdleState
- type SpecHttp2RouteTimeoutPerRequest
- type SpecHttp2RouteTimeoutPerRequestAttributes
- func (pr SpecHttp2RouteTimeoutPerRequestAttributes) InternalRef() (terra.Reference, error)
- func (pr SpecHttp2RouteTimeoutPerRequestAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pr SpecHttp2RouteTimeoutPerRequestAttributes) InternalWithRef(ref terra.Reference) SpecHttp2RouteTimeoutPerRequestAttributes
- func (pr SpecHttp2RouteTimeoutPerRequestAttributes) Unit() terra.StringValue
- func (pr SpecHttp2RouteTimeoutPerRequestAttributes) Value() terra.NumberValue
- type SpecHttp2RouteTimeoutPerRequestState
- type SpecHttp2RouteTimeoutState
- type SpecHttpRoute
- type SpecHttpRoute30Dd3523
- type SpecHttpRoute30Dd3523Attributes
- func (m SpecHttpRoute30Dd3523Attributes) Exact() terra.StringValue
- func (m SpecHttpRoute30Dd3523Attributes) InternalRef() (terra.Reference, error)
- func (m SpecHttpRoute30Dd3523Attributes) InternalTokens() (hclwrite.Tokens, error)
- func (m SpecHttpRoute30Dd3523Attributes) InternalWithRef(ref terra.Reference) SpecHttpRoute30Dd3523Attributes
- func (m SpecHttpRoute30Dd3523Attributes) Prefix() terra.StringValue
- func (m SpecHttpRoute30Dd3523Attributes) Range() terra.ListValue[SpecHttpRoute31605981Attributes]
- func (m SpecHttpRoute30Dd3523Attributes) Regex() terra.StringValue
- func (m SpecHttpRoute30Dd3523Attributes) Suffix() terra.StringValue
- type SpecHttpRoute30Dd3523State
- type SpecHttpRoute31605981
- type SpecHttpRoute31605981Attributes
- func (r SpecHttpRoute31605981Attributes) End() terra.NumberValue
- func (r SpecHttpRoute31605981Attributes) InternalRef() (terra.Reference, error)
- func (r SpecHttpRoute31605981Attributes) InternalTokens() (hclwrite.Tokens, error)
- func (r SpecHttpRoute31605981Attributes) InternalWithRef(ref terra.Reference) SpecHttpRoute31605981Attributes
- func (r SpecHttpRoute31605981Attributes) Start() terra.NumberValue
- type SpecHttpRoute31605981State
- type SpecHttpRouteAction
- type SpecHttpRouteActionAttributes
- func (a SpecHttpRouteActionAttributes) InternalRef() (terra.Reference, error)
- func (a SpecHttpRouteActionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a SpecHttpRouteActionAttributes) InternalWithRef(ref terra.Reference) SpecHttpRouteActionAttributes
- func (a SpecHttpRouteActionAttributes) WeightedTarget() terra.SetValue[SpecHttpRouteActionWeightedTargetAttributes]
- type SpecHttpRouteActionState
- type SpecHttpRouteActionWeightedTarget
- type SpecHttpRouteActionWeightedTargetAttributes
- func (wt SpecHttpRouteActionWeightedTargetAttributes) InternalRef() (terra.Reference, error)
- func (wt SpecHttpRouteActionWeightedTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (wt SpecHttpRouteActionWeightedTargetAttributes) InternalWithRef(ref terra.Reference) SpecHttpRouteActionWeightedTargetAttributes
- func (wt SpecHttpRouteActionWeightedTargetAttributes) VirtualNode() terra.StringValue
- func (wt SpecHttpRouteActionWeightedTargetAttributes) Weight() terra.NumberValue
- type SpecHttpRouteActionWeightedTargetState
- type SpecHttpRouteAttributes
- func (hr SpecHttpRouteAttributes) Action() terra.ListValue[SpecHttpRouteActionAttributes]
- func (hr SpecHttpRouteAttributes) InternalRef() (terra.Reference, error)
- func (hr SpecHttpRouteAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (hr SpecHttpRouteAttributes) InternalWithRef(ref terra.Reference) SpecHttpRouteAttributes
- func (hr SpecHttpRouteAttributes) Match() terra.ListValue[SpecHttpRouteMatchAttributes]
- func (hr SpecHttpRouteAttributes) RetryPolicy() terra.ListValue[SpecHttpRouteRetryPolicyAttributes]
- func (hr SpecHttpRouteAttributes) Timeout() terra.ListValue[SpecHttpRouteTimeoutAttributes]
- type SpecHttpRouteMatch
- type SpecHttpRouteMatchAttributes
- func (m SpecHttpRouteMatchAttributes) Header() terra.SetValue[SpecHttpRouteMatchHeaderAttributes]
- func (m SpecHttpRouteMatchAttributes) InternalRef() (terra.Reference, error)
- func (m SpecHttpRouteMatchAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (m SpecHttpRouteMatchAttributes) InternalWithRef(ref terra.Reference) SpecHttpRouteMatchAttributes
- func (m SpecHttpRouteMatchAttributes) Method() terra.StringValue
- func (m SpecHttpRouteMatchAttributes) Prefix() terra.StringValue
- func (m SpecHttpRouteMatchAttributes) Scheme() terra.StringValue
- type SpecHttpRouteMatchHeader
- type SpecHttpRouteMatchHeaderAttributes
- func (h SpecHttpRouteMatchHeaderAttributes) InternalRef() (terra.Reference, error)
- func (h SpecHttpRouteMatchHeaderAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (h SpecHttpRouteMatchHeaderAttributes) InternalWithRef(ref terra.Reference) SpecHttpRouteMatchHeaderAttributes
- func (h SpecHttpRouteMatchHeaderAttributes) Invert() terra.BoolValue
- func (h SpecHttpRouteMatchHeaderAttributes) Match() terra.ListValue[SpecHttpRoute30Dd3523Attributes]
- func (h SpecHttpRouteMatchHeaderAttributes) Name() terra.StringValue
- type SpecHttpRouteMatchHeaderState
- type SpecHttpRouteMatchState
- type SpecHttpRouteRetryPolicy
- type SpecHttpRouteRetryPolicyAttributes
- func (rp SpecHttpRouteRetryPolicyAttributes) HttpRetryEvents() terra.SetValue[terra.StringValue]
- func (rp SpecHttpRouteRetryPolicyAttributes) InternalRef() (terra.Reference, error)
- func (rp SpecHttpRouteRetryPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rp SpecHttpRouteRetryPolicyAttributes) InternalWithRef(ref terra.Reference) SpecHttpRouteRetryPolicyAttributes
- func (rp SpecHttpRouteRetryPolicyAttributes) MaxRetries() terra.NumberValue
- func (rp SpecHttpRouteRetryPolicyAttributes) PerRetryTimeout() terra.ListValue[SpecHttpRouteRetryPolicyPerRetryTimeoutAttributes]
- func (rp SpecHttpRouteRetryPolicyAttributes) TcpRetryEvents() terra.SetValue[terra.StringValue]
- type SpecHttpRouteRetryPolicyPerRetryTimeout
- type SpecHttpRouteRetryPolicyPerRetryTimeoutAttributes
- func (prt SpecHttpRouteRetryPolicyPerRetryTimeoutAttributes) InternalRef() (terra.Reference, error)
- func (prt SpecHttpRouteRetryPolicyPerRetryTimeoutAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (prt SpecHttpRouteRetryPolicyPerRetryTimeoutAttributes) InternalWithRef(ref terra.Reference) SpecHttpRouteRetryPolicyPerRetryTimeoutAttributes
- func (prt SpecHttpRouteRetryPolicyPerRetryTimeoutAttributes) Unit() terra.StringValue
- func (prt SpecHttpRouteRetryPolicyPerRetryTimeoutAttributes) Value() terra.NumberValue
- type SpecHttpRouteRetryPolicyPerRetryTimeoutState
- type SpecHttpRouteRetryPolicyState
- type SpecHttpRouteState
- type SpecHttpRouteTimeout
- type SpecHttpRouteTimeoutAttributes
- func (t SpecHttpRouteTimeoutAttributes) Idle() terra.ListValue[SpecHttpRouteTimeoutIdleAttributes]
- func (t SpecHttpRouteTimeoutAttributes) InternalRef() (terra.Reference, error)
- func (t SpecHttpRouteTimeoutAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t SpecHttpRouteTimeoutAttributes) InternalWithRef(ref terra.Reference) SpecHttpRouteTimeoutAttributes
- func (t SpecHttpRouteTimeoutAttributes) PerRequest() terra.ListValue[SpecHttpRouteTimeoutPerRequestAttributes]
- type SpecHttpRouteTimeoutIdle
- type SpecHttpRouteTimeoutIdleAttributes
- func (i SpecHttpRouteTimeoutIdleAttributes) InternalRef() (terra.Reference, error)
- func (i SpecHttpRouteTimeoutIdleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (i SpecHttpRouteTimeoutIdleAttributes) InternalWithRef(ref terra.Reference) SpecHttpRouteTimeoutIdleAttributes
- func (i SpecHttpRouteTimeoutIdleAttributes) Unit() terra.StringValue
- func (i SpecHttpRouteTimeoutIdleAttributes) Value() terra.NumberValue
- type SpecHttpRouteTimeoutIdleState
- type SpecHttpRouteTimeoutPerRequest
- type SpecHttpRouteTimeoutPerRequestAttributes
- func (pr SpecHttpRouteTimeoutPerRequestAttributes) InternalRef() (terra.Reference, error)
- func (pr SpecHttpRouteTimeoutPerRequestAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pr SpecHttpRouteTimeoutPerRequestAttributes) InternalWithRef(ref terra.Reference) SpecHttpRouteTimeoutPerRequestAttributes
- func (pr SpecHttpRouteTimeoutPerRequestAttributes) Unit() terra.StringValue
- func (pr SpecHttpRouteTimeoutPerRequestAttributes) Value() terra.NumberValue
- type SpecHttpRouteTimeoutPerRequestState
- type SpecHttpRouteTimeoutState
- type SpecState
- type SpecTcpRoute
- type SpecTcpRouteAction
- type SpecTcpRouteActionAttributes
- func (a SpecTcpRouteActionAttributes) InternalRef() (terra.Reference, error)
- func (a SpecTcpRouteActionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a SpecTcpRouteActionAttributes) InternalWithRef(ref terra.Reference) SpecTcpRouteActionAttributes
- func (a SpecTcpRouteActionAttributes) WeightedTarget() terra.SetValue[SpecTcpRouteActionWeightedTargetAttributes]
- type SpecTcpRouteActionState
- type SpecTcpRouteActionWeightedTarget
- type SpecTcpRouteActionWeightedTargetAttributes
- func (wt SpecTcpRouteActionWeightedTargetAttributes) InternalRef() (terra.Reference, error)
- func (wt SpecTcpRouteActionWeightedTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (wt SpecTcpRouteActionWeightedTargetAttributes) InternalWithRef(ref terra.Reference) SpecTcpRouteActionWeightedTargetAttributes
- func (wt SpecTcpRouteActionWeightedTargetAttributes) VirtualNode() terra.StringValue
- func (wt SpecTcpRouteActionWeightedTargetAttributes) Weight() terra.NumberValue
- type SpecTcpRouteActionWeightedTargetState
- type SpecTcpRouteAttributes
- func (tr SpecTcpRouteAttributes) Action() terra.ListValue[SpecTcpRouteActionAttributes]
- func (tr SpecTcpRouteAttributes) InternalRef() (terra.Reference, error)
- func (tr SpecTcpRouteAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tr SpecTcpRouteAttributes) InternalWithRef(ref terra.Reference) SpecTcpRouteAttributes
- func (tr SpecTcpRouteAttributes) Timeout() terra.ListValue[SpecTcpRouteTimeoutAttributes]
- type SpecTcpRouteState
- type SpecTcpRouteTimeout
- type SpecTcpRouteTimeoutAttributes
- func (t SpecTcpRouteTimeoutAttributes) Idle() terra.ListValue[SpecTcpRouteTimeoutIdleAttributes]
- func (t SpecTcpRouteTimeoutAttributes) InternalRef() (terra.Reference, error)
- func (t SpecTcpRouteTimeoutAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t SpecTcpRouteTimeoutAttributes) InternalWithRef(ref terra.Reference) SpecTcpRouteTimeoutAttributes
- type SpecTcpRouteTimeoutIdle
- type SpecTcpRouteTimeoutIdleAttributes
- func (i SpecTcpRouteTimeoutIdleAttributes) InternalRef() (terra.Reference, error)
- func (i SpecTcpRouteTimeoutIdleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (i SpecTcpRouteTimeoutIdleAttributes) InternalWithRef(ref terra.Reference) SpecTcpRouteTimeoutIdleAttributes
- func (i SpecTcpRouteTimeoutIdleAttributes) Unit() terra.StringValue
- func (i SpecTcpRouteTimeoutIdleAttributes) Value() terra.NumberValue
- type SpecTcpRouteTimeoutIdleState
- type SpecTcpRouteTimeoutState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // MeshName: string, required MeshName terra.StringValue `hcl:"mesh_name,attr" validate:"required"` // MeshOwner: string, optional MeshOwner terra.StringValue `hcl:"mesh_owner,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // TagsAll: map of string, optional TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"` // VirtualRouterName: string, required VirtualRouterName terra.StringValue `hcl:"virtual_router_name,attr" validate:"required"` // Spec: required Spec *Spec `hcl:"spec,block" validate:"required"` }
Args contains the configurations for aws_appmesh_route.
type Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource aws_appmesh_route.
func (*Resource) Attributes ¶
func (aar *Resource) Attributes() awsAppmeshRouteAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (aar *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (aar *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
type Spec ¶
type Spec struct { // Priority: number, optional Priority terra.NumberValue `hcl:"priority,attr"` // SpecGrpcRoute: optional GrpcRoute *SpecGrpcRoute `hcl:"grpc_route,block"` // SpecHttp2Route: optional Http2Route *SpecHttp2Route `hcl:"http2_route,block"` // SpecHttpRoute: optional HttpRoute *SpecHttpRoute `hcl:"http_route,block"` // SpecTcpRoute: optional TcpRoute *SpecTcpRoute `hcl:"tcp_route,block"` }
type SpecAttributes ¶
type SpecAttributes struct {
// contains filtered or unexported fields
}
func (SpecAttributes) GrpcRoute ¶
func (s SpecAttributes) GrpcRoute() terra.ListValue[SpecGrpcRouteAttributes]
func (SpecAttributes) Http2Route ¶
func (s SpecAttributes) Http2Route() terra.ListValue[SpecHttp2RouteAttributes]
func (SpecAttributes) HttpRoute ¶
func (s SpecAttributes) HttpRoute() terra.ListValue[SpecHttpRouteAttributes]
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[SpecTcpRouteAttributes]
type SpecGrpcRoute ¶
type SpecGrpcRoute struct { // SpecGrpcRouteAction: required Action *SpecGrpcRouteAction `hcl:"action,block" validate:"required"` // SpecGrpcRouteMatch: optional Match *SpecGrpcRouteMatch `hcl:"match,block"` // SpecGrpcRouteRetryPolicy: optional RetryPolicy *SpecGrpcRouteRetryPolicy `hcl:"retry_policy,block"` // SpecGrpcRouteTimeout: optional Timeout *SpecGrpcRouteTimeout `hcl:"timeout,block"` }
type SpecGrpcRoute8B0C9706 ¶
type SpecGrpcRoute8B0C9706 struct { // End: number, required End terra.NumberValue `hcl:"end,attr" validate:"required"` // Start: number, required Start terra.NumberValue `hcl:"start,attr" validate:"required"` }
type SpecGrpcRoute8B0C9706Attributes ¶
type SpecGrpcRoute8B0C9706Attributes struct {
// contains filtered or unexported fields
}
func (SpecGrpcRoute8B0C9706Attributes) End ¶
func (r SpecGrpcRoute8B0C9706Attributes) End() terra.NumberValue
func (SpecGrpcRoute8B0C9706Attributes) InternalRef ¶
func (r SpecGrpcRoute8B0C9706Attributes) InternalRef() (terra.Reference, error)
func (SpecGrpcRoute8B0C9706Attributes) InternalTokens ¶
func (r SpecGrpcRoute8B0C9706Attributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecGrpcRoute8B0C9706Attributes) InternalWithRef ¶
func (r SpecGrpcRoute8B0C9706Attributes) InternalWithRef(ref terra.Reference) SpecGrpcRoute8B0C9706Attributes
func (SpecGrpcRoute8B0C9706Attributes) Start ¶
func (r SpecGrpcRoute8B0C9706Attributes) Start() terra.NumberValue
type SpecGrpcRouteAction ¶
type SpecGrpcRouteAction struct { // SpecGrpcRouteActionWeightedTarget: min=1,max=10 WeightedTarget []SpecGrpcRouteActionWeightedTarget `hcl:"weighted_target,block" validate:"min=1,max=10"` }
type SpecGrpcRouteActionAttributes ¶
type SpecGrpcRouteActionAttributes struct {
// contains filtered or unexported fields
}
func (SpecGrpcRouteActionAttributes) InternalRef ¶
func (a SpecGrpcRouteActionAttributes) InternalRef() (terra.Reference, error)
func (SpecGrpcRouteActionAttributes) InternalTokens ¶
func (a SpecGrpcRouteActionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecGrpcRouteActionAttributes) InternalWithRef ¶
func (a SpecGrpcRouteActionAttributes) InternalWithRef(ref terra.Reference) SpecGrpcRouteActionAttributes
func (SpecGrpcRouteActionAttributes) WeightedTarget ¶
func (a SpecGrpcRouteActionAttributes) WeightedTarget() terra.SetValue[SpecGrpcRouteActionWeightedTargetAttributes]
type SpecGrpcRouteActionState ¶
type SpecGrpcRouteActionState struct {
WeightedTarget []SpecGrpcRouteActionWeightedTargetState `json:"weighted_target"`
}
type SpecGrpcRouteActionWeightedTarget ¶
type SpecGrpcRouteActionWeightedTarget struct { // VirtualNode: string, required VirtualNode terra.StringValue `hcl:"virtual_node,attr" validate:"required"` // Weight: number, required Weight terra.NumberValue `hcl:"weight,attr" validate:"required"` }
type SpecGrpcRouteActionWeightedTargetAttributes ¶
type SpecGrpcRouteActionWeightedTargetAttributes struct {
// contains filtered or unexported fields
}
func (SpecGrpcRouteActionWeightedTargetAttributes) InternalRef ¶
func (wt SpecGrpcRouteActionWeightedTargetAttributes) InternalRef() (terra.Reference, error)
func (SpecGrpcRouteActionWeightedTargetAttributes) InternalTokens ¶
func (wt SpecGrpcRouteActionWeightedTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecGrpcRouteActionWeightedTargetAttributes) InternalWithRef ¶
func (wt SpecGrpcRouteActionWeightedTargetAttributes) InternalWithRef(ref terra.Reference) SpecGrpcRouteActionWeightedTargetAttributes
func (SpecGrpcRouteActionWeightedTargetAttributes) VirtualNode ¶
func (wt SpecGrpcRouteActionWeightedTargetAttributes) VirtualNode() terra.StringValue
func (SpecGrpcRouteActionWeightedTargetAttributes) Weight ¶
func (wt SpecGrpcRouteActionWeightedTargetAttributes) Weight() terra.NumberValue
type SpecGrpcRouteAttributes ¶
type SpecGrpcRouteAttributes struct {
// contains filtered or unexported fields
}
func (SpecGrpcRouteAttributes) Action ¶
func (gr SpecGrpcRouteAttributes) Action() terra.ListValue[SpecGrpcRouteActionAttributes]
func (SpecGrpcRouteAttributes) InternalRef ¶
func (gr SpecGrpcRouteAttributes) InternalRef() (terra.Reference, error)
func (SpecGrpcRouteAttributes) InternalTokens ¶
func (gr SpecGrpcRouteAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecGrpcRouteAttributes) InternalWithRef ¶
func (gr SpecGrpcRouteAttributes) InternalWithRef(ref terra.Reference) SpecGrpcRouteAttributes
func (SpecGrpcRouteAttributes) Match ¶
func (gr SpecGrpcRouteAttributes) Match() terra.ListValue[SpecGrpcRouteMatchAttributes]
func (SpecGrpcRouteAttributes) RetryPolicy ¶
func (gr SpecGrpcRouteAttributes) RetryPolicy() terra.ListValue[SpecGrpcRouteRetryPolicyAttributes]
func (SpecGrpcRouteAttributes) Timeout ¶
func (gr SpecGrpcRouteAttributes) Timeout() terra.ListValue[SpecGrpcRouteTimeoutAttributes]
type SpecGrpcRouteD86B2967 ¶
type SpecGrpcRouteD86B2967 struct { // Exact: string, optional Exact terra.StringValue `hcl:"exact,attr"` // Prefix: string, optional Prefix terra.StringValue `hcl:"prefix,attr"` // Regex: string, optional Regex terra.StringValue `hcl:"regex,attr"` // Suffix: string, optional Suffix terra.StringValue `hcl:"suffix,attr"` // SpecGrpcRoute8B0C9706: optional Range *SpecGrpcRoute8B0C9706 `hcl:"range,block"` }
type SpecGrpcRouteD86B2967Attributes ¶
type SpecGrpcRouteD86B2967Attributes struct {
// contains filtered or unexported fields
}
func (SpecGrpcRouteD86B2967Attributes) Exact ¶
func (m SpecGrpcRouteD86B2967Attributes) Exact() terra.StringValue
func (SpecGrpcRouteD86B2967Attributes) InternalRef ¶
func (m SpecGrpcRouteD86B2967Attributes) InternalRef() (terra.Reference, error)
func (SpecGrpcRouteD86B2967Attributes) InternalTokens ¶
func (m SpecGrpcRouteD86B2967Attributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecGrpcRouteD86B2967Attributes) InternalWithRef ¶
func (m SpecGrpcRouteD86B2967Attributes) InternalWithRef(ref terra.Reference) SpecGrpcRouteD86B2967Attributes
func (SpecGrpcRouteD86B2967Attributes) Prefix ¶
func (m SpecGrpcRouteD86B2967Attributes) Prefix() terra.StringValue
func (SpecGrpcRouteD86B2967Attributes) Range ¶
func (m SpecGrpcRouteD86B2967Attributes) Range() terra.ListValue[SpecGrpcRoute8B0C9706Attributes]
func (SpecGrpcRouteD86B2967Attributes) Regex ¶
func (m SpecGrpcRouteD86B2967Attributes) Regex() terra.StringValue
func (SpecGrpcRouteD86B2967Attributes) Suffix ¶
func (m SpecGrpcRouteD86B2967Attributes) Suffix() terra.StringValue
type SpecGrpcRouteD86B2967State ¶
type SpecGrpcRouteD86B2967State struct { Exact string `json:"exact"` Prefix string `json:"prefix"` Regex string `json:"regex"` Suffix string `json:"suffix"` Range []SpecGrpcRoute8B0C9706State `json:"range"` }
type SpecGrpcRouteMatch ¶
type SpecGrpcRouteMatch struct { // MethodName: string, optional MethodName terra.StringValue `hcl:"method_name,attr"` // Prefix: string, optional Prefix terra.StringValue `hcl:"prefix,attr"` // ServiceName: string, optional ServiceName terra.StringValue `hcl:"service_name,attr"` // SpecGrpcRouteMatchMetadata: min=0,max=10 Metadata []SpecGrpcRouteMatchMetadata `hcl:"metadata,block" validate:"min=0,max=10"` }
type SpecGrpcRouteMatchAttributes ¶
type SpecGrpcRouteMatchAttributes struct {
// contains filtered or unexported fields
}
func (SpecGrpcRouteMatchAttributes) InternalRef ¶
func (m SpecGrpcRouteMatchAttributes) InternalRef() (terra.Reference, error)
func (SpecGrpcRouteMatchAttributes) InternalTokens ¶
func (m SpecGrpcRouteMatchAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecGrpcRouteMatchAttributes) InternalWithRef ¶
func (m SpecGrpcRouteMatchAttributes) InternalWithRef(ref terra.Reference) SpecGrpcRouteMatchAttributes
func (SpecGrpcRouteMatchAttributes) Metadata ¶
func (m SpecGrpcRouteMatchAttributes) Metadata() terra.SetValue[SpecGrpcRouteMatchMetadataAttributes]
func (SpecGrpcRouteMatchAttributes) MethodName ¶
func (m SpecGrpcRouteMatchAttributes) MethodName() terra.StringValue
func (SpecGrpcRouteMatchAttributes) Prefix ¶
func (m SpecGrpcRouteMatchAttributes) Prefix() terra.StringValue
func (SpecGrpcRouteMatchAttributes) ServiceName ¶
func (m SpecGrpcRouteMatchAttributes) ServiceName() terra.StringValue
type SpecGrpcRouteMatchMetadata ¶
type SpecGrpcRouteMatchMetadata struct { // Invert: bool, optional Invert terra.BoolValue `hcl:"invert,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // SpecGrpcRouteD86B2967: optional Match *SpecGrpcRouteD86B2967 `hcl:"match,block"` }
type SpecGrpcRouteMatchMetadataAttributes ¶
type SpecGrpcRouteMatchMetadataAttributes struct {
// contains filtered or unexported fields
}
func (SpecGrpcRouteMatchMetadataAttributes) InternalRef ¶
func (m SpecGrpcRouteMatchMetadataAttributes) InternalRef() (terra.Reference, error)
func (SpecGrpcRouteMatchMetadataAttributes) InternalTokens ¶
func (m SpecGrpcRouteMatchMetadataAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecGrpcRouteMatchMetadataAttributes) InternalWithRef ¶
func (m SpecGrpcRouteMatchMetadataAttributes) InternalWithRef(ref terra.Reference) SpecGrpcRouteMatchMetadataAttributes
func (SpecGrpcRouteMatchMetadataAttributes) Invert ¶
func (m SpecGrpcRouteMatchMetadataAttributes) Invert() terra.BoolValue
func (SpecGrpcRouteMatchMetadataAttributes) Match ¶
func (m SpecGrpcRouteMatchMetadataAttributes) Match() terra.ListValue[SpecGrpcRouteD86B2967Attributes]
func (SpecGrpcRouteMatchMetadataAttributes) Name ¶
func (m SpecGrpcRouteMatchMetadataAttributes) Name() terra.StringValue
type SpecGrpcRouteMatchMetadataState ¶
type SpecGrpcRouteMatchMetadataState struct { Invert bool `json:"invert"` Name string `json:"name"` Match []SpecGrpcRouteD86B2967State `json:"match"` }
type SpecGrpcRouteMatchState ¶
type SpecGrpcRouteMatchState struct { MethodName string `json:"method_name"` Prefix string `json:"prefix"` ServiceName string `json:"service_name"` Metadata []SpecGrpcRouteMatchMetadataState `json:"metadata"` }
type SpecGrpcRouteRetryPolicy ¶
type SpecGrpcRouteRetryPolicy struct { // GrpcRetryEvents: set of string, optional GrpcRetryEvents terra.SetValue[terra.StringValue] `hcl:"grpc_retry_events,attr"` // HttpRetryEvents: set of string, optional HttpRetryEvents terra.SetValue[terra.StringValue] `hcl:"http_retry_events,attr"` // MaxRetries: number, required MaxRetries terra.NumberValue `hcl:"max_retries,attr" validate:"required"` // TcpRetryEvents: set of string, optional TcpRetryEvents terra.SetValue[terra.StringValue] `hcl:"tcp_retry_events,attr"` // SpecGrpcRouteRetryPolicyPerRetryTimeout: required PerRetryTimeout *SpecGrpcRouteRetryPolicyPerRetryTimeout `hcl:"per_retry_timeout,block" validate:"required"` }
type SpecGrpcRouteRetryPolicyAttributes ¶
type SpecGrpcRouteRetryPolicyAttributes struct {
// contains filtered or unexported fields
}
func (SpecGrpcRouteRetryPolicyAttributes) GrpcRetryEvents ¶
func (rp SpecGrpcRouteRetryPolicyAttributes) GrpcRetryEvents() terra.SetValue[terra.StringValue]
func (SpecGrpcRouteRetryPolicyAttributes) HttpRetryEvents ¶
func (rp SpecGrpcRouteRetryPolicyAttributes) HttpRetryEvents() terra.SetValue[terra.StringValue]
func (SpecGrpcRouteRetryPolicyAttributes) InternalRef ¶
func (rp SpecGrpcRouteRetryPolicyAttributes) InternalRef() (terra.Reference, error)
func (SpecGrpcRouteRetryPolicyAttributes) InternalTokens ¶
func (rp SpecGrpcRouteRetryPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecGrpcRouteRetryPolicyAttributes) InternalWithRef ¶
func (rp SpecGrpcRouteRetryPolicyAttributes) InternalWithRef(ref terra.Reference) SpecGrpcRouteRetryPolicyAttributes
func (SpecGrpcRouteRetryPolicyAttributes) MaxRetries ¶
func (rp SpecGrpcRouteRetryPolicyAttributes) MaxRetries() terra.NumberValue
func (SpecGrpcRouteRetryPolicyAttributes) PerRetryTimeout ¶
func (rp SpecGrpcRouteRetryPolicyAttributes) PerRetryTimeout() terra.ListValue[SpecGrpcRouteRetryPolicyPerRetryTimeoutAttributes]
func (SpecGrpcRouteRetryPolicyAttributes) TcpRetryEvents ¶
func (rp SpecGrpcRouteRetryPolicyAttributes) TcpRetryEvents() terra.SetValue[terra.StringValue]
type SpecGrpcRouteRetryPolicyPerRetryTimeout ¶
type SpecGrpcRouteRetryPolicyPerRetryTimeout struct { // Unit: string, required Unit terra.StringValue `hcl:"unit,attr" validate:"required"` // Value: number, required Value terra.NumberValue `hcl:"value,attr" validate:"required"` }
type SpecGrpcRouteRetryPolicyPerRetryTimeoutAttributes ¶
type SpecGrpcRouteRetryPolicyPerRetryTimeoutAttributes struct {
// contains filtered or unexported fields
}
func (SpecGrpcRouteRetryPolicyPerRetryTimeoutAttributes) InternalRef ¶
func (prt SpecGrpcRouteRetryPolicyPerRetryTimeoutAttributes) InternalRef() (terra.Reference, error)
func (SpecGrpcRouteRetryPolicyPerRetryTimeoutAttributes) InternalTokens ¶
func (prt SpecGrpcRouteRetryPolicyPerRetryTimeoutAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecGrpcRouteRetryPolicyPerRetryTimeoutAttributes) InternalWithRef ¶
func (prt SpecGrpcRouteRetryPolicyPerRetryTimeoutAttributes) InternalWithRef(ref terra.Reference) SpecGrpcRouteRetryPolicyPerRetryTimeoutAttributes
func (SpecGrpcRouteRetryPolicyPerRetryTimeoutAttributes) Unit ¶
func (prt SpecGrpcRouteRetryPolicyPerRetryTimeoutAttributes) Unit() terra.StringValue
func (SpecGrpcRouteRetryPolicyPerRetryTimeoutAttributes) Value ¶
func (prt SpecGrpcRouteRetryPolicyPerRetryTimeoutAttributes) Value() terra.NumberValue
type SpecGrpcRouteRetryPolicyState ¶
type SpecGrpcRouteRetryPolicyState 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 []SpecGrpcRouteRetryPolicyPerRetryTimeoutState `json:"per_retry_timeout"` }
type SpecGrpcRouteState ¶
type SpecGrpcRouteState struct { Action []SpecGrpcRouteActionState `json:"action"` Match []SpecGrpcRouteMatchState `json:"match"` RetryPolicy []SpecGrpcRouteRetryPolicyState `json:"retry_policy"` Timeout []SpecGrpcRouteTimeoutState `json:"timeout"` }
type SpecGrpcRouteTimeout ¶
type SpecGrpcRouteTimeout struct { // SpecGrpcRouteTimeoutIdle: optional Idle *SpecGrpcRouteTimeoutIdle `hcl:"idle,block"` // SpecGrpcRouteTimeoutPerRequest: optional PerRequest *SpecGrpcRouteTimeoutPerRequest `hcl:"per_request,block"` }
type SpecGrpcRouteTimeoutAttributes ¶
type SpecGrpcRouteTimeoutAttributes struct {
// contains filtered or unexported fields
}
func (SpecGrpcRouteTimeoutAttributes) Idle ¶
func (t SpecGrpcRouteTimeoutAttributes) Idle() terra.ListValue[SpecGrpcRouteTimeoutIdleAttributes]
func (SpecGrpcRouteTimeoutAttributes) InternalRef ¶
func (t SpecGrpcRouteTimeoutAttributes) InternalRef() (terra.Reference, error)
func (SpecGrpcRouteTimeoutAttributes) InternalTokens ¶
func (t SpecGrpcRouteTimeoutAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecGrpcRouteTimeoutAttributes) InternalWithRef ¶
func (t SpecGrpcRouteTimeoutAttributes) InternalWithRef(ref terra.Reference) SpecGrpcRouteTimeoutAttributes
func (SpecGrpcRouteTimeoutAttributes) PerRequest ¶
func (t SpecGrpcRouteTimeoutAttributes) PerRequest() terra.ListValue[SpecGrpcRouteTimeoutPerRequestAttributes]
type SpecGrpcRouteTimeoutIdle ¶
type SpecGrpcRouteTimeoutIdle struct { // Unit: string, required Unit terra.StringValue `hcl:"unit,attr" validate:"required"` // Value: number, required Value terra.NumberValue `hcl:"value,attr" validate:"required"` }
type SpecGrpcRouteTimeoutIdleAttributes ¶
type SpecGrpcRouteTimeoutIdleAttributes struct {
// contains filtered or unexported fields
}
func (SpecGrpcRouteTimeoutIdleAttributes) InternalRef ¶
func (i SpecGrpcRouteTimeoutIdleAttributes) InternalRef() (terra.Reference, error)
func (SpecGrpcRouteTimeoutIdleAttributes) InternalTokens ¶
func (i SpecGrpcRouteTimeoutIdleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecGrpcRouteTimeoutIdleAttributes) InternalWithRef ¶
func (i SpecGrpcRouteTimeoutIdleAttributes) InternalWithRef(ref terra.Reference) SpecGrpcRouteTimeoutIdleAttributes
func (SpecGrpcRouteTimeoutIdleAttributes) Unit ¶
func (i SpecGrpcRouteTimeoutIdleAttributes) Unit() terra.StringValue
func (SpecGrpcRouteTimeoutIdleAttributes) Value ¶
func (i SpecGrpcRouteTimeoutIdleAttributes) Value() terra.NumberValue
type SpecGrpcRouteTimeoutPerRequest ¶
type SpecGrpcRouteTimeoutPerRequest struct { // Unit: string, required Unit terra.StringValue `hcl:"unit,attr" validate:"required"` // Value: number, required Value terra.NumberValue `hcl:"value,attr" validate:"required"` }
type SpecGrpcRouteTimeoutPerRequestAttributes ¶
type SpecGrpcRouteTimeoutPerRequestAttributes struct {
// contains filtered or unexported fields
}
func (SpecGrpcRouteTimeoutPerRequestAttributes) InternalRef ¶
func (pr SpecGrpcRouteTimeoutPerRequestAttributes) InternalRef() (terra.Reference, error)
func (SpecGrpcRouteTimeoutPerRequestAttributes) InternalTokens ¶
func (pr SpecGrpcRouteTimeoutPerRequestAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecGrpcRouteTimeoutPerRequestAttributes) InternalWithRef ¶
func (pr SpecGrpcRouteTimeoutPerRequestAttributes) InternalWithRef(ref terra.Reference) SpecGrpcRouteTimeoutPerRequestAttributes
func (SpecGrpcRouteTimeoutPerRequestAttributes) Unit ¶
func (pr SpecGrpcRouteTimeoutPerRequestAttributes) Unit() terra.StringValue
func (SpecGrpcRouteTimeoutPerRequestAttributes) Value ¶
func (pr SpecGrpcRouteTimeoutPerRequestAttributes) Value() terra.NumberValue
type SpecGrpcRouteTimeoutState ¶
type SpecGrpcRouteTimeoutState struct { Idle []SpecGrpcRouteTimeoutIdleState `json:"idle"` PerRequest []SpecGrpcRouteTimeoutPerRequestState `json:"per_request"` }
type SpecHttp2Route ¶
type SpecHttp2Route struct { // SpecHttp2RouteAction: required Action *SpecHttp2RouteAction `hcl:"action,block" validate:"required"` // SpecHttp2RouteMatch: required Match *SpecHttp2RouteMatch `hcl:"match,block" validate:"required"` // SpecHttp2RouteRetryPolicy: optional RetryPolicy *SpecHttp2RouteRetryPolicy `hcl:"retry_policy,block"` // SpecHttp2RouteTimeout: optional Timeout *SpecHttp2RouteTimeout `hcl:"timeout,block"` }
type SpecHttp2Route30Dd3523 ¶
type SpecHttp2Route30Dd3523 struct { // Exact: string, optional Exact terra.StringValue `hcl:"exact,attr"` // Prefix: string, optional Prefix terra.StringValue `hcl:"prefix,attr"` // Regex: string, optional Regex terra.StringValue `hcl:"regex,attr"` // Suffix: string, optional Suffix terra.StringValue `hcl:"suffix,attr"` // SpecHttp2Route31605981: optional Range *SpecHttp2Route31605981 `hcl:"range,block"` }
type SpecHttp2Route30Dd3523Attributes ¶
type SpecHttp2Route30Dd3523Attributes struct {
// contains filtered or unexported fields
}
func (SpecHttp2Route30Dd3523Attributes) Exact ¶
func (m SpecHttp2Route30Dd3523Attributes) Exact() terra.StringValue
func (SpecHttp2Route30Dd3523Attributes) InternalRef ¶
func (m SpecHttp2Route30Dd3523Attributes) InternalRef() (terra.Reference, error)
func (SpecHttp2Route30Dd3523Attributes) InternalTokens ¶
func (m SpecHttp2Route30Dd3523Attributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecHttp2Route30Dd3523Attributes) InternalWithRef ¶
func (m SpecHttp2Route30Dd3523Attributes) InternalWithRef(ref terra.Reference) SpecHttp2Route30Dd3523Attributes
func (SpecHttp2Route30Dd3523Attributes) Prefix ¶
func (m SpecHttp2Route30Dd3523Attributes) Prefix() terra.StringValue
func (SpecHttp2Route30Dd3523Attributes) Range ¶
func (m SpecHttp2Route30Dd3523Attributes) Range() terra.ListValue[SpecHttp2Route31605981Attributes]
func (SpecHttp2Route30Dd3523Attributes) Regex ¶
func (m SpecHttp2Route30Dd3523Attributes) Regex() terra.StringValue
func (SpecHttp2Route30Dd3523Attributes) Suffix ¶
func (m SpecHttp2Route30Dd3523Attributes) Suffix() terra.StringValue
type SpecHttp2Route30Dd3523State ¶
type SpecHttp2Route30Dd3523State struct { Exact string `json:"exact"` Prefix string `json:"prefix"` Regex string `json:"regex"` Suffix string `json:"suffix"` Range []SpecHttp2Route31605981State `json:"range"` }
type SpecHttp2Route31605981 ¶
type SpecHttp2Route31605981 struct { // End: number, required End terra.NumberValue `hcl:"end,attr" validate:"required"` // Start: number, required Start terra.NumberValue `hcl:"start,attr" validate:"required"` }
type SpecHttp2Route31605981Attributes ¶
type SpecHttp2Route31605981Attributes struct {
// contains filtered or unexported fields
}
func (SpecHttp2Route31605981Attributes) End ¶
func (r SpecHttp2Route31605981Attributes) End() terra.NumberValue
func (SpecHttp2Route31605981Attributes) InternalRef ¶
func (r SpecHttp2Route31605981Attributes) InternalRef() (terra.Reference, error)
func (SpecHttp2Route31605981Attributes) InternalTokens ¶
func (r SpecHttp2Route31605981Attributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecHttp2Route31605981Attributes) InternalWithRef ¶
func (r SpecHttp2Route31605981Attributes) InternalWithRef(ref terra.Reference) SpecHttp2Route31605981Attributes
func (SpecHttp2Route31605981Attributes) Start ¶
func (r SpecHttp2Route31605981Attributes) Start() terra.NumberValue
type SpecHttp2RouteAction ¶
type SpecHttp2RouteAction struct { // SpecHttp2RouteActionWeightedTarget: min=1,max=10 WeightedTarget []SpecHttp2RouteActionWeightedTarget `hcl:"weighted_target,block" validate:"min=1,max=10"` }
type SpecHttp2RouteActionAttributes ¶
type SpecHttp2RouteActionAttributes struct {
// contains filtered or unexported fields
}
func (SpecHttp2RouteActionAttributes) InternalRef ¶
func (a SpecHttp2RouteActionAttributes) InternalRef() (terra.Reference, error)
func (SpecHttp2RouteActionAttributes) InternalTokens ¶
func (a SpecHttp2RouteActionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecHttp2RouteActionAttributes) InternalWithRef ¶
func (a SpecHttp2RouteActionAttributes) InternalWithRef(ref terra.Reference) SpecHttp2RouteActionAttributes
func (SpecHttp2RouteActionAttributes) WeightedTarget ¶
func (a SpecHttp2RouteActionAttributes) WeightedTarget() terra.SetValue[SpecHttp2RouteActionWeightedTargetAttributes]
type SpecHttp2RouteActionState ¶
type SpecHttp2RouteActionState struct {
WeightedTarget []SpecHttp2RouteActionWeightedTargetState `json:"weighted_target"`
}
type SpecHttp2RouteActionWeightedTarget ¶
type SpecHttp2RouteActionWeightedTarget struct { // VirtualNode: string, required VirtualNode terra.StringValue `hcl:"virtual_node,attr" validate:"required"` // Weight: number, required Weight terra.NumberValue `hcl:"weight,attr" validate:"required"` }
type SpecHttp2RouteActionWeightedTargetAttributes ¶
type SpecHttp2RouteActionWeightedTargetAttributes struct {
// contains filtered or unexported fields
}
func (SpecHttp2RouteActionWeightedTargetAttributes) InternalRef ¶
func (wt SpecHttp2RouteActionWeightedTargetAttributes) InternalRef() (terra.Reference, error)
func (SpecHttp2RouteActionWeightedTargetAttributes) InternalTokens ¶
func (wt SpecHttp2RouteActionWeightedTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecHttp2RouteActionWeightedTargetAttributes) InternalWithRef ¶
func (wt SpecHttp2RouteActionWeightedTargetAttributes) InternalWithRef(ref terra.Reference) SpecHttp2RouteActionWeightedTargetAttributes
func (SpecHttp2RouteActionWeightedTargetAttributes) VirtualNode ¶
func (wt SpecHttp2RouteActionWeightedTargetAttributes) VirtualNode() terra.StringValue
func (SpecHttp2RouteActionWeightedTargetAttributes) Weight ¶
func (wt SpecHttp2RouteActionWeightedTargetAttributes) Weight() terra.NumberValue
type SpecHttp2RouteAttributes ¶
type SpecHttp2RouteAttributes struct {
// contains filtered or unexported fields
}
func (SpecHttp2RouteAttributes) Action ¶
func (hr SpecHttp2RouteAttributes) Action() terra.ListValue[SpecHttp2RouteActionAttributes]
func (SpecHttp2RouteAttributes) InternalRef ¶
func (hr SpecHttp2RouteAttributes) InternalRef() (terra.Reference, error)
func (SpecHttp2RouteAttributes) InternalTokens ¶
func (hr SpecHttp2RouteAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecHttp2RouteAttributes) InternalWithRef ¶
func (hr SpecHttp2RouteAttributes) InternalWithRef(ref terra.Reference) SpecHttp2RouteAttributes
func (SpecHttp2RouteAttributes) Match ¶
func (hr SpecHttp2RouteAttributes) Match() terra.ListValue[SpecHttp2RouteMatchAttributes]
func (SpecHttp2RouteAttributes) RetryPolicy ¶
func (hr SpecHttp2RouteAttributes) RetryPolicy() terra.ListValue[SpecHttp2RouteRetryPolicyAttributes]
func (SpecHttp2RouteAttributes) Timeout ¶
func (hr SpecHttp2RouteAttributes) Timeout() terra.ListValue[SpecHttp2RouteTimeoutAttributes]
type SpecHttp2RouteMatch ¶
type SpecHttp2RouteMatch struct { // Method: string, optional Method terra.StringValue `hcl:"method,attr"` // Prefix: string, required Prefix terra.StringValue `hcl:"prefix,attr" validate:"required"` // Scheme: string, optional Scheme terra.StringValue `hcl:"scheme,attr"` // SpecHttp2RouteMatchHeader: min=0,max=10 Header []SpecHttp2RouteMatchHeader `hcl:"header,block" validate:"min=0,max=10"` }
type SpecHttp2RouteMatchAttributes ¶
type SpecHttp2RouteMatchAttributes struct {
// contains filtered or unexported fields
}
func (SpecHttp2RouteMatchAttributes) Header ¶
func (m SpecHttp2RouteMatchAttributes) Header() terra.SetValue[SpecHttp2RouteMatchHeaderAttributes]
func (SpecHttp2RouteMatchAttributes) InternalRef ¶
func (m SpecHttp2RouteMatchAttributes) InternalRef() (terra.Reference, error)
func (SpecHttp2RouteMatchAttributes) InternalTokens ¶
func (m SpecHttp2RouteMatchAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecHttp2RouteMatchAttributes) InternalWithRef ¶
func (m SpecHttp2RouteMatchAttributes) InternalWithRef(ref terra.Reference) SpecHttp2RouteMatchAttributes
func (SpecHttp2RouteMatchAttributes) Method ¶
func (m SpecHttp2RouteMatchAttributes) Method() terra.StringValue
func (SpecHttp2RouteMatchAttributes) Prefix ¶
func (m SpecHttp2RouteMatchAttributes) Prefix() terra.StringValue
func (SpecHttp2RouteMatchAttributes) Scheme ¶
func (m SpecHttp2RouteMatchAttributes) Scheme() terra.StringValue
type SpecHttp2RouteMatchHeader ¶
type SpecHttp2RouteMatchHeader struct { // Invert: bool, optional Invert terra.BoolValue `hcl:"invert,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // SpecHttp2Route30Dd3523: optional Match *SpecHttp2Route30Dd3523 `hcl:"match,block"` }
type SpecHttp2RouteMatchHeaderAttributes ¶
type SpecHttp2RouteMatchHeaderAttributes struct {
// contains filtered or unexported fields
}
func (SpecHttp2RouteMatchHeaderAttributes) InternalRef ¶
func (h SpecHttp2RouteMatchHeaderAttributes) InternalRef() (terra.Reference, error)
func (SpecHttp2RouteMatchHeaderAttributes) InternalTokens ¶
func (h SpecHttp2RouteMatchHeaderAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecHttp2RouteMatchHeaderAttributes) InternalWithRef ¶
func (h SpecHttp2RouteMatchHeaderAttributes) InternalWithRef(ref terra.Reference) SpecHttp2RouteMatchHeaderAttributes
func (SpecHttp2RouteMatchHeaderAttributes) Invert ¶
func (h SpecHttp2RouteMatchHeaderAttributes) Invert() terra.BoolValue
func (SpecHttp2RouteMatchHeaderAttributes) Match ¶
func (h SpecHttp2RouteMatchHeaderAttributes) Match() terra.ListValue[SpecHttp2Route30Dd3523Attributes]
func (SpecHttp2RouteMatchHeaderAttributes) Name ¶
func (h SpecHttp2RouteMatchHeaderAttributes) Name() terra.StringValue
type SpecHttp2RouteMatchHeaderState ¶
type SpecHttp2RouteMatchHeaderState struct { Invert bool `json:"invert"` Name string `json:"name"` Match []SpecHttp2Route30Dd3523State `json:"match"` }
type SpecHttp2RouteMatchState ¶
type SpecHttp2RouteMatchState struct { Method string `json:"method"` Prefix string `json:"prefix"` Scheme string `json:"scheme"` Header []SpecHttp2RouteMatchHeaderState `json:"header"` }
type SpecHttp2RouteRetryPolicy ¶
type SpecHttp2RouteRetryPolicy struct { // HttpRetryEvents: set of string, optional HttpRetryEvents terra.SetValue[terra.StringValue] `hcl:"http_retry_events,attr"` // MaxRetries: number, required MaxRetries terra.NumberValue `hcl:"max_retries,attr" validate:"required"` // TcpRetryEvents: set of string, optional TcpRetryEvents terra.SetValue[terra.StringValue] `hcl:"tcp_retry_events,attr"` // SpecHttp2RouteRetryPolicyPerRetryTimeout: required PerRetryTimeout *SpecHttp2RouteRetryPolicyPerRetryTimeout `hcl:"per_retry_timeout,block" validate:"required"` }
type SpecHttp2RouteRetryPolicyAttributes ¶
type SpecHttp2RouteRetryPolicyAttributes struct {
// contains filtered or unexported fields
}
func (SpecHttp2RouteRetryPolicyAttributes) HttpRetryEvents ¶
func (rp SpecHttp2RouteRetryPolicyAttributes) HttpRetryEvents() terra.SetValue[terra.StringValue]
func (SpecHttp2RouteRetryPolicyAttributes) InternalRef ¶
func (rp SpecHttp2RouteRetryPolicyAttributes) InternalRef() (terra.Reference, error)
func (SpecHttp2RouteRetryPolicyAttributes) InternalTokens ¶
func (rp SpecHttp2RouteRetryPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecHttp2RouteRetryPolicyAttributes) InternalWithRef ¶
func (rp SpecHttp2RouteRetryPolicyAttributes) InternalWithRef(ref terra.Reference) SpecHttp2RouteRetryPolicyAttributes
func (SpecHttp2RouteRetryPolicyAttributes) MaxRetries ¶
func (rp SpecHttp2RouteRetryPolicyAttributes) MaxRetries() terra.NumberValue
func (SpecHttp2RouteRetryPolicyAttributes) PerRetryTimeout ¶
func (rp SpecHttp2RouteRetryPolicyAttributes) PerRetryTimeout() terra.ListValue[SpecHttp2RouteRetryPolicyPerRetryTimeoutAttributes]
func (SpecHttp2RouteRetryPolicyAttributes) TcpRetryEvents ¶
func (rp SpecHttp2RouteRetryPolicyAttributes) TcpRetryEvents() terra.SetValue[terra.StringValue]
type SpecHttp2RouteRetryPolicyPerRetryTimeout ¶
type SpecHttp2RouteRetryPolicyPerRetryTimeout struct { // Unit: string, required Unit terra.StringValue `hcl:"unit,attr" validate:"required"` // Value: number, required Value terra.NumberValue `hcl:"value,attr" validate:"required"` }
type SpecHttp2RouteRetryPolicyPerRetryTimeoutAttributes ¶
type SpecHttp2RouteRetryPolicyPerRetryTimeoutAttributes struct {
// contains filtered or unexported fields
}
func (SpecHttp2RouteRetryPolicyPerRetryTimeoutAttributes) InternalRef ¶
func (prt SpecHttp2RouteRetryPolicyPerRetryTimeoutAttributes) InternalRef() (terra.Reference, error)
func (SpecHttp2RouteRetryPolicyPerRetryTimeoutAttributes) InternalTokens ¶
func (prt SpecHttp2RouteRetryPolicyPerRetryTimeoutAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecHttp2RouteRetryPolicyPerRetryTimeoutAttributes) InternalWithRef ¶
func (prt SpecHttp2RouteRetryPolicyPerRetryTimeoutAttributes) InternalWithRef(ref terra.Reference) SpecHttp2RouteRetryPolicyPerRetryTimeoutAttributes
func (SpecHttp2RouteRetryPolicyPerRetryTimeoutAttributes) Unit ¶
func (prt SpecHttp2RouteRetryPolicyPerRetryTimeoutAttributes) Unit() terra.StringValue
func (SpecHttp2RouteRetryPolicyPerRetryTimeoutAttributes) Value ¶
func (prt SpecHttp2RouteRetryPolicyPerRetryTimeoutAttributes) Value() terra.NumberValue
type SpecHttp2RouteRetryPolicyState ¶
type SpecHttp2RouteRetryPolicyState struct { HttpRetryEvents []string `json:"http_retry_events"` MaxRetries float64 `json:"max_retries"` TcpRetryEvents []string `json:"tcp_retry_events"` PerRetryTimeout []SpecHttp2RouteRetryPolicyPerRetryTimeoutState `json:"per_retry_timeout"` }
type SpecHttp2RouteState ¶
type SpecHttp2RouteState struct { Action []SpecHttp2RouteActionState `json:"action"` Match []SpecHttp2RouteMatchState `json:"match"` RetryPolicy []SpecHttp2RouteRetryPolicyState `json:"retry_policy"` Timeout []SpecHttp2RouteTimeoutState `json:"timeout"` }
type SpecHttp2RouteTimeout ¶
type SpecHttp2RouteTimeout struct { // SpecHttp2RouteTimeoutIdle: optional Idle *SpecHttp2RouteTimeoutIdle `hcl:"idle,block"` // SpecHttp2RouteTimeoutPerRequest: optional PerRequest *SpecHttp2RouteTimeoutPerRequest `hcl:"per_request,block"` }
type SpecHttp2RouteTimeoutAttributes ¶
type SpecHttp2RouteTimeoutAttributes struct {
// contains filtered or unexported fields
}
func (SpecHttp2RouteTimeoutAttributes) Idle ¶
func (t SpecHttp2RouteTimeoutAttributes) Idle() terra.ListValue[SpecHttp2RouteTimeoutIdleAttributes]
func (SpecHttp2RouteTimeoutAttributes) InternalRef ¶
func (t SpecHttp2RouteTimeoutAttributes) InternalRef() (terra.Reference, error)
func (SpecHttp2RouteTimeoutAttributes) InternalTokens ¶
func (t SpecHttp2RouteTimeoutAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecHttp2RouteTimeoutAttributes) InternalWithRef ¶
func (t SpecHttp2RouteTimeoutAttributes) InternalWithRef(ref terra.Reference) SpecHttp2RouteTimeoutAttributes
func (SpecHttp2RouteTimeoutAttributes) PerRequest ¶
func (t SpecHttp2RouteTimeoutAttributes) PerRequest() terra.ListValue[SpecHttp2RouteTimeoutPerRequestAttributes]
type SpecHttp2RouteTimeoutIdle ¶
type SpecHttp2RouteTimeoutIdle struct { // Unit: string, required Unit terra.StringValue `hcl:"unit,attr" validate:"required"` // Value: number, required Value terra.NumberValue `hcl:"value,attr" validate:"required"` }
type SpecHttp2RouteTimeoutIdleAttributes ¶
type SpecHttp2RouteTimeoutIdleAttributes struct {
// contains filtered or unexported fields
}
func (SpecHttp2RouteTimeoutIdleAttributes) InternalRef ¶
func (i SpecHttp2RouteTimeoutIdleAttributes) InternalRef() (terra.Reference, error)
func (SpecHttp2RouteTimeoutIdleAttributes) InternalTokens ¶
func (i SpecHttp2RouteTimeoutIdleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecHttp2RouteTimeoutIdleAttributes) InternalWithRef ¶
func (i SpecHttp2RouteTimeoutIdleAttributes) InternalWithRef(ref terra.Reference) SpecHttp2RouteTimeoutIdleAttributes
func (SpecHttp2RouteTimeoutIdleAttributes) Unit ¶
func (i SpecHttp2RouteTimeoutIdleAttributes) Unit() terra.StringValue
func (SpecHttp2RouteTimeoutIdleAttributes) Value ¶
func (i SpecHttp2RouteTimeoutIdleAttributes) Value() terra.NumberValue
type SpecHttp2RouteTimeoutPerRequest ¶
type SpecHttp2RouteTimeoutPerRequest struct { // Unit: string, required Unit terra.StringValue `hcl:"unit,attr" validate:"required"` // Value: number, required Value terra.NumberValue `hcl:"value,attr" validate:"required"` }
type SpecHttp2RouteTimeoutPerRequestAttributes ¶
type SpecHttp2RouteTimeoutPerRequestAttributes struct {
// contains filtered or unexported fields
}
func (SpecHttp2RouteTimeoutPerRequestAttributes) InternalRef ¶
func (pr SpecHttp2RouteTimeoutPerRequestAttributes) InternalRef() (terra.Reference, error)
func (SpecHttp2RouteTimeoutPerRequestAttributes) InternalTokens ¶
func (pr SpecHttp2RouteTimeoutPerRequestAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecHttp2RouteTimeoutPerRequestAttributes) InternalWithRef ¶
func (pr SpecHttp2RouteTimeoutPerRequestAttributes) InternalWithRef(ref terra.Reference) SpecHttp2RouteTimeoutPerRequestAttributes
func (SpecHttp2RouteTimeoutPerRequestAttributes) Unit ¶
func (pr SpecHttp2RouteTimeoutPerRequestAttributes) Unit() terra.StringValue
func (SpecHttp2RouteTimeoutPerRequestAttributes) Value ¶
func (pr SpecHttp2RouteTimeoutPerRequestAttributes) Value() terra.NumberValue
type SpecHttp2RouteTimeoutState ¶
type SpecHttp2RouteTimeoutState struct { Idle []SpecHttp2RouteTimeoutIdleState `json:"idle"` PerRequest []SpecHttp2RouteTimeoutPerRequestState `json:"per_request"` }
type SpecHttpRoute ¶
type SpecHttpRoute struct { // SpecHttpRouteAction: required Action *SpecHttpRouteAction `hcl:"action,block" validate:"required"` // SpecHttpRouteMatch: required Match *SpecHttpRouteMatch `hcl:"match,block" validate:"required"` // SpecHttpRouteRetryPolicy: optional RetryPolicy *SpecHttpRouteRetryPolicy `hcl:"retry_policy,block"` // SpecHttpRouteTimeout: optional Timeout *SpecHttpRouteTimeout `hcl:"timeout,block"` }
type SpecHttpRoute30Dd3523 ¶
type SpecHttpRoute30Dd3523 struct { // Exact: string, optional Exact terra.StringValue `hcl:"exact,attr"` // Prefix: string, optional Prefix terra.StringValue `hcl:"prefix,attr"` // Regex: string, optional Regex terra.StringValue `hcl:"regex,attr"` // Suffix: string, optional Suffix terra.StringValue `hcl:"suffix,attr"` // SpecHttpRoute31605981: optional Range *SpecHttpRoute31605981 `hcl:"range,block"` }
type SpecHttpRoute30Dd3523Attributes ¶
type SpecHttpRoute30Dd3523Attributes struct {
// contains filtered or unexported fields
}
func (SpecHttpRoute30Dd3523Attributes) Exact ¶
func (m SpecHttpRoute30Dd3523Attributes) Exact() terra.StringValue
func (SpecHttpRoute30Dd3523Attributes) InternalRef ¶
func (m SpecHttpRoute30Dd3523Attributes) InternalRef() (terra.Reference, error)
func (SpecHttpRoute30Dd3523Attributes) InternalTokens ¶
func (m SpecHttpRoute30Dd3523Attributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecHttpRoute30Dd3523Attributes) InternalWithRef ¶
func (m SpecHttpRoute30Dd3523Attributes) InternalWithRef(ref terra.Reference) SpecHttpRoute30Dd3523Attributes
func (SpecHttpRoute30Dd3523Attributes) Prefix ¶
func (m SpecHttpRoute30Dd3523Attributes) Prefix() terra.StringValue
func (SpecHttpRoute30Dd3523Attributes) Range ¶
func (m SpecHttpRoute30Dd3523Attributes) Range() terra.ListValue[SpecHttpRoute31605981Attributes]
func (SpecHttpRoute30Dd3523Attributes) Regex ¶
func (m SpecHttpRoute30Dd3523Attributes) Regex() terra.StringValue
func (SpecHttpRoute30Dd3523Attributes) Suffix ¶
func (m SpecHttpRoute30Dd3523Attributes) Suffix() terra.StringValue
type SpecHttpRoute30Dd3523State ¶
type SpecHttpRoute30Dd3523State struct { Exact string `json:"exact"` Prefix string `json:"prefix"` Regex string `json:"regex"` Suffix string `json:"suffix"` Range []SpecHttpRoute31605981State `json:"range"` }
type SpecHttpRoute31605981 ¶
type SpecHttpRoute31605981 struct { // End: number, required End terra.NumberValue `hcl:"end,attr" validate:"required"` // Start: number, required Start terra.NumberValue `hcl:"start,attr" validate:"required"` }
type SpecHttpRoute31605981Attributes ¶
type SpecHttpRoute31605981Attributes struct {
// contains filtered or unexported fields
}
func (SpecHttpRoute31605981Attributes) End ¶
func (r SpecHttpRoute31605981Attributes) End() terra.NumberValue
func (SpecHttpRoute31605981Attributes) InternalRef ¶
func (r SpecHttpRoute31605981Attributes) InternalRef() (terra.Reference, error)
func (SpecHttpRoute31605981Attributes) InternalTokens ¶
func (r SpecHttpRoute31605981Attributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecHttpRoute31605981Attributes) InternalWithRef ¶
func (r SpecHttpRoute31605981Attributes) InternalWithRef(ref terra.Reference) SpecHttpRoute31605981Attributes
func (SpecHttpRoute31605981Attributes) Start ¶
func (r SpecHttpRoute31605981Attributes) Start() terra.NumberValue
type SpecHttpRouteAction ¶
type SpecHttpRouteAction struct { // SpecHttpRouteActionWeightedTarget: min=1,max=10 WeightedTarget []SpecHttpRouteActionWeightedTarget `hcl:"weighted_target,block" validate:"min=1,max=10"` }
type SpecHttpRouteActionAttributes ¶
type SpecHttpRouteActionAttributes struct {
// contains filtered or unexported fields
}
func (SpecHttpRouteActionAttributes) InternalRef ¶
func (a SpecHttpRouteActionAttributes) InternalRef() (terra.Reference, error)
func (SpecHttpRouteActionAttributes) InternalTokens ¶
func (a SpecHttpRouteActionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecHttpRouteActionAttributes) InternalWithRef ¶
func (a SpecHttpRouteActionAttributes) InternalWithRef(ref terra.Reference) SpecHttpRouteActionAttributes
func (SpecHttpRouteActionAttributes) WeightedTarget ¶
func (a SpecHttpRouteActionAttributes) WeightedTarget() terra.SetValue[SpecHttpRouteActionWeightedTargetAttributes]
type SpecHttpRouteActionState ¶
type SpecHttpRouteActionState struct {
WeightedTarget []SpecHttpRouteActionWeightedTargetState `json:"weighted_target"`
}
type SpecHttpRouteActionWeightedTarget ¶
type SpecHttpRouteActionWeightedTarget struct { // VirtualNode: string, required VirtualNode terra.StringValue `hcl:"virtual_node,attr" validate:"required"` // Weight: number, required Weight terra.NumberValue `hcl:"weight,attr" validate:"required"` }
type SpecHttpRouteActionWeightedTargetAttributes ¶
type SpecHttpRouteActionWeightedTargetAttributes struct {
// contains filtered or unexported fields
}
func (SpecHttpRouteActionWeightedTargetAttributes) InternalRef ¶
func (wt SpecHttpRouteActionWeightedTargetAttributes) InternalRef() (terra.Reference, error)
func (SpecHttpRouteActionWeightedTargetAttributes) InternalTokens ¶
func (wt SpecHttpRouteActionWeightedTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecHttpRouteActionWeightedTargetAttributes) InternalWithRef ¶
func (wt SpecHttpRouteActionWeightedTargetAttributes) InternalWithRef(ref terra.Reference) SpecHttpRouteActionWeightedTargetAttributes
func (SpecHttpRouteActionWeightedTargetAttributes) VirtualNode ¶
func (wt SpecHttpRouteActionWeightedTargetAttributes) VirtualNode() terra.StringValue
func (SpecHttpRouteActionWeightedTargetAttributes) Weight ¶
func (wt SpecHttpRouteActionWeightedTargetAttributes) Weight() terra.NumberValue
type SpecHttpRouteAttributes ¶
type SpecHttpRouteAttributes struct {
// contains filtered or unexported fields
}
func (SpecHttpRouteAttributes) Action ¶
func (hr SpecHttpRouteAttributes) Action() terra.ListValue[SpecHttpRouteActionAttributes]
func (SpecHttpRouteAttributes) InternalRef ¶
func (hr SpecHttpRouteAttributes) InternalRef() (terra.Reference, error)
func (SpecHttpRouteAttributes) InternalTokens ¶
func (hr SpecHttpRouteAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecHttpRouteAttributes) InternalWithRef ¶
func (hr SpecHttpRouteAttributes) InternalWithRef(ref terra.Reference) SpecHttpRouteAttributes
func (SpecHttpRouteAttributes) Match ¶
func (hr SpecHttpRouteAttributes) Match() terra.ListValue[SpecHttpRouteMatchAttributes]
func (SpecHttpRouteAttributes) RetryPolicy ¶
func (hr SpecHttpRouteAttributes) RetryPolicy() terra.ListValue[SpecHttpRouteRetryPolicyAttributes]
func (SpecHttpRouteAttributes) Timeout ¶
func (hr SpecHttpRouteAttributes) Timeout() terra.ListValue[SpecHttpRouteTimeoutAttributes]
type SpecHttpRouteMatch ¶
type SpecHttpRouteMatch struct { // Method: string, optional Method terra.StringValue `hcl:"method,attr"` // Prefix: string, required Prefix terra.StringValue `hcl:"prefix,attr" validate:"required"` // Scheme: string, optional Scheme terra.StringValue `hcl:"scheme,attr"` // SpecHttpRouteMatchHeader: min=0,max=10 Header []SpecHttpRouteMatchHeader `hcl:"header,block" validate:"min=0,max=10"` }
type SpecHttpRouteMatchAttributes ¶
type SpecHttpRouteMatchAttributes struct {
// contains filtered or unexported fields
}
func (SpecHttpRouteMatchAttributes) Header ¶
func (m SpecHttpRouteMatchAttributes) Header() terra.SetValue[SpecHttpRouteMatchHeaderAttributes]
func (SpecHttpRouteMatchAttributes) InternalRef ¶
func (m SpecHttpRouteMatchAttributes) InternalRef() (terra.Reference, error)
func (SpecHttpRouteMatchAttributes) InternalTokens ¶
func (m SpecHttpRouteMatchAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecHttpRouteMatchAttributes) InternalWithRef ¶
func (m SpecHttpRouteMatchAttributes) InternalWithRef(ref terra.Reference) SpecHttpRouteMatchAttributes
func (SpecHttpRouteMatchAttributes) Method ¶
func (m SpecHttpRouteMatchAttributes) Method() terra.StringValue
func (SpecHttpRouteMatchAttributes) Prefix ¶
func (m SpecHttpRouteMatchAttributes) Prefix() terra.StringValue
func (SpecHttpRouteMatchAttributes) Scheme ¶
func (m SpecHttpRouteMatchAttributes) Scheme() terra.StringValue
type SpecHttpRouteMatchHeader ¶
type SpecHttpRouteMatchHeader struct { // Invert: bool, optional Invert terra.BoolValue `hcl:"invert,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // SpecHttpRoute30Dd3523: optional Match *SpecHttpRoute30Dd3523 `hcl:"match,block"` }
type SpecHttpRouteMatchHeaderAttributes ¶
type SpecHttpRouteMatchHeaderAttributes struct {
// contains filtered or unexported fields
}
func (SpecHttpRouteMatchHeaderAttributes) InternalRef ¶
func (h SpecHttpRouteMatchHeaderAttributes) InternalRef() (terra.Reference, error)
func (SpecHttpRouteMatchHeaderAttributes) InternalTokens ¶
func (h SpecHttpRouteMatchHeaderAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecHttpRouteMatchHeaderAttributes) InternalWithRef ¶
func (h SpecHttpRouteMatchHeaderAttributes) InternalWithRef(ref terra.Reference) SpecHttpRouteMatchHeaderAttributes
func (SpecHttpRouteMatchHeaderAttributes) Invert ¶
func (h SpecHttpRouteMatchHeaderAttributes) Invert() terra.BoolValue
func (SpecHttpRouteMatchHeaderAttributes) Match ¶
func (h SpecHttpRouteMatchHeaderAttributes) Match() terra.ListValue[SpecHttpRoute30Dd3523Attributes]
func (SpecHttpRouteMatchHeaderAttributes) Name ¶
func (h SpecHttpRouteMatchHeaderAttributes) Name() terra.StringValue
type SpecHttpRouteMatchHeaderState ¶
type SpecHttpRouteMatchHeaderState struct { Invert bool `json:"invert"` Name string `json:"name"` Match []SpecHttpRoute30Dd3523State `json:"match"` }
type SpecHttpRouteMatchState ¶
type SpecHttpRouteMatchState struct { Method string `json:"method"` Prefix string `json:"prefix"` Scheme string `json:"scheme"` Header []SpecHttpRouteMatchHeaderState `json:"header"` }
type SpecHttpRouteRetryPolicy ¶
type SpecHttpRouteRetryPolicy struct { // HttpRetryEvents: set of string, optional HttpRetryEvents terra.SetValue[terra.StringValue] `hcl:"http_retry_events,attr"` // MaxRetries: number, required MaxRetries terra.NumberValue `hcl:"max_retries,attr" validate:"required"` // TcpRetryEvents: set of string, optional TcpRetryEvents terra.SetValue[terra.StringValue] `hcl:"tcp_retry_events,attr"` // SpecHttpRouteRetryPolicyPerRetryTimeout: required PerRetryTimeout *SpecHttpRouteRetryPolicyPerRetryTimeout `hcl:"per_retry_timeout,block" validate:"required"` }
type SpecHttpRouteRetryPolicyAttributes ¶
type SpecHttpRouteRetryPolicyAttributes struct {
// contains filtered or unexported fields
}
func (SpecHttpRouteRetryPolicyAttributes) HttpRetryEvents ¶
func (rp SpecHttpRouteRetryPolicyAttributes) HttpRetryEvents() terra.SetValue[terra.StringValue]
func (SpecHttpRouteRetryPolicyAttributes) InternalRef ¶
func (rp SpecHttpRouteRetryPolicyAttributes) InternalRef() (terra.Reference, error)
func (SpecHttpRouteRetryPolicyAttributes) InternalTokens ¶
func (rp SpecHttpRouteRetryPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecHttpRouteRetryPolicyAttributes) InternalWithRef ¶
func (rp SpecHttpRouteRetryPolicyAttributes) InternalWithRef(ref terra.Reference) SpecHttpRouteRetryPolicyAttributes
func (SpecHttpRouteRetryPolicyAttributes) MaxRetries ¶
func (rp SpecHttpRouteRetryPolicyAttributes) MaxRetries() terra.NumberValue
func (SpecHttpRouteRetryPolicyAttributes) PerRetryTimeout ¶
func (rp SpecHttpRouteRetryPolicyAttributes) PerRetryTimeout() terra.ListValue[SpecHttpRouteRetryPolicyPerRetryTimeoutAttributes]
func (SpecHttpRouteRetryPolicyAttributes) TcpRetryEvents ¶
func (rp SpecHttpRouteRetryPolicyAttributes) TcpRetryEvents() terra.SetValue[terra.StringValue]
type SpecHttpRouteRetryPolicyPerRetryTimeout ¶
type SpecHttpRouteRetryPolicyPerRetryTimeout struct { // Unit: string, required Unit terra.StringValue `hcl:"unit,attr" validate:"required"` // Value: number, required Value terra.NumberValue `hcl:"value,attr" validate:"required"` }
type SpecHttpRouteRetryPolicyPerRetryTimeoutAttributes ¶
type SpecHttpRouteRetryPolicyPerRetryTimeoutAttributes struct {
// contains filtered or unexported fields
}
func (SpecHttpRouteRetryPolicyPerRetryTimeoutAttributes) InternalRef ¶
func (prt SpecHttpRouteRetryPolicyPerRetryTimeoutAttributes) InternalRef() (terra.Reference, error)
func (SpecHttpRouteRetryPolicyPerRetryTimeoutAttributes) InternalTokens ¶
func (prt SpecHttpRouteRetryPolicyPerRetryTimeoutAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecHttpRouteRetryPolicyPerRetryTimeoutAttributes) InternalWithRef ¶
func (prt SpecHttpRouteRetryPolicyPerRetryTimeoutAttributes) InternalWithRef(ref terra.Reference) SpecHttpRouteRetryPolicyPerRetryTimeoutAttributes
func (SpecHttpRouteRetryPolicyPerRetryTimeoutAttributes) Unit ¶
func (prt SpecHttpRouteRetryPolicyPerRetryTimeoutAttributes) Unit() terra.StringValue
func (SpecHttpRouteRetryPolicyPerRetryTimeoutAttributes) Value ¶
func (prt SpecHttpRouteRetryPolicyPerRetryTimeoutAttributes) Value() terra.NumberValue
type SpecHttpRouteRetryPolicyState ¶
type SpecHttpRouteRetryPolicyState struct { HttpRetryEvents []string `json:"http_retry_events"` MaxRetries float64 `json:"max_retries"` TcpRetryEvents []string `json:"tcp_retry_events"` PerRetryTimeout []SpecHttpRouteRetryPolicyPerRetryTimeoutState `json:"per_retry_timeout"` }
type SpecHttpRouteState ¶
type SpecHttpRouteState struct { Action []SpecHttpRouteActionState `json:"action"` Match []SpecHttpRouteMatchState `json:"match"` RetryPolicy []SpecHttpRouteRetryPolicyState `json:"retry_policy"` Timeout []SpecHttpRouteTimeoutState `json:"timeout"` }
type SpecHttpRouteTimeout ¶
type SpecHttpRouteTimeout struct { // SpecHttpRouteTimeoutIdle: optional Idle *SpecHttpRouteTimeoutIdle `hcl:"idle,block"` // SpecHttpRouteTimeoutPerRequest: optional PerRequest *SpecHttpRouteTimeoutPerRequest `hcl:"per_request,block"` }
type SpecHttpRouteTimeoutAttributes ¶
type SpecHttpRouteTimeoutAttributes struct {
// contains filtered or unexported fields
}
func (SpecHttpRouteTimeoutAttributes) Idle ¶
func (t SpecHttpRouteTimeoutAttributes) Idle() terra.ListValue[SpecHttpRouteTimeoutIdleAttributes]
func (SpecHttpRouteTimeoutAttributes) InternalRef ¶
func (t SpecHttpRouteTimeoutAttributes) InternalRef() (terra.Reference, error)
func (SpecHttpRouteTimeoutAttributes) InternalTokens ¶
func (t SpecHttpRouteTimeoutAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecHttpRouteTimeoutAttributes) InternalWithRef ¶
func (t SpecHttpRouteTimeoutAttributes) InternalWithRef(ref terra.Reference) SpecHttpRouteTimeoutAttributes
func (SpecHttpRouteTimeoutAttributes) PerRequest ¶
func (t SpecHttpRouteTimeoutAttributes) PerRequest() terra.ListValue[SpecHttpRouteTimeoutPerRequestAttributes]
type SpecHttpRouteTimeoutIdle ¶
type SpecHttpRouteTimeoutIdle struct { // Unit: string, required Unit terra.StringValue `hcl:"unit,attr" validate:"required"` // Value: number, required Value terra.NumberValue `hcl:"value,attr" validate:"required"` }
type SpecHttpRouteTimeoutIdleAttributes ¶
type SpecHttpRouteTimeoutIdleAttributes struct {
// contains filtered or unexported fields
}
func (SpecHttpRouteTimeoutIdleAttributes) InternalRef ¶
func (i SpecHttpRouteTimeoutIdleAttributes) InternalRef() (terra.Reference, error)
func (SpecHttpRouteTimeoutIdleAttributes) InternalTokens ¶
func (i SpecHttpRouteTimeoutIdleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecHttpRouteTimeoutIdleAttributes) InternalWithRef ¶
func (i SpecHttpRouteTimeoutIdleAttributes) InternalWithRef(ref terra.Reference) SpecHttpRouteTimeoutIdleAttributes
func (SpecHttpRouteTimeoutIdleAttributes) Unit ¶
func (i SpecHttpRouteTimeoutIdleAttributes) Unit() terra.StringValue
func (SpecHttpRouteTimeoutIdleAttributes) Value ¶
func (i SpecHttpRouteTimeoutIdleAttributes) Value() terra.NumberValue
type SpecHttpRouteTimeoutPerRequest ¶
type SpecHttpRouteTimeoutPerRequest struct { // Unit: string, required Unit terra.StringValue `hcl:"unit,attr" validate:"required"` // Value: number, required Value terra.NumberValue `hcl:"value,attr" validate:"required"` }
type SpecHttpRouteTimeoutPerRequestAttributes ¶
type SpecHttpRouteTimeoutPerRequestAttributes struct {
// contains filtered or unexported fields
}
func (SpecHttpRouteTimeoutPerRequestAttributes) InternalRef ¶
func (pr SpecHttpRouteTimeoutPerRequestAttributes) InternalRef() (terra.Reference, error)
func (SpecHttpRouteTimeoutPerRequestAttributes) InternalTokens ¶
func (pr SpecHttpRouteTimeoutPerRequestAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecHttpRouteTimeoutPerRequestAttributes) InternalWithRef ¶
func (pr SpecHttpRouteTimeoutPerRequestAttributes) InternalWithRef(ref terra.Reference) SpecHttpRouteTimeoutPerRequestAttributes
func (SpecHttpRouteTimeoutPerRequestAttributes) Unit ¶
func (pr SpecHttpRouteTimeoutPerRequestAttributes) Unit() terra.StringValue
func (SpecHttpRouteTimeoutPerRequestAttributes) Value ¶
func (pr SpecHttpRouteTimeoutPerRequestAttributes) Value() terra.NumberValue
type SpecHttpRouteTimeoutState ¶
type SpecHttpRouteTimeoutState struct { Idle []SpecHttpRouteTimeoutIdleState `json:"idle"` PerRequest []SpecHttpRouteTimeoutPerRequestState `json:"per_request"` }
type SpecState ¶
type SpecState struct { Priority float64 `json:"priority"` GrpcRoute []SpecGrpcRouteState `json:"grpc_route"` Http2Route []SpecHttp2RouteState `json:"http2_route"` HttpRoute []SpecHttpRouteState `json:"http_route"` TcpRoute []SpecTcpRouteState `json:"tcp_route"` }
type SpecTcpRoute ¶
type SpecTcpRoute struct { // SpecTcpRouteAction: required Action *SpecTcpRouteAction `hcl:"action,block" validate:"required"` // SpecTcpRouteTimeout: optional Timeout *SpecTcpRouteTimeout `hcl:"timeout,block"` }
type SpecTcpRouteAction ¶
type SpecTcpRouteAction struct { // SpecTcpRouteActionWeightedTarget: min=1,max=10 WeightedTarget []SpecTcpRouteActionWeightedTarget `hcl:"weighted_target,block" validate:"min=1,max=10"` }
type SpecTcpRouteActionAttributes ¶
type SpecTcpRouteActionAttributes struct {
// contains filtered or unexported fields
}
func (SpecTcpRouteActionAttributes) InternalRef ¶
func (a SpecTcpRouteActionAttributes) InternalRef() (terra.Reference, error)
func (SpecTcpRouteActionAttributes) InternalTokens ¶
func (a SpecTcpRouteActionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecTcpRouteActionAttributes) InternalWithRef ¶
func (a SpecTcpRouteActionAttributes) InternalWithRef(ref terra.Reference) SpecTcpRouteActionAttributes
func (SpecTcpRouteActionAttributes) WeightedTarget ¶
func (a SpecTcpRouteActionAttributes) WeightedTarget() terra.SetValue[SpecTcpRouteActionWeightedTargetAttributes]
type SpecTcpRouteActionState ¶
type SpecTcpRouteActionState struct {
WeightedTarget []SpecTcpRouteActionWeightedTargetState `json:"weighted_target"`
}
type SpecTcpRouteActionWeightedTarget ¶
type SpecTcpRouteActionWeightedTarget struct { // VirtualNode: string, required VirtualNode terra.StringValue `hcl:"virtual_node,attr" validate:"required"` // Weight: number, required Weight terra.NumberValue `hcl:"weight,attr" validate:"required"` }
type SpecTcpRouteActionWeightedTargetAttributes ¶
type SpecTcpRouteActionWeightedTargetAttributes struct {
// contains filtered or unexported fields
}
func (SpecTcpRouteActionWeightedTargetAttributes) InternalRef ¶
func (wt SpecTcpRouteActionWeightedTargetAttributes) InternalRef() (terra.Reference, error)
func (SpecTcpRouteActionWeightedTargetAttributes) InternalTokens ¶
func (wt SpecTcpRouteActionWeightedTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecTcpRouteActionWeightedTargetAttributes) InternalWithRef ¶
func (wt SpecTcpRouteActionWeightedTargetAttributes) InternalWithRef(ref terra.Reference) SpecTcpRouteActionWeightedTargetAttributes
func (SpecTcpRouteActionWeightedTargetAttributes) VirtualNode ¶
func (wt SpecTcpRouteActionWeightedTargetAttributes) VirtualNode() terra.StringValue
func (SpecTcpRouteActionWeightedTargetAttributes) Weight ¶
func (wt SpecTcpRouteActionWeightedTargetAttributes) Weight() terra.NumberValue
type SpecTcpRouteAttributes ¶
type SpecTcpRouteAttributes struct {
// contains filtered or unexported fields
}
func (SpecTcpRouteAttributes) Action ¶
func (tr SpecTcpRouteAttributes) Action() terra.ListValue[SpecTcpRouteActionAttributes]
func (SpecTcpRouteAttributes) InternalRef ¶
func (tr SpecTcpRouteAttributes) InternalRef() (terra.Reference, error)
func (SpecTcpRouteAttributes) InternalTokens ¶
func (tr SpecTcpRouteAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecTcpRouteAttributes) InternalWithRef ¶
func (tr SpecTcpRouteAttributes) InternalWithRef(ref terra.Reference) SpecTcpRouteAttributes
func (SpecTcpRouteAttributes) Timeout ¶
func (tr SpecTcpRouteAttributes) Timeout() terra.ListValue[SpecTcpRouteTimeoutAttributes]
type SpecTcpRouteState ¶
type SpecTcpRouteState struct { Action []SpecTcpRouteActionState `json:"action"` Timeout []SpecTcpRouteTimeoutState `json:"timeout"` }
type SpecTcpRouteTimeout ¶
type SpecTcpRouteTimeout struct { // SpecTcpRouteTimeoutIdle: optional Idle *SpecTcpRouteTimeoutIdle `hcl:"idle,block"` }
type SpecTcpRouteTimeoutAttributes ¶
type SpecTcpRouteTimeoutAttributes struct {
// contains filtered or unexported fields
}
func (SpecTcpRouteTimeoutAttributes) Idle ¶
func (t SpecTcpRouteTimeoutAttributes) Idle() terra.ListValue[SpecTcpRouteTimeoutIdleAttributes]
func (SpecTcpRouteTimeoutAttributes) InternalRef ¶
func (t SpecTcpRouteTimeoutAttributes) InternalRef() (terra.Reference, error)
func (SpecTcpRouteTimeoutAttributes) InternalTokens ¶
func (t SpecTcpRouteTimeoutAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecTcpRouteTimeoutAttributes) InternalWithRef ¶
func (t SpecTcpRouteTimeoutAttributes) InternalWithRef(ref terra.Reference) SpecTcpRouteTimeoutAttributes
type SpecTcpRouteTimeoutIdle ¶
type SpecTcpRouteTimeoutIdle struct { // Unit: string, required Unit terra.StringValue `hcl:"unit,attr" validate:"required"` // Value: number, required Value terra.NumberValue `hcl:"value,attr" validate:"required"` }
type SpecTcpRouteTimeoutIdleAttributes ¶
type SpecTcpRouteTimeoutIdleAttributes struct {
// contains filtered or unexported fields
}
func (SpecTcpRouteTimeoutIdleAttributes) InternalRef ¶
func (i SpecTcpRouteTimeoutIdleAttributes) InternalRef() (terra.Reference, error)
func (SpecTcpRouteTimeoutIdleAttributes) InternalTokens ¶
func (i SpecTcpRouteTimeoutIdleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecTcpRouteTimeoutIdleAttributes) InternalWithRef ¶
func (i SpecTcpRouteTimeoutIdleAttributes) InternalWithRef(ref terra.Reference) SpecTcpRouteTimeoutIdleAttributes
func (SpecTcpRouteTimeoutIdleAttributes) Unit ¶
func (i SpecTcpRouteTimeoutIdleAttributes) Unit() terra.StringValue
func (SpecTcpRouteTimeoutIdleAttributes) Value ¶
func (i SpecTcpRouteTimeoutIdleAttributes) Value() terra.NumberValue
type SpecTcpRouteTimeoutState ¶
type SpecTcpRouteTimeoutState struct {
Idle []SpecTcpRouteTimeoutIdleState `json:"idle"`
}
Click to show internal directories.
Click to hide internal directories.