aws_appmesh_route

package
v5.45.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// MeshName: string, required
	MeshName terra.StringValue `hcl:"mesh_name,attr" validate:"required"`
	// MeshOwner: string, optional
	MeshOwner terra.StringValue `hcl:"mesh_owner,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// TagsAll: map of string, optional
	TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"`
	// VirtualRouterName: string, required
	VirtualRouterName terra.StringValue `hcl:"virtual_router_name,attr" validate:"required"`
	// Spec: required
	Spec *Spec `hcl:"spec,block" validate:"required"`
}

Args contains the configurations for aws_appmesh_route.

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource aws_appmesh_route.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (aar *Resource) Attributes() awsAppmeshRouteAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (aar *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (aar *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (aar *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (aar *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (aar *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (aar *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (aar *Resource) State() (*awsAppmeshRouteState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (aar *Resource) StateMust() *awsAppmeshRouteState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (aar *Resource) Type() string

Type returns the Terraform object type for Resource.

type Spec

type Spec struct {
	// Priority: number, optional
	Priority terra.NumberValue `hcl:"priority,attr"`
	// SpecGrpcRoute: optional
	GrpcRoute *SpecGrpcRoute `hcl:"grpc_route,block"`
	// SpecHttp2Route: optional
	Http2Route *SpecHttp2Route `hcl:"http2_route,block"`
	// SpecHttpRoute: optional
	HttpRoute *SpecHttpRoute `hcl:"http_route,block"`
	// SpecTcpRoute: optional
	TcpRoute *SpecTcpRoute `hcl:"tcp_route,block"`
}

type SpecAttributes

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

func (SpecAttributes) GrpcRoute

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

func (SpecAttributes) TcpRoute

type SpecGrpcRoute

type SpecGrpcRoute struct {
	// SpecGrpcRouteAction: required
	Action *SpecGrpcRouteAction `hcl:"action,block" validate:"required"`
	// SpecGrpcRouteMatch: optional
	Match *SpecGrpcRouteMatch `hcl:"match,block"`
	// SpecGrpcRouteRetryPolicy: optional
	RetryPolicy *SpecGrpcRouteRetryPolicy `hcl:"retry_policy,block"`
	// SpecGrpcRouteTimeout: optional
	Timeout *SpecGrpcRouteTimeout `hcl:"timeout,block"`
}

type SpecGrpcRoute8B0C9706

type SpecGrpcRoute8B0C9706 struct {
	// End: number, required
	End terra.NumberValue `hcl:"end,attr" validate:"required"`
	// Start: number, required
	Start terra.NumberValue `hcl:"start,attr" validate:"required"`
}

type SpecGrpcRoute8B0C9706Attributes

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

func (SpecGrpcRoute8B0C9706Attributes) End

func (SpecGrpcRoute8B0C9706Attributes) InternalRef

func (SpecGrpcRoute8B0C9706Attributes) InternalTokens

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

func (SpecGrpcRoute8B0C9706Attributes) InternalWithRef

func (SpecGrpcRoute8B0C9706Attributes) Start

type SpecGrpcRoute8B0C9706State

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

type SpecGrpcRouteAction

type SpecGrpcRouteAction struct {
	// SpecGrpcRouteActionWeightedTarget: min=1,max=10
	WeightedTarget []SpecGrpcRouteActionWeightedTarget `hcl:"weighted_target,block" validate:"min=1,max=10"`
}

type SpecGrpcRouteActionAttributes

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

func (SpecGrpcRouteActionAttributes) InternalRef

func (SpecGrpcRouteActionAttributes) InternalTokens

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

func (SpecGrpcRouteActionAttributes) InternalWithRef

func (SpecGrpcRouteActionAttributes) WeightedTarget

type SpecGrpcRouteActionState

type SpecGrpcRouteActionState struct {
	WeightedTarget []SpecGrpcRouteActionWeightedTargetState `json:"weighted_target"`
}

type SpecGrpcRouteActionWeightedTarget

type SpecGrpcRouteActionWeightedTarget struct {
	// VirtualNode: string, required
	VirtualNode terra.StringValue `hcl:"virtual_node,attr" validate:"required"`
	// Weight: number, required
	Weight terra.NumberValue `hcl:"weight,attr" validate:"required"`
}

type SpecGrpcRouteActionWeightedTargetAttributes

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

func (SpecGrpcRouteActionWeightedTargetAttributes) InternalRef

func (SpecGrpcRouteActionWeightedTargetAttributes) InternalTokens

func (SpecGrpcRouteActionWeightedTargetAttributes) InternalWithRef

func (SpecGrpcRouteActionWeightedTargetAttributes) VirtualNode

func (SpecGrpcRouteActionWeightedTargetAttributes) Weight

type SpecGrpcRouteActionWeightedTargetState

type SpecGrpcRouteActionWeightedTargetState struct {
	VirtualNode string  `json:"virtual_node"`
	Weight      float64 `json:"weight"`
}

type SpecGrpcRouteAttributes

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

func (SpecGrpcRouteAttributes) Action

func (SpecGrpcRouteAttributes) InternalRef

func (gr SpecGrpcRouteAttributes) InternalRef() (terra.Reference, error)

func (SpecGrpcRouteAttributes) InternalTokens

func (gr SpecGrpcRouteAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SpecGrpcRouteAttributes) InternalWithRef

func (SpecGrpcRouteAttributes) Match

func (SpecGrpcRouteAttributes) RetryPolicy

func (SpecGrpcRouteAttributes) Timeout

type SpecGrpcRouteD86B2967

type SpecGrpcRouteD86B2967 struct {
	// Exact: string, optional
	Exact terra.StringValue `hcl:"exact,attr"`
	// Prefix: string, optional
	Prefix terra.StringValue `hcl:"prefix,attr"`
	// Regex: string, optional
	Regex terra.StringValue `hcl:"regex,attr"`
	// Suffix: string, optional
	Suffix terra.StringValue `hcl:"suffix,attr"`
	// SpecGrpcRoute8B0C9706: optional
	Range *SpecGrpcRoute8B0C9706 `hcl:"range,block"`
}

type SpecGrpcRouteD86B2967Attributes

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

func (SpecGrpcRouteD86B2967Attributes) Exact

func (SpecGrpcRouteD86B2967Attributes) InternalRef

func (SpecGrpcRouteD86B2967Attributes) InternalTokens

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

func (SpecGrpcRouteD86B2967Attributes) InternalWithRef

func (SpecGrpcRouteD86B2967Attributes) Prefix

func (SpecGrpcRouteD86B2967Attributes) Range

func (SpecGrpcRouteD86B2967Attributes) Regex

func (SpecGrpcRouteD86B2967Attributes) Suffix

type SpecGrpcRouteD86B2967State

type SpecGrpcRouteD86B2967State struct {
	Exact  string                       `json:"exact"`
	Prefix string                       `json:"prefix"`
	Regex  string                       `json:"regex"`
	Suffix string                       `json:"suffix"`
	Range  []SpecGrpcRoute8B0C9706State `json:"range"`
}

type SpecGrpcRouteMatch

type SpecGrpcRouteMatch struct {
	// MethodName: string, optional
	MethodName terra.StringValue `hcl:"method_name,attr"`
	// Prefix: string, optional
	Prefix terra.StringValue `hcl:"prefix,attr"`
	// ServiceName: string, optional
	ServiceName terra.StringValue `hcl:"service_name,attr"`
	// SpecGrpcRouteMatchMetadata: min=0,max=10
	Metadata []SpecGrpcRouteMatchMetadata `hcl:"metadata,block" validate:"min=0,max=10"`
}

type SpecGrpcRouteMatchAttributes

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

func (SpecGrpcRouteMatchAttributes) InternalRef

func (SpecGrpcRouteMatchAttributes) InternalTokens

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

func (SpecGrpcRouteMatchAttributes) InternalWithRef

func (SpecGrpcRouteMatchAttributes) Metadata

func (SpecGrpcRouteMatchAttributes) MethodName

func (SpecGrpcRouteMatchAttributes) Prefix

func (SpecGrpcRouteMatchAttributes) ServiceName

type SpecGrpcRouteMatchMetadata

type SpecGrpcRouteMatchMetadata struct {
	// Invert: bool, optional
	Invert terra.BoolValue `hcl:"invert,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// SpecGrpcRouteD86B2967: optional
	Match *SpecGrpcRouteD86B2967 `hcl:"match,block"`
}

type SpecGrpcRouteMatchMetadataAttributes

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

func (SpecGrpcRouteMatchMetadataAttributes) InternalRef

func (SpecGrpcRouteMatchMetadataAttributes) InternalTokens

func (SpecGrpcRouteMatchMetadataAttributes) InternalWithRef

func (SpecGrpcRouteMatchMetadataAttributes) Invert

func (SpecGrpcRouteMatchMetadataAttributes) Match

func (SpecGrpcRouteMatchMetadataAttributes) Name

type SpecGrpcRouteMatchMetadataState

type SpecGrpcRouteMatchMetadataState struct {
	Invert bool                         `json:"invert"`
	Name   string                       `json:"name"`
	Match  []SpecGrpcRouteD86B2967State `json:"match"`
}

type SpecGrpcRouteMatchState

type SpecGrpcRouteMatchState struct {
	MethodName  string                            `json:"method_name"`
	Prefix      string                            `json:"prefix"`
	ServiceName string                            `json:"service_name"`
	Metadata    []SpecGrpcRouteMatchMetadataState `json:"metadata"`
}

type SpecGrpcRouteRetryPolicy

type SpecGrpcRouteRetryPolicy struct {
	// GrpcRetryEvents: set of string, optional
	GrpcRetryEvents terra.SetValue[terra.StringValue] `hcl:"grpc_retry_events,attr"`
	// HttpRetryEvents: set of string, optional
	HttpRetryEvents terra.SetValue[terra.StringValue] `hcl:"http_retry_events,attr"`
	// MaxRetries: number, required
	MaxRetries terra.NumberValue `hcl:"max_retries,attr" validate:"required"`
	// TcpRetryEvents: set of string, optional
	TcpRetryEvents terra.SetValue[terra.StringValue] `hcl:"tcp_retry_events,attr"`
	// SpecGrpcRouteRetryPolicyPerRetryTimeout: required
	PerRetryTimeout *SpecGrpcRouteRetryPolicyPerRetryTimeout `hcl:"per_retry_timeout,block" validate:"required"`
}

type SpecGrpcRouteRetryPolicyAttributes

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

func (SpecGrpcRouteRetryPolicyAttributes) GrpcRetryEvents

func (SpecGrpcRouteRetryPolicyAttributes) HttpRetryEvents

func (SpecGrpcRouteRetryPolicyAttributes) InternalRef

func (SpecGrpcRouteRetryPolicyAttributes) InternalTokens

func (SpecGrpcRouteRetryPolicyAttributes) InternalWithRef

func (SpecGrpcRouteRetryPolicyAttributes) MaxRetries

func (SpecGrpcRouteRetryPolicyAttributes) PerRetryTimeout

func (SpecGrpcRouteRetryPolicyAttributes) TcpRetryEvents

type SpecGrpcRouteRetryPolicyPerRetryTimeout

type SpecGrpcRouteRetryPolicyPerRetryTimeout struct {
	// Unit: string, required
	Unit terra.StringValue `hcl:"unit,attr" validate:"required"`
	// Value: number, required
	Value terra.NumberValue `hcl:"value,attr" validate:"required"`
}

type SpecGrpcRouteRetryPolicyPerRetryTimeoutAttributes

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

func (SpecGrpcRouteRetryPolicyPerRetryTimeoutAttributes) InternalRef

func (SpecGrpcRouteRetryPolicyPerRetryTimeoutAttributes) InternalTokens

func (SpecGrpcRouteRetryPolicyPerRetryTimeoutAttributes) InternalWithRef

func (SpecGrpcRouteRetryPolicyPerRetryTimeoutAttributes) Unit

func (SpecGrpcRouteRetryPolicyPerRetryTimeoutAttributes) Value

type SpecGrpcRouteRetryPolicyPerRetryTimeoutState

type SpecGrpcRouteRetryPolicyPerRetryTimeoutState struct {
	Unit  string  `json:"unit"`
	Value float64 `json:"value"`
}

type SpecGrpcRouteRetryPolicyState

type SpecGrpcRouteRetryPolicyState struct {
	GrpcRetryEvents []string                                       `json:"grpc_retry_events"`
	HttpRetryEvents []string                                       `json:"http_retry_events"`
	MaxRetries      float64                                        `json:"max_retries"`
	TcpRetryEvents  []string                                       `json:"tcp_retry_events"`
	PerRetryTimeout []SpecGrpcRouteRetryPolicyPerRetryTimeoutState `json:"per_retry_timeout"`
}

type SpecGrpcRouteState

type SpecGrpcRouteState struct {
	Action      []SpecGrpcRouteActionState      `json:"action"`
	Match       []SpecGrpcRouteMatchState       `json:"match"`
	RetryPolicy []SpecGrpcRouteRetryPolicyState `json:"retry_policy"`
	Timeout     []SpecGrpcRouteTimeoutState     `json:"timeout"`
}

type SpecGrpcRouteTimeout

type SpecGrpcRouteTimeout struct {
	// SpecGrpcRouteTimeoutIdle: optional
	Idle *SpecGrpcRouteTimeoutIdle `hcl:"idle,block"`
	// SpecGrpcRouteTimeoutPerRequest: optional
	PerRequest *SpecGrpcRouteTimeoutPerRequest `hcl:"per_request,block"`
}

type SpecGrpcRouteTimeoutAttributes

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

func (SpecGrpcRouteTimeoutAttributes) Idle

func (SpecGrpcRouteTimeoutAttributes) InternalRef

func (SpecGrpcRouteTimeoutAttributes) InternalTokens

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

func (SpecGrpcRouteTimeoutAttributes) InternalWithRef

func (SpecGrpcRouteTimeoutAttributes) PerRequest

type SpecGrpcRouteTimeoutIdle

type SpecGrpcRouteTimeoutIdle struct {
	// Unit: string, required
	Unit terra.StringValue `hcl:"unit,attr" validate:"required"`
	// Value: number, required
	Value terra.NumberValue `hcl:"value,attr" validate:"required"`
}

type SpecGrpcRouteTimeoutIdleAttributes

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

func (SpecGrpcRouteTimeoutIdleAttributes) InternalRef

func (SpecGrpcRouteTimeoutIdleAttributes) InternalTokens

func (SpecGrpcRouteTimeoutIdleAttributes) InternalWithRef

func (SpecGrpcRouteTimeoutIdleAttributes) Unit

func (SpecGrpcRouteTimeoutIdleAttributes) Value

type SpecGrpcRouteTimeoutIdleState

type SpecGrpcRouteTimeoutIdleState struct {
	Unit  string  `json:"unit"`
	Value float64 `json:"value"`
}

type SpecGrpcRouteTimeoutPerRequest

type SpecGrpcRouteTimeoutPerRequest struct {
	// Unit: string, required
	Unit terra.StringValue `hcl:"unit,attr" validate:"required"`
	// Value: number, required
	Value terra.NumberValue `hcl:"value,attr" validate:"required"`
}

type SpecGrpcRouteTimeoutPerRequestAttributes

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

func (SpecGrpcRouteTimeoutPerRequestAttributes) InternalRef

func (SpecGrpcRouteTimeoutPerRequestAttributes) InternalTokens

func (SpecGrpcRouteTimeoutPerRequestAttributes) InternalWithRef

func (SpecGrpcRouteTimeoutPerRequestAttributes) Unit

func (SpecGrpcRouteTimeoutPerRequestAttributes) Value

type SpecGrpcRouteTimeoutPerRequestState

type SpecGrpcRouteTimeoutPerRequestState struct {
	Unit  string  `json:"unit"`
	Value float64 `json:"value"`
}

type SpecGrpcRouteTimeoutState

type SpecGrpcRouteTimeoutState struct {
	Idle       []SpecGrpcRouteTimeoutIdleState       `json:"idle"`
	PerRequest []SpecGrpcRouteTimeoutPerRequestState `json:"per_request"`
}

type SpecHttp2Route

type SpecHttp2Route struct {
	// SpecHttp2RouteAction: required
	Action *SpecHttp2RouteAction `hcl:"action,block" validate:"required"`
	// SpecHttp2RouteMatch: required
	Match *SpecHttp2RouteMatch `hcl:"match,block" validate:"required"`
	// SpecHttp2RouteRetryPolicy: optional
	RetryPolicy *SpecHttp2RouteRetryPolicy `hcl:"retry_policy,block"`
	// SpecHttp2RouteTimeout: optional
	Timeout *SpecHttp2RouteTimeout `hcl:"timeout,block"`
}

type SpecHttp2Route30Dd3523

type SpecHttp2Route30Dd3523 struct {
	// Exact: string, optional
	Exact terra.StringValue `hcl:"exact,attr"`
	// Prefix: string, optional
	Prefix terra.StringValue `hcl:"prefix,attr"`
	// Regex: string, optional
	Regex terra.StringValue `hcl:"regex,attr"`
	// Suffix: string, optional
	Suffix terra.StringValue `hcl:"suffix,attr"`
	// SpecHttp2Route31605981: optional
	Range *SpecHttp2Route31605981 `hcl:"range,block"`
}

type SpecHttp2Route30Dd3523Attributes

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

func (SpecHttp2Route30Dd3523Attributes) Exact

func (SpecHttp2Route30Dd3523Attributes) InternalRef

func (SpecHttp2Route30Dd3523Attributes) InternalTokens

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

func (SpecHttp2Route30Dd3523Attributes) InternalWithRef

func (SpecHttp2Route30Dd3523Attributes) Prefix

func (SpecHttp2Route30Dd3523Attributes) Range

func (SpecHttp2Route30Dd3523Attributes) Regex

func (SpecHttp2Route30Dd3523Attributes) Suffix

type SpecHttp2Route30Dd3523State

type SpecHttp2Route30Dd3523State struct {
	Exact  string                        `json:"exact"`
	Prefix string                        `json:"prefix"`
	Regex  string                        `json:"regex"`
	Suffix string                        `json:"suffix"`
	Range  []SpecHttp2Route31605981State `json:"range"`
}

type SpecHttp2Route31605981

type SpecHttp2Route31605981 struct {
	// End: number, required
	End terra.NumberValue `hcl:"end,attr" validate:"required"`
	// Start: number, required
	Start terra.NumberValue `hcl:"start,attr" validate:"required"`
}

type SpecHttp2Route31605981Attributes

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

func (SpecHttp2Route31605981Attributes) End

func (SpecHttp2Route31605981Attributes) InternalRef

func (SpecHttp2Route31605981Attributes) InternalTokens

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

func (SpecHttp2Route31605981Attributes) InternalWithRef

func (SpecHttp2Route31605981Attributes) Start

type SpecHttp2Route31605981State

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

type SpecHttp2RouteAction

type SpecHttp2RouteAction struct {
	// SpecHttp2RouteActionWeightedTarget: min=1,max=10
	WeightedTarget []SpecHttp2RouteActionWeightedTarget `hcl:"weighted_target,block" validate:"min=1,max=10"`
}

type SpecHttp2RouteActionAttributes

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

func (SpecHttp2RouteActionAttributes) InternalRef

func (SpecHttp2RouteActionAttributes) InternalTokens

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

func (SpecHttp2RouteActionAttributes) InternalWithRef

func (SpecHttp2RouteActionAttributes) WeightedTarget

type SpecHttp2RouteActionState

type SpecHttp2RouteActionState struct {
	WeightedTarget []SpecHttp2RouteActionWeightedTargetState `json:"weighted_target"`
}

type SpecHttp2RouteActionWeightedTarget

type SpecHttp2RouteActionWeightedTarget struct {
	// VirtualNode: string, required
	VirtualNode terra.StringValue `hcl:"virtual_node,attr" validate:"required"`
	// Weight: number, required
	Weight terra.NumberValue `hcl:"weight,attr" validate:"required"`
}

type SpecHttp2RouteActionWeightedTargetAttributes

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

func (SpecHttp2RouteActionWeightedTargetAttributes) InternalRef

func (SpecHttp2RouteActionWeightedTargetAttributes) InternalTokens

func (SpecHttp2RouteActionWeightedTargetAttributes) InternalWithRef

func (SpecHttp2RouteActionWeightedTargetAttributes) VirtualNode

func (SpecHttp2RouteActionWeightedTargetAttributes) Weight

type SpecHttp2RouteActionWeightedTargetState

type SpecHttp2RouteActionWeightedTargetState struct {
	VirtualNode string  `json:"virtual_node"`
	Weight      float64 `json:"weight"`
}

type SpecHttp2RouteAttributes

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

func (SpecHttp2RouteAttributes) Action

func (SpecHttp2RouteAttributes) InternalRef

func (hr SpecHttp2RouteAttributes) InternalRef() (terra.Reference, error)

func (SpecHttp2RouteAttributes) InternalTokens

func (hr SpecHttp2RouteAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SpecHttp2RouteAttributes) InternalWithRef

func (SpecHttp2RouteAttributes) Match

func (SpecHttp2RouteAttributes) RetryPolicy

func (SpecHttp2RouteAttributes) Timeout

type SpecHttp2RouteMatch

type SpecHttp2RouteMatch struct {
	// Method: string, optional
	Method terra.StringValue `hcl:"method,attr"`
	// Prefix: string, required
	Prefix terra.StringValue `hcl:"prefix,attr" validate:"required"`
	// Scheme: string, optional
	Scheme terra.StringValue `hcl:"scheme,attr"`
	// SpecHttp2RouteMatchHeader: min=0,max=10
	Header []SpecHttp2RouteMatchHeader `hcl:"header,block" validate:"min=0,max=10"`
}

type SpecHttp2RouteMatchAttributes

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

func (SpecHttp2RouteMatchAttributes) Header

func (SpecHttp2RouteMatchAttributes) InternalRef

func (SpecHttp2RouteMatchAttributes) InternalTokens

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

func (SpecHttp2RouteMatchAttributes) InternalWithRef

func (SpecHttp2RouteMatchAttributes) Method

func (SpecHttp2RouteMatchAttributes) Prefix

func (SpecHttp2RouteMatchAttributes) Scheme

type SpecHttp2RouteMatchHeader

type SpecHttp2RouteMatchHeader struct {
	// Invert: bool, optional
	Invert terra.BoolValue `hcl:"invert,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// SpecHttp2Route30Dd3523: optional
	Match *SpecHttp2Route30Dd3523 `hcl:"match,block"`
}

type SpecHttp2RouteMatchHeaderAttributes

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

func (SpecHttp2RouteMatchHeaderAttributes) InternalRef

func (SpecHttp2RouteMatchHeaderAttributes) InternalTokens

func (SpecHttp2RouteMatchHeaderAttributes) InternalWithRef

func (SpecHttp2RouteMatchHeaderAttributes) Invert

func (SpecHttp2RouteMatchHeaderAttributes) Match

func (SpecHttp2RouteMatchHeaderAttributes) Name

type SpecHttp2RouteMatchHeaderState

type SpecHttp2RouteMatchHeaderState struct {
	Invert bool                          `json:"invert"`
	Name   string                        `json:"name"`
	Match  []SpecHttp2Route30Dd3523State `json:"match"`
}

type SpecHttp2RouteMatchState

type SpecHttp2RouteMatchState struct {
	Method string                           `json:"method"`
	Prefix string                           `json:"prefix"`
	Scheme string                           `json:"scheme"`
	Header []SpecHttp2RouteMatchHeaderState `json:"header"`
}

type SpecHttp2RouteRetryPolicy

type SpecHttp2RouteRetryPolicy struct {
	// HttpRetryEvents: set of string, optional
	HttpRetryEvents terra.SetValue[terra.StringValue] `hcl:"http_retry_events,attr"`
	// MaxRetries: number, required
	MaxRetries terra.NumberValue `hcl:"max_retries,attr" validate:"required"`
	// TcpRetryEvents: set of string, optional
	TcpRetryEvents terra.SetValue[terra.StringValue] `hcl:"tcp_retry_events,attr"`
	// SpecHttp2RouteRetryPolicyPerRetryTimeout: required
	PerRetryTimeout *SpecHttp2RouteRetryPolicyPerRetryTimeout `hcl:"per_retry_timeout,block" validate:"required"`
}

type SpecHttp2RouteRetryPolicyAttributes

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

func (SpecHttp2RouteRetryPolicyAttributes) HttpRetryEvents

func (SpecHttp2RouteRetryPolicyAttributes) InternalRef

func (SpecHttp2RouteRetryPolicyAttributes) InternalTokens

func (SpecHttp2RouteRetryPolicyAttributes) InternalWithRef

func (SpecHttp2RouteRetryPolicyAttributes) MaxRetries

func (SpecHttp2RouteRetryPolicyAttributes) PerRetryTimeout

func (SpecHttp2RouteRetryPolicyAttributes) TcpRetryEvents

type SpecHttp2RouteRetryPolicyPerRetryTimeout

type SpecHttp2RouteRetryPolicyPerRetryTimeout struct {
	// Unit: string, required
	Unit terra.StringValue `hcl:"unit,attr" validate:"required"`
	// Value: number, required
	Value terra.NumberValue `hcl:"value,attr" validate:"required"`
}

type SpecHttp2RouteRetryPolicyPerRetryTimeoutAttributes

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

func (SpecHttp2RouteRetryPolicyPerRetryTimeoutAttributes) InternalRef

func (SpecHttp2RouteRetryPolicyPerRetryTimeoutAttributes) InternalTokens

func (SpecHttp2RouteRetryPolicyPerRetryTimeoutAttributes) InternalWithRef

func (SpecHttp2RouteRetryPolicyPerRetryTimeoutAttributes) Unit

func (SpecHttp2RouteRetryPolicyPerRetryTimeoutAttributes) Value

type SpecHttp2RouteRetryPolicyPerRetryTimeoutState

type SpecHttp2RouteRetryPolicyPerRetryTimeoutState struct {
	Unit  string  `json:"unit"`
	Value float64 `json:"value"`
}

type SpecHttp2RouteRetryPolicyState

type SpecHttp2RouteRetryPolicyState struct {
	HttpRetryEvents []string                                        `json:"http_retry_events"`
	MaxRetries      float64                                         `json:"max_retries"`
	TcpRetryEvents  []string                                        `json:"tcp_retry_events"`
	PerRetryTimeout []SpecHttp2RouteRetryPolicyPerRetryTimeoutState `json:"per_retry_timeout"`
}

type SpecHttp2RouteState

type SpecHttp2RouteState struct {
	Action      []SpecHttp2RouteActionState      `json:"action"`
	Match       []SpecHttp2RouteMatchState       `json:"match"`
	RetryPolicy []SpecHttp2RouteRetryPolicyState `json:"retry_policy"`
	Timeout     []SpecHttp2RouteTimeoutState     `json:"timeout"`
}

type SpecHttp2RouteTimeout

type SpecHttp2RouteTimeout struct {
	// SpecHttp2RouteTimeoutIdle: optional
	Idle *SpecHttp2RouteTimeoutIdle `hcl:"idle,block"`
	// SpecHttp2RouteTimeoutPerRequest: optional
	PerRequest *SpecHttp2RouteTimeoutPerRequest `hcl:"per_request,block"`
}

type SpecHttp2RouteTimeoutAttributes

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

func (SpecHttp2RouteTimeoutAttributes) Idle

func (SpecHttp2RouteTimeoutAttributes) InternalRef

func (SpecHttp2RouteTimeoutAttributes) InternalTokens

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

func (SpecHttp2RouteTimeoutAttributes) InternalWithRef

func (SpecHttp2RouteTimeoutAttributes) PerRequest

type SpecHttp2RouteTimeoutIdle

type SpecHttp2RouteTimeoutIdle struct {
	// Unit: string, required
	Unit terra.StringValue `hcl:"unit,attr" validate:"required"`
	// Value: number, required
	Value terra.NumberValue `hcl:"value,attr" validate:"required"`
}

type SpecHttp2RouteTimeoutIdleAttributes

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

func (SpecHttp2RouteTimeoutIdleAttributes) InternalRef

func (SpecHttp2RouteTimeoutIdleAttributes) InternalTokens

func (SpecHttp2RouteTimeoutIdleAttributes) InternalWithRef

func (SpecHttp2RouteTimeoutIdleAttributes) Unit

func (SpecHttp2RouteTimeoutIdleAttributes) Value

type SpecHttp2RouteTimeoutIdleState

type SpecHttp2RouteTimeoutIdleState struct {
	Unit  string  `json:"unit"`
	Value float64 `json:"value"`
}

type SpecHttp2RouteTimeoutPerRequest

type SpecHttp2RouteTimeoutPerRequest struct {
	// Unit: string, required
	Unit terra.StringValue `hcl:"unit,attr" validate:"required"`
	// Value: number, required
	Value terra.NumberValue `hcl:"value,attr" validate:"required"`
}

type SpecHttp2RouteTimeoutPerRequestAttributes

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

func (SpecHttp2RouteTimeoutPerRequestAttributes) InternalRef

func (SpecHttp2RouteTimeoutPerRequestAttributes) InternalTokens

func (SpecHttp2RouteTimeoutPerRequestAttributes) InternalWithRef

func (SpecHttp2RouteTimeoutPerRequestAttributes) Unit

func (SpecHttp2RouteTimeoutPerRequestAttributes) Value

type SpecHttp2RouteTimeoutPerRequestState

type SpecHttp2RouteTimeoutPerRequestState struct {
	Unit  string  `json:"unit"`
	Value float64 `json:"value"`
}

type SpecHttp2RouteTimeoutState

type SpecHttp2RouteTimeoutState struct {
	Idle       []SpecHttp2RouteTimeoutIdleState       `json:"idle"`
	PerRequest []SpecHttp2RouteTimeoutPerRequestState `json:"per_request"`
}

type SpecHttpRoute

type SpecHttpRoute struct {
	// SpecHttpRouteAction: required
	Action *SpecHttpRouteAction `hcl:"action,block" validate:"required"`
	// SpecHttpRouteMatch: required
	Match *SpecHttpRouteMatch `hcl:"match,block" validate:"required"`
	// SpecHttpRouteRetryPolicy: optional
	RetryPolicy *SpecHttpRouteRetryPolicy `hcl:"retry_policy,block"`
	// SpecHttpRouteTimeout: optional
	Timeout *SpecHttpRouteTimeout `hcl:"timeout,block"`
}

type SpecHttpRoute30Dd3523

type SpecHttpRoute30Dd3523 struct {
	// Exact: string, optional
	Exact terra.StringValue `hcl:"exact,attr"`
	// Prefix: string, optional
	Prefix terra.StringValue `hcl:"prefix,attr"`
	// Regex: string, optional
	Regex terra.StringValue `hcl:"regex,attr"`
	// Suffix: string, optional
	Suffix terra.StringValue `hcl:"suffix,attr"`
	// SpecHttpRoute31605981: optional
	Range *SpecHttpRoute31605981 `hcl:"range,block"`
}

type SpecHttpRoute30Dd3523Attributes

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

func (SpecHttpRoute30Dd3523Attributes) Exact

func (SpecHttpRoute30Dd3523Attributes) InternalRef

func (SpecHttpRoute30Dd3523Attributes) InternalTokens

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

func (SpecHttpRoute30Dd3523Attributes) InternalWithRef

func (SpecHttpRoute30Dd3523Attributes) Prefix

func (SpecHttpRoute30Dd3523Attributes) Range

func (SpecHttpRoute30Dd3523Attributes) Regex

func (SpecHttpRoute30Dd3523Attributes) Suffix

type SpecHttpRoute30Dd3523State

type SpecHttpRoute30Dd3523State struct {
	Exact  string                       `json:"exact"`
	Prefix string                       `json:"prefix"`
	Regex  string                       `json:"regex"`
	Suffix string                       `json:"suffix"`
	Range  []SpecHttpRoute31605981State `json:"range"`
}

type SpecHttpRoute31605981

type SpecHttpRoute31605981 struct {
	// End: number, required
	End terra.NumberValue `hcl:"end,attr" validate:"required"`
	// Start: number, required
	Start terra.NumberValue `hcl:"start,attr" validate:"required"`
}

type SpecHttpRoute31605981Attributes

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

func (SpecHttpRoute31605981Attributes) End

func (SpecHttpRoute31605981Attributes) InternalRef

func (SpecHttpRoute31605981Attributes) InternalTokens

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

func (SpecHttpRoute31605981Attributes) InternalWithRef

func (SpecHttpRoute31605981Attributes) Start

type SpecHttpRoute31605981State

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

type SpecHttpRouteAction

type SpecHttpRouteAction struct {
	// SpecHttpRouteActionWeightedTarget: min=1,max=10
	WeightedTarget []SpecHttpRouteActionWeightedTarget `hcl:"weighted_target,block" validate:"min=1,max=10"`
}

type SpecHttpRouteActionAttributes

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

func (SpecHttpRouteActionAttributes) InternalRef

func (SpecHttpRouteActionAttributes) InternalTokens

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

func (SpecHttpRouteActionAttributes) InternalWithRef

func (SpecHttpRouteActionAttributes) WeightedTarget

type SpecHttpRouteActionState

type SpecHttpRouteActionState struct {
	WeightedTarget []SpecHttpRouteActionWeightedTargetState `json:"weighted_target"`
}

type SpecHttpRouteActionWeightedTarget

type SpecHttpRouteActionWeightedTarget struct {
	// VirtualNode: string, required
	VirtualNode terra.StringValue `hcl:"virtual_node,attr" validate:"required"`
	// Weight: number, required
	Weight terra.NumberValue `hcl:"weight,attr" validate:"required"`
}

type SpecHttpRouteActionWeightedTargetAttributes

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

func (SpecHttpRouteActionWeightedTargetAttributes) InternalRef

func (SpecHttpRouteActionWeightedTargetAttributes) InternalTokens

func (SpecHttpRouteActionWeightedTargetAttributes) InternalWithRef

func (SpecHttpRouteActionWeightedTargetAttributes) VirtualNode

func (SpecHttpRouteActionWeightedTargetAttributes) Weight

type SpecHttpRouteActionWeightedTargetState

type SpecHttpRouteActionWeightedTargetState struct {
	VirtualNode string  `json:"virtual_node"`
	Weight      float64 `json:"weight"`
}

type SpecHttpRouteAttributes

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

func (SpecHttpRouteAttributes) Action

func (SpecHttpRouteAttributes) InternalRef

func (hr SpecHttpRouteAttributes) InternalRef() (terra.Reference, error)

func (SpecHttpRouteAttributes) InternalTokens

func (hr SpecHttpRouteAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SpecHttpRouteAttributes) InternalWithRef

func (SpecHttpRouteAttributes) Match

func (SpecHttpRouteAttributes) RetryPolicy

func (SpecHttpRouteAttributes) Timeout

type SpecHttpRouteMatch

type SpecHttpRouteMatch struct {
	// Method: string, optional
	Method terra.StringValue `hcl:"method,attr"`
	// Prefix: string, required
	Prefix terra.StringValue `hcl:"prefix,attr" validate:"required"`
	// Scheme: string, optional
	Scheme terra.StringValue `hcl:"scheme,attr"`
	// SpecHttpRouteMatchHeader: min=0,max=10
	Header []SpecHttpRouteMatchHeader `hcl:"header,block" validate:"min=0,max=10"`
}

type SpecHttpRouteMatchAttributes

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

func (SpecHttpRouteMatchAttributes) Header

func (SpecHttpRouteMatchAttributes) InternalRef

func (SpecHttpRouteMatchAttributes) InternalTokens

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

func (SpecHttpRouteMatchAttributes) InternalWithRef

func (SpecHttpRouteMatchAttributes) Method

func (SpecHttpRouteMatchAttributes) Prefix

func (SpecHttpRouteMatchAttributes) Scheme

type SpecHttpRouteMatchHeader

type SpecHttpRouteMatchHeader struct {
	// Invert: bool, optional
	Invert terra.BoolValue `hcl:"invert,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// SpecHttpRoute30Dd3523: optional
	Match *SpecHttpRoute30Dd3523 `hcl:"match,block"`
}

type SpecHttpRouteMatchHeaderAttributes

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

func (SpecHttpRouteMatchHeaderAttributes) InternalRef

func (SpecHttpRouteMatchHeaderAttributes) InternalTokens

func (SpecHttpRouteMatchHeaderAttributes) InternalWithRef

func (SpecHttpRouteMatchHeaderAttributes) Invert

func (SpecHttpRouteMatchHeaderAttributes) Match

func (SpecHttpRouteMatchHeaderAttributes) Name

type SpecHttpRouteMatchHeaderState

type SpecHttpRouteMatchHeaderState struct {
	Invert bool                         `json:"invert"`
	Name   string                       `json:"name"`
	Match  []SpecHttpRoute30Dd3523State `json:"match"`
}

type SpecHttpRouteMatchState

type SpecHttpRouteMatchState struct {
	Method string                          `json:"method"`
	Prefix string                          `json:"prefix"`
	Scheme string                          `json:"scheme"`
	Header []SpecHttpRouteMatchHeaderState `json:"header"`
}

type SpecHttpRouteRetryPolicy

type SpecHttpRouteRetryPolicy struct {
	// HttpRetryEvents: set of string, optional
	HttpRetryEvents terra.SetValue[terra.StringValue] `hcl:"http_retry_events,attr"`
	// MaxRetries: number, required
	MaxRetries terra.NumberValue `hcl:"max_retries,attr" validate:"required"`
	// TcpRetryEvents: set of string, optional
	TcpRetryEvents terra.SetValue[terra.StringValue] `hcl:"tcp_retry_events,attr"`
	// SpecHttpRouteRetryPolicyPerRetryTimeout: required
	PerRetryTimeout *SpecHttpRouteRetryPolicyPerRetryTimeout `hcl:"per_retry_timeout,block" validate:"required"`
}

type SpecHttpRouteRetryPolicyAttributes

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

func (SpecHttpRouteRetryPolicyAttributes) HttpRetryEvents

func (SpecHttpRouteRetryPolicyAttributes) InternalRef

func (SpecHttpRouteRetryPolicyAttributes) InternalTokens

func (SpecHttpRouteRetryPolicyAttributes) InternalWithRef

func (SpecHttpRouteRetryPolicyAttributes) MaxRetries

func (SpecHttpRouteRetryPolicyAttributes) PerRetryTimeout

func (SpecHttpRouteRetryPolicyAttributes) TcpRetryEvents

type SpecHttpRouteRetryPolicyPerRetryTimeout

type SpecHttpRouteRetryPolicyPerRetryTimeout struct {
	// Unit: string, required
	Unit terra.StringValue `hcl:"unit,attr" validate:"required"`
	// Value: number, required
	Value terra.NumberValue `hcl:"value,attr" validate:"required"`
}

type SpecHttpRouteRetryPolicyPerRetryTimeoutAttributes

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

func (SpecHttpRouteRetryPolicyPerRetryTimeoutAttributes) InternalRef

func (SpecHttpRouteRetryPolicyPerRetryTimeoutAttributes) InternalTokens

func (SpecHttpRouteRetryPolicyPerRetryTimeoutAttributes) InternalWithRef

func (SpecHttpRouteRetryPolicyPerRetryTimeoutAttributes) Unit

func (SpecHttpRouteRetryPolicyPerRetryTimeoutAttributes) Value

type SpecHttpRouteRetryPolicyPerRetryTimeoutState

type SpecHttpRouteRetryPolicyPerRetryTimeoutState struct {
	Unit  string  `json:"unit"`
	Value float64 `json:"value"`
}

type SpecHttpRouteRetryPolicyState

type SpecHttpRouteRetryPolicyState struct {
	HttpRetryEvents []string                                       `json:"http_retry_events"`
	MaxRetries      float64                                        `json:"max_retries"`
	TcpRetryEvents  []string                                       `json:"tcp_retry_events"`
	PerRetryTimeout []SpecHttpRouteRetryPolicyPerRetryTimeoutState `json:"per_retry_timeout"`
}

type SpecHttpRouteState

type SpecHttpRouteState struct {
	Action      []SpecHttpRouteActionState      `json:"action"`
	Match       []SpecHttpRouteMatchState       `json:"match"`
	RetryPolicy []SpecHttpRouteRetryPolicyState `json:"retry_policy"`
	Timeout     []SpecHttpRouteTimeoutState     `json:"timeout"`
}

type SpecHttpRouteTimeout

type SpecHttpRouteTimeout struct {
	// SpecHttpRouteTimeoutIdle: optional
	Idle *SpecHttpRouteTimeoutIdle `hcl:"idle,block"`
	// SpecHttpRouteTimeoutPerRequest: optional
	PerRequest *SpecHttpRouteTimeoutPerRequest `hcl:"per_request,block"`
}

type SpecHttpRouteTimeoutAttributes

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

func (SpecHttpRouteTimeoutAttributes) Idle

func (SpecHttpRouteTimeoutAttributes) InternalRef

func (SpecHttpRouteTimeoutAttributes) InternalTokens

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

func (SpecHttpRouteTimeoutAttributes) InternalWithRef

func (SpecHttpRouteTimeoutAttributes) PerRequest

type SpecHttpRouteTimeoutIdle

type SpecHttpRouteTimeoutIdle struct {
	// Unit: string, required
	Unit terra.StringValue `hcl:"unit,attr" validate:"required"`
	// Value: number, required
	Value terra.NumberValue `hcl:"value,attr" validate:"required"`
}

type SpecHttpRouteTimeoutIdleAttributes

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

func (SpecHttpRouteTimeoutIdleAttributes) InternalRef

func (SpecHttpRouteTimeoutIdleAttributes) InternalTokens

func (SpecHttpRouteTimeoutIdleAttributes) InternalWithRef

func (SpecHttpRouteTimeoutIdleAttributes) Unit

func (SpecHttpRouteTimeoutIdleAttributes) Value

type SpecHttpRouteTimeoutIdleState

type SpecHttpRouteTimeoutIdleState struct {
	Unit  string  `json:"unit"`
	Value float64 `json:"value"`
}

type SpecHttpRouteTimeoutPerRequest

type SpecHttpRouteTimeoutPerRequest struct {
	// Unit: string, required
	Unit terra.StringValue `hcl:"unit,attr" validate:"required"`
	// Value: number, required
	Value terra.NumberValue `hcl:"value,attr" validate:"required"`
}

type SpecHttpRouteTimeoutPerRequestAttributes

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

func (SpecHttpRouteTimeoutPerRequestAttributes) InternalRef

func (SpecHttpRouteTimeoutPerRequestAttributes) InternalTokens

func (SpecHttpRouteTimeoutPerRequestAttributes) InternalWithRef

func (SpecHttpRouteTimeoutPerRequestAttributes) Unit

func (SpecHttpRouteTimeoutPerRequestAttributes) Value

type SpecHttpRouteTimeoutPerRequestState

type SpecHttpRouteTimeoutPerRequestState struct {
	Unit  string  `json:"unit"`
	Value float64 `json:"value"`
}

type SpecHttpRouteTimeoutState

type SpecHttpRouteTimeoutState struct {
	Idle       []SpecHttpRouteTimeoutIdleState       `json:"idle"`
	PerRequest []SpecHttpRouteTimeoutPerRequestState `json:"per_request"`
}

type SpecState

type SpecState struct {
	Priority   float64               `json:"priority"`
	GrpcRoute  []SpecGrpcRouteState  `json:"grpc_route"`
	Http2Route []SpecHttp2RouteState `json:"http2_route"`
	HttpRoute  []SpecHttpRouteState  `json:"http_route"`
	TcpRoute   []SpecTcpRouteState   `json:"tcp_route"`
}

type SpecTcpRoute

type SpecTcpRoute struct {
	// SpecTcpRouteAction: required
	Action *SpecTcpRouteAction `hcl:"action,block" validate:"required"`
	// SpecTcpRouteTimeout: optional
	Timeout *SpecTcpRouteTimeout `hcl:"timeout,block"`
}

type SpecTcpRouteAction

type SpecTcpRouteAction struct {
	// SpecTcpRouteActionWeightedTarget: min=1,max=10
	WeightedTarget []SpecTcpRouteActionWeightedTarget `hcl:"weighted_target,block" validate:"min=1,max=10"`
}

type SpecTcpRouteActionAttributes

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

func (SpecTcpRouteActionAttributes) InternalRef

func (SpecTcpRouteActionAttributes) InternalTokens

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

func (SpecTcpRouteActionAttributes) InternalWithRef

func (SpecTcpRouteActionAttributes) WeightedTarget

type SpecTcpRouteActionState

type SpecTcpRouteActionState struct {
	WeightedTarget []SpecTcpRouteActionWeightedTargetState `json:"weighted_target"`
}

type SpecTcpRouteActionWeightedTarget

type SpecTcpRouteActionWeightedTarget struct {
	// VirtualNode: string, required
	VirtualNode terra.StringValue `hcl:"virtual_node,attr" validate:"required"`
	// Weight: number, required
	Weight terra.NumberValue `hcl:"weight,attr" validate:"required"`
}

type SpecTcpRouteActionWeightedTargetAttributes

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

func (SpecTcpRouteActionWeightedTargetAttributes) InternalRef

func (SpecTcpRouteActionWeightedTargetAttributes) InternalTokens

func (SpecTcpRouteActionWeightedTargetAttributes) InternalWithRef

func (SpecTcpRouteActionWeightedTargetAttributes) VirtualNode

func (SpecTcpRouteActionWeightedTargetAttributes) Weight

type SpecTcpRouteActionWeightedTargetState

type SpecTcpRouteActionWeightedTargetState struct {
	VirtualNode string  `json:"virtual_node"`
	Weight      float64 `json:"weight"`
}

type SpecTcpRouteAttributes

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

func (SpecTcpRouteAttributes) Action

func (SpecTcpRouteAttributes) InternalRef

func (tr SpecTcpRouteAttributes) InternalRef() (terra.Reference, error)

func (SpecTcpRouteAttributes) InternalTokens

func (tr SpecTcpRouteAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SpecTcpRouteAttributes) InternalWithRef

func (SpecTcpRouteAttributes) Timeout

type SpecTcpRouteState

type SpecTcpRouteState struct {
	Action  []SpecTcpRouteActionState  `json:"action"`
	Timeout []SpecTcpRouteTimeoutState `json:"timeout"`
}

type SpecTcpRouteTimeout

type SpecTcpRouteTimeout struct {
	// SpecTcpRouteTimeoutIdle: optional
	Idle *SpecTcpRouteTimeoutIdle `hcl:"idle,block"`
}

type SpecTcpRouteTimeoutAttributes

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

func (SpecTcpRouteTimeoutAttributes) Idle

func (SpecTcpRouteTimeoutAttributes) InternalRef

func (SpecTcpRouteTimeoutAttributes) InternalTokens

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

func (SpecTcpRouteTimeoutAttributes) InternalWithRef

type SpecTcpRouteTimeoutIdle

type SpecTcpRouteTimeoutIdle struct {
	// Unit: string, required
	Unit terra.StringValue `hcl:"unit,attr" validate:"required"`
	// Value: number, required
	Value terra.NumberValue `hcl:"value,attr" validate:"required"`
}

type SpecTcpRouteTimeoutIdleAttributes

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

func (SpecTcpRouteTimeoutIdleAttributes) InternalRef

func (SpecTcpRouteTimeoutIdleAttributes) InternalTokens

func (SpecTcpRouteTimeoutIdleAttributes) InternalWithRef

func (SpecTcpRouteTimeoutIdleAttributes) Unit

func (SpecTcpRouteTimeoutIdleAttributes) Value

type SpecTcpRouteTimeoutIdleState

type SpecTcpRouteTimeoutIdleState struct {
	Unit  string  `json:"unit"`
	Value float64 `json:"value"`
}

type SpecTcpRouteTimeoutState

type SpecTcpRouteTimeoutState struct {
	Idle []SpecTcpRouteTimeoutIdleState `json:"idle"`
}

Jump to

Keyboard shortcuts

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