Documentation ¶
Index ¶
- func SpotnodepoolDataSourceSchema(ctx context.Context) schema.Schema
- type AutoscalingType
- func (t AutoscalingType) Equal(o attr.Type) bool
- func (t AutoscalingType) String() string
- func (t AutoscalingType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t AutoscalingType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t AutoscalingType) ValueType(ctx context.Context) attr.Value
- type AutoscalingValue
- func NewAutoscalingValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (AutoscalingValue, diag.Diagnostics)
- func NewAutoscalingValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) AutoscalingValue
- func NewAutoscalingValueNull() AutoscalingValue
- func NewAutoscalingValueUnknown() AutoscalingValue
- func (v AutoscalingValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v AutoscalingValue) Equal(o attr.Value) bool
- func (v AutoscalingValue) IsNull() bool
- func (v AutoscalingValue) IsUnknown() bool
- func (v AutoscalingValue) String() string
- func (v AutoscalingValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v AutoscalingValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v AutoscalingValue) Type(ctx context.Context) attr.Type
- type SpotnodepoolModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AutoscalingType ¶
type AutoscalingType struct {
basetypes.ObjectType
}
func (AutoscalingType) String ¶
func (t AutoscalingType) String() string
func (AutoscalingType) ValueFromObject ¶
func (t AutoscalingType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (AutoscalingType) ValueFromTerraform ¶
type AutoscalingValue ¶
type AutoscalingValue struct { MaxNodes basetypes.Int64Value `tfsdk:"max_nodes"` MinNodes basetypes.Int64Value `tfsdk:"min_nodes"` // contains filtered or unexported fields }
func NewAutoscalingValue ¶
func NewAutoscalingValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (AutoscalingValue, diag.Diagnostics)
func NewAutoscalingValueMust ¶
func NewAutoscalingValueNull ¶
func NewAutoscalingValueNull() AutoscalingValue
func NewAutoscalingValueUnknown ¶
func NewAutoscalingValueUnknown() AutoscalingValue
func (AutoscalingValue) AttributeTypes ¶
func (AutoscalingValue) IsNull ¶
func (v AutoscalingValue) IsNull() bool
func (AutoscalingValue) IsUnknown ¶
func (v AutoscalingValue) IsUnknown() bool
func (AutoscalingValue) String ¶
func (v AutoscalingValue) String() string
func (AutoscalingValue) ToObjectValue ¶
func (v AutoscalingValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (AutoscalingValue) ToTerraformValue ¶
type SpotnodepoolModel ¶
type SpotnodepoolModel struct { Autoscaling AutoscalingValue `tfsdk:"autoscaling"` BidPrice types.Float64 `tfsdk:"bid_price"` BidStatus types.String `tfsdk:"bid_status"` CloudspaceName types.String `tfsdk:"cloudspace_name"` DesiredServerCount types.Int64 `tfsdk:"desired_server_count"` Id types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` ServerClass types.String `tfsdk:"server_class"` WonCount types.Int64 `tfsdk:"won_count"` }
Click to show internal directories.
Click to hide internal directories.