fleet

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFleetResource

func NewFleetResource() resource.Resource

Types

type FleetResource

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

FleetResource defines the resource implementation.

func (*FleetResource) Configure

func (*FleetResource) Create

func (*FleetResource) Delete

func (*FleetResource) ImportState

func (*FleetResource) Metadata

func (*FleetResource) Read

func (*FleetResource) Schema

func (*FleetResource) Update

type FleetResourceConfigurationModel

type FleetResourceConfigurationModel struct {
	Mode                    types.String                               `tfsdk:"mode"`
	Ec2MarketType           types.String                               `tfsdk:"ec2_market_type"`
	Ec2InstanceCapabilities *FleetResourceEc2InstanceCapabilitiesModel `tfsdk:"ec2_instance_capabilities"`
}

type FleetResourceEc2InstanceCapabilitiesAcceleratorCapabilitiesModel

type FleetResourceEc2InstanceCapabilitiesAcceleratorCapabilitiesModel struct {
	Selections types.ListType `tfsdk:"selections"`
	Count      types.Int32    `tfsdk:"count"`
}

type FleetResourceEc2InstanceCapabilitiesMemoryRangeeeModel added in v1.0.3

type FleetResourceEc2InstanceCapabilitiesMemoryRangeeeModel struct {
	Min types.Int32 `tfsdk:"min"`
	Max types.Int32 `tfsdk:"max"`
}

type FleetResourceEc2InstanceCapabilitiesModel

type FleetResourceEc2InstanceCapabilitiesModel struct {
	CpuArchitecture         types.String                                                      `tfsdk:"cpu_architecture"`
	MinCpuCount             types.Int32                                                       `tfsdk:"min_cpu_count"`
	MaxCpuCount             types.Int32                                                       `tfsdk:"max_cpu_count"`
	MemoryMibRange          *FleetResourceEc2InstanceCapabilitiesMemoryRangeeeModel           `tfsdk:"memory_mib_range"`
	OsFamily                types.String                                                      `tfsdk:"os_family"`
	AllowedInstanceType     types.List                                                        `tfsdk:"allowed_instance_types"`
	ExcludeInstanceType     types.List                                                        `tfsdk:"exclude_instance_types"`
	AcceleratorCapabilities *FleetResourceEc2InstanceCapabilitiesAcceleratorCapabilitiesModel `tfsdk:"accelerator_capabilities"`
	RootEBSVolume           *FleetResourceEc2InstanceCapabilitiesRootEBSVolumeModel           `tfsdk:"root_ebs_volume"`
}

type FleetResourceEc2InstanceCapabilitiesRootEBSVolumeModel

type FleetResourceEc2InstanceCapabilitiesRootEBSVolumeModel struct {
	IOPs       types.Int32 `tfsdk:"iops"`
	Size       types.Int32 `tfsdk:"size"`
	Throughput types.Int32 `tfsdk:"throughput"`
}

type FleetResourceModel

type FleetResourceModel struct {
	DisplayName    types.String                     `tfsdk:"display_name"`
	Description    types.String                     `tfsdk:"description"`
	FarmId         types.String                     `tfsdk:"farm_id"`
	MinWorkerCount types.Int32                      `tfsdk:"min_worker_count"`
	MaxWorkerCount types.Int32                      `tfsdk:"max_worker_count"`
	RoleArn        types.String                     `tfsdk:"role_arn"`
	ID             types.String                     `tfsdk:"id"`
	Configuration  *FleetResourceConfigurationModel `tfsdk:"configuration"`
}

FleetResourceModel describes the resource data model.

Jump to

Keyboard shortcuts

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