Documentation ¶
Index ¶
- func New() resource.Resource
- type ClusterResource
- func (r *ClusterResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ClusterResource) Create(ctx context.Context, request resource.CreateRequest, ...)
- func (r *ClusterResource) Delete(ctx context.Context, request resource.DeleteRequest, ...)
- func (r *ClusterResource) ImportState(ctx context.Context, request resource.ImportStateRequest, ...)
- func (r *ClusterResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ClusterResource) Read(ctx context.Context, request resource.ReadRequest, ...)
- func (r *ClusterResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ClusterResource) Update(ctx context.Context, request resource.UpdateRequest, ...)
- type ClusterState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClusterResource ¶
type ClusterResource struct {
// contains filtered or unexported fields
}
func (*ClusterResource) Configure ¶
func (r *ClusterResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ClusterResource) Create ¶
func (r *ClusterResource) Create(ctx context.Context, request resource.CreateRequest, response *resource.CreateResponse)
func (*ClusterResource) Delete ¶
func (r *ClusterResource) Delete(ctx context.Context, request resource.DeleteRequest, response *resource.DeleteResponse)
func (*ClusterResource) ImportState ¶
func (r *ClusterResource) ImportState(ctx context.Context, request resource.ImportStateRequest, response *resource.ImportStateResponse)
func (*ClusterResource) Metadata ¶
func (r *ClusterResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ClusterResource) Read ¶
func (r *ClusterResource) Read(ctx context.Context, request resource.ReadRequest, response *resource.ReadResponse)
func (*ClusterResource) Schema ¶
func (r *ClusterResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ClusterResource) Update ¶
func (r *ClusterResource) Update(ctx context.Context, request resource.UpdateRequest, response *resource.UpdateResponse)
type ClusterState ¶
type ClusterState struct { APIURL types.String `tfsdk:"api_url"` AWSAccessKeyID types.String `tfsdk:"aws_access_key_id"` AWSAccountID types.String `tfsdk:"aws_account_id"` AWSSecretAccessKey types.String `tfsdk:"aws_secret_access_key"` AWSSubnetIDs types.List `tfsdk:"aws_subnet_ids"` AWSAdditionalComputeSecurityGroupIds types.List `tfsdk:"aws_additional_compute_security_group_ids"` AWSAdditionalInfraSecurityGroupIds types.List `tfsdk:"aws_additional_infra_security_group_ids"` AWSAdditionalControlPlaneSecurityGroupIds types.List `tfsdk:"aws_additional_control_plane_security_group_ids"` AWSPrivateLink types.Bool `tfsdk:"aws_private_link"` CCSEnabled types.Bool `tfsdk:"ccs_enabled"` CloudProvider types.String `tfsdk:"cloud_provider"` CloudRegion types.String `tfsdk:"cloud_region"` ComputeMachineType types.String `tfsdk:"compute_machine_type"` ComputeNodes types.Int64 `tfsdk:"compute_nodes"` ConsoleURL types.String `tfsdk:"console_url"` HostPrefix types.Int64 `tfsdk:"host_prefix"` ID types.String `tfsdk:"id"` Product types.String `tfsdk:"product"` MachineCIDR types.String `tfsdk:"machine_cidr"` MultiAZ types.Bool `tfsdk:"multi_az"` AvailabilityZones types.List `tfsdk:"availability_zones"` Name types.String `tfsdk:"name"` PodCIDR types.String `tfsdk:"pod_cidr"` Properties types.Map `tfsdk:"properties"` ServiceCIDR types.String `tfsdk:"service_cidr"` Proxy *proxy.Proxy `tfsdk:"proxy"` State types.String `tfsdk:"state"` Version types.String `tfsdk:"version"` Wait types.Bool `tfsdk:"wait"` }
Click to show internal directories.
Click to hide internal directories.