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) 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) SshConfig() terra.ListValue[ConfigSshConfigAttributes]
- func (c ConfigAttributes) Tags() terra.MapValue[terra.StringValue]
- func (c ConfigAttributes) VmSize() terra.StringValue
- 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) ResourceGroupId() terra.StringValue
- func (pc ConfigProxyConfigAttributes) SecretId() 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) SizeGib() terra.NumberValue
- type ConfigRootVolumeState
- type ConfigSshConfig
- type ConfigSshConfigAttributes
- func (sc ConfigSshConfigAttributes) AuthorizedKey() 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 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() googleContainerAzureNodePoolAttributes
- 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() (*googleContainerAzureNodePoolState, bool)
- func (gcanp *Resource) StateMust() *googleContainerAzureNodePoolState
- 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
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"` // AzureAvailabilityZone: string, optional AzureAvailabilityZone terra.StringValue `hcl:"azure_availability_zone,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"` }
Args contains the configurations for google_container_azure_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 { // Labels: map of string, optional Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // VmSize: string, optional VmSize terra.StringValue `hcl:"vm_size,attr"` // ConfigProxyConfig: optional ProxyConfig *ConfigProxyConfig `hcl:"proxy_config,block"` // ConfigRootVolume: optional RootVolume *ConfigRootVolume `hcl:"root_volume,block"` // ConfigSshConfig: required SshConfig *ConfigSshConfig `hcl:"ssh_config,block" validate:"required"` }
type ConfigAttributes ¶
type ConfigAttributes struct {
// contains filtered or unexported fields
}
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) SshConfig ¶
func (c ConfigAttributes) SshConfig() terra.ListValue[ConfigSshConfigAttributes]
func (ConfigAttributes) Tags ¶
func (c ConfigAttributes) Tags() terra.MapValue[terra.StringValue]
func (ConfigAttributes) VmSize ¶
func (c ConfigAttributes) VmSize() terra.StringValue
type ConfigProxyConfig ¶
type ConfigProxyConfig struct { // ResourceGroupId: string, required ResourceGroupId terra.StringValue `hcl:"resource_group_id,attr" validate:"required"` // SecretId: string, required SecretId terra.StringValue `hcl:"secret_id,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) ResourceGroupId ¶
func (pc ConfigProxyConfigAttributes) ResourceGroupId() terra.StringValue
func (ConfigProxyConfigAttributes) SecretId ¶
func (pc ConfigProxyConfigAttributes) SecretId() terra.StringValue
type ConfigProxyConfigState ¶
type ConfigRootVolume ¶
type ConfigRootVolume struct { // SizeGib: number, optional SizeGib terra.NumberValue `hcl:"size_gib,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) SizeGib ¶
func (rv ConfigRootVolumeAttributes) SizeGib() terra.NumberValue
type ConfigRootVolumeState ¶
type ConfigRootVolumeState struct {
SizeGib float64 `json:"size_gib"`
}
type ConfigSshConfig ¶
type ConfigSshConfig struct { // AuthorizedKey: string, required AuthorizedKey terra.StringValue `hcl:"authorized_key,attr" validate:"required"` }
type ConfigSshConfigAttributes ¶
type ConfigSshConfigAttributes struct {
// contains filtered or unexported fields
}
func (ConfigSshConfigAttributes) AuthorizedKey ¶
func (sc ConfigSshConfigAttributes) AuthorizedKey() 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 {
AuthorizedKey string `json:"authorized_key"`
}
type ConfigState ¶
type ConfigState struct { Labels map[string]string `json:"labels"` Tags map[string]string `json:"tags"` VmSize string `json:"vm_size"` ProxyConfig []ConfigProxyConfigState `json:"proxy_config"` RootVolume []ConfigRootVolumeState `json:"root_volume"` SshConfig []ConfigSshConfigState `json:"ssh_config"` }
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_azure_node_pool.
func (*Resource) Attributes ¶
func (gcanp *Resource) Attributes() googleContainerAzureNodePoolAttributes
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 ¶
Click to show internal directories.
Click to hide internal directories.