env

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DELETE_POLL_INTERVAL = 30 * time.Second
View Source
var DELETE_TIMEOUT = time.Duration(60) * time.Minute
View Source
var MFA_TIMEOUT = time.Duration(5) * time.Minute

Functions

func KeyValueToSDK

func KeyValueToSDK(input []KeyValueModel) []*client.KeyValueInput

func ListStringToModel

func ListStringToModel(input []string) []types.String

func ListStringToSDK

func ListStringToSDK(input []basetypes.StringValue) []string

func ListToModel

func ListToModel(input []string) types.List

func MaintenanceWindowsToSDK

func MaintenanceWindowsToSDK(maintenanceWindows []MaintenanceWindowModel) []*client.MaintenanceWindowSpecInput

func ReservationsToModel

func ReservationsToModel(input []client.NodeReservation) types.Set

func SetToModel

func SetToModel(input []string) types.Set

Types

type EnvResourceBase added in v0.3.0

type EnvResourceBase struct {
	Client *client.Client
	Auth   *auth.Auth
}

func (*EnvResourceBase) Configure added in v0.3.0

func (*EnvResourceBase) ImportState added in v0.3.0

func (*EnvResourceBase) ModifyPlan added in v0.3.0

type KeyValueModel

type KeyValueModel struct {
	Key   types.String `tfsdk:"key"`
	Value types.String `tfsdk:"value"`
}

type MaintenanceWindowModel

type MaintenanceWindowModel struct {
	Name          types.String   `tfsdk:"name"`
	Enabled       types.Bool     `tfsdk:"enabled"`
	Hour          types.Int64    `tfsdk:"hour"`
	LengthInHours types.Int64    `tfsdk:"length_in_hours"`
	Days          []types.String `tfsdk:"days"`
}

type NodeGroupsModel

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

Jump to

Keyboard shortcuts

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