classic

package
v1.6.7-prerelease.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() resource.Resource

func NewDatasource

func NewDatasource() datasource.DataSource

Types

type MachinePoolDatasource

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

func (*MachinePoolDatasource) Configure

func (*MachinePoolDatasource) Metadata

func (*MachinePoolDatasource) Read

func (*MachinePoolDatasource) Schema

type MachinePoolResource

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

func (*MachinePoolResource) ConfigValidators

func (*MachinePoolResource) Configure

func (*MachinePoolResource) Create

func (*MachinePoolResource) Delete

func (*MachinePoolResource) ImportState

func (*MachinePoolResource) Metadata

func (*MachinePoolResource) Read

func (*MachinePoolResource) Schema

func (*MachinePoolResource) Update

type MachinePoolState

type MachinePoolState struct {
	Cluster                    types.String  `tfsdk:"cluster"`
	ID                         types.String  `tfsdk:"id"`
	MachineType                types.String  `tfsdk:"machine_type"`
	Name                       types.String  `tfsdk:"name"`
	Replicas                   types.Int64   `tfsdk:"replicas"`
	UseSpotInstances           types.Bool    `tfsdk:"use_spot_instances"`
	MaxSpotPrice               types.Float64 `tfsdk:"max_spot_price"`
	AutoScalingEnabled         types.Bool    `tfsdk:"autoscaling_enabled"`
	MinReplicas                types.Int64   `tfsdk:"min_replicas"`
	MaxReplicas                types.Int64   `tfsdk:"max_replicas"`
	Taints                     []Taints      `tfsdk:"taints"`
	Labels                     types.Map     `tfsdk:"labels"`
	MultiAvailabilityZone      types.Bool    `tfsdk:"multi_availability_zone"`
	AvailabilityZone           types.String  `tfsdk:"availability_zone"`
	AvailabilityZones          types.List    `tfsdk:"availability_zones"`
	SubnetID                   types.String  `tfsdk:"subnet_id"`
	SubnetIDs                  types.List    `tfsdk:"subnet_ids"`
	DiskSize                   types.Int64   `tfsdk:"disk_size"`
	AdditionalSecurityGroupIds types.List    `tfsdk:"aws_additional_security_group_ids"`
	AwsTags                    types.Map     `tfsdk:"aws_tags"`
	IgnoreDeletionError        types.Bool    `tfsdk:"ignore_deletion_error"`
}

type Taints

type Taints struct {
	Key          types.String `tfsdk:"key"`
	Value        types.String `tfsdk:"value"`
	ScheduleType types.String `tfsdk:"schedule_type"`
}

Jump to

Keyboard shortcuts

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