appmeshgatewayroute

package
v0.0.0-...-964ba77 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

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 (GrpcRouteActionAttributes) Target

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 (GrpcRouteActionTargetAttributes) InternalTokens

func (t GrpcRouteActionTargetAttributes) InternalTokens() (hclwrite.Tokens, error)

func (GrpcRouteActionTargetAttributes) InternalWithRef

func (GrpcRouteActionTargetAttributes) Port

func (GrpcRouteActionTargetAttributes) VirtualService

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 (GrpcRouteActionTargetVirtualServiceAttributes) InternalTokens

func (GrpcRouteActionTargetVirtualServiceAttributes) InternalWithRef

func (GrpcRouteActionTargetVirtualServiceAttributes) VirtualServiceName

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 (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

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 (GrpcRouteMatchAttributes) Port

func (GrpcRouteMatchAttributes) ServiceName

func (m GrpcRouteMatchAttributes) ServiceName() terra.StringValue

type GrpcRouteMatchState

type GrpcRouteMatchState struct {
	Port        float64 `json:"port"`
	ServiceName string  `json:"service_name"`
}

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 (Http2RouteActionAttributes) Rewrite

func (Http2RouteActionAttributes) Target

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 (Http2RouteActionRewriteAttributes) InternalRef

func (Http2RouteActionRewriteAttributes) InternalTokens

func (Http2RouteActionRewriteAttributes) InternalWithRef

func (Http2RouteActionRewriteAttributes) Path

func (Http2RouteActionRewriteAttributes) Prefix

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 (Http2RouteActionRewriteHostnameAttributes) InternalRef

func (Http2RouteActionRewriteHostnameAttributes) InternalTokens

func (Http2RouteActionRewriteHostnameAttributes) InternalWithRef

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 (Http2RouteActionRewritePathAttributes) InternalRef

func (Http2RouteActionRewritePathAttributes) InternalTokens

func (Http2RouteActionRewritePathAttributes) InternalWithRef

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 (Http2RouteActionRewritePrefixAttributes) InternalRef

func (Http2RouteActionRewritePrefixAttributes) InternalTokens

func (Http2RouteActionRewritePrefixAttributes) InternalWithRef

func (Http2RouteActionRewritePrefixAttributes) Value

type Http2RouteActionRewritePrefixState

type Http2RouteActionRewritePrefixState struct {
	DefaultPrefix string `json:"default_prefix"`
	Value         string `json:"value"`
}

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 (Http2RouteActionTargetAttributes) InternalTokens

func (t Http2RouteActionTargetAttributes) InternalTokens() (hclwrite.Tokens, error)

func (Http2RouteActionTargetAttributes) InternalWithRef

func (Http2RouteActionTargetAttributes) Port

func (Http2RouteActionTargetAttributes) VirtualService

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 (Http2RouteActionTargetVirtualServiceAttributes) InternalTokens

func (Http2RouteActionTargetVirtualServiceAttributes) InternalWithRef

func (Http2RouteActionTargetVirtualServiceAttributes) VirtualServiceName

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 (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

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 (Http2RouteMatchAttributes) Hostname

func (Http2RouteMatchAttributes) InternalRef

func (m Http2RouteMatchAttributes) InternalRef() (terra.Reference, error)

func (Http2RouteMatchAttributes) InternalTokens

func (m Http2RouteMatchAttributes) InternalTokens() (hclwrite.Tokens, error)

func (Http2RouteMatchAttributes) InternalWithRef

func (Http2RouteMatchAttributes) Path

func (Http2RouteMatchAttributes) Port

func (Http2RouteMatchAttributes) Prefix

func (Http2RouteMatchAttributes) QueryParameter

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 (Http2RouteMatchHeaderAttributes) InternalTokens

func (h Http2RouteMatchHeaderAttributes) InternalTokens() (hclwrite.Tokens, error)

func (Http2RouteMatchHeaderAttributes) InternalWithRef

func (Http2RouteMatchHeaderAttributes) Invert

func (Http2RouteMatchHeaderAttributes) Match

func (Http2RouteMatchHeaderAttributes) Name

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 (Http2RouteMatchHeaderMatchAttributes) InternalRef

func (Http2RouteMatchHeaderMatchAttributes) InternalTokens

func (Http2RouteMatchHeaderMatchAttributes) InternalWithRef

func (Http2RouteMatchHeaderMatchAttributes) Prefix

func (Http2RouteMatchHeaderMatchAttributes) Range

func (Http2RouteMatchHeaderMatchAttributes) Regex

func (Http2RouteMatchHeaderMatchAttributes) Suffix

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 (Http2RouteMatchHeaderMatchRangeAttributes) InternalRef

func (Http2RouteMatchHeaderMatchRangeAttributes) InternalTokens

func (Http2RouteMatchHeaderMatchRangeAttributes) InternalWithRef

func (Http2RouteMatchHeaderMatchRangeAttributes) Start

type Http2RouteMatchHeaderMatchRangeState

type Http2RouteMatchHeaderMatchRangeState struct {
	End   float64 `json:"end"`
	Start float64 `json:"start"`
}

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 (Http2RouteMatchHostnameAttributes) InternalRef

func (Http2RouteMatchHostnameAttributes) InternalTokens

func (Http2RouteMatchHostnameAttributes) InternalWithRef

func (Http2RouteMatchHostnameAttributes) Suffix

type Http2RouteMatchHostnameState

type Http2RouteMatchHostnameState struct {
	Exact  string `json:"exact"`
	Suffix string `json:"suffix"`
}

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 (Http2RouteMatchPathAttributes) InternalRef

func (Http2RouteMatchPathAttributes) InternalTokens

func (p Http2RouteMatchPathAttributes) InternalTokens() (hclwrite.Tokens, error)

func (Http2RouteMatchPathAttributes) InternalWithRef

func (Http2RouteMatchPathAttributes) Regex

type Http2RouteMatchPathState

type Http2RouteMatchPathState struct {
	Exact string `json:"exact"`
	Regex string `json:"regex"`
}

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 (Http2RouteMatchQueryParameterAttributes) InternalTokens

func (Http2RouteMatchQueryParameterAttributes) InternalWithRef

func (Http2RouteMatchQueryParameterAttributes) Match

func (Http2RouteMatchQueryParameterAttributes) Name

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 (Http2RouteMatchQueryParameterMatchAttributes) InternalRef

func (Http2RouteMatchQueryParameterMatchAttributes) InternalTokens

func (Http2RouteMatchQueryParameterMatchAttributes) InternalWithRef

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 (HttpRouteActionAttributes) Rewrite

func (HttpRouteActionAttributes) Target

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 (HttpRouteActionRewriteAttributes) InternalRef

func (HttpRouteActionRewriteAttributes) InternalTokens

func (r HttpRouteActionRewriteAttributes) InternalTokens() (hclwrite.Tokens, error)

func (HttpRouteActionRewriteAttributes) InternalWithRef

func (HttpRouteActionRewriteAttributes) Path

func (HttpRouteActionRewriteAttributes) Prefix

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 (HttpRouteActionRewriteHostnameAttributes) InternalRef

func (HttpRouteActionRewriteHostnameAttributes) InternalTokens

func (HttpRouteActionRewriteHostnameAttributes) InternalWithRef

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 (HttpRouteActionRewritePathAttributes) InternalRef

func (HttpRouteActionRewritePathAttributes) InternalTokens

func (HttpRouteActionRewritePathAttributes) InternalWithRef

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 (HttpRouteActionRewritePrefixAttributes) InternalRef

func (HttpRouteActionRewritePrefixAttributes) InternalTokens

func (HttpRouteActionRewritePrefixAttributes) InternalWithRef

func (HttpRouteActionRewritePrefixAttributes) Value

type HttpRouteActionRewritePrefixState

type HttpRouteActionRewritePrefixState struct {
	DefaultPrefix string `json:"default_prefix"`
	Value         string `json:"value"`
}

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 (HttpRouteActionTargetAttributes) InternalTokens

func (t HttpRouteActionTargetAttributes) InternalTokens() (hclwrite.Tokens, error)

func (HttpRouteActionTargetAttributes) InternalWithRef

func (HttpRouteActionTargetAttributes) Port

func (HttpRouteActionTargetAttributes) VirtualService

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 (HttpRouteActionTargetVirtualServiceAttributes) InternalTokens

func (HttpRouteActionTargetVirtualServiceAttributes) InternalWithRef

func (HttpRouteActionTargetVirtualServiceAttributes) VirtualServiceName

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 (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

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 (HttpRouteMatchAttributes) Hostname

func (HttpRouteMatchAttributes) InternalRef

func (m HttpRouteMatchAttributes) InternalRef() (terra.Reference, error)

func (HttpRouteMatchAttributes) InternalTokens

func (m HttpRouteMatchAttributes) InternalTokens() (hclwrite.Tokens, error)

func (HttpRouteMatchAttributes) InternalWithRef

func (HttpRouteMatchAttributes) Path

func (HttpRouteMatchAttributes) Port

func (HttpRouteMatchAttributes) Prefix

func (HttpRouteMatchAttributes) QueryParameter

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 (HttpRouteMatchHeaderAttributes) InternalTokens

func (h HttpRouteMatchHeaderAttributes) InternalTokens() (hclwrite.Tokens, error)

func (HttpRouteMatchHeaderAttributes) InternalWithRef

func (HttpRouteMatchHeaderAttributes) Invert

func (HttpRouteMatchHeaderAttributes) Match

func (HttpRouteMatchHeaderAttributes) Name

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 (HttpRouteMatchHeaderMatchAttributes) InternalRef

func (HttpRouteMatchHeaderMatchAttributes) InternalTokens

func (HttpRouteMatchHeaderMatchAttributes) InternalWithRef

func (HttpRouteMatchHeaderMatchAttributes) Prefix

func (HttpRouteMatchHeaderMatchAttributes) Range

func (HttpRouteMatchHeaderMatchAttributes) Regex

func (HttpRouteMatchHeaderMatchAttributes) Suffix

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 (HttpRouteMatchHeaderMatchRangeAttributes) InternalRef

func (HttpRouteMatchHeaderMatchRangeAttributes) InternalTokens

func (HttpRouteMatchHeaderMatchRangeAttributes) InternalWithRef

func (HttpRouteMatchHeaderMatchRangeAttributes) Start

type HttpRouteMatchHeaderMatchRangeState

type HttpRouteMatchHeaderMatchRangeState struct {
	End   float64 `json:"end"`
	Start float64 `json:"start"`
}

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 (HttpRouteMatchHostnameAttributes) InternalRef

func (HttpRouteMatchHostnameAttributes) InternalTokens

func (h HttpRouteMatchHostnameAttributes) InternalTokens() (hclwrite.Tokens, error)

func (HttpRouteMatchHostnameAttributes) InternalWithRef

func (HttpRouteMatchHostnameAttributes) Suffix

type HttpRouteMatchHostnameState

type HttpRouteMatchHostnameState struct {
	Exact  string `json:"exact"`
	Suffix string `json:"suffix"`
}

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 (HttpRouteMatchPathAttributes) InternalRef

func (HttpRouteMatchPathAttributes) InternalTokens

func (p HttpRouteMatchPathAttributes) InternalTokens() (hclwrite.Tokens, error)

func (HttpRouteMatchPathAttributes) InternalWithRef

func (HttpRouteMatchPathAttributes) Regex

type HttpRouteMatchPathState

type HttpRouteMatchPathState struct {
	Exact string `json:"exact"`
	Regex string `json:"regex"`
}

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 (HttpRouteMatchQueryParameterAttributes) InternalTokens

func (HttpRouteMatchQueryParameterAttributes) InternalWithRef

func (HttpRouteMatchQueryParameterAttributes) Match

func (HttpRouteMatchQueryParameterAttributes) Name

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 (HttpRouteMatchQueryParameterMatchAttributes) InternalRef

func (HttpRouteMatchQueryParameterMatchAttributes) InternalTokens

func (HttpRouteMatchQueryParameterMatchAttributes) InternalWithRef

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 (SpecAttributes) Http2Route

func (SpecAttributes) HttpRoute

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL