resource_cloudspace

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: May 25, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloudspaceResourceSchema

func CloudspaceResourceSchema(ctx context.Context) schema.Schema

Types

type BidsType added in v0.0.5

type BidsType struct {
	basetypes.ObjectType
}

func (BidsType) Equal added in v0.0.5

func (t BidsType) Equal(o attr.Type) bool

func (BidsType) String added in v0.0.5

func (t BidsType) String() string

func (BidsType) ValueFromObject added in v0.0.5

func (BidsType) ValueFromTerraform added in v0.0.5

func (t BidsType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (BidsType) ValueType added in v0.0.5

func (t BidsType) ValueType(ctx context.Context) attr.Value

type BidsValue added in v0.0.5

type BidsValue struct {
	BidName  basetypes.StringValue `tfsdk:"bid_name"`
	WonCount basetypes.Int64Value  `tfsdk:"won_count"`
	// contains filtered or unexported fields
}

func NewBidsValue added in v0.0.5

func NewBidsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (BidsValue, diag.Diagnostics)

func NewBidsValueMust added in v0.0.5

func NewBidsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) BidsValue

func NewBidsValueNull added in v0.0.5

func NewBidsValueNull() BidsValue

func NewBidsValueUnknown added in v0.0.5

func NewBidsValueUnknown() BidsValue

func (BidsValue) AttributeTypes added in v0.0.5

func (v BidsValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (BidsValue) Equal added in v0.0.5

func (v BidsValue) Equal(o attr.Value) bool

func (BidsValue) IsNull added in v0.0.5

func (v BidsValue) IsNull() bool

func (BidsValue) IsUnknown added in v0.0.5

func (v BidsValue) IsUnknown() bool

func (BidsValue) String added in v0.0.5

func (v BidsValue) String() string

func (BidsValue) ToObjectValue added in v0.0.5

func (v BidsValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)

func (BidsValue) ToTerraformValue added in v0.0.5

func (v BidsValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (BidsValue) Type added in v0.0.5

func (v BidsValue) Type(ctx context.Context) attr.Type

type CloudspaceModel

type CloudspaceModel struct {
	Bids                types.Set    `tfsdk:"bids"`
	CloudspaceName      types.String `tfsdk:"cloudspace_name"`
	FirstReadyTimestamp types.String `tfsdk:"first_ready_timestamp"`
	HacontrolPlane      types.Bool   `tfsdk:"hacontrol_plane"`
	Id                  types.String `tfsdk:"id"`
	LastUpdated         types.String `tfsdk:"last_updated"`
	Name                types.String `tfsdk:"name"`
	PendingAllocations  types.Set    `tfsdk:"pending_allocations"`
	PreemptionWebhook   types.String `tfsdk:"preemption_webhook"`
	Region              types.String `tfsdk:"region"`
	SpotnodepoolIds     types.List   `tfsdk:"spotnodepool_ids"`
}

type PendingAllocationsType added in v0.0.5

type PendingAllocationsType struct {
	basetypes.ObjectType
}

func (PendingAllocationsType) Equal added in v0.0.5

func (t PendingAllocationsType) Equal(o attr.Type) bool

func (PendingAllocationsType) String added in v0.0.5

func (t PendingAllocationsType) String() string

func (PendingAllocationsType) ValueFromObject added in v0.0.5

func (PendingAllocationsType) ValueFromTerraform added in v0.0.5

func (t PendingAllocationsType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (PendingAllocationsType) ValueType added in v0.0.5

func (t PendingAllocationsType) ValueType(ctx context.Context) attr.Value

type PendingAllocationsValue added in v0.0.5

type PendingAllocationsValue struct {
	BidName     basetypes.StringValue `tfsdk:"bid_name"`
	Count       basetypes.Int64Value  `tfsdk:"count"`
	ServerClass basetypes.StringValue `tfsdk:"server_class"`
	// contains filtered or unexported fields
}

func NewPendingAllocationsValue added in v0.0.5

func NewPendingAllocationsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (PendingAllocationsValue, diag.Diagnostics)

func NewPendingAllocationsValueMust added in v0.0.5

func NewPendingAllocationsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) PendingAllocationsValue

func NewPendingAllocationsValueNull added in v0.0.5

func NewPendingAllocationsValueNull() PendingAllocationsValue

func NewPendingAllocationsValueUnknown added in v0.0.5

func NewPendingAllocationsValueUnknown() PendingAllocationsValue

func (PendingAllocationsValue) AttributeTypes added in v0.0.5

func (v PendingAllocationsValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (PendingAllocationsValue) Equal added in v0.0.5

func (PendingAllocationsValue) IsNull added in v0.0.5

func (v PendingAllocationsValue) IsNull() bool

func (PendingAllocationsValue) IsUnknown added in v0.0.5

func (v PendingAllocationsValue) IsUnknown() bool

func (PendingAllocationsValue) String added in v0.0.5

func (v PendingAllocationsValue) String() string

func (PendingAllocationsValue) ToObjectValue added in v0.0.5

func (PendingAllocationsValue) ToTerraformValue added in v0.0.5

func (v PendingAllocationsValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (PendingAllocationsValue) Type added in v0.0.5

Jump to

Keyboard shortcuts

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