Documentation
¶
Index ¶
Constants ¶
View Source
const ( ImageName = "centos-7-x64" DatacenterID = "c54e8896-53d8-479a-8ff1-4d7d9d856a50" DatacenterName = "ams1" VpsPlanID = "381347529" VpsPlanName = "start-xs" VpsUpgPlanName = "start-m" VpsUpgPlanID = "381347841" VolumePlanID = "381347560" VolumePlanName = "hdd2-ash1" ClusterID = "" NodeID = "2486b2f8-f7a6-4207-979b-9b94d93c174e" K8SVersion = "v1.27.1" WorkerPoolType = "public" LBType = "http" )
Variables ¶
View Source
var WorkerPoolSchema = map[string]*schema.Schema{ "id": { Type: schema.TypeString, Computed: true, }, "name": { Type: schema.TypeString, Computed: true, }, "type": { Type: schema.TypeString, Required: true, ValidateFunc: validation.StringInSlice([]string{"public", "private"}, false), }, "nodes_count": { Type: schema.TypeInt, Optional: true, }, "created_at": { Type: schema.TypeString, Computed: true, }, "labels": { Type: schema.TypeMap, Optional: true, Elem: &schema.Schema{ Type: schema.TypeString, }, }, "auto_scale": { Type: schema.TypeBool, Optional: true, Default: false, }, "min_count": { Type: schema.TypeInt, Optional: true, Default: 0, }, "max_count": { Type: schema.TypeInt, Optional: true, Default: 0, }, "public_properties": { Type: schema.TypeMap, Optional: true, Elem: &schema.Schema{Type: schema.TypeInt}, }, "private_properties": { Type: schema.TypeMap, Optional: true, }, }
Functions ¶
Types ¶
type PlanSorting ¶ added in v0.2.0
type PlanSorting struct {
// contains filtered or unexported fields
}
Source Files
¶
- config.go
- data_source_ah_cloud_server_plans.go
- data_source_ah_cloud_server_products.go
- data_source_ah_cloud_server_snapshots_and_backups.go
- data_source_ah_cloud_servers.go
- data_source_ah_datacenters.go
- data_source_ah_images.go
- data_source_ah_ips.go
- data_source_ah_private_networks.go
- data_source_ah_ssh_keys.go
- data_source_ah_volume_plans.go
- data_source_ah_volume_products.go
- data_source_ah_volumes.go
- data_source_common.go
- helpers.go
- plan.go
- provider.go
- resource_ah_cloud_server.go
- resource_ah_cloud_server_snapshot.go
- resource_ah_ip.go
- resource_ah_ip_assignment.go
- resource_ah_k8s_cluster.go
- resource_ah_k8s_node_pools.go
- resource_ah_load_balancer.go
- resource_ah_private_network.go
- resource_ah_private_network_connection.go
- resource_ah_ssh_key.go
- resource_ah_volume.go
- resource_ah_volume_attachment.go
Click to show internal directories.
Click to hide internal directories.