Documentation ¶
Index ¶
- func New() resource.Resource
- func NewDatasource() datasource.DataSource
- type MachinePoolDatasource
- func (r *MachinePoolDatasource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (r *MachinePoolDatasource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (r *MachinePoolDatasource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (r *MachinePoolDatasource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type MachinePoolResource
- func (r *MachinePoolResource) ConfigValidators(context.Context) []resource.ConfigValidator
- func (r *MachinePoolResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *MachinePoolResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *MachinePoolResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *MachinePoolResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *MachinePoolResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *MachinePoolResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *MachinePoolResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *MachinePoolResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type MachinePoolState
- type Taints
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDatasource ¶
func NewDatasource() datasource.DataSource
Types ¶
type MachinePoolDatasource ¶
type MachinePoolDatasource struct {
// contains filtered or unexported fields
}
func (*MachinePoolDatasource) Configure ¶
func (r *MachinePoolDatasource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*MachinePoolDatasource) Metadata ¶
func (r *MachinePoolDatasource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*MachinePoolDatasource) Read ¶
func (r *MachinePoolDatasource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*MachinePoolDatasource) Schema ¶
func (r *MachinePoolDatasource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type MachinePoolResource ¶
type MachinePoolResource struct {
// contains filtered or unexported fields
}
func (*MachinePoolResource) ConfigValidators ¶
func (r *MachinePoolResource) ConfigValidators(context.Context) []resource.ConfigValidator
func (*MachinePoolResource) Configure ¶
func (r *MachinePoolResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*MachinePoolResource) Create ¶
func (r *MachinePoolResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*MachinePoolResource) Delete ¶
func (r *MachinePoolResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*MachinePoolResource) ImportState ¶
func (r *MachinePoolResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*MachinePoolResource) Metadata ¶
func (r *MachinePoolResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*MachinePoolResource) Read ¶
func (r *MachinePoolResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*MachinePoolResource) Schema ¶
func (r *MachinePoolResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*MachinePoolResource) Update ¶
func (r *MachinePoolResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
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"` AwsTags types.Map `tfsdk:"aws_tags"` IgnoreDeletionError types.Bool `tfsdk:"ignore_deletion_error"` }
Click to show internal directories.
Click to hide internal directories.