machinepool

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() resource.Resource

Types

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"`
	SubnetID              types.String  `tfsdk:"subnet_id"`
}

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