Documentation ¶
Index ¶
- func NewHCloudEnvDataSource() datasource.DataSource
- func NewHCloudEnvResource() resource.Resource
- type HCloudEnvDataSource
- func (d *HCloudEnvDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *HCloudEnvDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *HCloudEnvDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *HCloudEnvDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type HCloudEnvResource
- func (r *HCloudEnvResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *HCloudEnvResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *HCloudEnvResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *HCloudEnvResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *HCloudEnvResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *HCloudEnvResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type HCloudEnvResourceModel
- type InternalLoadBalancerModel
- type LoadBalancersModel
- type NodeGroupsModel
- type PublicLoadBalancerModel
- type WireguardPeers
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHCloudEnvDataSource ¶
func NewHCloudEnvDataSource() datasource.DataSource
func NewHCloudEnvResource ¶
Types ¶
type HCloudEnvDataSource ¶
type HCloudEnvDataSource struct {
// contains filtered or unexported fields
}
func (*HCloudEnvDataSource) Configure ¶
func (d *HCloudEnvDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*HCloudEnvDataSource) Metadata ¶
func (d *HCloudEnvDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*HCloudEnvDataSource) Read ¶
func (d *HCloudEnvDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*HCloudEnvDataSource) Schema ¶
func (d *HCloudEnvDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type HCloudEnvResource ¶
type HCloudEnvResource struct {
common.EnvResourceBase
}
func (*HCloudEnvResource) Create ¶
func (r *HCloudEnvResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*HCloudEnvResource) Delete ¶
func (r *HCloudEnvResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*HCloudEnvResource) Metadata ¶
func (r *HCloudEnvResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*HCloudEnvResource) Read ¶
func (r *HCloudEnvResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*HCloudEnvResource) Schema ¶
func (r *HCloudEnvResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*HCloudEnvResource) Update ¶
func (r *HCloudEnvResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type HCloudEnvResourceModel ¶
type HCloudEnvResourceModel struct { Id types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` HCloudTokenEnc types.String `tfsdk:"hcloud_token_enc"` CustomDomain types.String `tfsdk:"custom_domain"` NodeGroups []NodeGroupsModel `tfsdk:"node_groups"` NetworkZone types.String `tfsdk:"network_zone"` CIDR types.String `tfsdk:"cidr"` Locations types.List `tfsdk:"locations"` LoadBalancers *LoadBalancersModel `tfsdk:"load_balancers"` LoadBalancingStrategy types.String `tfsdk:"load_balancing_strategy"` MaintenanceWindows []common.MaintenanceWindowModel `tfsdk:"maintenance_windows"` WireguardPeers []WireguardPeers `tfsdk:"wireguard_peers"` SpecRevision types.Int64 `tfsdk:"spec_revision"` ForceDestroy types.Bool `tfsdk:"force_destroy"` ForceDestroyClusters types.Bool `tfsdk:"force_destroy_clusters"` SkipDeprovisionOnDestroy types.Bool `tfsdk:"skip_deprovision_on_destroy"` }
type LoadBalancersModel ¶
type LoadBalancersModel struct { Public *PublicLoadBalancerModel `tfsdk:"public"` Internal *InternalLoadBalancerModel `tfsdk:"internal"` }
type NodeGroupsModel ¶
type PublicLoadBalancerModel ¶
type WireguardPeers ¶
type WireguardPeers struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.