Documentation ¶
Index ¶
- Constants
- func AutoscalingDatasource() map[string]dsschema.Attribute
- func AutoscalingResource() map[string]schema.Attribute
- func AwsNodePoolDatasource() map[string]dsschema.Attribute
- func AwsNodePoolResource() map[string]schema.Attribute
- func New() resource.Resource
- func NewDatasource() datasource.DataSource
- func NodePoolStatusDatasource() map[string]dsschema.Attribute
- func NodePoolStatusResource() map[string]schema.Attribute
- type AWSNodePool
- type AutoScaling
- type HcpMachinePoolDatasource
- func (r *HcpMachinePoolDatasource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (r *HcpMachinePoolDatasource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (r *HcpMachinePoolDatasource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (r *HcpMachinePoolDatasource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type HcpMachinePoolResource
- func (r *HcpMachinePoolResource) ConfigValidators(context.Context) []resource.ConfigValidator
- func (r *HcpMachinePoolResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *HcpMachinePoolResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *HcpMachinePoolResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *HcpMachinePoolResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *HcpMachinePoolResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *HcpMachinePoolResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *HcpMachinePoolResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *HcpMachinePoolResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type HcpMachinePoolState
- type NodePoolStatus
- type Taints
Constants ¶
View Source
const MaxAdditionalSecurityGroupHcp = 10
Variables ¶
This section is empty.
Functions ¶
func AutoscalingDatasource ¶
func AutoscalingResource ¶
func AwsNodePoolDatasource ¶
func AwsNodePoolResource ¶
func NewDatasource ¶
func NewDatasource() datasource.DataSource
func NodePoolStatusResource ¶
Types ¶
type AWSNodePool ¶
type AWSNodePool struct { InstanceType types.String `tfsdk:"instance_type"` InstanceProfile types.String `tfsdk:"instance_profile"` Tags types.Map `tfsdk:"tags"` AdditionalSecurityGroupIds types.List `tfsdk:"additional_security_group_ids"` Ec2MetadataHttpTokens types.String `tfsdk:"ec2_metadata_http_tokens"` DiskSize types.Int64 `tfsdk:"disk_size"` }
type AutoScaling ¶
type HcpMachinePoolDatasource ¶
type HcpMachinePoolDatasource struct {
// contains filtered or unexported fields
}
func (*HcpMachinePoolDatasource) Configure ¶
func (r *HcpMachinePoolDatasource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*HcpMachinePoolDatasource) Metadata ¶
func (r *HcpMachinePoolDatasource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*HcpMachinePoolDatasource) Read ¶
func (r *HcpMachinePoolDatasource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*HcpMachinePoolDatasource) Schema ¶
func (r *HcpMachinePoolDatasource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type HcpMachinePoolResource ¶
type HcpMachinePoolResource struct {
// contains filtered or unexported fields
}
func (*HcpMachinePoolResource) ConfigValidators ¶
func (r *HcpMachinePoolResource) ConfigValidators(context.Context) []resource.ConfigValidator
func (*HcpMachinePoolResource) Configure ¶
func (r *HcpMachinePoolResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*HcpMachinePoolResource) Create ¶
func (r *HcpMachinePoolResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*HcpMachinePoolResource) Delete ¶
func (r *HcpMachinePoolResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*HcpMachinePoolResource) ImportState ¶
func (r *HcpMachinePoolResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*HcpMachinePoolResource) Metadata ¶
func (r *HcpMachinePoolResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*HcpMachinePoolResource) Read ¶
func (r *HcpMachinePoolResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*HcpMachinePoolResource) Schema ¶
func (r *HcpMachinePoolResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*HcpMachinePoolResource) Update ¶
func (r *HcpMachinePoolResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
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"` KubeletConfigs types.String `tfsdk:"kubelet_configs"` AutoRepair types.Bool `tfsdk:"auto_repair"` IgnoreDeletionError types.Bool `tfsdk:"ignore_deletion_error"` }
type NodePoolStatus ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.