finspacekxcluster

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 AutoScalingConfiguration

type AutoScalingConfiguration struct {
	// AutoScalingMetric: string, required
	AutoScalingMetric terra.StringValue `hcl:"auto_scaling_metric,attr" validate:"required"`
	// MaxNodeCount: number, required
	MaxNodeCount terra.NumberValue `hcl:"max_node_count,attr" validate:"required"`
	// MetricTarget: number, required
	MetricTarget terra.NumberValue `hcl:"metric_target,attr" validate:"required"`
	// MinNodeCount: number, required
	MinNodeCount terra.NumberValue `hcl:"min_node_count,attr" validate:"required"`
	// ScaleInCooldownSeconds: number, required
	ScaleInCooldownSeconds terra.NumberValue `hcl:"scale_in_cooldown_seconds,attr" validate:"required"`
	// ScaleOutCooldownSeconds: number, required
	ScaleOutCooldownSeconds terra.NumberValue `hcl:"scale_out_cooldown_seconds,attr" validate:"required"`
}

type AutoScalingConfigurationAttributes

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

func (AutoScalingConfigurationAttributes) AutoScalingMetric

func (asc AutoScalingConfigurationAttributes) AutoScalingMetric() terra.StringValue

func (AutoScalingConfigurationAttributes) InternalRef

func (AutoScalingConfigurationAttributes) InternalTokens

func (asc AutoScalingConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AutoScalingConfigurationAttributes) InternalWithRef

func (AutoScalingConfigurationAttributes) MaxNodeCount

func (AutoScalingConfigurationAttributes) MetricTarget

func (AutoScalingConfigurationAttributes) MinNodeCount

func (AutoScalingConfigurationAttributes) ScaleInCooldownSeconds

func (asc AutoScalingConfigurationAttributes) ScaleInCooldownSeconds() terra.NumberValue

func (AutoScalingConfigurationAttributes) ScaleOutCooldownSeconds

func (asc AutoScalingConfigurationAttributes) ScaleOutCooldownSeconds() terra.NumberValue

type AutoScalingConfigurationState

type AutoScalingConfigurationState struct {
	AutoScalingMetric       string  `json:"auto_scaling_metric"`
	MaxNodeCount            float64 `json:"max_node_count"`
	MetricTarget            float64 `json:"metric_target"`
	MinNodeCount            float64 `json:"min_node_count"`
	ScaleInCooldownSeconds  float64 `json:"scale_in_cooldown_seconds"`
	ScaleOutCooldownSeconds float64 `json:"scale_out_cooldown_seconds"`
}

type CacheConfigurations

type CacheConfigurations struct {
	// CacheType: string, required
	CacheType terra.StringValue `hcl:"cache_type,attr" validate:"required"`
	// DbPaths: set of string, required
	DbPaths terra.SetValue[terra.StringValue] `hcl:"db_paths,attr" validate:"required"`
}

type CacheConfigurationsAttributes

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

func (CacheConfigurationsAttributes) CacheType

func (CacheConfigurationsAttributes) DbPaths

func (CacheConfigurationsAttributes) InternalRef

func (cc CacheConfigurationsAttributes) InternalRef() (terra.Reference, error)

func (CacheConfigurationsAttributes) InternalTokens

func (cc CacheConfigurationsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CacheConfigurationsAttributes) InternalWithRef

type CacheConfigurationsState

type CacheConfigurationsState struct {
	CacheType string   `json:"cache_type"`
	DbPaths   []string `json:"db_paths"`
}

type CacheStorageConfigurations

type CacheStorageConfigurations struct {
	// Size: number, required
	Size terra.NumberValue `hcl:"size,attr" validate:"required"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type CacheStorageConfigurationsAttributes

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

func (CacheStorageConfigurationsAttributes) InternalRef

func (CacheStorageConfigurationsAttributes) InternalTokens

func (CacheStorageConfigurationsAttributes) InternalWithRef

func (CacheStorageConfigurationsAttributes) Size

func (CacheStorageConfigurationsAttributes) Type

type CacheStorageConfigurationsState

type CacheStorageConfigurationsState struct {
	Size float64 `json:"size"`
	Type string  `json:"type"`
}

type CapacityConfiguration

type CapacityConfiguration struct {
	// NodeCount: number, required
	NodeCount terra.NumberValue `hcl:"node_count,attr" validate:"required"`
	// NodeType: string, required
	NodeType terra.StringValue `hcl:"node_type,attr" validate:"required"`
}

type CapacityConfigurationAttributes

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

func (CapacityConfigurationAttributes) InternalRef

func (CapacityConfigurationAttributes) InternalTokens

func (cc CapacityConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CapacityConfigurationAttributes) InternalWithRef

func (CapacityConfigurationAttributes) NodeCount

func (CapacityConfigurationAttributes) NodeType

type CapacityConfigurationState

type CapacityConfigurationState struct {
	NodeCount float64 `json:"node_count"`
	NodeType  string  `json:"node_type"`
}

type Code

type Code struct {
	// S3Bucket: string, required
	S3Bucket terra.StringValue `hcl:"s3_bucket,attr" validate:"required"`
	// S3Key: string, required
	S3Key terra.StringValue `hcl:"s3_key,attr" validate:"required"`
	// S3ObjectVersion: string, optional
	S3ObjectVersion terra.StringValue `hcl:"s3_object_version,attr"`
}

type CodeAttributes

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

func (CodeAttributes) InternalRef

func (c CodeAttributes) InternalRef() (terra.Reference, error)

func (CodeAttributes) InternalTokens

func (c CodeAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CodeAttributes) InternalWithRef

func (c CodeAttributes) InternalWithRef(ref terra.Reference) CodeAttributes

func (CodeAttributes) S3Bucket

func (c CodeAttributes) S3Bucket() terra.StringValue

func (CodeAttributes) S3Key

func (c CodeAttributes) S3Key() terra.StringValue

func (CodeAttributes) S3ObjectVersion

func (c CodeAttributes) S3ObjectVersion() terra.StringValue

type CodeState

type CodeState struct {
	S3Bucket        string `json:"s3_bucket"`
	S3Key           string `json:"s3_key"`
	S3ObjectVersion string `json:"s3_object_version"`
}

type Database

type Database struct {
	// ChangesetId: string, optional
	ChangesetId terra.StringValue `hcl:"changeset_id,attr"`
	// DatabaseName: string, required
	DatabaseName terra.StringValue `hcl:"database_name,attr" validate:"required"`
	// CacheConfigurations: min=1
	CacheConfigurations []CacheConfigurations `hcl:"cache_configurations,block" validate:"min=1"`
}

type DatabaseAttributes

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

func (DatabaseAttributes) CacheConfigurations

func (DatabaseAttributes) ChangesetId

func (d DatabaseAttributes) ChangesetId() terra.StringValue

func (DatabaseAttributes) DatabaseName

func (d DatabaseAttributes) DatabaseName() terra.StringValue

func (DatabaseAttributes) InternalRef

func (d DatabaseAttributes) InternalRef() (terra.Reference, error)

func (DatabaseAttributes) InternalTokens

func (d DatabaseAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DatabaseAttributes) InternalWithRef

func (d DatabaseAttributes) InternalWithRef(ref terra.Reference) DatabaseAttributes

type DatabaseState

type DatabaseState struct {
	ChangesetId         string                     `json:"changeset_id"`
	DatabaseName        string                     `json:"database_name"`
	CacheConfigurations []CacheConfigurationsState `json:"cache_configurations"`
}

type SavedownStorageConfiguration

type SavedownStorageConfiguration struct {
	// Size: number, required
	Size terra.NumberValue `hcl:"size,attr" validate:"required"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type SavedownStorageConfigurationAttributes

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

func (SavedownStorageConfigurationAttributes) InternalRef

func (SavedownStorageConfigurationAttributes) InternalTokens

func (SavedownStorageConfigurationAttributes) InternalWithRef

func (SavedownStorageConfigurationAttributes) Size

func (SavedownStorageConfigurationAttributes) Type

type SavedownStorageConfigurationState

type SavedownStorageConfigurationState struct {
	Size float64 `json:"size"`
	Type string  `json:"type"`
}

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,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) Delete

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"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

type VpcConfiguration

type VpcConfiguration struct {
	// IpAddressType: string, required
	IpAddressType terra.StringValue `hcl:"ip_address_type,attr" validate:"required"`
	// SecurityGroupIds: set of string, required
	SecurityGroupIds terra.SetValue[terra.StringValue] `hcl:"security_group_ids,attr" validate:"required"`
	// SubnetIds: set of string, required
	SubnetIds terra.SetValue[terra.StringValue] `hcl:"subnet_ids,attr" validate:"required"`
	// VpcId: string, required
	VpcId terra.StringValue `hcl:"vpc_id,attr" validate:"required"`
}

type VpcConfigurationAttributes

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

func (VpcConfigurationAttributes) InternalRef

func (vc VpcConfigurationAttributes) InternalRef() (terra.Reference, error)

func (VpcConfigurationAttributes) InternalTokens

func (vc VpcConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (VpcConfigurationAttributes) InternalWithRef

func (VpcConfigurationAttributes) IpAddressType

func (vc VpcConfigurationAttributes) IpAddressType() terra.StringValue

func (VpcConfigurationAttributes) SecurityGroupIds

func (VpcConfigurationAttributes) SubnetIds

func (VpcConfigurationAttributes) VpcId

type VpcConfigurationState

type VpcConfigurationState struct {
	IpAddressType    string   `json:"ip_address_type"`
	SecurityGroupIds []string `json:"security_group_ids"`
	SubnetIds        []string `json:"subnet_ids"`
	VpcId            string   `json:"vpc_id"`
}

Jump to

Keyboard shortcuts

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