env

package
v0.4.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHCloudEnvDataSource

func NewHCloudEnvDataSource() datasource.DataSource

func NewHCloudEnvResource

func NewHCloudEnvResource() resource.Resource

Types

type HCloudEnvDataSource

type HCloudEnvDataSource struct {
	// contains filtered or unexported fields
}

func (*HCloudEnvDataSource) Configure

func (*HCloudEnvDataSource) Metadata

func (*HCloudEnvDataSource) Read

func (*HCloudEnvDataSource) Schema

type HCloudEnvResource

type HCloudEnvResource struct {
	common.EnvResourceBase
}

func (*HCloudEnvResource) Create

func (*HCloudEnvResource) Delete

func (*HCloudEnvResource) Metadata

func (*HCloudEnvResource) Read

func (*HCloudEnvResource) Schema

func (*HCloudEnvResource) Update

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 InternalLoadBalancerModel

type InternalLoadBalancerModel struct {
	Enabled        types.Bool     `tfsdk:"enabled"`
	SourceIPRanges []types.String `tfsdk:"source_ip_ranges"`
}

type LoadBalancersModel

type LoadBalancersModel struct {
	Public   *PublicLoadBalancerModel   `tfsdk:"public"`
	Internal *InternalLoadBalancerModel `tfsdk:"internal"`
}

type NodeGroupsModel

type NodeGroupsModel struct {
	Name                types.String `tfsdk:"name"`
	NodeType            types.String `tfsdk:"node_type"`
	CapacityPerLocation types.Int64  `tfsdk:"capacity_per_location"`
	Locations           types.List   `tfsdk:"locations"`
	Reservations        types.Set    `tfsdk:"reservations"`
}

type PublicLoadBalancerModel

type PublicLoadBalancerModel struct {
	Enabled        types.Bool     `tfsdk:"enabled"`
	SourceIPRanges []types.String `tfsdk:"source_ip_ranges"`
}

type WireguardPeers

type WireguardPeers struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL