Documentation
¶
Index ¶
- func InstanceTypesDataSourceSchema(ctx context.Context) schema.Schema
- type DataType
- func (t DataType) Equal(o attr.Type) bool
- func (t DataType) String() string
- func (t DataType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t DataType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t DataType) ValueType(ctx context.Context) attr.Value
- type DataValue
- func (v DataValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v DataValue) Equal(o attr.Value) bool
- func (v DataValue) IsNull() bool
- func (v DataValue) IsUnknown() bool
- func (v DataValue) String() string
- func (v DataValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v DataValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v DataValue) Type(ctx context.Context) attr.Type
- type InstanceTypeType
- func (t InstanceTypeType) Equal(o attr.Type) bool
- func (t InstanceTypeType) String() string
- func (t InstanceTypeType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t InstanceTypeType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t InstanceTypeType) ValueType(ctx context.Context) attr.Value
- type InstanceTypeValue
- func NewInstanceTypeValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (InstanceTypeValue, diag.Diagnostics)
- func NewInstanceTypeValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) InstanceTypeValue
- func NewInstanceTypeValueNull() InstanceTypeValue
- func NewInstanceTypeValueUnknown() InstanceTypeValue
- func (v InstanceTypeValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v InstanceTypeValue) Equal(o attr.Value) bool
- func (v InstanceTypeValue) IsNull() bool
- func (v InstanceTypeValue) IsUnknown() bool
- func (v InstanceTypeValue) String() string
- func (v InstanceTypeValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v InstanceTypeValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v InstanceTypeValue) Type(ctx context.Context) attr.Type
- type InstanceTypesModel
- type RegionsWithCapacityAvailableType
- func (t RegionsWithCapacityAvailableType) Equal(o attr.Type) bool
- func (t RegionsWithCapacityAvailableType) String() string
- func (t RegionsWithCapacityAvailableType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t RegionsWithCapacityAvailableType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t RegionsWithCapacityAvailableType) ValueType(ctx context.Context) attr.Value
- type RegionsWithCapacityAvailableValue
- func NewRegionsWithCapacityAvailableValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (RegionsWithCapacityAvailableValue, diag.Diagnostics)
- func NewRegionsWithCapacityAvailableValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) RegionsWithCapacityAvailableValue
- func NewRegionsWithCapacityAvailableValueNull() RegionsWithCapacityAvailableValue
- func NewRegionsWithCapacityAvailableValueUnknown() RegionsWithCapacityAvailableValue
- func (v RegionsWithCapacityAvailableValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v RegionsWithCapacityAvailableValue) Equal(o attr.Value) bool
- func (v RegionsWithCapacityAvailableValue) IsNull() bool
- func (v RegionsWithCapacityAvailableValue) IsUnknown() bool
- func (v RegionsWithCapacityAvailableValue) String() string
- func (v RegionsWithCapacityAvailableValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v RegionsWithCapacityAvailableValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v RegionsWithCapacityAvailableValue) Type(ctx context.Context) attr.Type
- type SpecsType
- func (t SpecsType) Equal(o attr.Type) bool
- func (t SpecsType) String() string
- func (t SpecsType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t SpecsType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t SpecsType) ValueType(ctx context.Context) attr.Value
- type SpecsValue
- func NewSpecsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (SpecsValue, diag.Diagnostics)
- func NewSpecsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) SpecsValue
- func NewSpecsValueNull() SpecsValue
- func NewSpecsValueUnknown() SpecsValue
- func (v SpecsValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v SpecsValue) Equal(o attr.Value) bool
- func (v SpecsValue) IsNull() bool
- func (v SpecsValue) IsUnknown() bool
- func (v SpecsValue) String() string
- func (v SpecsValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v SpecsValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v SpecsValue) Type(ctx context.Context) attr.Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DataType ¶
type DataType struct {
basetypes.ObjectType
}
func (DataType) ValueFromObject ¶
func (t DataType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (DataType) ValueFromTerraform ¶
type DataValue ¶
type DataValue struct { InstanceType basetypes.ObjectValue `tfsdk:"instance_type"` RegionsWithCapacityAvailable basetypes.ListValue `tfsdk:"regions_with_capacity_available"` // contains filtered or unexported fields }
func NewDataValue ¶
func NewDataValueMust ¶
func NewDataValueNull ¶
func NewDataValueNull() DataValue
func NewDataValueUnknown ¶
func NewDataValueUnknown() DataValue
func (DataValue) AttributeTypes ¶
func (DataValue) ToObjectValue ¶
func (v DataValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (DataValue) ToTerraformValue ¶
type InstanceTypeType ¶
type InstanceTypeType struct {
basetypes.ObjectType
}
func (InstanceTypeType) String ¶
func (t InstanceTypeType) String() string
func (InstanceTypeType) ValueFromObject ¶
func (t InstanceTypeType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (InstanceTypeType) ValueFromTerraform ¶
type InstanceTypeValue ¶
type InstanceTypeValue struct { Description basetypes.StringValue `tfsdk:"description"` GpuDescription basetypes.StringValue `tfsdk:"gpu_description"` Name basetypes.StringValue `tfsdk:"name"` PriceCentsPerHour basetypes.Int64Value `tfsdk:"price_cents_per_hour"` Specs basetypes.ObjectValue `tfsdk:"specs"` // contains filtered or unexported fields }
func NewInstanceTypeValue ¶
func NewInstanceTypeValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (InstanceTypeValue, diag.Diagnostics)
func NewInstanceTypeValueNull ¶
func NewInstanceTypeValueNull() InstanceTypeValue
func NewInstanceTypeValueUnknown ¶
func NewInstanceTypeValueUnknown() InstanceTypeValue
func (InstanceTypeValue) AttributeTypes ¶
func (InstanceTypeValue) IsNull ¶
func (v InstanceTypeValue) IsNull() bool
func (InstanceTypeValue) IsUnknown ¶
func (v InstanceTypeValue) IsUnknown() bool
func (InstanceTypeValue) String ¶
func (v InstanceTypeValue) String() string
func (InstanceTypeValue) ToObjectValue ¶
func (v InstanceTypeValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (InstanceTypeValue) ToTerraformValue ¶
type InstanceTypesModel ¶
type RegionsWithCapacityAvailableType ¶
type RegionsWithCapacityAvailableType struct {
basetypes.ObjectType
}
func (RegionsWithCapacityAvailableType) Equal ¶
func (t RegionsWithCapacityAvailableType) Equal(o attr.Type) bool
func (RegionsWithCapacityAvailableType) String ¶
func (t RegionsWithCapacityAvailableType) String() string
func (RegionsWithCapacityAvailableType) ValueFromObject ¶
func (t RegionsWithCapacityAvailableType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (RegionsWithCapacityAvailableType) ValueFromTerraform ¶
type RegionsWithCapacityAvailableValue ¶
type RegionsWithCapacityAvailableValue struct { Description basetypes.StringValue `tfsdk:"description"` Name basetypes.StringValue `tfsdk:"name"` // contains filtered or unexported fields }
func NewRegionsWithCapacityAvailableValue ¶
func NewRegionsWithCapacityAvailableValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (RegionsWithCapacityAvailableValue, diag.Diagnostics)
func NewRegionsWithCapacityAvailableValueNull ¶
func NewRegionsWithCapacityAvailableValueNull() RegionsWithCapacityAvailableValue
func NewRegionsWithCapacityAvailableValueUnknown ¶
func NewRegionsWithCapacityAvailableValueUnknown() RegionsWithCapacityAvailableValue
func (RegionsWithCapacityAvailableValue) AttributeTypes ¶
func (RegionsWithCapacityAvailableValue) Equal ¶
func (v RegionsWithCapacityAvailableValue) Equal(o attr.Value) bool
func (RegionsWithCapacityAvailableValue) IsNull ¶
func (v RegionsWithCapacityAvailableValue) IsNull() bool
func (RegionsWithCapacityAvailableValue) IsUnknown ¶
func (v RegionsWithCapacityAvailableValue) IsUnknown() bool
func (RegionsWithCapacityAvailableValue) String ¶
func (v RegionsWithCapacityAvailableValue) String() string
func (RegionsWithCapacityAvailableValue) ToObjectValue ¶
func (v RegionsWithCapacityAvailableValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (RegionsWithCapacityAvailableValue) ToTerraformValue ¶
type SpecsType ¶
type SpecsType struct {
basetypes.ObjectType
}
func (SpecsType) ValueFromObject ¶
func (t SpecsType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (SpecsType) ValueFromTerraform ¶
type SpecsValue ¶
type SpecsValue struct { Gpus basetypes.Int64Value `tfsdk:"gpus"` MemoryGib basetypes.Int64Value `tfsdk:"memory_gib"` StorageGib basetypes.Int64Value `tfsdk:"storage_gib"` Vcpus basetypes.Int64Value `tfsdk:"vcpus"` // contains filtered or unexported fields }
func NewSpecsValue ¶
func NewSpecsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (SpecsValue, diag.Diagnostics)
func NewSpecsValueMust ¶
func NewSpecsValueNull ¶
func NewSpecsValueNull() SpecsValue
func NewSpecsValueUnknown ¶
func NewSpecsValueUnknown() SpecsValue
func (SpecsValue) AttributeTypes ¶
func (SpecsValue) IsNull ¶
func (v SpecsValue) IsNull() bool
func (SpecsValue) IsUnknown ¶
func (v SpecsValue) IsUnknown() bool
func (SpecsValue) String ¶
func (v SpecsValue) String() string
func (SpecsValue) ToObjectValue ¶
func (v SpecsValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (SpecsValue) ToTerraformValue ¶
Click to show internal directories.
Click to hide internal directories.