Documentation ¶
Index ¶
- type AutoStartConfiguration
- type AutoStartConfigurationAttributes
- func (asc AutoStartConfigurationAttributes) Enabled() terra.BoolValue
- func (asc AutoStartConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (asc AutoStartConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (asc AutoStartConfigurationAttributes) InternalWithRef(ref terra.Reference) AutoStartConfigurationAttributes
- type AutoStartConfigurationState
- type AutoStopConfiguration
- type AutoStopConfigurationAttributes
- func (asc AutoStopConfigurationAttributes) Enabled() terra.BoolValue
- func (asc AutoStopConfigurationAttributes) IdleTimeoutMinutes() terra.NumberValue
- func (asc AutoStopConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (asc AutoStopConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (asc AutoStopConfigurationAttributes) InternalWithRef(ref terra.Reference) AutoStopConfigurationAttributes
- type AutoStopConfigurationState
- type ImageConfiguration
- type ImageConfigurationAttributes
- func (ic ImageConfigurationAttributes) ImageUri() terra.StringValue
- func (ic ImageConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (ic ImageConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ic ImageConfigurationAttributes) InternalWithRef(ref terra.Reference) ImageConfigurationAttributes
- type ImageConfigurationState
- type InitialCapacity
- type InitialCapacityAttributes
- func (ic InitialCapacityAttributes) InitialCapacityConfig() terra.ListValue[InitialCapacityConfigAttributes]
- func (ic InitialCapacityAttributes) InitialCapacityType() terra.StringValue
- func (ic InitialCapacityAttributes) InternalRef() (terra.Reference, error)
- func (ic InitialCapacityAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ic InitialCapacityAttributes) InternalWithRef(ref terra.Reference) InitialCapacityAttributes
- type InitialCapacityConfig
- type InitialCapacityConfigAttributes
- func (icc InitialCapacityConfigAttributes) InternalRef() (terra.Reference, error)
- func (icc InitialCapacityConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (icc InitialCapacityConfigAttributes) InternalWithRef(ref terra.Reference) InitialCapacityConfigAttributes
- func (icc InitialCapacityConfigAttributes) WorkerConfiguration() terra.ListValue[WorkerConfigurationAttributes]
- func (icc InitialCapacityConfigAttributes) WorkerCount() terra.NumberValue
- type InitialCapacityConfigState
- type InitialCapacityState
- type MaximumCapacity
- type MaximumCapacityAttributes
- func (mc MaximumCapacityAttributes) Cpu() terra.StringValue
- func (mc MaximumCapacityAttributes) Disk() terra.StringValue
- func (mc MaximumCapacityAttributes) InternalRef() (terra.Reference, error)
- func (mc MaximumCapacityAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mc MaximumCapacityAttributes) InternalWithRef(ref terra.Reference) MaximumCapacityAttributes
- func (mc MaximumCapacityAttributes) Memory() terra.StringValue
- type MaximumCapacityState
- type NetworkConfiguration
- type NetworkConfigurationAttributes
- func (nc NetworkConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (nc NetworkConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (nc NetworkConfigurationAttributes) InternalWithRef(ref terra.Reference) NetworkConfigurationAttributes
- func (nc NetworkConfigurationAttributes) SecurityGroupIds() terra.SetValue[terra.StringValue]
- func (nc NetworkConfigurationAttributes) SubnetIds() terra.SetValue[terra.StringValue]
- type NetworkConfigurationState
- type WorkerConfiguration
- type WorkerConfigurationAttributes
- func (wc WorkerConfigurationAttributes) Cpu() terra.StringValue
- func (wc WorkerConfigurationAttributes) Disk() terra.StringValue
- func (wc WorkerConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (wc WorkerConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (wc WorkerConfigurationAttributes) InternalWithRef(ref terra.Reference) WorkerConfigurationAttributes
- func (wc WorkerConfigurationAttributes) Memory() terra.StringValue
- type WorkerConfigurationState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoStartConfiguration ¶
type AutoStartConfigurationAttributes ¶
type AutoStartConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (AutoStartConfigurationAttributes) Enabled ¶
func (asc AutoStartConfigurationAttributes) Enabled() terra.BoolValue
func (AutoStartConfigurationAttributes) InternalRef ¶
func (asc AutoStartConfigurationAttributes) InternalRef() (terra.Reference, error)
func (AutoStartConfigurationAttributes) InternalTokens ¶
func (asc AutoStartConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AutoStartConfigurationAttributes) InternalWithRef ¶
func (asc AutoStartConfigurationAttributes) InternalWithRef(ref terra.Reference) AutoStartConfigurationAttributes
type AutoStartConfigurationState ¶
type AutoStartConfigurationState struct {
Enabled bool `json:"enabled"`
}
type AutoStopConfiguration ¶
type AutoStopConfiguration struct { // Enabled: bool, optional Enabled terra.BoolValue `hcl:"enabled,attr"` // IdleTimeoutMinutes: number, optional IdleTimeoutMinutes terra.NumberValue `hcl:"idle_timeout_minutes,attr"` }
type AutoStopConfigurationAttributes ¶
type AutoStopConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (AutoStopConfigurationAttributes) Enabled ¶
func (asc AutoStopConfigurationAttributes) Enabled() terra.BoolValue
func (AutoStopConfigurationAttributes) IdleTimeoutMinutes ¶
func (asc AutoStopConfigurationAttributes) IdleTimeoutMinutes() terra.NumberValue
func (AutoStopConfigurationAttributes) InternalRef ¶
func (asc AutoStopConfigurationAttributes) InternalRef() (terra.Reference, error)
func (AutoStopConfigurationAttributes) InternalTokens ¶
func (asc AutoStopConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AutoStopConfigurationAttributes) InternalWithRef ¶
func (asc AutoStopConfigurationAttributes) InternalWithRef(ref terra.Reference) AutoStopConfigurationAttributes
type ImageConfiguration ¶
type ImageConfiguration struct { // ImageUri: string, required ImageUri terra.StringValue `hcl:"image_uri,attr" validate:"required"` }
type ImageConfigurationAttributes ¶
type ImageConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (ImageConfigurationAttributes) ImageUri ¶
func (ic ImageConfigurationAttributes) ImageUri() terra.StringValue
func (ImageConfigurationAttributes) InternalRef ¶
func (ic ImageConfigurationAttributes) InternalRef() (terra.Reference, error)
func (ImageConfigurationAttributes) InternalTokens ¶
func (ic ImageConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ImageConfigurationAttributes) InternalWithRef ¶
func (ic ImageConfigurationAttributes) InternalWithRef(ref terra.Reference) ImageConfigurationAttributes
type ImageConfigurationState ¶
type ImageConfigurationState struct {
ImageUri string `json:"image_uri"`
}
type InitialCapacity ¶
type InitialCapacity struct { // InitialCapacityType: string, required InitialCapacityType terra.StringValue `hcl:"initial_capacity_type,attr" validate:"required"` // InitialCapacityConfig: optional InitialCapacityConfig *InitialCapacityConfig `hcl:"initial_capacity_config,block"` }
type InitialCapacityAttributes ¶
type InitialCapacityAttributes struct {
// contains filtered or unexported fields
}
func (InitialCapacityAttributes) InitialCapacityConfig ¶
func (ic InitialCapacityAttributes) InitialCapacityConfig() terra.ListValue[InitialCapacityConfigAttributes]
func (InitialCapacityAttributes) InitialCapacityType ¶
func (ic InitialCapacityAttributes) InitialCapacityType() terra.StringValue
func (InitialCapacityAttributes) InternalRef ¶
func (ic InitialCapacityAttributes) InternalRef() (terra.Reference, error)
func (InitialCapacityAttributes) InternalTokens ¶
func (ic InitialCapacityAttributes) InternalTokens() (hclwrite.Tokens, error)
func (InitialCapacityAttributes) InternalWithRef ¶
func (ic InitialCapacityAttributes) InternalWithRef(ref terra.Reference) InitialCapacityAttributes
type InitialCapacityConfig ¶
type InitialCapacityConfig struct { // WorkerCount: number, required WorkerCount terra.NumberValue `hcl:"worker_count,attr" validate:"required"` // WorkerConfiguration: optional WorkerConfiguration *WorkerConfiguration `hcl:"worker_configuration,block"` }
type InitialCapacityConfigAttributes ¶
type InitialCapacityConfigAttributes struct {
// contains filtered or unexported fields
}
func (InitialCapacityConfigAttributes) InternalRef ¶
func (icc InitialCapacityConfigAttributes) InternalRef() (terra.Reference, error)
func (InitialCapacityConfigAttributes) InternalTokens ¶
func (icc InitialCapacityConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (InitialCapacityConfigAttributes) InternalWithRef ¶
func (icc InitialCapacityConfigAttributes) InternalWithRef(ref terra.Reference) InitialCapacityConfigAttributes
func (InitialCapacityConfigAttributes) WorkerConfiguration ¶
func (icc InitialCapacityConfigAttributes) WorkerConfiguration() terra.ListValue[WorkerConfigurationAttributes]
func (InitialCapacityConfigAttributes) WorkerCount ¶
func (icc InitialCapacityConfigAttributes) WorkerCount() terra.NumberValue
type InitialCapacityConfigState ¶
type InitialCapacityConfigState struct { WorkerCount float64 `json:"worker_count"` WorkerConfiguration []WorkerConfigurationState `json:"worker_configuration"` }
type InitialCapacityState ¶
type InitialCapacityState struct { InitialCapacityType string `json:"initial_capacity_type"` InitialCapacityConfig []InitialCapacityConfigState `json:"initial_capacity_config"` }
type MaximumCapacity ¶
type MaximumCapacity struct { // Cpu: string, required Cpu terra.StringValue `hcl:"cpu,attr" validate:"required"` // Disk: string, optional Disk terra.StringValue `hcl:"disk,attr"` // Memory: string, required Memory terra.StringValue `hcl:"memory,attr" validate:"required"` }
type MaximumCapacityAttributes ¶
type MaximumCapacityAttributes struct {
// contains filtered or unexported fields
}
func (MaximumCapacityAttributes) Cpu ¶
func (mc MaximumCapacityAttributes) Cpu() terra.StringValue
func (MaximumCapacityAttributes) Disk ¶
func (mc MaximumCapacityAttributes) Disk() terra.StringValue
func (MaximumCapacityAttributes) InternalRef ¶
func (mc MaximumCapacityAttributes) InternalRef() (terra.Reference, error)
func (MaximumCapacityAttributes) InternalTokens ¶
func (mc MaximumCapacityAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MaximumCapacityAttributes) InternalWithRef ¶
func (mc MaximumCapacityAttributes) InternalWithRef(ref terra.Reference) MaximumCapacityAttributes
func (MaximumCapacityAttributes) Memory ¶
func (mc MaximumCapacityAttributes) Memory() terra.StringValue
type MaximumCapacityState ¶
type NetworkConfiguration ¶
type NetworkConfiguration struct { // SecurityGroupIds: set of string, optional SecurityGroupIds terra.SetValue[terra.StringValue] `hcl:"security_group_ids,attr"` // SubnetIds: set of string, optional SubnetIds terra.SetValue[terra.StringValue] `hcl:"subnet_ids,attr"` }
type NetworkConfigurationAttributes ¶
type NetworkConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (NetworkConfigurationAttributes) InternalRef ¶
func (nc NetworkConfigurationAttributes) InternalRef() (terra.Reference, error)
func (NetworkConfigurationAttributes) InternalTokens ¶
func (nc NetworkConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NetworkConfigurationAttributes) InternalWithRef ¶
func (nc NetworkConfigurationAttributes) InternalWithRef(ref terra.Reference) NetworkConfigurationAttributes
func (NetworkConfigurationAttributes) SecurityGroupIds ¶
func (nc NetworkConfigurationAttributes) SecurityGroupIds() terra.SetValue[terra.StringValue]
func (NetworkConfigurationAttributes) SubnetIds ¶
func (nc NetworkConfigurationAttributes) SubnetIds() terra.SetValue[terra.StringValue]
type WorkerConfiguration ¶
type WorkerConfiguration struct { // Cpu: string, required Cpu terra.StringValue `hcl:"cpu,attr" validate:"required"` // Disk: string, optional Disk terra.StringValue `hcl:"disk,attr"` // Memory: string, required Memory terra.StringValue `hcl:"memory,attr" validate:"required"` }
type WorkerConfigurationAttributes ¶
type WorkerConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (WorkerConfigurationAttributes) Cpu ¶
func (wc WorkerConfigurationAttributes) Cpu() terra.StringValue
func (WorkerConfigurationAttributes) Disk ¶
func (wc WorkerConfigurationAttributes) Disk() terra.StringValue
func (WorkerConfigurationAttributes) InternalRef ¶
func (wc WorkerConfigurationAttributes) InternalRef() (terra.Reference, error)
func (WorkerConfigurationAttributes) InternalTokens ¶
func (wc WorkerConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (WorkerConfigurationAttributes) InternalWithRef ¶
func (wc WorkerConfigurationAttributes) InternalWithRef(ref terra.Reference) WorkerConfigurationAttributes
func (WorkerConfigurationAttributes) Memory ¶
func (wc WorkerConfigurationAttributes) Memory() terra.StringValue
Click to show internal directories.
Click to hide internal directories.