env

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2024 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 GCPEnvResource

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

func (*GCPEnvResource) Configure

func (*GCPEnvResource) Create

func (*GCPEnvResource) Delete

func (*GCPEnvResource) ImportState

func (*GCPEnvResource) Metadata

func (GCPEnvResource) ModifyPlan

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"`
	NumberOfZones         types.Int64                     `tfsdk:"number_of_zones"`
	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"`

	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 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