datasource_core_clusters

package
v1.54.13-alpha Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CoreClustersDataSourceSchema

func CoreClustersDataSourceSchema(ctx context.Context) schema.Schema

Types

type CoreClustersModel

type CoreClustersModel struct {
	CoreClusters types.Set    `tfsdk:"core_clusters"`
	Environment  types.String `tfsdk:"environment"`
	Page         types.Int64  `tfsdk:"page"`
	PageSize     types.Int64  `tfsdk:"page_size"`
	Search       types.String `tfsdk:"search"`
}

type CoreClustersType

type CoreClustersType struct {
	basetypes.ObjectType
}

func (CoreClustersType) Equal

func (t CoreClustersType) Equal(o attr.Type) bool

func (CoreClustersType) String

func (t CoreClustersType) String() string

func (CoreClustersType) ValueFromObject

func (CoreClustersType) ValueFromTerraform

func (t CoreClustersType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (CoreClustersType) ValueType

func (t CoreClustersType) ValueType(ctx context.Context) attr.Value

type CoreClustersValue

type CoreClustersValue struct {
	ApiAddress        basetypes.StringValue `tfsdk:"api_address"`
	CreatedAt         basetypes.StringValue `tfsdk:"created_at"`
	EnvironmentName   basetypes.StringValue `tfsdk:"environment_name"`
	Id                basetypes.Int64Value  `tfsdk:"id"`
	IsReconciling     basetypes.BoolValue   `tfsdk:"is_reconciling"`
	KeypairName       basetypes.StringValue `tfsdk:"keypair_name"`
	KubeConfig        basetypes.StringValue `tfsdk:"kube_config"`
	KubernetesVersion basetypes.StringValue `tfsdk:"kubernetes_version"`
	MasterFlavor      basetypes.ObjectValue `tfsdk:"master_flavor"`
	Name              basetypes.StringValue `tfsdk:"name"`
	NodeGroups        basetypes.ListValue   `tfsdk:"node_groups"`
	Nodes             basetypes.ListValue   `tfsdk:"nodes"`
	Status            basetypes.StringValue `tfsdk:"status"`
	StatusReason      basetypes.StringValue `tfsdk:"status_reason"`
	// contains filtered or unexported fields
}

func NewCoreClustersValue

func NewCoreClustersValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (CoreClustersValue, diag.Diagnostics)

func NewCoreClustersValueMust

func NewCoreClustersValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) CoreClustersValue

func NewCoreClustersValueNull

func NewCoreClustersValueNull() CoreClustersValue

func NewCoreClustersValueUnknown

func NewCoreClustersValueUnknown() CoreClustersValue

func (CoreClustersValue) AttributeTypes

