Documentation ¶
Index ¶
- func New() resource.Resource
- 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 ¶
Types ¶
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"` SubnetID types.String `tfsdk:"subnet_id"` }
Click to show internal directories.
Click to hide internal directories.