hcp

package
v1.6.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutoscalingDatasource

func AutoscalingDatasource() map[string]dsschema.Attribute

func AutoscalingResource

func AutoscalingResource() map[string]schema.Attribute

func AwsNodePoolDatasource

func AwsNodePoolDatasource() map[string]dsschema.Attribute

func AwsNodePoolResource

func AwsNodePoolResource() map[string]schema.Attribute

func New

func New() resource.Resource

func NewDatasource

func NewDatasource() datasource.DataSource

func NodePoolStatusDatasource

func NodePoolStatusDatasource() map[string]dsschema.Attribute

func NodePoolStatusResource

func NodePoolStatusResource() map[string]schema.Attribute

Types

type AWSNodePool

type AWSNodePool struct {
	InstanceType    types.String `tfsdk:"instance_type"`
	InstanceProfile types.String `tfsdk:"instance_profile"`
	Tags            types.Map    `tfsdk:"tags"`
}

type AutoScaling

type AutoScaling struct {
	Enabled     types.Bool  `tfsdk:"enabled"`
	MinReplicas types.Int64 `tfsdk:"min_replicas"`
	MaxReplicas types.Int64 `tfsdk:"max_replicas"`
}

type HcpMachinePoolDatasource

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

func (*HcpMachinePoolDatasource) Configure

func (*HcpMachinePoolDatasource) Metadata

func (*HcpMachinePoolDatasource) Read

func (*HcpMachinePoolDatasource) Schema

type HcpMachinePoolResource

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

func (*HcpMachinePoolResource) ConfigValidators

func (*HcpMachinePoolResource) Configure

func (*HcpMachinePoolResource) Create

func (*HcpMachinePoolResource) Delete

func (*HcpMachinePoolResource) ImportState

func (*HcpMachinePoolResource) Metadata

func (*HcpMachinePoolResource) Read

func (*HcpMachinePoolResource) Schema

func (*HcpMachinePoolResource) Update

type HcpMachinePoolState

type HcpMachinePoolState struct {
	ID          types.String `tfsdk:"id"`
	Name        types.String `tfsdk:"name"`
	Cluster     types.String `tfsdk:"cluster"`
	Replicas    types.Int64  `tfsdk:"replicas"`
	AutoScaling *AutoScaling `tfsdk:"autoscaling"`

	Taints           []Taints     `tfsdk:"taints"`
	Labels           types.Map    `tfsdk:"labels"`
	AvailabilityZone types.String `tfsdk:"availability_zone"`
	SubnetID         types.String `tfsdk:"subnet_id"`

	Version        types.String `tfsdk:"version"`
	CurrentVersion types.String `tfsdk:"current_version"`

	UpgradeAcksFor types.String `tfsdk:"upgrade_acknowledgements_for"`

	NodePoolStatus types.Object `tfsdk:"status"`
	AWSNodePool    *AWSNodePool `tfsdk:"aws_node_pool"`
	TuningConfigs  types.List   `tfsdk:"tuning_configs"`
	AutoRepair     types.Bool   `tfsdk:"auto_repair"`
}

type NodePoolStatus

type NodePoolStatus struct {
	CurrentReplicas types.Int64  `tfsdk:"current_replicas"`
	Message         types.String `tfsdk:"message"`
}

type Taints

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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