func (v CoreClustersValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (CoreClustersValue) Equal

func (v CoreClustersValue) Equal(o attr.Value) bool

func (CoreClustersValue) IsNull

func (v CoreClustersValue) IsNull() bool

func (CoreClustersValue) IsUnknown

func (v CoreClustersValue) IsUnknown() bool

func (CoreClustersValue) String

func (v CoreClustersValue) String() string

func (CoreClustersValue) ToObjectValue

func (CoreClustersValue) ToTerraformValue

func (v CoreClustersValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (CoreClustersValue) Type

type FeaturesType

type FeaturesType struct {
	basetypes.ObjectType
}

func (FeaturesType) Equal

func (t FeaturesType) Equal(o attr.Type) bool

func (FeaturesType) String

func (t FeaturesType) String() string

func (FeaturesType) ValueFromObject

func (FeaturesType) ValueFromTerraform

func (t FeaturesType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (FeaturesType) ValueType

func (t FeaturesType) ValueType(ctx context.Context) attr.Value

type FeaturesValue

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

func NewFeaturesValue

func NewFeaturesValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (FeaturesValue, diag.Diagnostics)

func NewFeaturesValueMust

func NewFeaturesValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) FeaturesValue

func NewFeaturesValueNull

func NewFeaturesValueNull() FeaturesValue

func NewFeaturesValueUnknown

func NewFeaturesValueUnknown() FeaturesValue

func (FeaturesValue) AttributeTypes

func (v FeaturesValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (FeaturesValue) Equal

func (v FeaturesValue) Equal(o attr.Value) bool

func (FeaturesValue) IsNull

func (v FeaturesValue) IsNull() bool

func (FeaturesValue) IsUnknown

func (v FeaturesValue) IsUnknown() bool

func (FeaturesValue) String

func (v FeaturesValue) String() string

func (FeaturesValue) ToObjectValue

func (FeaturesValue) ToTerraformValue

func (v FeaturesValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (FeaturesValue) Type

func (v FeaturesValue) Type(ctx context.Context) attr.Type

type FirewallsType

type FirewallsType struct {
	basetypes.ObjectType
}

func (FirewallsType) Equal

func (t FirewallsType) Equal(o attr.Type) bool

func (FirewallsType) String

func (t FirewallsType) String() string

func (FirewallsType) ValueFromObject

func (FirewallsType) ValueFromTerraform

func (t FirewallsType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (FirewallsType) ValueType

func (t FirewallsType) ValueType(ctx context.Context) attr.Value

type FirewallsValue

type FirewallsValue struct {
	Id     basetypes.Int64Value  `tfsdk:"id"`
	Name   basetypes.StringValue `tfsdk:"name"`
	Status basetypes.StringValue `tfsdk:"status"`
	// contains filtered or unexported fields
}

func NewFirewallsValue

func NewFirewallsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (FirewallsValue, diag.Diagnostics)

func NewFirewallsValueMust

func NewFirewallsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) FirewallsValue

func NewFirewallsValueNull

func NewFirewallsValueNull() FirewallsValue

func NewFirewallsValueUnknown

func NewFirewallsValueUnknown() FirewallsValue

func (FirewallsValue) AttributeTypes

func (v FirewallsValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (FirewallsValue) Equal

func (v FirewallsValue) Equal(o attr.Value) bool

func (FirewallsValue) IsNull

func (v FirewallsValue) IsNull() bool

func (FirewallsValue) IsUnknown

func (v FirewallsValue) IsUnknown() bool

func (FirewallsValue) String

func (v FirewallsValue) String() string

func (FirewallsValue) ToObjectValue

func (FirewallsValue) ToTerraformValue

func (v FirewallsValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (FirewallsValue) Type

func (v FirewallsValue) Type(ctx context.Context) attr.Type

type FlavorType

type FlavorType struct {
	basetypes.ObjectType
}

func (FlavorType) Equal

func (t FlavorType) Equal(o attr.Type) bool

func (FlavorType) String

func (t FlavorType) String() string

func (FlavorType) ValueFromObject

func (FlavorType) ValueFromTerraform

func (t FlavorType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (FlavorType) ValueType

func (t FlavorType) ValueType(ctx context.Context) attr.Value

type FlavorValue

type FlavorValue struct {
	Cpu       basetypes.Int64Value  `tfsdk:"cpu"`
	Disk      basetypes.Int64Value  `tfsdk:"disk"`
	Ephemeral basetypes.Int64Value  `tfsdk:"ephemeral"`
	Features  basetypes.ObjectValue `tfsdk:"features"`
	Gpu       basetypes.StringValue `tfsdk:"gpu"`
	GpuCount  basetypes.Int64Value  `tfsdk:"gpu_count"`
	Id        basetypes.Int64Value  `tfsdk:"id"`
	Labels    basetypes.ListValue   `tfsdk:"labels"`
	Name      basetypes.StringValue `tfsdk:"name"`
	Ram       basetypes.NumberValue `tfsdk:"ram"`
	// contains filtered or unexported fields
}

func NewFlavorValue

func NewFlavorValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (FlavorValue, diag.Diagnostics)

func NewFlavorValueMust

func NewFlavorValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) FlavorValue

func NewFlavorValueNull

func NewFlavorValueNull() FlavorValue

func NewFlavorValueUnknown

func NewFlavorValueUnknown() FlavorValue

func (FlavorValue) AttributeTypes

func (v FlavorValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (FlavorValue) Equal

func (v FlavorValue) Equal(o attr.Value) bool

func (FlavorValue) IsNull

func (v FlavorValue) IsNull() bool

func (FlavorValue) IsUnknown

func (v FlavorValue) IsUnknown() bool

func (FlavorValue) String

func (v FlavorValue) String() string

func (FlavorValue) ToObjectValue

func (FlavorValue) ToTerraformValue

func (v FlavorValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (FlavorValue) Type

func (v FlavorValue) Type(ctx context.Context) attr.Type

type InstanceType

type InstanceType struct {
	basetypes.ObjectType
}

func (InstanceType) Equal

func (t InstanceType) Equal(o attr.Type) bool

func (InstanceType) String

func (t InstanceType) String() string

func (InstanceType) ValueFromObject

func (InstanceType) ValueFromTerraform

func (t InstanceType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (InstanceType) ValueType

func (t InstanceType) ValueType(ctx context.Context) attr.Value

type InstanceValue

type InstanceValue struct {
	ContractId       basetypes.Int64Value  `tfsdk:"contract_id"`
	FixedIp          basetypes.StringValue `tfsdk:"fixed_ip"`
	FloatingIp       basetypes.StringValue `tfsdk:"floating_ip"`
	FloatingIpStatus basetypes.StringValue `tfsdk:"floating_ip_status"`
	Id               basetypes.Int64Value  `tfsdk:"id"`
	ImageId          basetypes.Int64Value  `tfsdk:"image_id"`
	Name             basetypes.StringValue `tfsdk:"name"`
	Status           basetypes.StringValue `tfsdk:"status"`
	// contains filtered or unexported fields
}

func NewInstanceValue

func NewInstanceValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (InstanceValue, diag.Diagnostics)

func NewInstanceValueMust

func NewInstanceValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) InstanceValue

func NewInstanceValueNull

func NewInstanceValueNull() InstanceValue

func NewInstanceValueUnknown

func NewInstanceValueUnknown() InstanceValue

func (InstanceValue) AttributeTypes

func (v InstanceValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (InstanceValue) Equal

func (v InstanceValue) Equal(o attr.Value) bool

func (InstanceValue) IsNull

func (v InstanceValue) IsNull() bool

func (InstanceValue) IsUnknown

func (v InstanceValue) IsUnknown() bool

func (InstanceValue) String

func (v InstanceValue) String() string

func (InstanceValue) ToObjectValue

func (InstanceValue) ToTerraformValue

func (v InstanceValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (InstanceValue) Type

func (v InstanceValue) Type(ctx context.Context) attr.Type

type LabelsType

type LabelsType struct {
	basetypes.ObjectType
}

func (LabelsType) Equal

func (t LabelsType) Equal(o attr.Type) bool

func (LabelsType) String

func (t LabelsType) String() string

func (LabelsType) ValueFromObject

func (LabelsType) ValueFromTerraform

func (t LabelsType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (LabelsType) ValueType

func (t LabelsType) ValueType(ctx context.Context) attr.Value

type LabelsValue

type LabelsValue struct {
	Id    basetypes.Int64Value  `tfsdk:"id"`
	Label basetypes.StringValue `tfsdk:"label"`
	// contains filtered or unexported fields
}

func NewLabelsValue

func NewLabelsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (LabelsValue, diag.Diagnostics)

func NewLabelsValueMust

func NewLabelsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) LabelsValue

func NewLabelsValueNull

func NewLabelsValueNull() LabelsValue

func NewLabelsValueUnknown

func NewLabelsValueUnknown() LabelsValue

func (LabelsValue) AttributeTypes

func (v LabelsValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (LabelsValue) Equal

func (v LabelsValue) Equal(o attr.Value) bool

func (LabelsValue) IsNull

func (v LabelsValue) IsNull() bool

func (LabelsValue) IsUnknown

func (v LabelsValue) IsUnknown() bool

func (LabelsValue) String

func (v LabelsValue) String() string

func (LabelsValue) ToObjectValue

func (LabelsValue) ToTerraformValue

func (v LabelsValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (LabelsValue) Type

func (v LabelsValue) Type(ctx context.Context) attr.Type

type MasterFlavorType

type MasterFlavorType struct {
	basetypes.ObjectType
}

func (MasterFlavorType) Equal

func (t MasterFlavorType) Equal(o attr.Type) bool

func (MasterFlavorType) String

func (t MasterFlavorType) String() string

func (MasterFlavorType) ValueFromObject

func (MasterFlavorType) ValueFromTerraform

func (t MasterFlavorType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (MasterFlavorType) ValueType

func (t MasterFlavorType) ValueType(ctx context.Context) attr.Value

type MasterFlavorValue

type MasterFlavorValue struct {
	Cpu       basetypes.Int64Value  `tfsdk:"cpu"`
	Disk      basetypes.Int64Value  `tfsdk:"disk"`
	Ephemeral basetypes.Int64Value  `tfsdk:"ephemeral"`
	Gpu       basetypes.StringValue `tfsdk:"gpu"`
	GpuCount  basetypes.Int64Value  `tfsdk:"gpu_count"`
	Id        basetypes.Int64Value  `tfsdk:"id"`
	Name      basetypes.StringValue `tfsdk:"name"`
	Ram       basetypes.NumberValue `tfsdk:"ram"`
	// contains filtered or unexported fields
}

func NewMasterFlavorValue

func NewMasterFlavorValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (MasterFlavorValue, diag.Diagnostics)

func NewMasterFlavorValueMust

func NewMasterFlavorValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) MasterFlavorValue

func NewMasterFlavorValueNull

func NewMasterFlavorValueNull() MasterFlavorValue

func NewMasterFlavorValueUnknown

func NewMasterFlavorValueUnknown() MasterFlavorValue

func (MasterFlavorValue) AttributeTypes

func (v MasterFlavorValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (MasterFlavorValue) Equal

func (v MasterFlavorValue) Equal(o attr.Value) bool

func (MasterFlavorValue) IsNull

func (v MasterFlavorValue) IsNull() bool

func (MasterFlavorValue) IsUnknown

func (v MasterFlavorValue) IsUnknown() bool

func (MasterFlavorValue) String

func (v MasterFlavorValue) String() string

func (MasterFlavorValue) ToObjectValue

func (MasterFlavorValue) ToTerraformValue

func (v MasterFlavorValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (MasterFlavorValue) Type

type NodeGroupsType

type NodeGroupsType struct {
	basetypes.ObjectType
}

func (NodeGroupsType) Equal

func (t NodeGroupsType) Equal(o attr.Type) bool

func (NodeGroupsType) String

func (t NodeGroupsType) String() string

func (NodeGroupsType) ValueFromObject

func (NodeGroupsType) ValueFromTerraform

func (t NodeGroupsType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (NodeGroupsType) ValueType

func (t NodeGroupsType) ValueType(ctx context.Context) attr.Value

type NodeGroupsValue

type NodeGroupsValue struct {
	Count       basetypes.Int64Value  `tfsdk:"count"`
	CreatedAt   basetypes.StringValue `tfsdk:"created_at"`
	FirewallIds basetypes.ListValue   `tfsdk:"firewall_ids"`
	Firewalls   basetypes.ListValue   `tfsdk:"firewalls"`
	Flavor      basetypes.ObjectValue `tfsdk:"flavor"`
	Id          basetypes.Int64Value  `tfsdk:"id"`
	MaxCount    basetypes.Int64Value  `tfsdk:"max_count"`
	MinCount    basetypes.Int64Value  `tfsdk:"min_count"`
	Name        basetypes.StringValue `tfsdk:"name"`
	Role        basetypes.StringValue `tfsdk:"role"`
	UpdatedAt   basetypes.StringValue `tfsdk:"updated_at"`
	// contains filtered or unexported fields
}

func NewNodeGroupsValue

func NewNodeGroupsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (NodeGroupsValue, diag.Diagnostics)

func NewNodeGroupsValueMust

func NewNodeGroupsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) NodeGroupsValue

func NewNodeGroupsValueNull

func NewNodeGroupsValueNull() NodeGroupsValue

func NewNodeGroupsValueUnknown

func NewNodeGroupsValueUnknown() NodeGroupsValue

func (NodeGroupsValue) AttributeTypes

func (v NodeGroupsValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (NodeGroupsValue) Equal

func (v NodeGroupsValue) Equal(o attr.Value) bool

func (NodeGroupsValue) IsNull

func (v NodeGroupsValue) IsNull() bool

func (NodeGroupsValue) IsUnknown

func (v NodeGroupsValue) IsUnknown() bool

func (NodeGroupsValue) String

func (v NodeGroupsValue) String() string

func (NodeGroupsValue) ToObjectValue

func (NodeGroupsValue) ToTerraformValue

func (v NodeGroupsValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (NodeGroupsValue) Type

func (v NodeGroupsValue) Type(ctx context.Context) attr.Type

type NodesType

type NodesType struct {
	basetypes.ObjectType
}

func (NodesType) Equal

func (t NodesType) Equal(o attr.Type) bool

func (NodesType) String

func (t NodesType) String() string

func (NodesType) ValueFromObject

func (NodesType) ValueFromTerraform

func (t NodesType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (NodesType) ValueType

func (t NodesType) ValueType(ctx context.Context) attr.Value

type NodesValue

type NodesValue struct {
	CreatedAt        basetypes.StringValue `tfsdk:"created_at"`
	Id               basetypes.Int64Value  `tfsdk:"id"`
	Instance         basetypes.ObjectValue `tfsdk:"instance"`
	IsBastion        basetypes.BoolValue   `tfsdk:"is_bastion"`
	NodeGroupId      basetypes.Int64Value  `tfsdk:"node_group_id"`
	NodeGroupName    basetypes.StringValue `tfsdk:"node_group_name"`
	RequiresPublicIp basetypes.BoolValue   `tfsdk:"requires_public_ip"`
	Role             basetypes.StringValue `tfsdk:"role"`
	Status           basetypes.StringValue `tfsdk:"status"`
	StatusReason     basetypes.StringValue `tfsdk:"status_reason"`
	UpdatedAt        basetypes.StringValue `tfsdk:"updated_at"`
	// contains filtered or unexported fields
}

func NewNodesValue

func NewNodesValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (NodesValue, diag.Diagnostics)

func NewNodesValueMust

func NewNodesValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) NodesValue

func NewNodesValueNull

func NewNodesValueNull() NodesValue

func NewNodesValueUnknown

func NewNodesValueUnknown() NodesValue

func (NodesValue) AttributeTypes

func (v NodesValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (NodesValue) Equal

func (v NodesValue) Equal(o attr.Value) bool

func (NodesValue) IsNull

func (v NodesValue) IsNull() bool

func (NodesValue) IsUnknown

func (v NodesValue) IsUnknown() bool

func (NodesValue) String

func (v NodesValue) String() string

func (NodesValue) ToObjectValue

func (NodesValue) ToTerraformValue

func (v NodesValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (NodesValue) Type

func (v NodesValue) Type(ctx context.Context) attr.Type

Jump to

Keyboard shortcuts

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