dataappmeshgatewayroute

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: min=0
	Action []GrpcRouteAction `hcl:"action,block" validate:"min=0"`
	// GrpcRouteMatch: min=0
	Match []GrpcRouteMatch `hcl:"match,block" validate:"min=0"`
}

type GrpcRouteAction

type GrpcRouteAction struct {
	// GrpcRouteActionTarget: min=0
	Target []GrpcRouteActionTarget `hcl:"target,block" validate:"min=0"`
}

type GrpcRouteActionAttributes

type GrpcRouteActionAttributes struct {
	// contains filtered or unexported fields
}

func (GrpcRouteActionAttributes) InternalRef

func (a GrpcRouteActionAttributes) InternalRef() (terra.Reference, error)

func (GrpcRouteActionAttributes) InternalTokens

func (a GrpcRouteActionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (GrpcRouteActionAttributes) InternalWithRef

func (GrpcRouteActionAttributes) Target

type GrpcRouteActionState

type GrpcRouteActionState struct {
	Target []GrpcRouteActionTargetState `json:"target"`
}

type GrpcRouteActionTarget

type GrpcRouteActionTarget struct {
	// GrpcRouteActionTargetVirtualService: min=0
	VirtualService []GrpcRouteActionTargetVirtualService `hcl:"virtual_service,block" validate:"min=0"`
}

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{}

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{}

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: min=0
	Action []Http2RouteAction `hcl:"action,block" validate:"min=0"`
	// Http2RouteMatch: min=0
	Match []Http2RouteMatch `hcl:"match,block" validate:"min=0"`
}

type Http2RouteAction

type Http2RouteAction struct {
	// Http2RouteActionRewrite: min=0
	Rewrite []Http2RouteActionRewrite `hcl:"rewrite,block" validate:"min=0"`
	// Http2RouteActionTarget: min=0
	Target []Http2RouteActionTarget `hcl:"target,block" validate:"min=0"`
}

type Http2RouteActionAttributes

type Http2RouteActionAttributes struct {
	// contains filtered or unexported fields
}

func (Http2RouteActionAttributes) InternalRef

func (a Http2RouteActionAttributes) InternalRef() (terra.Reference, error)

func (Http2RouteActionAttributes) InternalTokens

func (a Http2RouteActionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (Http2RouteActionAttributes) InternalWithRef

func (Http2RouteActionAttributes) Rewrite

func (Http2RouteActionAttributes) Target

type Http2RouteActionRewrite

type Http2RouteActionRewrite struct {
	// Http2RouteActionRewriteHostname: min=0
	Hostname []Http2RouteActionRewriteHostname `hcl:"hostname,block" validate:"min=0"`
	// Http2RouteActionRewritePath: min=0
	Path []Http2RouteActionRewritePath `hcl:"path,block" validate:"min=0"`
	// Http2RouteActionRewritePrefix: min=0
	Prefix []Http2RouteActionRewritePrefix `hcl:"prefix,block" validate:"min=0"`
}

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{}

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{}

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{}

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 {
	// Http2RouteActionTargetVirtualService: min=0
	VirtualService []Http2RouteActionTargetVirtualService `hcl:"virtual_service,block" validate:"min=0"`
}

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{}

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 {
	// Http2RouteMatchHeader: min=0
	Header []Http2RouteMatchHeader `hcl:"header,block" validate:"min=0"`
	// Http2RouteMatchHostname: min=0
	Hostname []Http2RouteMatchHostname `hcl:"hostname,block" validate:"min=0"`
	// Http2RouteMatchPath: min=0
	Path []Http2RouteMatchPath `hcl:"path,block" validate:"min=0"`
	// Http2RouteMatchQueryParameter: min=0
	QueryParameter []Http2RouteMatchQueryParameter `hcl:"query_parameter,block" validate:"min=0"`
}

type Http2RouteMatchAttributes

type Http2RouteMatchAttributes struct {
	// contains filtered or unexported fields
}

func (Http2RouteMatchAttributes) Header

func (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 {
	// Http2RouteMatchHeaderMatch: min=0
	Match []Http2RouteMatchHeaderMatch `hcl:"match,block" validate:"min=0"`
}

type Http2RouteMatchHeaderAttributes

type Http2RouteMatchHeaderAttributes struct {
	// contains filtered or unexported fields
}

func (Http2RouteMatchHeaderAttributes) InternalRef

func (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 {
	// Http2RouteMatchHeaderMatchRange: min=0
	Range []Http2RouteMatchHeaderMatchRange `hcl:"range,block" validate:"min=0"`
}

type Http2RouteMatchHeaderMatchAttributes

type Http2RouteMatchHeaderMatchAttributes struct {
	// contains filtered or unexported fields
}

func (Http2RouteMatchHeaderMatchAttributes) Exact

func (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{}

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{}

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{}

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 {
	// Http2RouteMatchQueryParameterMatch: min=0
	Match []Http2RouteMatchQueryParameterMatch `hcl:"match,block" validate:"min=0"`
}

type Http2RouteMatchQueryParameterAttributes

type Http2RouteMatchQueryParameterAttributes struct {
	// contains filtered or unexported fields
}

func (Http2RouteMatchQueryParameterAttributes) InternalRef

func (Http2RouteMatchQueryParameterAttributes) InternalTokens

func (Http2RouteMatchQueryParameterAttributes) InternalWithRef

func (Http2RouteMatchQueryParameterAttributes) Match

func (Http2RouteMatchQueryParameterAttributes) Name

type Http2RouteMatchQueryParameterMatch

type Http2RouteMatchQueryParameterMatch struct{}

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: min=0
	Action []HttpRouteAction `hcl:"action,block" validate:"min=0"`
	// HttpRouteMatch: min=0
	Match []HttpRouteMatch `hcl:"match,block" validate:"min=0"`
}

type HttpRouteAction

type HttpRouteAction struct {
	// HttpRouteActionRewrite: min=0
	Rewrite []HttpRouteActionRewrite `hcl:"rewrite,block" validate:"min=0"`
	// HttpRouteActionTarget: min=0
	Target []HttpRouteActionTarget `hcl:"target,block" validate:"min=0"`
}

type HttpRouteActionAttributes

type HttpRouteActionAttributes struct {
	// contains filtered or unexported fields
}

func (HttpRouteActionAttributes) InternalRef

func (a HttpRouteActionAttributes) InternalRef() (terra.Reference, error)

func (HttpRouteActionAttributes) InternalTokens

func (a HttpRouteActionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (HttpRouteActionAttributes) InternalWithRef

func (HttpRouteActionAttributes) Rewrite

func (HttpRouteActionAttributes) Target

type HttpRouteActionRewrite

type HttpRouteActionRewrite struct {
	// HttpRouteActionRewriteHostname: min=0
	Hostname []HttpRouteActionRewriteHostname `hcl:"hostname,block" validate:"min=0"`
	// HttpRouteActionRewritePath: min=0
	Path []HttpRouteActionRewritePath `hcl:"path,block" validate:"min=0"`
	// HttpRouteActionRewritePrefix: min=0
	Prefix []HttpRouteActionRewritePrefix `hcl:"prefix,block" validate:"min=0"`
}

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{}

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{}

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{}

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 {
	// HttpRouteActionTargetVirtualService: min=0
	VirtualService []HttpRouteActionTargetVirtualService `hcl:"virtual_service,block" validate:"min=0"`
}

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{}

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 {
	// HttpRouteMatchHeader: min=0
	Header []HttpRouteMatchHeader `hcl:"header,block" validate:"min=0"`
	// HttpRouteMatchHostname: min=0
	Hostname []HttpRouteMatchHostname `hcl:"hostname,block" validate:"min=0"`
	// HttpRouteMatchPath: min=0
	Path []HttpRouteMatchPath `hcl:"path,block" validate:"min=0"`
	// HttpRouteMatchQueryParameter: min=0
	QueryParameter []HttpRouteMatchQueryParameter `hcl:"query_parameter,block" validate:"min=0"`
}

type HttpRouteMatchAttributes

type HttpRouteMatchAttributes struct {
	// contains filtered or unexported fields
}

func (HttpRouteMatchAttributes) Header

func (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 {
	// HttpRouteMatchHeaderMatch: min=0
	Match []HttpRouteMatchHeaderMatch `hcl:"match,block" validate:"min=0"`
}

type HttpRouteMatchHeaderAttributes

type HttpRouteMatchHeaderAttributes struct {
	// contains filtered or unexported fields
}

func (HttpRouteMatchHeaderAttributes) InternalRef

func (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 {
	// HttpRouteMatchHeaderMatchRange: min=0
	Range []HttpRouteMatchHeaderMatchRange `hcl:"range,block" validate:"min=0"`
}

type HttpRouteMatchHeaderMatchAttributes

type HttpRouteMatchHeaderMatchAttributes struct {
	// contains filtered or unexported fields
}

func (HttpRouteMatchHeaderMatchAttributes) Exact

func (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{}

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{}

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{}

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 {
	// HttpRouteMatchQueryParameterMatch: min=0
	Match []HttpRouteMatchQueryParameterMatch `hcl:"match,block" validate:"min=0"`
}

type HttpRouteMatchQueryParameterAttributes

type HttpRouteMatchQueryParameterAttributes struct {
	// contains filtered or unexported fields
}

func (HttpRouteMatchQueryParameterAttributes) InternalRef

func (HttpRouteMatchQueryParameterAttributes) InternalTokens

func (HttpRouteMatchQueryParameterAttributes) InternalWithRef

func (HttpRouteMatchQueryParameterAttributes) Match

func (HttpRouteMatchQueryParameterAttributes) Name

type HttpRouteMatchQueryParameterMatch

type HttpRouteMatchQueryParameterMatch struct{}

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 {
	// GrpcRoute: min=0
	GrpcRoute []GrpcRoute `hcl:"grpc_route,block" validate:"min=0"`
	// Http2Route: min=0
	Http2Route []Http2Route `hcl:"http2_route,block" validate:"min=0"`
	// HttpRoute: min=0
	HttpRoute []HttpRoute `hcl:"http_route,block" validate:"min=0"`
}

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