Documentation ¶
Index ¶
- type Args
- type Autoscaling
- type AutoscalingAttributes
- func (a AutoscalingAttributes) InternalRef() (terra.Reference, error)
- func (a AutoscalingAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a AutoscalingAttributes) InternalWithRef(ref terra.Reference) AutoscalingAttributes
- func (a AutoscalingAttributes) MaxNodeCount() terra.NumberValue
- func (a AutoscalingAttributes) MinNodeCount() terra.NumberValue
- type AutoscalingState
- type Config
- type ConfigAttributes
- func (c ConfigAttributes) AutoscalingMetricsCollection() terra.ListValue[ConfigAutoscalingMetricsCollectionAttributes]
- func (c ConfigAttributes) ConfigEncryption() terra.ListValue[ConfigConfigEncryptionAttributes]
- func (c ConfigAttributes) IamInstanceProfile() terra.StringValue
- func (c ConfigAttributes) InstanceType() terra.StringValue
- func (c ConfigAttributes) InternalRef() (terra.Reference, error)
- func (c ConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c ConfigAttributes) InternalWithRef(ref terra.Reference) ConfigAttributes
- func (c ConfigAttributes) Labels() terra.MapValue[terra.StringValue]
- func (c ConfigAttributes) ProxyConfig() terra.ListValue[ConfigProxyConfigAttributes]
- func (c ConfigAttributes) RootVolume() terra.ListValue[ConfigRootVolumeAttributes]
- func (c ConfigAttributes) SecurityGroupIds() terra.ListValue[terra.StringValue]
- func (c ConfigAttributes) SshConfig() terra.ListValue[ConfigSshConfigAttributes]
- func (c ConfigAttributes) Tags() terra.MapValue[terra.StringValue]
- func (c ConfigAttributes) Taints() terra.ListValue[ConfigTaintsAttributes]
- type ConfigAutoscalingMetricsCollection
- type ConfigAutoscalingMetricsCollectionAttributes
- func (amc ConfigAutoscalingMetricsCollectionAttributes) Granularity() terra.StringValue
- func (amc ConfigAutoscalingMetricsCollectionAttributes) InternalRef() (terra.Reference, error)
- func (amc ConfigAutoscalingMetricsCollectionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (amc ConfigAutoscalingMetricsCollectionAttributes) InternalWithRef(ref terra.Reference) ConfigAutoscalingMetricsCollectionAttributes
- func (amc ConfigAutoscalingMetricsCollectionAttributes) Metrics() terra.ListValue[terra.StringValue]
- type ConfigAutoscalingMetricsCollectionState
- type ConfigConfigEncryption
- type ConfigConfigEncryptionAttributes
- func (ce ConfigConfigEncryptionAttributes) InternalRef() (terra.Reference, error)
- func (ce ConfigConfigEncryptionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ce ConfigConfigEncryptionAttributes) InternalWithRef(ref terra.Reference) ConfigConfigEncryptionAttributes
- func (ce ConfigConfigEncryptionAttributes) KmsKeyArn() terra.StringValue
- type ConfigConfigEncryptionState
- type ConfigProxyConfig
- type ConfigProxyConfigAttributes
- func (pc ConfigProxyConfigAttributes) InternalRef() (terra.Reference, error)
- func (pc ConfigProxyConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pc ConfigProxyConfigAttributes) InternalWithRef(ref terra.Reference) ConfigProxyConfigAttributes
- func (pc ConfigProxyConfigAttributes) SecretArn() terra.StringValue
- func (pc ConfigProxyConfigAttributes) SecretVersion() terra.StringValue
- type ConfigProxyConfigState
- type ConfigRootVolume
- type ConfigRootVolumeAttributes
- func (rv ConfigRootVolumeAttributes) InternalRef() (terra.Reference, error)
- func (rv ConfigRootVolumeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rv ConfigRootVolumeAttributes) InternalWithRef(ref terra.Reference) ConfigRootVolumeAttributes
- func (rv ConfigRootVolumeAttributes) Iops() terra.NumberValue
- func (rv ConfigRootVolumeAttributes) KmsKeyArn() terra.StringValue
- func (rv ConfigRootVolumeAttributes) SizeGib() terra.NumberValue
- func (rv ConfigRootVolumeAttributes) Throughput() terra.NumberValue
- func (rv ConfigRootVolumeAttributes) VolumeType() terra.StringValue
- type ConfigRootVolumeState
- type ConfigSshConfig
- type ConfigSshConfigAttributes
- func (sc ConfigSshConfigAttributes) Ec2KeyPair() terra.StringValue
- func (sc ConfigSshConfigAttributes) InternalRef() (terra.Reference, error)
- func (sc ConfigSshConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sc ConfigSshConfigAttributes) InternalWithRef(ref terra.Reference) ConfigSshConfigAttributes
- type ConfigSshConfigState
- type ConfigState
- type ConfigTaints
- type ConfigTaintsAttributes
- func (t ConfigTaintsAttributes) Effect() terra.StringValue
- func (t ConfigTaintsAttributes) InternalRef() (terra.Reference, error)
- func (t ConfigTaintsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t ConfigTaintsAttributes) InternalWithRef(ref terra.Reference) ConfigTaintsAttributes
- func (t ConfigTaintsAttributes) Key() terra.StringValue
- func (t ConfigTaintsAttributes) Value() terra.StringValue
- type ConfigTaintsState
- type Management
- type ManagementAttributes
- type ManagementState
- type MaxPodsConstraint
- type MaxPodsConstraintAttributes
- func (mpc MaxPodsConstraintAttributes) InternalRef() (terra.Reference, error)
- func (mpc MaxPodsConstraintAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mpc MaxPodsConstraintAttributes) InternalWithRef(ref terra.Reference) MaxPodsConstraintAttributes
- func (mpc MaxPodsConstraintAttributes) MaxPodsPerNode() terra.NumberValue
- type MaxPodsConstraintState
- type Resource
- func (gcanp *Resource) Attributes() googleContainerAwsNodePoolAttributes
- func (gcanp *Resource) Configuration() interface{}
- func (gcanp *Resource) DependOn() terra.Reference
- func (gcanp *Resource) Dependencies() terra.Dependencies
- func (gcanp *Resource) ImportState(state io.Reader) error
- func (gcanp *Resource) LifecycleManagement() *terra.Lifecycle
- func (gcanp *Resource) LocalName() string
- func (gcanp *Resource) State() (*googleContainerAwsNodePoolState, bool)
- func (gcanp *Resource) StateMust() *googleContainerAwsNodePoolState
- func (gcanp *Resource) Type() string
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() 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
- type UpdateSettings
- type UpdateSettingsAttributes
- func (us UpdateSettingsAttributes) InternalRef() (terra.Reference, error)
- func (us UpdateSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (us UpdateSettingsAttributes) InternalWithRef(ref terra.Reference) UpdateSettingsAttributes
- func (us UpdateSettingsAttributes) SurgeSettings() terra.ListValue[UpdateSettingsSurgeSettingsAttributes]
- type UpdateSettingsState
- type UpdateSettingsSurgeSettings
- type UpdateSettingsSurgeSettingsAttributes
- func (ss UpdateSettingsSurgeSettingsAttributes) InternalRef() (terra.Reference, error)
- func (ss UpdateSettingsSurgeSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ss UpdateSettingsSurgeSettingsAttributes) InternalWithRef(ref terra.Reference) UpdateSettingsSurgeSettingsAttributes
- func (ss UpdateSettingsSurgeSettingsAttributes) MaxSurge() terra.NumberValue
- func (ss UpdateSettingsSurgeSettingsAttributes) MaxUnavailable() terra.NumberValue
- type UpdateSettingsSurgeSettingsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Annotations: map of string, optional Annotations terra.MapValue[terra.StringValue] `hcl:"annotations,attr"` // Cluster: string, required Cluster terra.StringValue `hcl:"cluster,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Location: string, required Location terra.StringValue `hcl:"location,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // SubnetId: string, required SubnetId terra.StringValue `hcl:"subnet_id,attr" validate:"required"` // Version: string, required Version terra.StringValue `hcl:"version,attr" validate:"required"` // Autoscaling: required Autoscaling *Autoscaling `hcl:"autoscaling,block" validate:"required"` // Config: required Config *Config `hcl:"config,block" validate:"required"` // Management: optional Management *Management `hcl:"management,block"` // MaxPodsConstraint: required MaxPodsConstraint *MaxPodsConstraint `hcl:"max_pods_constraint,block" validate:"required"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` // UpdateSettings: optional UpdateSettings *UpdateSettings `hcl:"update_settings,block"` }
Args contains the configurations for google_container_aws_node_pool.
type Autoscaling ¶
type Autoscaling struct { // MaxNodeCount: number, required MaxNodeCount terra.NumberValue `hcl:"max_node_count,attr" validate:"required"` // MinNodeCount: number, required MinNodeCount terra.NumberValue `hcl:"min_node_count,attr" validate:"required"` }
type AutoscalingAttributes ¶
type AutoscalingAttributes struct {
// contains filtered or unexported fields
}
func (AutoscalingAttributes) InternalRef ¶
func (a AutoscalingAttributes) InternalRef() (terra.Reference, error)
func (AutoscalingAttributes) InternalTokens ¶
func (a AutoscalingAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AutoscalingAttributes) InternalWithRef ¶
func (a AutoscalingAttributes) InternalWithRef(ref terra.Reference) AutoscalingAttributes
func (AutoscalingAttributes) MaxNodeCount ¶
func (a AutoscalingAttributes) MaxNodeCount() terra.NumberValue
func (AutoscalingAttributes) MinNodeCount ¶
func (a AutoscalingAttributes) MinNodeCount() terra.NumberValue
type AutoscalingState ¶
type Config ¶
type Config struct { // IamInstanceProfile: string, required IamInstanceProfile terra.StringValue `hcl:"iam_instance_profile,attr" validate:"required"` // InstanceType: string, optional InstanceType terra.StringValue `hcl:"instance_type,attr"` // Labels: map of string, optional Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"` // SecurityGroupIds: list of string, optional SecurityGroupIds terra.ListValue[terra.StringValue] `hcl:"security_group_ids,attr"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // ConfigAutoscalingMetricsCollection: optional AutoscalingMetricsCollection *ConfigAutoscalingMetricsCollection `hcl:"autoscaling_metrics_collection,block"` // ConfigConfigEncryption: required ConfigEncryption *ConfigConfigEncryption `hcl:"config_encryption,block" validate:"required"` // ConfigProxyConfig: optional ProxyConfig *ConfigProxyConfig `hcl:"proxy_config,block"` // ConfigRootVolume: optional RootVolume *ConfigRootVolume `hcl:"root_volume,block"` // ConfigSshConfig: optional SshConfig *ConfigSshConfig `hcl:"ssh_config,block"` // ConfigTaints: min=0 Taints []ConfigTaints `hcl:"taints,block" validate:"min=0"` }
type ConfigAttributes ¶
type ConfigAttributes struct {
// contains filtered or unexported fields
}
func (ConfigAttributes) AutoscalingMetricsCollection ¶
func (c ConfigAttributes) AutoscalingMetricsCollection() terra.ListValue[ConfigAutoscalingMetricsCollectionAttributes]
func (ConfigAttributes) ConfigEncryption ¶
func (c ConfigAttributes) ConfigEncryption() terra.ListValue[ConfigConfigEncryptionAttributes]
func (ConfigAttributes) IamInstanceProfile ¶
func (c ConfigAttributes) IamInstanceProfile() terra.StringValue
func (ConfigAttributes) InstanceType ¶
func (c ConfigAttributes) InstanceType() terra.StringValue
func (ConfigAttributes) InternalRef ¶
func (c ConfigAttributes) InternalRef() (terra.Reference, error)
func (ConfigAttributes) InternalTokens ¶
func (c ConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConfigAttributes) InternalWithRef ¶
func (c ConfigAttributes) InternalWithRef(ref terra.Reference) ConfigAttributes
func (ConfigAttributes) Labels ¶
func (c ConfigAttributes) Labels() terra.MapValue[terra.StringValue]
func (ConfigAttributes) ProxyConfig ¶
func (c ConfigAttributes) ProxyConfig() terra.ListValue[ConfigProxyConfigAttributes]
func (ConfigAttributes) RootVolume ¶
func (c ConfigAttributes) RootVolume() terra.ListValue[ConfigRootVolumeAttributes]
func (ConfigAttributes) SecurityGroupIds ¶
func (c ConfigAttributes) SecurityGroupIds() terra.ListValue[terra.StringValue]
func (ConfigAttributes) SshConfig ¶
func (c ConfigAttributes) SshConfig() terra.ListValue[ConfigSshConfigAttributes]
func (ConfigAttributes) Tags ¶
func (c ConfigAttributes) Tags() terra.MapValue[terra.StringValue]
func (ConfigAttributes) Taints ¶
func (c ConfigAttributes) Taints() terra.ListValue[ConfigTaintsAttributes]
type ConfigAutoscalingMetricsCollection ¶
type ConfigAutoscalingMetricsCollection struct { // Granularity: string, required Granularity terra.StringValue `hcl:"granularity,attr" validate:"required"` // Metrics: list of string, optional Metrics terra.ListValue[terra.StringValue] `hcl:"metrics,attr"` }
type ConfigAutoscalingMetricsCollectionAttributes ¶
type ConfigAutoscalingMetricsCollectionAttributes struct {
// contains filtered or unexported fields
}
func (ConfigAutoscalingMetricsCollectionAttributes) Granularity ¶
func (amc ConfigAutoscalingMetricsCollectionAttributes) Granularity() terra.StringValue
func (ConfigAutoscalingMetricsCollectionAttributes) InternalRef ¶
func (amc ConfigAutoscalingMetricsCollectionAttributes) InternalRef() (terra.Reference, error)
func (ConfigAutoscalingMetricsCollectionAttributes) InternalTokens ¶
func (amc ConfigAutoscalingMetricsCollectionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConfigAutoscalingMetricsCollectionAttributes) InternalWithRef ¶
func (amc ConfigAutoscalingMetricsCollectionAttributes) InternalWithRef(ref terra.Reference) ConfigAutoscalingMetricsCollectionAttributes
func (ConfigAutoscalingMetricsCollectionAttributes) Metrics ¶
func (amc ConfigAutoscalingMetricsCollectionAttributes) Metrics() terra.ListValue[terra.StringValue]
type ConfigConfigEncryption ¶
type ConfigConfigEncryption struct { // KmsKeyArn: string, required KmsKeyArn terra.StringValue `hcl:"kms_key_arn,attr" validate:"required"` }
type ConfigConfigEncryptionAttributes ¶
type ConfigConfigEncryptionAttributes struct {
// contains filtered or unexported fields
}
func (ConfigConfigEncryptionAttributes) InternalRef ¶
func (ce ConfigConfigEncryptionAttributes) InternalRef() (terra.Reference, error)
func (ConfigConfigEncryptionAttributes) InternalTokens ¶
func (ce ConfigConfigEncryptionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConfigConfigEncryptionAttributes) InternalWithRef ¶
func (ce ConfigConfigEncryptionAttributes) InternalWithRef(ref terra.Reference) ConfigConfigEncryptionAttributes
func (ConfigConfigEncryptionAttributes) KmsKeyArn ¶
func (ce ConfigConfigEncryptionAttributes) KmsKeyArn() terra.StringValue
type ConfigConfigEncryptionState ¶
type ConfigConfigEncryptionState struct {
KmsKeyArn string `json:"kms_key_arn"`
}
type ConfigProxyConfig ¶
type ConfigProxyConfig struct { // SecretArn: string, required SecretArn terra.StringValue `hcl:"secret_arn,attr" validate:"required"` // SecretVersion: string, required SecretVersion terra.StringValue `hcl:"secret_version,attr" validate:"required"` }
type ConfigProxyConfigAttributes ¶
type ConfigProxyConfigAttributes struct {
// contains filtered or unexported fields
}
func (ConfigProxyConfigAttributes) InternalRef ¶
func (pc ConfigProxyConfigAttributes) InternalRef() (terra.Reference, error)
func (ConfigProxyConfigAttributes) InternalTokens ¶
func (pc ConfigProxyConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConfigProxyConfigAttributes) InternalWithRef ¶
func (pc ConfigProxyConfigAttributes) InternalWithRef(ref terra.Reference) ConfigProxyConfigAttributes
func (ConfigProxyConfigAttributes) SecretArn ¶
func (pc ConfigProxyConfigAttributes) SecretArn() terra.StringValue
func (ConfigProxyConfigAttributes) SecretVersion ¶
func (pc ConfigProxyConfigAttributes) SecretVersion() terra.StringValue
type ConfigProxyConfigState ¶
type ConfigRootVolume ¶
type ConfigRootVolume struct { // Iops: number, optional Iops terra.NumberValue `hcl:"iops,attr"` // KmsKeyArn: string, optional KmsKeyArn terra.StringValue `hcl:"kms_key_arn,attr"` // SizeGib: number, optional SizeGib terra.NumberValue `hcl:"size_gib,attr"` // Throughput: number, optional Throughput terra.NumberValue `hcl:"throughput,attr"` // VolumeType: string, optional VolumeType terra.StringValue `hcl:"volume_type,attr"` }
type ConfigRootVolumeAttributes ¶
type ConfigRootVolumeAttributes struct {
// contains filtered or unexported fields
}
func (ConfigRootVolumeAttributes) InternalRef ¶
func (rv ConfigRootVolumeAttributes) InternalRef() (terra.Reference, error)
func (ConfigRootVolumeAttributes) InternalTokens ¶
func (rv ConfigRootVolumeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConfigRootVolumeAttributes) InternalWithRef ¶
func (rv ConfigRootVolumeAttributes) InternalWithRef(ref terra.Reference) ConfigRootVolumeAttributes
func (ConfigRootVolumeAttributes) Iops ¶
func (rv ConfigRootVolumeAttributes) Iops() terra.NumberValue
func (ConfigRootVolumeAttributes) KmsKeyArn ¶
func (rv ConfigRootVolumeAttributes) KmsKeyArn() terra.StringValue
func (ConfigRootVolumeAttributes) SizeGib ¶
func (rv ConfigRootVolumeAttributes) SizeGib() terra.NumberValue
func (ConfigRootVolumeAttributes) Throughput ¶
func (rv ConfigRootVolumeAttributes) Throughput() terra.NumberValue
func (ConfigRootVolumeAttributes) VolumeType ¶
func (rv ConfigRootVolumeAttributes) VolumeType() terra.StringValue
type ConfigRootVolumeState ¶
type ConfigSshConfig ¶
type ConfigSshConfig struct { // Ec2KeyPair: string, required Ec2KeyPair terra.StringValue `hcl:"ec2_key_pair,attr" validate:"required"` }
type ConfigSshConfigAttributes ¶
type ConfigSshConfigAttributes struct {
// contains filtered or unexported fields
}
func (ConfigSshConfigAttributes) Ec2KeyPair ¶
func (sc ConfigSshConfigAttributes) Ec2KeyPair() terra.StringValue
func (ConfigSshConfigAttributes) InternalRef ¶
func (sc ConfigSshConfigAttributes) InternalRef() (terra.Reference, error)
func (ConfigSshConfigAttributes) InternalTokens ¶
func (sc ConfigSshConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConfigSshConfigAttributes) InternalWithRef ¶
func (sc ConfigSshConfigAttributes) InternalWithRef(ref terra.Reference) ConfigSshConfigAttributes
type ConfigSshConfigState ¶
type ConfigSshConfigState struct {
Ec2KeyPair string `json:"ec2_key_pair"`
}
type ConfigState ¶
type ConfigState struct { IamInstanceProfile string `json:"iam_instance_profile"` InstanceType string `json:"instance_type"` Labels map[string]string `json:"labels"` SecurityGroupIds []string `json:"security_group_ids"` Tags map[string]string `json:"tags"` AutoscalingMetricsCollection []ConfigAutoscalingMetricsCollectionState `json:"autoscaling_metrics_collection"` ConfigEncryption []ConfigConfigEncryptionState `json:"config_encryption"` ProxyConfig []ConfigProxyConfigState `json:"proxy_config"` RootVolume []ConfigRootVolumeState `json:"root_volume"` SshConfig []ConfigSshConfigState `json:"ssh_config"` Taints []ConfigTaintsState `json:"taints"` }
type ConfigTaints ¶
type ConfigTaints struct { // Effect: string, required Effect terra.StringValue `hcl:"effect,attr" validate:"required"` // Key: string, required Key terra.StringValue `hcl:"key,attr" validate:"required"` // Value: string, required Value terra.StringValue `hcl:"value,attr" validate:"required"` }
type ConfigTaintsAttributes ¶
type ConfigTaintsAttributes struct {
// contains filtered or unexported fields
}
func (ConfigTaintsAttributes) Effect ¶
func (t ConfigTaintsAttributes) Effect() terra.StringValue
func (ConfigTaintsAttributes) InternalRef ¶
func (t ConfigTaintsAttributes) InternalRef() (terra.Reference, error)
func (ConfigTaintsAttributes) InternalTokens ¶
func (t ConfigTaintsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConfigTaintsAttributes) InternalWithRef ¶
func (t ConfigTaintsAttributes) InternalWithRef(ref terra.Reference) ConfigTaintsAttributes
func (ConfigTaintsAttributes) Key ¶
func (t ConfigTaintsAttributes) Key() terra.StringValue
func (ConfigTaintsAttributes) Value ¶
func (t ConfigTaintsAttributes) Value() terra.StringValue
type ConfigTaintsState ¶
type Management ¶
type ManagementAttributes ¶
type ManagementAttributes struct {
// contains filtered or unexported fields
}
func (ManagementAttributes) AutoRepair ¶
func (m ManagementAttributes) AutoRepair() terra.BoolValue
func (ManagementAttributes) InternalRef ¶
func (m ManagementAttributes) InternalRef() (terra.Reference, error)
func (ManagementAttributes) InternalTokens ¶
func (m ManagementAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ManagementAttributes) InternalWithRef ¶
func (m ManagementAttributes) InternalWithRef(ref terra.Reference) ManagementAttributes
type ManagementState ¶
type ManagementState struct {
AutoRepair bool `json:"auto_repair"`
}
type MaxPodsConstraint ¶
type MaxPodsConstraint struct { // MaxPodsPerNode: number, required MaxPodsPerNode terra.NumberValue `hcl:"max_pods_per_node,attr" validate:"required"` }
type MaxPodsConstraintAttributes ¶
type MaxPodsConstraintAttributes struct {
// contains filtered or unexported fields
}
func (MaxPodsConstraintAttributes) InternalRef ¶
func (mpc MaxPodsConstraintAttributes) InternalRef() (terra.Reference, error)
func (MaxPodsConstraintAttributes) InternalTokens ¶
func (mpc MaxPodsConstraintAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MaxPodsConstraintAttributes) InternalWithRef ¶
func (mpc MaxPodsConstraintAttributes) InternalWithRef(ref terra.Reference) MaxPodsConstraintAttributes
func (MaxPodsConstraintAttributes) MaxPodsPerNode ¶
func (mpc MaxPodsConstraintAttributes) MaxPodsPerNode() terra.NumberValue
type MaxPodsConstraintState ¶
type MaxPodsConstraintState struct {
MaxPodsPerNode float64 `json:"max_pods_per_node"`
}
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_container_aws_node_pool.
func (*Resource) Attributes ¶
func (gcanp *Resource) Attributes() googleContainerAwsNodePoolAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gcanp *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gcanp *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"` // 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 (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() 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 ¶
type UpdateSettings ¶
type UpdateSettings struct { // UpdateSettingsSurgeSettings: optional SurgeSettings *UpdateSettingsSurgeSettings `hcl:"surge_settings,block"` }
type UpdateSettingsAttributes ¶
type UpdateSettingsAttributes struct {
// contains filtered or unexported fields
}
func (UpdateSettingsAttributes) InternalRef ¶
func (us UpdateSettingsAttributes) InternalRef() (terra.Reference, error)
func (UpdateSettingsAttributes) InternalTokens ¶
func (us UpdateSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (UpdateSettingsAttributes) InternalWithRef ¶
func (us UpdateSettingsAttributes) InternalWithRef(ref terra.Reference) UpdateSettingsAttributes
func (UpdateSettingsAttributes) SurgeSettings ¶
func (us UpdateSettingsAttributes) SurgeSettings() terra.ListValue[UpdateSettingsSurgeSettingsAttributes]
type UpdateSettingsState ¶
type UpdateSettingsState struct {
SurgeSettings []UpdateSettingsSurgeSettingsState `json:"surge_settings"`
}
type UpdateSettingsSurgeSettings ¶
type UpdateSettingsSurgeSettings struct { // MaxSurge: number, optional MaxSurge terra.NumberValue `hcl:"max_surge,attr"` MaxUnavailable terra.NumberValue `hcl:"max_unavailable,attr"` }
type UpdateSettingsSurgeSettingsAttributes ¶
type UpdateSettingsSurgeSettingsAttributes struct {
// contains filtered or unexported fields
}
func (UpdateSettingsSurgeSettingsAttributes) InternalRef ¶
func (ss UpdateSettingsSurgeSettingsAttributes) InternalRef() (terra.Reference, error)
func (UpdateSettingsSurgeSettingsAttributes) InternalTokens ¶
func (ss UpdateSettingsSurgeSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (UpdateSettingsSurgeSettingsAttributes) InternalWithRef ¶
func (ss UpdateSettingsSurgeSettingsAttributes) InternalWithRef(ref terra.Reference) UpdateSettingsSurgeSettingsAttributes
func (UpdateSettingsSurgeSettingsAttributes) MaxSurge ¶
func (ss UpdateSettingsSurgeSettingsAttributes) MaxSurge() terra.NumberValue
func (UpdateSettingsSurgeSettingsAttributes) MaxUnavailable ¶
func (ss UpdateSettingsSurgeSettingsAttributes) MaxUnavailable() terra.NumberValue
type UpdateSettingsSurgeSettingsState ¶
type UpdateSettingsSurgeSettingsState struct { MaxSurge float64 `json:"max_surge"` }
Click to show internal directories.
Click to hide internal directories.