Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultOSName = "flatcar" DefaultCRI = "containerd" DefaultVolumeType = "storage_premium_perf1" DefaultVolumeSizeGB int64 = 20 VersionStateSupported = "supported" VersionStatePreview = "preview" VersionStateDeprecated = "deprecated" )
Variables ¶
This section is empty.
Functions ¶
func NewClusterDataSource ¶
func NewClusterDataSource() datasource.DataSource
NewClusterDataSource is a helper function to simplify the provider implementation.
func NewClusterResource ¶
NewClusterResource is a helper function to simplify the provider implementation.
Types ¶
type ArgusExtension ¶
type Cluster ¶
type Cluster struct { Id types.String `tfsdk:"id"` // needed by TF ProjectId types.String `tfsdk:"project_id"` Name types.String `tfsdk:"name"` KubernetesVersion types.String `tfsdk:"kubernetes_version"` KubernetesVersionUsed types.String `tfsdk:"kubernetes_version_used"` AllowPrivilegedContainers types.Bool `tfsdk:"allow_privileged_containers"` NodePools []NodePool `tfsdk:"node_pools"` Maintenance types.Object `tfsdk:"maintenance"` Hibernations []Hibernation `tfsdk:"hibernations"` Extensions *Extensions `tfsdk:"extensions"` KubeConfig types.String `tfsdk:"kube_config"` }
type Extensions ¶
type Extensions struct { Argus *ArgusExtension `tfsdk:"argus"` ACL *ACL `tfsdk:"acl"` }
type Hibernation ¶
type Maintenance ¶
type NodePool ¶
type NodePool struct { Name types.String `tfsdk:"name"` MachineType types.String `tfsdk:"machine_type"` OSName types.String `tfsdk:"os_name"` OSVersion types.String `tfsdk:"os_version"` Minimum types.Int64 `tfsdk:"minimum"` Maximum types.Int64 `tfsdk:"maximum"` MaxSurge types.Int64 `tfsdk:"max_surge"` VolumeType types.String `tfsdk:"volume_type"` VolumeSize types.Int64 `tfsdk:"volume_size"` Labels types.Map `tfsdk:"labels"` Taints []Taint `tfsdk:"taints"` CRI types.String `tfsdk:"cri"` AvailabilityZones types.List `tfsdk:"availability_zones"` }
Click to show internal directories.
Click to hide internal directories.