dbproxydefaulttargetgroup

package
v0.0.0-...-917d9f1 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 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 ConnectionPoolConfig

type ConnectionPoolConfig struct {
	// ConnectionBorrowTimeout: number, optional
	ConnectionBorrowTimeout terra.NumberValue `hcl:"connection_borrow_timeout,attr"`
	// InitQuery: string, optional
	InitQuery terra.StringValue `hcl:"init_query,attr"`
	// MaxConnectionsPercent: number, optional
	MaxConnectionsPercent terra.NumberValue `hcl:"max_connections_percent,attr"`
	// MaxIdleConnectionsPercent: number, optional
	MaxIdleConnectionsPercent terra.NumberValue `hcl:"max_idle_connections_percent,attr"`
	// SessionPinningFilters: set of string, optional
	SessionPinningFilters terra.SetValue[terra.StringValue] `hcl:"session_pinning_filters,attr"`
}

type ConnectionPoolConfigAttributes

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

func (ConnectionPoolConfigAttributes) ConnectionBorrowTimeout

func (cpc ConnectionPoolConfigAttributes) ConnectionBorrowTimeout() terra.NumberValue

func (ConnectionPoolConfigAttributes) InitQuery

func (ConnectionPoolConfigAttributes) InternalRef

func (cpc ConnectionPoolConfigAttributes) InternalRef() (terra.Reference, error)

func (ConnectionPoolConfigAttributes) InternalTokens

func (cpc ConnectionPoolConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ConnectionPoolConfigAttributes) InternalWithRef

func (ConnectionPoolConfigAttributes) MaxConnectionsPercent

func (cpc ConnectionPoolConfigAttributes) MaxConnectionsPercent() terra.NumberValue

func (ConnectionPoolConfigAttributes) MaxIdleConnectionsPercent

func (cpc ConnectionPoolConfigAttributes) MaxIdleConnectionsPercent() terra.NumberValue

func (ConnectionPoolConfigAttributes) SessionPinningFilters

func (cpc ConnectionPoolConfigAttributes) SessionPinningFilters() terra.SetValue[terra.StringValue]

type ConnectionPoolConfigState

type ConnectionPoolConfigState struct {
	ConnectionBorrowTimeout   float64  `json:"connection_borrow_timeout"`
	InitQuery                 string   `json:"init_query"`
	MaxConnectionsPercent     float64  `json:"max_connections_percent"`
	MaxIdleConnectionsPercent float64  `json:"max_idle_connections_percent"`
	SessionPinningFilters     []string `json:"session_pinning_filters"`
}

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

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

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

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

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

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