Documentation ¶
Index ¶
- func NewFleetResource() resource.Resource
- type FleetResource
- func (r *FleetResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *FleetResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *FleetResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *FleetResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *FleetResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *FleetResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *FleetResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *FleetResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type FleetResourceConfigurationModel
- type FleetResourceEc2InstanceCapabilitiesAcceleratorCapabilitiesModel
- type FleetResourceEc2InstanceCapabilitiesMemoryRangeeeModel
- type FleetResourceEc2InstanceCapabilitiesModel
- type FleetResourceEc2InstanceCapabilitiesRootEBSVolumeModel
- type FleetResourceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFleetResource ¶
Types ¶
type FleetResource ¶
type FleetResource struct {
// contains filtered or unexported fields
}
FleetResource defines the resource implementation.
func (*FleetResource) Configure ¶
func (r *FleetResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*FleetResource) Create ¶
func (r *FleetResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*FleetResource) Delete ¶
func (r *FleetResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*FleetResource) ImportState ¶
func (r *FleetResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*FleetResource) Metadata ¶
func (r *FleetResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*FleetResource) Read ¶
func (r *FleetResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*FleetResource) Schema ¶
func (r *FleetResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*FleetResource) Update ¶
func (r *FleetResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type FleetResourceConfigurationModel ¶
type FleetResourceConfigurationModel struct { Mode types.String `tfsdk:"mode"` Ec2MarketType types.String `tfsdk:"ec2_market_type"` Ec2InstanceCapabilities *FleetResourceEc2InstanceCapabilitiesModel `tfsdk:"ec2_instance_capabilities"` }
type FleetResourceEc2InstanceCapabilitiesMemoryRangeeeModel ¶ added in v1.0.3
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 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.
Click to show internal directories.
Click to hide internal directories.