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) Target() terra.ListValue[GrpcRouteActionTargetAttributes]
- type GrpcRouteActionState
- type GrpcRouteActionTarget
- type GrpcRouteActionTargetAttributes
- func (t GrpcRouteActionTargetAttributes) InternalRef() (terra.Reference, error)
- func (t GrpcRouteActionTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t GrpcRouteActionTargetAttributes) InternalWithRef(ref terra.Reference) GrpcRouteActionTargetAttributes
- func (t GrpcRouteActionTargetAttributes) Port() terra.NumberValue
- func (t GrpcRouteActionTargetAttributes) VirtualService() terra.ListValue[GrpcRouteActionTargetVirtualServiceAttributes]
- type GrpcRouteActionTargetState
- type GrpcRouteActionTargetVirtualService
- type GrpcRouteActionTargetVirtualServiceAttributes
- func (vs GrpcRouteActionTargetVirtualServiceAttributes) InternalRef() (terra.Reference, error)
- func (vs GrpcRouteActionTargetVirtualServiceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (vs GrpcRouteActionTargetVirtualServiceAttributes) InternalWithRef(ref terra.Reference) GrpcRouteActionTargetVirtualServiceAttributes
- func (vs GrpcRouteActionTargetVirtualServiceAttributes) VirtualServiceName() terra.StringValue
- type GrpcRouteActionTargetVirtualServiceState
- 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]
- 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) Port() terra.NumberValue
- func (m GrpcRouteMatchAttributes) ServiceName() terra.StringValue
- type GrpcRouteMatchState
- type GrpcRouteState
- 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) Rewrite() terra.ListValue[Http2RouteActionRewriteAttributes]
- func (a Http2RouteActionAttributes) Target() terra.ListValue[Http2RouteActionTargetAttributes]
- type Http2RouteActionRewrite
- type Http2RouteActionRewriteAttributes
- func (r Http2RouteActionRewriteAttributes) Hostname() terra.ListValue[Http2RouteActionRewriteHostnameAttributes]
- func (r Http2RouteActionRewriteAttributes) InternalRef() (terra.Reference, error)
- func (r Http2RouteActionRewriteAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r Http2RouteActionRewriteAttributes) InternalWithRef(ref terra.Reference) Http2RouteActionRewriteAttributes
- func (r Http2RouteActionRewriteAttributes) Path() terra.ListValue[Http2RouteActionRewritePathAttributes]
- func (r Http2RouteActionRewriteAttributes) Prefix() terra.ListValue[Http2RouteActionRewritePrefixAttributes]
- type Http2RouteActionRewriteHostname
- type Http2RouteActionRewriteHostnameAttributes
- func (h Http2RouteActionRewriteHostnameAttributes) DefaultTargetHostname() terra.StringValue
- func (h Http2RouteActionRewriteHostnameAttributes) InternalRef() (terra.Reference, error)
- func (h Http2RouteActionRewriteHostnameAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (h Http2RouteActionRewriteHostnameAttributes) InternalWithRef(ref terra.Reference) Http2RouteActionRewriteHostnameAttributes
- type Http2RouteActionRewriteHostnameState
- type Http2RouteActionRewritePath
- type Http2RouteActionRewritePathAttributes
- func (p Http2RouteActionRewritePathAttributes) Exact() terra.StringValue
- func (p Http2RouteActionRewritePathAttributes) InternalRef() (terra.Reference, error)
- func (p Http2RouteActionRewritePathAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (p Http2RouteActionRewritePathAttributes) InternalWithRef(ref terra.Reference) Http2RouteActionRewritePathAttributes
- type Http2RouteActionRewritePathState
- type Http2RouteActionRewritePrefix
- type Http2RouteActionRewritePrefixAttributes
- func (p Http2RouteActionRewritePrefixAttributes) DefaultPrefix() terra.StringValue
- func (p Http2RouteActionRewritePrefixAttributes) InternalRef() (terra.Reference, error)
- func (p Http2RouteActionRewritePrefixAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (p Http2RouteActionRewritePrefixAttributes) InternalWithRef(ref terra.Reference) Http2RouteActionRewritePrefixAttributes
- func (p Http2RouteActionRewritePrefixAttributes) Value() terra.StringValue
- type Http2RouteActionRewritePrefixState
- type Http2RouteActionRewriteState
- type Http2RouteActionState
- type Http2RouteActionTarget
- type Http2RouteActionTargetAttributes
- func (t Http2RouteActionTargetAttributes) InternalRef() (terra.Reference, error)
- func (t Http2RouteActionTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t Http2RouteActionTargetAttributes) InternalWithRef(ref terra.Reference) Http2RouteActionTargetAttributes
- func (t Http2RouteActionTargetAttributes) Port() terra.NumberValue
- func (t Http2RouteActionTargetAttributes) VirtualService() terra.ListValue[Http2RouteActionTargetVirtualServiceAttributes]
- type Http2RouteActionTargetState
- type Http2RouteActionTargetVirtualService
- type Http2RouteActionTargetVirtualServiceAttributes
- func (vs Http2RouteActionTargetVirtualServiceAttributes) InternalRef() (terra.Reference, error)
- func (vs Http2RouteActionTargetVirtualServiceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (vs Http2RouteActionTargetVirtualServiceAttributes) InternalWithRef(ref terra.Reference) Http2RouteActionTargetVirtualServiceAttributes
- func (vs Http2RouteActionTargetVirtualServiceAttributes) VirtualServiceName() terra.StringValue
- type Http2RouteActionTargetVirtualServiceState
- 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]
- type Http2RouteMatch
- type Http2RouteMatchAttributes
- func (m Http2RouteMatchAttributes) Header() terra.SetValue[Http2RouteMatchHeaderAttributes]
- func (m Http2RouteMatchAttributes) Hostname() terra.ListValue[Http2RouteMatchHostnameAttributes]
- 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) Path() terra.ListValue[Http2RouteMatchPathAttributes]
- func (m Http2RouteMatchAttributes) Port() terra.NumberValue
- func (m Http2RouteMatchAttributes) Prefix() terra.StringValue
- func (m Http2RouteMatchAttributes) QueryParameter() terra.SetValue[Http2RouteMatchQueryParameterAttributes]
- 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 Http2RouteMatchHostname
- type Http2RouteMatchHostnameAttributes
- func (h Http2RouteMatchHostnameAttributes) Exact() terra.StringValue
- func (h Http2RouteMatchHostnameAttributes) InternalRef() (terra.Reference, error)
- func (h Http2RouteMatchHostnameAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (h Http2RouteMatchHostnameAttributes) InternalWithRef(ref terra.Reference) Http2RouteMatchHostnameAttributes
- func (h Http2RouteMatchHostnameAttributes) Suffix() terra.StringValue
- type Http2RouteMatchHostnameState
- 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 Http2RouteState
- 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) Rewrite() terra.ListValue[HttpRouteActionRewriteAttributes]
- func (a HttpRouteActionAttributes) Target() terra.ListValue[HttpRouteActionTargetAttributes]
- type HttpRouteActionRewrite
- type HttpRouteActionRewriteAttributes
- func (r HttpRouteActionRewriteAttributes) Hostname() terra.ListValue[HttpRouteActionRewriteHostnameAttributes]
- func (r HttpRouteActionRewriteAttributes) InternalRef() (terra.Reference, error)
- func (r HttpRouteActionRewriteAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r HttpRouteActionRewriteAttributes) InternalWithRef(ref terra.Reference) HttpRouteActionRewriteAttributes
- func (r HttpRouteActionRewriteAttributes) Path() terra.ListValue[HttpRouteActionRewritePathAttributes]
- func (r HttpRouteActionRewriteAttributes) Prefix() terra.ListValue[HttpRouteActionRewritePrefixAttributes]
- type HttpRouteActionRewriteHostname
- type HttpRouteActionRewriteHostnameAttributes
- func (h HttpRouteActionRewriteHostnameAttributes) DefaultTargetHostname() terra.StringValue
- func (h HttpRouteActionRewriteHostnameAttributes) InternalRef() (terra.Reference, error)
- func (h HttpRouteActionRewriteHostnameAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (h HttpRouteActionRewriteHostnameAttributes) InternalWithRef(ref terra.Reference) HttpRouteActionRewriteHostnameAttributes
- type HttpRouteActionRewriteHostnameState
- type HttpRouteActionRewritePath
- type HttpRouteActionRewritePathAttributes
- func (p HttpRouteActionRewritePathAttributes) Exact() terra.StringValue
- func (p HttpRouteActionRewritePathAttributes) InternalRef() (terra.Reference, error)
- func (p HttpRouteActionRewritePathAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (p HttpRouteActionRewritePathAttributes) InternalWithRef(ref terra.Reference) HttpRouteActionRewritePathAttributes
- type HttpRouteActionRewritePathState
- type HttpRouteActionRewritePrefix
- type HttpRouteActionRewritePrefixAttributes
- func (p HttpRouteActionRewritePrefixAttributes) DefaultPrefix() terra.StringValue
- func (p HttpRouteActionRewritePrefixAttributes) InternalRef() (terra.Reference, error)
- func (p HttpRouteActionRewritePrefixAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (p HttpRouteActionRewritePrefixAttributes) InternalWithRef(ref terra.Reference) HttpRouteActionRewritePrefixAttributes
- func (p HttpRouteActionRewritePrefixAttributes) Value() terra.StringValue
- type HttpRouteActionRewritePrefixState
- type HttpRouteActionRewriteState
- type HttpRouteActionState
- type HttpRouteActionTarget
- type HttpRouteActionTargetAttributes
- func (t HttpRouteActionTargetAttributes) InternalRef() (terra.Reference, error)
- func (t HttpRouteActionTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t HttpRouteActionTargetAttributes) InternalWithRef(ref terra.Reference) HttpRouteActionTargetAttributes
- func (t HttpRouteActionTargetAttributes) Port() terra.NumberValue
- func (t HttpRouteActionTargetAttributes) VirtualService() terra.ListValue[HttpRouteActionTargetVirtualServiceAttributes]
- type HttpRouteActionTargetState
- type HttpRouteActionTargetVirtualService
- type HttpRouteActionTargetVirtualServiceAttributes
- func (vs HttpRouteActionTargetVirtualServiceAttributes) InternalRef() (terra.Reference, error)
- func (vs HttpRouteActionTargetVirtualServiceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (vs HttpRouteActionTargetVirtualServiceAttributes) InternalWithRef(ref terra.Reference) HttpRouteActionTargetVirtualServiceAttributes
- func (vs HttpRouteActionTargetVirtualServiceAttributes) VirtualServiceName() terra.StringValue
- type HttpRouteActionTargetVirtualServiceState
- 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]
- type HttpRouteMatch
- type HttpRouteMatchAttributes
- func (m HttpRouteMatchAttributes) Header() terra.SetValue[HttpRouteMatchHeaderAttributes]
- func (m HttpRouteMatchAttributes) Hostname() terra.ListValue[HttpRouteMatchHostnameAttributes]
- 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) Path() terra.ListValue[HttpRouteMatchPathAttributes]
- func (m HttpRouteMatchAttributes) Port() terra.NumberValue
- func (m HttpRouteMatchAttributes) Prefix() terra.StringValue
- func (m HttpRouteMatchAttributes) QueryParameter() terra.SetValue[HttpRouteMatchQueryParameterAttributes]
- 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 HttpRouteMatchHostname
- type HttpRouteMatchHostnameAttributes
- func (h HttpRouteMatchHostnameAttributes) Exact() terra.StringValue
- func (h HttpRouteMatchHostnameAttributes) InternalRef() (terra.Reference, error)
- func (h HttpRouteMatchHostnameAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (h HttpRouteMatchHostnameAttributes) InternalWithRef(ref terra.Reference) HttpRouteMatchHostnameAttributes
- func (h HttpRouteMatchHostnameAttributes) Suffix() terra.StringValue
- type HttpRouteMatchHostnameState
- 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 HttpRouteState
- 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
- type SpecState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GrpcRoute ¶
type GrpcRoute struct { // GrpcRouteAction: required Action *GrpcRouteAction `hcl:"action,block" validate:"required"` // GrpcRouteMatch: required Match *GrpcRouteMatch `hcl:"match,block" validate:"required"` }
type GrpcRouteAction ¶
type GrpcRouteAction struct { // GrpcRouteActionTarget: required Target *GrpcRouteActionTarget `hcl:"target,block" validate:"required"` }
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) Target ¶
func (a GrpcRouteActionAttributes) Target() terra.ListValue[GrpcRouteActionTargetAttributes]
type GrpcRouteActionState ¶
type GrpcRouteActionState struct {
Target []GrpcRouteActionTargetState `json:"target"`
}
type GrpcRouteActionTarget ¶
type GrpcRouteActionTarget struct { // Port: number, optional Port terra.NumberValue `hcl:"port,attr"` // GrpcRouteActionTargetVirtualService: required VirtualService *GrpcRouteActionTargetVirtualService `hcl:"virtual_service,block" validate:"required"` }
type GrpcRouteActionTargetAttributes ¶
type GrpcRouteActionTargetAttributes struct {
// contains filtered or unexported fields
}
func (GrpcRouteActionTargetAttributes) InternalRef ¶
func (t GrpcRouteActionTargetAttributes) InternalRef() (terra.Reference, error)
func (GrpcRouteActionTargetAttributes) InternalTokens ¶
func (t GrpcRouteActionTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GrpcRouteActionTargetAttributes) InternalWithRef ¶
func (t GrpcRouteActionTargetAttributes) InternalWithRef(ref terra.Reference) GrpcRouteActionTargetAttributes
func (GrpcRouteActionTargetAttributes) Port ¶
func (t GrpcRouteActionTargetAttributes) Port() terra.NumberValue
func (GrpcRouteActionTargetAttributes) VirtualService ¶
func (t GrpcRouteActionTargetAttributes) VirtualService() terra.ListValue[GrpcRouteActionTargetVirtualServiceAttributes]
type GrpcRouteActionTargetState ¶
type GrpcRouteActionTargetState struct { Port float64 `json:"port"` VirtualService []GrpcRouteActionTargetVirtualServiceState `json:"virtual_service"` }
type GrpcRouteActionTargetVirtualService ¶
type GrpcRouteActionTargetVirtualService struct { // VirtualServiceName: string, required VirtualServiceName terra.StringValue `hcl:"virtual_service_name,attr" validate:"required"` }
type GrpcRouteActionTargetVirtualServiceAttributes ¶
type GrpcRouteActionTargetVirtualServiceAttributes struct {
// contains filtered or unexported fields
}
func (GrpcRouteActionTargetVirtualServiceAttributes) InternalRef ¶
func (vs GrpcRouteActionTargetVirtualServiceAttributes) InternalRef() (terra.Reference, error)
func (GrpcRouteActionTargetVirtualServiceAttributes) InternalTokens ¶
func (vs GrpcRouteActionTargetVirtualServiceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GrpcRouteActionTargetVirtualServiceAttributes) InternalWithRef ¶
func (vs GrpcRouteActionTargetVirtualServiceAttributes) InternalWithRef(ref terra.Reference) GrpcRouteActionTargetVirtualServiceAttributes
func (GrpcRouteActionTargetVirtualServiceAttributes) VirtualServiceName ¶
func (vs GrpcRouteActionTargetVirtualServiceAttributes) VirtualServiceName() terra.StringValue
type GrpcRouteActionTargetVirtualServiceState ¶
type GrpcRouteActionTargetVirtualServiceState struct {
VirtualServiceName string `json:"virtual_service_name"`
}
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]
type GrpcRouteMatch ¶
type GrpcRouteMatch struct { // Port: number, optional Port terra.NumberValue `hcl:"port,attr"` // ServiceName: string, required ServiceName terra.StringValue `hcl:"service_name,attr" validate:"required"` }
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) Port ¶
func (m GrpcRouteMatchAttributes) Port() terra.NumberValue
func (GrpcRouteMatchAttributes) ServiceName ¶
func (m GrpcRouteMatchAttributes) ServiceName() terra.StringValue
type GrpcRouteMatchState ¶
type GrpcRouteState ¶
type GrpcRouteState struct { Action []GrpcRouteActionState `json:"action"` Match []GrpcRouteMatchState `json:"match"` }
type Http2Route ¶
type Http2Route struct { // Http2RouteAction: required Action *Http2RouteAction `hcl:"action,block" validate:"required"` // Http2RouteMatch: required Match *Http2RouteMatch `hcl:"match,block" validate:"required"` }
type Http2RouteAction ¶
type Http2RouteAction struct { // Http2RouteActionRewrite: optional Rewrite *Http2RouteActionRewrite `hcl:"rewrite,block"` // Http2RouteActionTarget: required Target *Http2RouteActionTarget `hcl:"target,block" validate:"required"` }
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) Rewrite ¶
func (a Http2RouteActionAttributes) Rewrite() terra.ListValue[Http2RouteActionRewriteAttributes]
func (Http2RouteActionAttributes) Target ¶
func (a Http2RouteActionAttributes) Target() terra.ListValue[Http2RouteActionTargetAttributes]
type Http2RouteActionRewrite ¶
type Http2RouteActionRewrite struct { // Http2RouteActionRewriteHostname: optional Hostname *Http2RouteActionRewriteHostname `hcl:"hostname,block"` // Http2RouteActionRewritePath: optional Path *Http2RouteActionRewritePath `hcl:"path,block"` // Http2RouteActionRewritePrefix: optional Prefix *Http2RouteActionRewritePrefix `hcl:"prefix,block"` }
type Http2RouteActionRewriteAttributes ¶
type Http2RouteActionRewriteAttributes struct {
// contains filtered or unexported fields
}
func (Http2RouteActionRewriteAttributes) Hostname ¶
func (r Http2RouteActionRewriteAttributes) Hostname() terra.ListValue[Http2RouteActionRewriteHostnameAttributes]
func (Http2RouteActionRewriteAttributes) InternalRef ¶
func (r Http2RouteActionRewriteAttributes) InternalRef() (terra.Reference, error)
func (Http2RouteActionRewriteAttributes) InternalTokens ¶
func (r Http2RouteActionRewriteAttributes) InternalTokens() (hclwrite.Tokens, error)
func (Http2RouteActionRewriteAttributes) InternalWithRef ¶
func (r Http2RouteActionRewriteAttributes) InternalWithRef(ref terra.Reference) Http2RouteActionRewriteAttributes
func (Http2RouteActionRewriteAttributes) Prefix ¶
func (r Http2RouteActionRewriteAttributes) Prefix() terra.ListValue[Http2RouteActionRewritePrefixAttributes]
type Http2RouteActionRewriteHostname ¶
type Http2RouteActionRewriteHostname struct { // DefaultTargetHostname: string, required DefaultTargetHostname terra.StringValue `hcl:"default_target_hostname,attr" validate:"required"` }
type Http2RouteActionRewriteHostnameAttributes ¶
type Http2RouteActionRewriteHostnameAttributes struct {
// contains filtered or unexported fields
}
func (Http2RouteActionRewriteHostnameAttributes) DefaultTargetHostname ¶
func (h Http2RouteActionRewriteHostnameAttributes) DefaultTargetHostname() terra.StringValue
func (Http2RouteActionRewriteHostnameAttributes) InternalRef ¶
func (h Http2RouteActionRewriteHostnameAttributes) InternalRef() (terra.Reference, error)
func (Http2RouteActionRewriteHostnameAttributes) InternalTokens ¶
func (h Http2RouteActionRewriteHostnameAttributes) InternalTokens() (hclwrite.Tokens, error)
func (Http2RouteActionRewriteHostnameAttributes) InternalWithRef ¶
func (h Http2RouteActionRewriteHostnameAttributes) InternalWithRef(ref terra.Reference) Http2RouteActionRewriteHostnameAttributes
type Http2RouteActionRewriteHostnameState ¶
type Http2RouteActionRewriteHostnameState struct {
DefaultTargetHostname string `json:"default_target_hostname"`
}
type Http2RouteActionRewritePath ¶
type Http2RouteActionRewritePath struct { // Exact: string, required Exact terra.StringValue `hcl:"exact,attr" validate:"required"` }
type Http2RouteActionRewritePathAttributes ¶
type Http2RouteActionRewritePathAttributes struct {
// contains filtered or unexported fields
}
func (Http2RouteActionRewritePathAttributes) Exact ¶
func (p Http2RouteActionRewritePathAttributes) Exact() terra.StringValue
func (Http2RouteActionRewritePathAttributes) InternalRef ¶
func (p Http2RouteActionRewritePathAttributes) InternalRef() (terra.Reference, error)
func (Http2RouteActionRewritePathAttributes) InternalTokens ¶
func (p Http2RouteActionRewritePathAttributes) InternalTokens() (hclwrite.Tokens, error)
func (Http2RouteActionRewritePathAttributes) InternalWithRef ¶
func (p Http2RouteActionRewritePathAttributes) InternalWithRef(ref terra.Reference) Http2RouteActionRewritePathAttributes
type Http2RouteActionRewritePathState ¶
type Http2RouteActionRewritePathState struct {
Exact string `json:"exact"`
}
type Http2RouteActionRewritePrefix ¶
type Http2RouteActionRewritePrefix struct { // DefaultPrefix: string, optional DefaultPrefix terra.StringValue `hcl:"default_prefix,attr"` // Value: string, optional Value terra.StringValue `hcl:"value,attr"` }
type Http2RouteActionRewritePrefixAttributes ¶
type Http2RouteActionRewritePrefixAttributes struct {
// contains filtered or unexported fields
}
func (Http2RouteActionRewritePrefixAttributes) DefaultPrefix ¶
func (p Http2RouteActionRewritePrefixAttributes) DefaultPrefix() terra.StringValue
func (Http2RouteActionRewritePrefixAttributes) InternalRef ¶
func (p Http2RouteActionRewritePrefixAttributes) InternalRef() (terra.Reference, error)
func (Http2RouteActionRewritePrefixAttributes) InternalTokens ¶
func (p Http2RouteActionRewritePrefixAttributes) InternalTokens() (hclwrite.Tokens, error)
func (Http2RouteActionRewritePrefixAttributes) InternalWithRef ¶
func (p Http2RouteActionRewritePrefixAttributes) InternalWithRef(ref terra.Reference) Http2RouteActionRewritePrefixAttributes
func (Http2RouteActionRewritePrefixAttributes) Value ¶
func (p Http2RouteActionRewritePrefixAttributes) Value() terra.StringValue
type Http2RouteActionRewriteState ¶
type Http2RouteActionRewriteState struct { Hostname []Http2RouteActionRewriteHostnameState `json:"hostname"` Path []Http2RouteActionRewritePathState `json:"path"` Prefix []Http2RouteActionRewritePrefixState `json:"prefix"` }
type Http2RouteActionState ¶
type Http2RouteActionState struct { Rewrite []Http2RouteActionRewriteState `json:"rewrite"` Target []Http2RouteActionTargetState `json:"target"` }
type Http2RouteActionTarget ¶
type Http2RouteActionTarget struct { // Port: number, optional Port terra.NumberValue `hcl:"port,attr"` // Http2RouteActionTargetVirtualService: required VirtualService *Http2RouteActionTargetVirtualService `hcl:"virtual_service,block" validate:"required"` }
type Http2RouteActionTargetAttributes ¶
type Http2RouteActionTargetAttributes struct {
// contains filtered or unexported fields
}
func (Http2RouteActionTargetAttributes) InternalRef ¶
func (t Http2RouteActionTargetAttributes) InternalRef() (terra.Reference, error)
func (Http2RouteActionTargetAttributes) InternalTokens ¶
func (t Http2RouteActionTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (Http2RouteActionTargetAttributes) InternalWithRef ¶
func (t Http2RouteActionTargetAttributes) InternalWithRef(ref terra.Reference) Http2RouteActionTargetAttributes
func (Http2RouteActionTargetAttributes) Port ¶
func (t Http2RouteActionTargetAttributes) Port() terra.NumberValue
func (Http2RouteActionTargetAttributes) VirtualService ¶
func (t Http2RouteActionTargetAttributes) VirtualService() terra.ListValue[Http2RouteActionTargetVirtualServiceAttributes]
type Http2RouteActionTargetState ¶
type Http2RouteActionTargetState struct { Port float64 `json:"port"` VirtualService []Http2RouteActionTargetVirtualServiceState `json:"virtual_service"` }
type Http2RouteActionTargetVirtualService ¶
type Http2RouteActionTargetVirtualService struct { // VirtualServiceName: string, required VirtualServiceName terra.StringValue `hcl:"virtual_service_name,attr" validate:"required"` }
type Http2RouteActionTargetVirtualServiceAttributes ¶
type Http2RouteActionTargetVirtualServiceAttributes struct {
// contains filtered or unexported fields
}
func (Http2RouteActionTargetVirtualServiceAttributes) InternalRef ¶
func (vs Http2RouteActionTargetVirtualServiceAttributes) InternalRef() (terra.Reference, error)
func (Http2RouteActionTargetVirtualServiceAttributes) InternalTokens ¶
func (vs Http2RouteActionTargetVirtualServiceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (Http2RouteActionTargetVirtualServiceAttributes) InternalWithRef ¶
func (vs Http2RouteActionTargetVirtualServiceAttributes) InternalWithRef(ref terra.Reference) Http2RouteActionTargetVirtualServiceAttributes
func (Http2RouteActionTargetVirtualServiceAttributes) VirtualServiceName ¶
func (vs Http2RouteActionTargetVirtualServiceAttributes) VirtualServiceName() terra.StringValue
type Http2RouteActionTargetVirtualServiceState ¶
type Http2RouteActionTargetVirtualServiceState struct {
VirtualServiceName string `json:"virtual_service_name"`
}
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]
type Http2RouteMatch ¶
type Http2RouteMatch struct { // Port: number, optional Port terra.NumberValue `hcl:"port,attr"` // Prefix: string, optional Prefix terra.StringValue `hcl:"prefix,attr"` // Http2RouteMatchHeader: min=0,max=10 Header []Http2RouteMatchHeader `hcl:"header,block" validate:"min=0,max=10"` // Http2RouteMatchHostname: optional Hostname *Http2RouteMatchHostname `hcl:"hostname,block"` // Http2RouteMatchPath: optional Path *Http2RouteMatchPath `hcl:"path,block"` // Http2RouteMatchQueryParameter: min=0,max=10 QueryParameter []Http2RouteMatchQueryParameter `hcl:"query_parameter,block" validate:"min=0,max=10"` }
type Http2RouteMatchAttributes ¶
type Http2RouteMatchAttributes struct {
// contains filtered or unexported fields
}
func (Http2RouteMatchAttributes) Header ¶
func (m Http2RouteMatchAttributes) Header() terra.SetValue[Http2RouteMatchHeaderAttributes]
func (Http2RouteMatchAttributes) Hostname ¶
func (m Http2RouteMatchAttributes) Hostname() terra.ListValue[Http2RouteMatchHostnameAttributes]
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) 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]
type Http2RouteMatchHeader ¶
type Http2RouteMatchHeader struct { // Invert: bool, optional Invert terra.BoolValue `hcl:"invert,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Http2RouteMatchHeaderMatch: optional Match *Http2RouteMatchHeaderMatch `hcl:"match,block"` }
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 { // 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"` // Http2RouteMatchHeaderMatchRange: optional Range *Http2RouteMatchHeaderMatchRange `hcl:"range,block"` }
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 { // End: number, required End terra.NumberValue `hcl:"end,attr" validate:"required"` // Start: number, required Start terra.NumberValue `hcl:"start,attr" validate:"required"` }
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 Http2RouteMatchHostname ¶
type Http2RouteMatchHostname struct { // Exact: string, optional Exact terra.StringValue `hcl:"exact,attr"` // Suffix: string, optional Suffix terra.StringValue `hcl:"suffix,attr"` }
type Http2RouteMatchHostnameAttributes ¶
type Http2RouteMatchHostnameAttributes struct {
// contains filtered or unexported fields
}
func (Http2RouteMatchHostnameAttributes) Exact ¶
func (h Http2RouteMatchHostnameAttributes) Exact() terra.StringValue
func (Http2RouteMatchHostnameAttributes) InternalRef ¶
func (h Http2RouteMatchHostnameAttributes) InternalRef() (terra.Reference, error)
func (Http2RouteMatchHostnameAttributes) InternalTokens ¶
func (h Http2RouteMatchHostnameAttributes) InternalTokens() (hclwrite.Tokens, error)
func (Http2RouteMatchHostnameAttributes) InternalWithRef ¶
func (h Http2RouteMatchHostnameAttributes) InternalWithRef(ref terra.Reference) Http2RouteMatchHostnameAttributes
func (Http2RouteMatchHostnameAttributes) Suffix ¶
func (h Http2RouteMatchHostnameAttributes) Suffix() terra.StringValue
type Http2RouteMatchPath ¶
type Http2RouteMatchPath struct { // Exact: string, optional Exact terra.StringValue `hcl:"exact,attr"` // Regex: string, optional Regex terra.StringValue `hcl:"regex,attr"` }
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 { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Http2RouteMatchQueryParameterMatch: optional Match *Http2RouteMatchQueryParameterMatch `hcl:"match,block"` }
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 { // Exact: string, optional Exact terra.StringValue `hcl:"exact,attr"` }
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 { Port float64 `json:"port"` Prefix string `json:"prefix"` Header []Http2RouteMatchHeaderState `json:"header"` Hostname []Http2RouteMatchHostnameState `json:"hostname"` Path []Http2RouteMatchPathState `json:"path"` QueryParameter []Http2RouteMatchQueryParameterState `json:"query_parameter"` }
type Http2RouteState ¶
type Http2RouteState struct { Action []Http2RouteActionState `json:"action"` Match []Http2RouteMatchState `json:"match"` }
type HttpRoute ¶
type HttpRoute struct { // HttpRouteAction: required Action *HttpRouteAction `hcl:"action,block" validate:"required"` // HttpRouteMatch: required Match *HttpRouteMatch `hcl:"match,block" validate:"required"` }
type HttpRouteAction ¶
type HttpRouteAction struct { // HttpRouteActionRewrite: optional Rewrite *HttpRouteActionRewrite `hcl:"rewrite,block"` // HttpRouteActionTarget: required Target *HttpRouteActionTarget `hcl:"target,block" validate:"required"` }
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) Rewrite ¶
func (a HttpRouteActionAttributes) Rewrite() terra.ListValue[HttpRouteActionRewriteAttributes]
func (HttpRouteActionAttributes) Target ¶
func (a HttpRouteActionAttributes) Target() terra.ListValue[HttpRouteActionTargetAttributes]
type HttpRouteActionRewrite ¶
type HttpRouteActionRewrite struct { // HttpRouteActionRewriteHostname: optional Hostname *HttpRouteActionRewriteHostname `hcl:"hostname,block"` // HttpRouteActionRewritePath: optional Path *HttpRouteActionRewritePath `hcl:"path,block"` // HttpRouteActionRewritePrefix: optional Prefix *HttpRouteActionRewritePrefix `hcl:"prefix,block"` }
type HttpRouteActionRewriteAttributes ¶
type HttpRouteActionRewriteAttributes struct {
// contains filtered or unexported fields
}
func (HttpRouteActionRewriteAttributes) Hostname ¶
func (r HttpRouteActionRewriteAttributes) Hostname() terra.ListValue[HttpRouteActionRewriteHostnameAttributes]
func (HttpRouteActionRewriteAttributes) InternalRef ¶
func (r HttpRouteActionRewriteAttributes) InternalRef() (terra.Reference, error)
func (HttpRouteActionRewriteAttributes) InternalTokens ¶
func (r HttpRouteActionRewriteAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HttpRouteActionRewriteAttributes) InternalWithRef ¶
func (r HttpRouteActionRewriteAttributes) InternalWithRef(ref terra.Reference) HttpRouteActionRewriteAttributes
func (HttpRouteActionRewriteAttributes) Prefix ¶
func (r HttpRouteActionRewriteAttributes) Prefix() terra.ListValue[HttpRouteActionRewritePrefixAttributes]
type HttpRouteActionRewriteHostname ¶
type HttpRouteActionRewriteHostname struct { // DefaultTargetHostname: string, required DefaultTargetHostname terra.StringValue `hcl:"default_target_hostname,attr" validate:"required"` }
type HttpRouteActionRewriteHostnameAttributes ¶
type HttpRouteActionRewriteHostnameAttributes struct {
// contains filtered or unexported fields
}
func (HttpRouteActionRewriteHostnameAttributes) DefaultTargetHostname ¶
func (h HttpRouteActionRewriteHostnameAttributes) DefaultTargetHostname() terra.StringValue
func (HttpRouteActionRewriteHostnameAttributes) InternalRef ¶
func (h HttpRouteActionRewriteHostnameAttributes) InternalRef() (terra.Reference, error)
func (HttpRouteActionRewriteHostnameAttributes) InternalTokens ¶
func (h HttpRouteActionRewriteHostnameAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HttpRouteActionRewriteHostnameAttributes) InternalWithRef ¶
func (h HttpRouteActionRewriteHostnameAttributes) InternalWithRef(ref terra.Reference) HttpRouteActionRewriteHostnameAttributes
type HttpRouteActionRewriteHostnameState ¶
type HttpRouteActionRewriteHostnameState struct {
DefaultTargetHostname string `json:"default_target_hostname"`
}
type HttpRouteActionRewritePath ¶
type HttpRouteActionRewritePath struct { // Exact: string, required Exact terra.StringValue `hcl:"exact,attr" validate:"required"` }
type HttpRouteActionRewritePathAttributes ¶
type HttpRouteActionRewritePathAttributes struct {
// contains filtered or unexported fields
}
func (HttpRouteActionRewritePathAttributes) Exact ¶
func (p HttpRouteActionRewritePathAttributes) Exact() terra.StringValue
func (HttpRouteActionRewritePathAttributes) InternalRef ¶
func (p HttpRouteActionRewritePathAttributes) InternalRef() (terra.Reference, error)
func (HttpRouteActionRewritePathAttributes) InternalTokens ¶
func (p HttpRouteActionRewritePathAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HttpRouteActionRewritePathAttributes) InternalWithRef ¶
func (p HttpRouteActionRewritePathAttributes) InternalWithRef(ref terra.Reference) HttpRouteActionRewritePathAttributes
type HttpRouteActionRewritePathState ¶
type HttpRouteActionRewritePathState struct {
Exact string `json:"exact"`
}
type HttpRouteActionRewritePrefix ¶
type HttpRouteActionRewritePrefix struct { // DefaultPrefix: string, optional DefaultPrefix terra.StringValue `hcl:"default_prefix,attr"` // Value: string, optional Value terra.StringValue `hcl:"value,attr"` }
type HttpRouteActionRewritePrefixAttributes ¶
type HttpRouteActionRewritePrefixAttributes struct {
// contains filtered or unexported fields
}
func (HttpRouteActionRewritePrefixAttributes) DefaultPrefix ¶
func (p HttpRouteActionRewritePrefixAttributes) DefaultPrefix() terra.StringValue
func (HttpRouteActionRewritePrefixAttributes) InternalRef ¶
func (p HttpRouteActionRewritePrefixAttributes) InternalRef() (terra.Reference, error)
func (HttpRouteActionRewritePrefixAttributes) InternalTokens ¶
func (p HttpRouteActionRewritePrefixAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HttpRouteActionRewritePrefixAttributes) InternalWithRef ¶
func (p HttpRouteActionRewritePrefixAttributes) InternalWithRef(ref terra.Reference) HttpRouteActionRewritePrefixAttributes
func (HttpRouteActionRewritePrefixAttributes) Value ¶
func (p HttpRouteActionRewritePrefixAttributes) Value() terra.StringValue
type HttpRouteActionRewriteState ¶
type HttpRouteActionRewriteState struct { Hostname []HttpRouteActionRewriteHostnameState `json:"hostname"` Path []HttpRouteActionRewritePathState `json:"path"` Prefix []HttpRouteActionRewritePrefixState `json:"prefix"` }
type HttpRouteActionState ¶
type HttpRouteActionState struct { Rewrite []HttpRouteActionRewriteState `json:"rewrite"` Target []HttpRouteActionTargetState `json:"target"` }
type HttpRouteActionTarget ¶
type HttpRouteActionTarget struct { // Port: number, optional Port terra.NumberValue `hcl:"port,attr"` // HttpRouteActionTargetVirtualService: required VirtualService *HttpRouteActionTargetVirtualService `hcl:"virtual_service,block" validate:"required"` }
type HttpRouteActionTargetAttributes ¶
type HttpRouteActionTargetAttributes struct {
// contains filtered or unexported fields
}
func (HttpRouteActionTargetAttributes) InternalRef ¶
func (t HttpRouteActionTargetAttributes) InternalRef() (terra.Reference, error)
func (HttpRouteActionTargetAttributes) InternalTokens ¶
func (t HttpRouteActionTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HttpRouteActionTargetAttributes) InternalWithRef ¶
func (t HttpRouteActionTargetAttributes) InternalWithRef(ref terra.Reference) HttpRouteActionTargetAttributes
func (HttpRouteActionTargetAttributes) Port ¶
func (t HttpRouteActionTargetAttributes) Port() terra.NumberValue
func (HttpRouteActionTargetAttributes) VirtualService ¶
func (t HttpRouteActionTargetAttributes) VirtualService() terra.ListValue[HttpRouteActionTargetVirtualServiceAttributes]
type HttpRouteActionTargetState ¶
type HttpRouteActionTargetState struct { Port float64 `json:"port"` VirtualService []HttpRouteActionTargetVirtualServiceState `json:"virtual_service"` }
type HttpRouteActionTargetVirtualService ¶
type HttpRouteActionTargetVirtualService struct { // VirtualServiceName: string, required VirtualServiceName terra.StringValue `hcl:"virtual_service_name,attr" validate:"required"` }
type HttpRouteActionTargetVirtualServiceAttributes ¶
type HttpRouteActionTargetVirtualServiceAttributes struct {
// contains filtered or unexported fields
}
func (HttpRouteActionTargetVirtualServiceAttributes) InternalRef ¶
func (vs HttpRouteActionTargetVirtualServiceAttributes) InternalRef() (terra.Reference, error)
func (HttpRouteActionTargetVirtualServiceAttributes) InternalTokens ¶
func (vs HttpRouteActionTargetVirtualServiceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HttpRouteActionTargetVirtualServiceAttributes) InternalWithRef ¶
func (vs HttpRouteActionTargetVirtualServiceAttributes) InternalWithRef(ref terra.Reference) HttpRouteActionTargetVirtualServiceAttributes
func (HttpRouteActionTargetVirtualServiceAttributes) VirtualServiceName ¶
func (vs HttpRouteActionTargetVirtualServiceAttributes) VirtualServiceName() terra.StringValue
type HttpRouteActionTargetVirtualServiceState ¶
type HttpRouteActionTargetVirtualServiceState struct {
VirtualServiceName string `json:"virtual_service_name"`
}
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]
type HttpRouteMatch ¶
type HttpRouteMatch struct { // Port: number, optional Port terra.NumberValue `hcl:"port,attr"` // Prefix: string, optional Prefix terra.StringValue `hcl:"prefix,attr"` // HttpRouteMatchHeader: min=0,max=10 Header []HttpRouteMatchHeader `hcl:"header,block" validate:"min=0,max=10"` // HttpRouteMatchHostname: optional Hostname *HttpRouteMatchHostname `hcl:"hostname,block"` // HttpRouteMatchPath: optional Path *HttpRouteMatchPath `hcl:"path,block"` // HttpRouteMatchQueryParameter: min=0,max=10 QueryParameter []HttpRouteMatchQueryParameter `hcl:"query_parameter,block" validate:"min=0,max=10"` }
type HttpRouteMatchAttributes ¶
type HttpRouteMatchAttributes struct {
// contains filtered or unexported fields
}
func (HttpRouteMatchAttributes) Header ¶
func (m HttpRouteMatchAttributes) Header() terra.SetValue[HttpRouteMatchHeaderAttributes]
func (HttpRouteMatchAttributes) Hostname ¶
func (m HttpRouteMatchAttributes) Hostname() terra.ListValue[HttpRouteMatchHostnameAttributes]
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) 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]
type HttpRouteMatchHeader ¶
type HttpRouteMatchHeader struct { // Invert: bool, optional Invert terra.BoolValue `hcl:"invert,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // HttpRouteMatchHeaderMatch: optional Match *HttpRouteMatchHeaderMatch `hcl:"match,block"` }
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 { // 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"` // HttpRouteMatchHeaderMatchRange: optional Range *HttpRouteMatchHeaderMatchRange `hcl:"range,block"` }
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 { // End: number, required End terra.NumberValue `hcl:"end,attr" validate:"required"` // Start: number, required Start terra.NumberValue `hcl:"start,attr" validate:"required"` }
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 HttpRouteMatchHostname ¶
type HttpRouteMatchHostname struct { // Exact: string, optional Exact terra.StringValue `hcl:"exact,attr"` // Suffix: string, optional Suffix terra.StringValue `hcl:"suffix,attr"` }
type HttpRouteMatchHostnameAttributes ¶
type HttpRouteMatchHostnameAttributes struct {
// contains filtered or unexported fields
}
func (HttpRouteMatchHostnameAttributes) Exact ¶
func (h HttpRouteMatchHostnameAttributes) Exact() terra.StringValue
func (HttpRouteMatchHostnameAttributes) InternalRef ¶
func (h HttpRouteMatchHostnameAttributes) InternalRef() (terra.Reference, error)
func (HttpRouteMatchHostnameAttributes) InternalTokens ¶
func (h HttpRouteMatchHostnameAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HttpRouteMatchHostnameAttributes) InternalWithRef ¶
func (h HttpRouteMatchHostnameAttributes) InternalWithRef(ref terra.Reference) HttpRouteMatchHostnameAttributes
func (HttpRouteMatchHostnameAttributes) Suffix ¶
func (h HttpRouteMatchHostnameAttributes) Suffix() terra.StringValue
type HttpRouteMatchPath ¶
type HttpRouteMatchPath struct { // Exact: string, optional Exact terra.StringValue `hcl:"exact,attr"` // Regex: string, optional Regex terra.StringValue `hcl:"regex,attr"` }
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 { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // HttpRouteMatchQueryParameterMatch: optional Match *HttpRouteMatchQueryParameterMatch `hcl:"match,block"` }
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 { // Exact: string, optional Exact terra.StringValue `hcl:"exact,attr"` }
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 { Port float64 `json:"port"` Prefix string `json:"prefix"` Header []HttpRouteMatchHeaderState `json:"header"` Hostname []HttpRouteMatchHostnameState `json:"hostname"` Path []HttpRouteMatchPathState `json:"path"` QueryParameter []HttpRouteMatchQueryParameterState `json:"query_parameter"` }
type HttpRouteState ¶
type HttpRouteState struct { Action []HttpRouteActionState `json:"action"` Match []HttpRouteMatchState `json:"match"` }
type Spec ¶
type Spec struct { // Priority: number, optional Priority terra.NumberValue `hcl:"priority,attr"` // GrpcRoute: optional GrpcRoute *GrpcRoute `hcl:"grpc_route,block"` // Http2Route: optional Http2Route *Http2Route `hcl:"http2_route,block"` // HttpRoute: optional HttpRoute *HttpRoute `hcl:"http_route,block"` }
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
type SpecState ¶
type SpecState struct { Priority float64 `json:"priority"` GrpcRoute []GrpcRouteState `json:"grpc_route"` Http2Route []Http2RouteState `json:"http2_route"` HttpRoute []HttpRouteState `json:"http_route"` }
Click to show internal directories.
Click to hide internal directories.