machinepool

package
v1.5.1-prerelease.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() resource.Resource

func NewDatasource added in v1.5.1

func NewDatasource() datasource.DataSource

Types

type MachinePoolDatasource added in v1.5.1

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

func (*MachinePoolDatasource) Configure added in v1.5.1

func (*MachinePoolDatasource) Metadata added in v1.5.1

func (*MachinePoolDatasource) Read added in v1.5.1

func (*MachinePoolDatasource) Schema added in v1.5.1

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"`
}

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