Documentation ¶
Index ¶
- type ConnectionPoolConfig
- type ConnectionPoolConfigAttributes
- func (cpc ConnectionPoolConfigAttributes) ConnectionBorrowTimeout() terra.NumberValue
- func (cpc ConnectionPoolConfigAttributes) InitQuery() terra.StringValue
- func (cpc ConnectionPoolConfigAttributes) InternalRef() (terra.Reference, error)
- func (cpc ConnectionPoolConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cpc ConnectionPoolConfigAttributes) InternalWithRef(ref terra.Reference) ConnectionPoolConfigAttributes
- func (cpc ConnectionPoolConfigAttributes) MaxConnectionsPercent() terra.NumberValue
- func (cpc ConnectionPoolConfigAttributes) MaxIdleConnectionsPercent() terra.NumberValue
- func (cpc ConnectionPoolConfigAttributes) SessionPinningFilters() terra.SetValue[terra.StringValue]
- type ConnectionPoolConfigState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
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 (cpc ConnectionPoolConfigAttributes) InitQuery() terra.StringValue
func (ConnectionPoolConfigAttributes) InternalRef ¶
func (cpc ConnectionPoolConfigAttributes) InternalRef() (terra.Reference, error)
func (ConnectionPoolConfigAttributes) InternalTokens ¶
func (cpc ConnectionPoolConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConnectionPoolConfigAttributes) InternalWithRef ¶
func (cpc ConnectionPoolConfigAttributes) InternalWithRef(ref terra.Reference) ConnectionPoolConfigAttributes
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 (t TimeoutsAttributes) Create() terra.StringValue
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 ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.