env

package
v0.4.10 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2025 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGCPEnvDataSource added in v0.2.0

func NewGCPEnvDataSource() datasource.DataSource

func NewGCPEnvResource

func NewGCPEnvResource() resource.Resource

Types

type GCPEnvDataSource

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

func (*GCPEnvDataSource) Configure

func (*GCPEnvDataSource) Metadata

func (*GCPEnvDataSource) Read

func (*GCPEnvDataSource) Schema

type GCPEnvPeeringConnectionModel added in v0.4.10

type GCPEnvPeeringConnectionModel struct {
	ProjectID   types.String `tfsdk:"project_id"`
	NetworkName types.String `tfsdk:"network_name"`
}

type GCPEnvResource

type GCPEnvResource struct {
	common.EnvResourceBase
}

func (*GCPEnvResource) Create

func (*GCPEnvResource) Delete

func (*GCPEnvResource) Metadata

func (*GCPEnvResource) Read

func (*GCPEnvResource) Schema

func (*GCPEnvResource) Update

type GCPEnvResourceModel

type GCPEnvResourceModel struct {
	Id           types.String             `tfsdk:"id"`
	Name         types.String             `tfsdk:"name"`
	CustomDomain types.String             `tfsdk:"custom_domain"`
	NodeGroups   []common.NodeGroupsModel `tfsdk:"node_groups"`

	Region                  types.String                    `tfsdk:"region"`
	CIDR                    types.String                    `tfsdk:"cidr"`
	GCPProjectID            types.String                    `tfsdk:"gcp_project_id"`
	Zones                   types.List                      `tfsdk:"zones"`
	LoadBalancers           *LoadBalancersModel             `tfsdk:"load_balancers"`
	LoadBalancingStrategy   types.String                    `tfsdk:"load_balancing_strategy"`
	MaintenanceWindows      []common.MaintenanceWindowModel `tfsdk:"maintenance_windows"`
	PeeringConnections      []GCPEnvPeeringConnectionModel  `tfsdk:"peering_connections"`
	PrivateServiceConsumers types.List                      `tfsdk:"private_service_consumers"`

	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"`
	AllowDeleteWhileDisconnected types.Bool  `tfsdk:"allow_delete_while_disconnected"`
}

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 PublicLoadBalancerModel

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

Jump to

Keyboard shortcuts

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