Documentation ¶
Index ¶
- type Args
- type Cluster
- type ClusterAttributes
- func (c ClusterAttributes) AutoscalingConfig() terra.ListValue[ClusterAutoscalingConfigAttributes]
- func (c ClusterAttributes) ClusterId() terra.StringValue
- func (c ClusterAttributes) InternalRef() (terra.Reference, error)
- func (c ClusterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c ClusterAttributes) InternalWithRef(ref terra.Reference) ClusterAttributes
- func (c ClusterAttributes) KmsKeyName() terra.StringValue
- func (c ClusterAttributes) NumNodes() terra.NumberValue
- func (c ClusterAttributes) State() terra.StringValue
- func (c ClusterAttributes) StorageType() terra.StringValue
- func (c ClusterAttributes) Zone() terra.StringValue
- type ClusterAutoscalingConfig
- type ClusterAutoscalingConfigAttributes
- func (ac ClusterAutoscalingConfigAttributes) CpuTarget() terra.NumberValue
- func (ac ClusterAutoscalingConfigAttributes) InternalRef() (terra.Reference, error)
- func (ac ClusterAutoscalingConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ac ClusterAutoscalingConfigAttributes) InternalWithRef(ref terra.Reference) ClusterAutoscalingConfigAttributes
- func (ac ClusterAutoscalingConfigAttributes) MaxNodes() terra.NumberValue
- func (ac ClusterAutoscalingConfigAttributes) MinNodes() terra.NumberValue
- func (ac ClusterAutoscalingConfigAttributes) StorageTarget() terra.NumberValue
- type ClusterAutoscalingConfigState
- type ClusterState
- type Resource
- func (gbi *Resource) Attributes() googleBigtableInstanceAttributes
- func (gbi *Resource) Configuration() interface{}
- func (gbi *Resource) DependOn() terra.Reference
- func (gbi *Resource) Dependencies() terra.Dependencies
- func (gbi *Resource) ImportState(state io.Reader) error
- func (gbi *Resource) LifecycleManagement() *terra.Lifecycle
- func (gbi *Resource) LocalName() string
- func (gbi *Resource) State() (*googleBigtableInstanceState, bool)
- func (gbi *Resource) StateMust() *googleBigtableInstanceState
- func (gbi *Resource) Type() string
- 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) Read() terra.StringValue
- 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 Args ¶
type Args struct { // DeletionProtection: bool, optional DeletionProtection terra.BoolValue `hcl:"deletion_protection,attr"` // DisplayName: string, optional DisplayName terra.StringValue `hcl:"display_name,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // InstanceType: string, optional InstanceType terra.StringValue `hcl:"instance_type,attr"` // Labels: map of string, optional Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // Cluster: min=0 Cluster []Cluster `hcl:"cluster,block" validate:"min=0"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_bigtable_instance.
type Cluster ¶
type Cluster struct { // ClusterId: string, required ClusterId terra.StringValue `hcl:"cluster_id,attr" validate:"required"` // KmsKeyName: string, optional KmsKeyName terra.StringValue `hcl:"kms_key_name,attr"` // NumNodes: number, optional NumNodes terra.NumberValue `hcl:"num_nodes,attr"` // StorageType: string, optional StorageType terra.StringValue `hcl:"storage_type,attr"` // Zone: string, optional Zone terra.StringValue `hcl:"zone,attr"` // ClusterAutoscalingConfig: optional AutoscalingConfig *ClusterAutoscalingConfig `hcl:"autoscaling_config,block"` }
type ClusterAttributes ¶
type ClusterAttributes struct {
// contains filtered or unexported fields
}
func (ClusterAttributes) AutoscalingConfig ¶
func (c ClusterAttributes) AutoscalingConfig() terra.ListValue[ClusterAutoscalingConfigAttributes]
func (ClusterAttributes) ClusterId ¶
func (c ClusterAttributes) ClusterId() terra.StringValue
func (ClusterAttributes) InternalRef ¶
func (c ClusterAttributes) InternalRef() (terra.Reference, error)
func (ClusterAttributes) InternalTokens ¶
func (c ClusterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ClusterAttributes) InternalWithRef ¶
func (c ClusterAttributes) InternalWithRef(ref terra.Reference) ClusterAttributes
func (ClusterAttributes) KmsKeyName ¶
func (c ClusterAttributes) KmsKeyName() terra.StringValue
func (ClusterAttributes) NumNodes ¶
func (c ClusterAttributes) NumNodes() terra.NumberValue
func (ClusterAttributes) State ¶
func (c ClusterAttributes) State() terra.StringValue
func (ClusterAttributes) StorageType ¶
func (c ClusterAttributes) StorageType() terra.StringValue
func (ClusterAttributes) Zone ¶
func (c ClusterAttributes) Zone() terra.StringValue
type ClusterAutoscalingConfig ¶
type ClusterAutoscalingConfig struct { // CpuTarget: number, required CpuTarget terra.NumberValue `hcl:"cpu_target,attr" validate:"required"` // MaxNodes: number, required MaxNodes terra.NumberValue `hcl:"max_nodes,attr" validate:"required"` // MinNodes: number, required MinNodes terra.NumberValue `hcl:"min_nodes,attr" validate:"required"` // StorageTarget: number, optional StorageTarget terra.NumberValue `hcl:"storage_target,attr"` }
type ClusterAutoscalingConfigAttributes ¶
type ClusterAutoscalingConfigAttributes struct {
// contains filtered or unexported fields
}
func (ClusterAutoscalingConfigAttributes) CpuTarget ¶
func (ac ClusterAutoscalingConfigAttributes) CpuTarget() terra.NumberValue
func (ClusterAutoscalingConfigAttributes) InternalRef ¶
func (ac ClusterAutoscalingConfigAttributes) InternalRef() (terra.Reference, error)
func (ClusterAutoscalingConfigAttributes) InternalTokens ¶
func (ac ClusterAutoscalingConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ClusterAutoscalingConfigAttributes) InternalWithRef ¶
func (ac ClusterAutoscalingConfigAttributes) InternalWithRef(ref terra.Reference) ClusterAutoscalingConfigAttributes
func (ClusterAutoscalingConfigAttributes) MaxNodes ¶
func (ac ClusterAutoscalingConfigAttributes) MaxNodes() terra.NumberValue
func (ClusterAutoscalingConfigAttributes) MinNodes ¶
func (ac ClusterAutoscalingConfigAttributes) MinNodes() terra.NumberValue
func (ClusterAutoscalingConfigAttributes) StorageTarget ¶
func (ac ClusterAutoscalingConfigAttributes) StorageTarget() terra.NumberValue
type ClusterState ¶
type ClusterState struct { ClusterId string `json:"cluster_id"` KmsKeyName string `json:"kms_key_name"` NumNodes float64 `json:"num_nodes"` State string `json:"state"` StorageType string `json:"storage_type"` Zone string `json:"zone"` AutoscalingConfig []ClusterAutoscalingConfigState `json:"autoscaling_config"` }
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 google_bigtable_instance.
func (*Resource) Attributes ¶
func (gbi *Resource) Attributes() googleBigtableInstanceAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gbi *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gbi *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Read: string, optional Read terra.StringValue `hcl:"read,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) Read ¶
func (t TimeoutsAttributes) Read() terra.StringValue
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.