hosted_env

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CustomDomainsToModel

func CustomDomainsToModel(prior types.List, specCustomDomains []string) (types.List, diag.Diagnostics)

Mirrors CustomDomainsToModel: a resource that never configured the attribute must keep it null, otherwise the API's empty list turns into a permanent diff.

func GetNodeGroupsAttribute

func GetNodeGroupsAttribute(required, optional, computed bool, nodeTypeDescription string) rschema.ListNestedAttribute

func GetZoneIDsAttribute

func GetZoneIDsAttribute(required, optional, computed bool, description string) rschema.ListAttribute

func NodeGroupKey

func NodeGroupKey(ng NodeGroupsModel) string

The API only guarantees uniqueness on name; fall back to node_type while the computed name is still unknown.

Types

type NodeGroupsModel

type NodeGroupsModel struct {
	Name            types.String `tfsdk:"name"`
	NodeType        types.String `tfsdk:"node_type"`
	CapacityPerZone types.Int64  `tfsdk:"capacity_per_zone"`
	ZoneIDs         types.List   `tfsdk:"zone_ids"`
	Reservations    types.Set    `tfsdk:"reservations"`
}

Jump to

Keyboard shortcuts

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