Documentation
¶
Index ¶
- func CloudspaceResourceSchema(ctx context.Context) schema.Schema
- type BidsType
- func (t BidsType) Equal(o attr.Type) bool
- func (t BidsType) String() string
- func (t BidsType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t BidsType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t BidsType) ValueType(ctx context.Context) attr.Value
- type BidsValue
- func (v BidsValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v BidsValue) Equal(o attr.Value) bool
- func (v BidsValue) IsNull() bool
- func (v BidsValue) IsUnknown() bool
- func (v BidsValue) String() string
- func (v BidsValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v BidsValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v BidsValue) Type(ctx context.Context) attr.Type
- type CloudspaceModel
- type PendingAllocationsType
- func (t PendingAllocationsType) Equal(o attr.Type) bool
- func (t PendingAllocationsType) String() string
- func (t PendingAllocationsType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t PendingAllocationsType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t PendingAllocationsType) ValueType(ctx context.Context) attr.Value
- type PendingAllocationsValue
- func NewPendingAllocationsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (PendingAllocationsValue, diag.Diagnostics)
- func NewPendingAllocationsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) PendingAllocationsValue
- func NewPendingAllocationsValueNull() PendingAllocationsValue
- func NewPendingAllocationsValueUnknown() PendingAllocationsValue
- func (v PendingAllocationsValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v PendingAllocationsValue) Equal(o attr.Value) bool
- func (v PendingAllocationsValue) IsNull() bool
- func (v PendingAllocationsValue) IsUnknown() bool
- func (v PendingAllocationsValue) String() string
- func (v PendingAllocationsValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v PendingAllocationsValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v PendingAllocationsValue) Type(ctx context.Context) attr.Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BidsType ¶ added in v0.0.5
type BidsType struct {
basetypes.ObjectType
}
func (BidsType) ValueFromObject ¶ added in v0.0.5
func (t BidsType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (BidsType) ValueFromTerraform ¶ added in v0.0.5
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 NewBidsValueMust ¶ added in v0.0.5
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 (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
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 (t PendingAllocationsType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (PendingAllocationsType) ValueFromTerraform ¶ added in v0.0.5
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 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 (PendingAllocationsValue) Equal ¶ added in v0.0.5
func (v PendingAllocationsValue) Equal(o attr.Value) bool
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 (v PendingAllocationsValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (PendingAllocationsValue) ToTerraformValue ¶ added in v0.0.5
Click to show internal directories.
Click to hide internal directories.