cluster

package
v1.31.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() datasource.DataSource

New returns a new configured data source

Types

type Cluster added in v1.17.1

type Cluster struct {
	ID                    types.String          `tfsdk:"id"`
	Name                  types.String          `tfsdk:"name"`
	ProjectID             types.String          `tfsdk:"project_id"`
	KubernetesProjectID   types.String          `tfsdk:"kubernetes_project_id"`
	KubernetesVersion     types.String          `tfsdk:"kubernetes_version"`
	KubernetesVersionUsed types.String          `tfsdk:"kubernetes_version_used"`
	NodePools             []cluster.NodePool    `tfsdk:"node_pools"`
	Maintenance           *cluster.Maintenance  `tfsdk:"maintenance"`
	Hibernations          []cluster.Hibernation `tfsdk:"hibernations"`
	Extensions            *cluster.Extensions   `tfsdk:"extensions"`
	Status                types.String          `tfsdk:"status"`
	KubeConfig            types.String          `tfsdk:"kube_config"`
	NetworkID             types.String          `tfsdk:"network_id"`
}

type DataSource

type DataSource struct {
	// contains filtered or unexported fields
}

DataSource is the exported data source

func (*DataSource) Configure

Configure configures the data source client

func (*DataSource) Metadata

Metadata returns data resource metadata

func (DataSource) Read

Read - lifecycle function

func (*DataSource) Schema added in v1.9.0

Schema returns the terraform schema structure

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL