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: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewK8SEnvDataSource added in v0.2.0

func NewK8SEnvDataSource() datasource.DataSource

func NewK8SEnvResource

func NewK8SEnvResource() resource.Resource

Types

type GCSStorageModel

type GCSStorageModel struct {
	BucketName types.String `tfsdk:"bucket_name"`
}

type InternalLoadBalancerModel

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

type K8SEnvDataSource

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

func (*K8SEnvDataSource) Configure

func (*K8SEnvDataSource) Metadata

func (*K8SEnvDataSource) Read

func (*K8SEnvDataSource) Schema

type K8SEnvResource

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

func (*K8SEnvResource) Configure

func (*K8SEnvResource) Create

func (*K8SEnvResource) Delete

func (*K8SEnvResource) ImportState

func (*K8SEnvResource) Metadata

func (K8SEnvResource) ModifyPlan

func (*K8SEnvResource) Read

func (*K8SEnvResource) Schema

func (*K8SEnvResource) Update

type K8SEnvResourceModel

type K8SEnvResourceModel struct {
	Id                    types.String                    `tfsdk:"id"`
	Name                  types.String                    `tfsdk:"name"`
	CustomDomain          types.String                    `tfsdk:"custom_domain"`
	LoadBalancers         *LoadBalancersModel             `tfsdk:"load_balancers"`
	LoadBalancingStrategy types.String                    `tfsdk:"load_balancing_strategy"`
	Distribution          types.String                    `tfsdk:"distribution"`
	NodeGroups            []NodeGroupsModel               `tfsdk:"node_groups"`
	CustomNodeTypes       []NodeTypeModel                 `tfsdk:"custom_node_types"`
	Logs                  *LogsModel                      `tfsdk:"logs"`
	Metrics               *MetricsModel                   `tfsdk:"metrics"`
	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 LoadBalancersModel

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

type LogsModel

type LogsModel struct {
	Storage StorageModel `tfsdk:"storage"`
}

type MetricsModel

type MetricsModel struct {
	RetentionPeriodInDays types.Int64 `tfsdk:"retention_period_in_days"`
}

type NodeGroupsModel

type NodeGroupsModel struct {
	Name            types.String           `tfsdk:"name"`
	NodeType        types.String           `tfsdk:"node_type"`
	CapacityPerZone types.Int64            `tfsdk:"capacity_per_zone"`
	Reservations    types.Set              `tfsdk:"reservations"`
	Zones           types.List             `tfsdk:"zones"`
	Tolerations     []TolerationModel      `tfsdk:"tolerations"`
	NodeSelector    []common.KeyValueModel `tfsdk:"selector"`
}

type NodeTypeModel

type NodeTypeModel struct {
	Name                  types.String  `tfsdk:"name"`
	CPUAllocatable        types.Float64 `tfsdk:"cpu_allocatable"`
	MEMAllocatableInBytes types.Float64 `tfsdk:"mem_allocatable_in_bytes"`
}

type PublicLoadBalancerModel

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

type S3StorageModel

type S3StorageModel struct {
	BucketName types.String `tfsdk:"bucket_name"`
	Region     types.String `tfsdk:"region"`
}

type StorageModel

type StorageModel struct {
	S3  *S3StorageModel  `tfsdk:"s3"`
	GCS *GCSStorageModel `tfsdk:"gcs"`
}

type TolerationModel

type TolerationModel struct {
	Key      types.String `tfsdk:"key"`
	Value    types.String `tfsdk:"value"`
	Effect   types.String `tfsdk:"effect"`
	Operator types.String `tfsdk:"operator"`
}

Jump to

Keyboard shortcuts

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