Documentation ¶
Index ¶
- func ServerclassDataSourceSchema(ctx context.Context) schema.Schema
- type OnDemandPricingType
- func (t OnDemandPricingType) Equal(o attr.Type) bool
- func (t OnDemandPricingType) String() string
- func (t OnDemandPricingType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t OnDemandPricingType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t OnDemandPricingType) ValueType(ctx context.Context) attr.Value
- type OnDemandPricingValue
- func NewOnDemandPricingValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (OnDemandPricingValue, diag.Diagnostics)
- func NewOnDemandPricingValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) OnDemandPricingValue
- func NewOnDemandPricingValueNull() OnDemandPricingValue
- func NewOnDemandPricingValueUnknown() OnDemandPricingValue
- func (v OnDemandPricingValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v OnDemandPricingValue) Equal(o attr.Value) bool
- func (v OnDemandPricingValue) IsNull() bool
- func (v OnDemandPricingValue) IsUnknown() bool
- func (v OnDemandPricingValue) String() string
- func (v OnDemandPricingValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v OnDemandPricingValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v OnDemandPricingValue) Type(ctx context.Context) attr.Type
- type ResourcesType
- func (t ResourcesType) Equal(o attr.Type) bool
- func (t ResourcesType) String() string
- func (t ResourcesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t ResourcesType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t ResourcesType) ValueType(ctx context.Context) attr.Value
- type ResourcesValue
- func NewResourcesValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (ResourcesValue, diag.Diagnostics)
- func NewResourcesValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) ResourcesValue
- func NewResourcesValueNull() ResourcesValue
- func NewResourcesValueUnknown() ResourcesValue
- func (v ResourcesValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v ResourcesValue) Equal(o attr.Value) bool
- func (v ResourcesValue) IsNull() bool
- func (v ResourcesValue) IsUnknown() bool
- func (v ResourcesValue) String() string
- func (v ResourcesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v ResourcesValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v ResourcesValue) Type(ctx context.Context) attr.Type
- type ServerclassModel
- type ServerclassProviderType
- func (t ServerclassProviderType) Equal(o attr.Type) bool
- func (t ServerclassProviderType) String() string
- func (t ServerclassProviderType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t ServerclassProviderType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t ServerclassProviderType) ValueType(ctx context.Context) attr.Value
- type ServerclassProviderValue
- func NewServerclassProviderValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (ServerclassProviderValue, diag.Diagnostics)
- func NewServerclassProviderValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) ServerclassProviderValue
- func NewServerclassProviderValueNull() ServerclassProviderValue
- func NewServerclassProviderValueUnknown() ServerclassProviderValue
- func (v ServerclassProviderValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v ServerclassProviderValue) Equal(o attr.Value) bool
- func (v ServerclassProviderValue) IsNull() bool
- func (v ServerclassProviderValue) IsUnknown() bool
- func (v ServerclassProviderValue) String() string
- func (v ServerclassProviderValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v ServerclassProviderValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v ServerclassProviderValue) Type(ctx context.Context) attr.Type
- type SpotPricingType
- func (t SpotPricingType) Equal(o attr.Type) bool
- func (t SpotPricingType) String() string
- func (t SpotPricingType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t SpotPricingType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t SpotPricingType) ValueType(ctx context.Context) attr.Value
- type SpotPricingValue
- func NewSpotPricingValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (SpotPricingValue, diag.Diagnostics)
- func NewSpotPricingValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) SpotPricingValue
- func NewSpotPricingValueNull() SpotPricingValue
- func NewSpotPricingValueUnknown() SpotPricingValue
- func (v SpotPricingValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v SpotPricingValue) Equal(o attr.Value) bool
- func (v SpotPricingValue) IsNull() bool
- func (v SpotPricingValue) IsUnknown() bool
- func (v SpotPricingValue) String() string
- func (v SpotPricingValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v SpotPricingValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v SpotPricingValue) Type(ctx context.Context) attr.Type
- type StatusType
- func (t StatusType) Equal(o attr.Type) bool
- func (t StatusType) String() string
- func (t StatusType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t StatusType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t StatusType) ValueType(ctx context.Context) attr.Value
- type StatusValue
- func NewStatusValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (StatusValue, diag.Diagnostics)
- func NewStatusValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) StatusValue
- func NewStatusValueNull() StatusValue
- func NewStatusValueUnknown() StatusValue
- func (v StatusValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v StatusValue) Equal(o attr.Value) bool
- func (v StatusValue) IsNull() bool
- func (v StatusValue) IsUnknown() bool
- func (v StatusValue) String() string
- func (v StatusValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v StatusValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v StatusValue) Type(ctx context.Context) attr.Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type OnDemandPricingType ¶
type OnDemandPricingType struct {
basetypes.ObjectType
}
func (OnDemandPricingType) String ¶
func (t OnDemandPricingType) String() string
func (OnDemandPricingType) ValueFromObject ¶
func (t OnDemandPricingType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (OnDemandPricingType) ValueFromTerraform ¶
type OnDemandPricingValue ¶
type OnDemandPricingValue struct { Cost basetypes.StringValue `tfsdk:"cost"` Interval basetypes.StringValue `tfsdk:"interval"` // contains filtered or unexported fields }
func NewOnDemandPricingValue ¶
func NewOnDemandPricingValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (OnDemandPricingValue, diag.Diagnostics)
func NewOnDemandPricingValueNull ¶
func NewOnDemandPricingValueNull() OnDemandPricingValue
func NewOnDemandPricingValueUnknown ¶
func NewOnDemandPricingValueUnknown() OnDemandPricingValue
func (OnDemandPricingValue) AttributeTypes ¶
func (OnDemandPricingValue) IsNull ¶
func (v OnDemandPricingValue) IsNull() bool
func (OnDemandPricingValue) IsUnknown ¶
func (v OnDemandPricingValue) IsUnknown() bool
func (OnDemandPricingValue) String ¶
func (v OnDemandPricingValue) String() string
func (OnDemandPricingValue) ToObjectValue ¶
func (v OnDemandPricingValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (OnDemandPricingValue) ToTerraformValue ¶
type ResourcesType ¶
type ResourcesType struct {
basetypes.ObjectType
}
func (ResourcesType) String ¶
func (t ResourcesType) String() string
func (ResourcesType) ValueFromObject ¶
func (t ResourcesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (ResourcesType) ValueFromTerraform ¶
type ResourcesValue ¶
type ResourcesValue struct { Cpu basetypes.StringValue `tfsdk:"cpu"` Memory basetypes.StringValue `tfsdk:"memory"` // contains filtered or unexported fields }
func NewResourcesValue ¶
func NewResourcesValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (ResourcesValue, diag.Diagnostics)
func NewResourcesValueMust ¶
func NewResourcesValueNull ¶
func NewResourcesValueNull() ResourcesValue
func NewResourcesValueUnknown ¶
func NewResourcesValueUnknown() ResourcesValue
func (ResourcesValue) AttributeTypes ¶
func (ResourcesValue) IsNull ¶
func (v ResourcesValue) IsNull() bool
func (ResourcesValue) IsUnknown ¶
func (v ResourcesValue) IsUnknown() bool
func (ResourcesValue) String ¶
func (v ResourcesValue) String() string
func (ResourcesValue) ToObjectValue ¶
func (v ResourcesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (ResourcesValue) ToTerraformValue ¶
type ServerclassModel ¶
type ServerclassModel struct { Availability types.String `tfsdk:"availability"` Category types.String `tfsdk:"category"` DisplayName types.String `tfsdk:"display_name"` FlavorType types.String `tfsdk:"flavor_type"` Name types.String `tfsdk:"name"` OnDemandPricing OnDemandPricingValue `tfsdk:"on_demand_pricing"` Region types.String `tfsdk:"region"` Resources ResourcesValue `tfsdk:"resources"` ServerclassProvider ServerclassProviderValue `tfsdk:"serverclass_provider"` Status StatusValue `tfsdk:"status"` }
type ServerclassProviderType ¶
type ServerclassProviderType struct {
basetypes.ObjectType
}
func (ServerclassProviderType) String ¶
func (t ServerclassProviderType) String() string
func (ServerclassProviderType) ValueFromObject ¶
func (t ServerclassProviderType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (ServerclassProviderType) ValueFromTerraform ¶
type ServerclassProviderValue ¶
type ServerclassProviderValue struct { FlavorId basetypes.StringValue `tfsdk:"flavor_id"` ProviderType basetypes.StringValue `tfsdk:"provider_type"` // contains filtered or unexported fields }
func NewServerclassProviderValue ¶
func NewServerclassProviderValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (ServerclassProviderValue, diag.Diagnostics)
func NewServerclassProviderValueNull ¶
func NewServerclassProviderValueNull() ServerclassProviderValue
func NewServerclassProviderValueUnknown ¶
func NewServerclassProviderValueUnknown() ServerclassProviderValue
func (ServerclassProviderValue) AttributeTypes ¶
func (ServerclassProviderValue) IsNull ¶
func (v ServerclassProviderValue) IsNull() bool
func (ServerclassProviderValue) IsUnknown ¶
func (v ServerclassProviderValue) IsUnknown() bool
func (ServerclassProviderValue) String ¶
func (v ServerclassProviderValue) String() string
func (ServerclassProviderValue) ToObjectValue ¶
func (v ServerclassProviderValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (ServerclassProviderValue) ToTerraformValue ¶
type SpotPricingType ¶
type SpotPricingType struct {
basetypes.ObjectType
}
func (SpotPricingType) String ¶
func (t SpotPricingType) String() string
func (SpotPricingType) ValueFromObject ¶
func (t SpotPricingType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (SpotPricingType) ValueFromTerraform ¶
type SpotPricingValue ¶
type SpotPricingValue struct { HammerPricePerHour basetypes.StringValue `tfsdk:"hammer_price_per_hour"` MarketPricePerHour basetypes.StringValue `tfsdk:"market_price_per_hour"` // contains filtered or unexported fields }
func NewSpotPricingValue ¶
func NewSpotPricingValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (SpotPricingValue, diag.Diagnostics)
func NewSpotPricingValueMust ¶
func NewSpotPricingValueNull ¶
func NewSpotPricingValueNull() SpotPricingValue
func NewSpotPricingValueUnknown ¶
func NewSpotPricingValueUnknown() SpotPricingValue
func (SpotPricingValue) AttributeTypes ¶
func (SpotPricingValue) IsNull ¶
func (v SpotPricingValue) IsNull() bool
func (SpotPricingValue) IsUnknown ¶
func (v SpotPricingValue) IsUnknown() bool
func (SpotPricingValue) String ¶
func (v SpotPricingValue) String() string
func (SpotPricingValue) ToObjectValue ¶
func (v SpotPricingValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (SpotPricingValue) ToTerraformValue ¶
type StatusType ¶
type StatusType struct {
basetypes.ObjectType
}
func (StatusType) String ¶
func (t StatusType) String() string
func (StatusType) ValueFromObject ¶
func (t StatusType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (StatusType) ValueFromTerraform ¶
type StatusValue ¶
type StatusValue struct { Available basetypes.Int64Value `tfsdk:"available"` Capacity basetypes.Int64Value `tfsdk:"capacity"` LastAuction basetypes.Int64Value `tfsdk:"last_auction"` Reserved basetypes.Int64Value `tfsdk:"reserved"` SpotPricing basetypes.ObjectValue `tfsdk:"spot_pricing"` // contains filtered or unexported fields }
func NewStatusValue ¶
func NewStatusValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (StatusValue, diag.Diagnostics)
func NewStatusValueMust ¶
func NewStatusValueNull ¶
func NewStatusValueNull() StatusValue
func NewStatusValueUnknown ¶
func NewStatusValueUnknown() StatusValue
func (StatusValue) AttributeTypes ¶
func (StatusValue) IsNull ¶
func (v StatusValue) IsNull() bool
func (StatusValue) IsUnknown ¶
func (v StatusValue) IsUnknown() bool
func (StatusValue) String ¶
func (v StatusValue) String() string
func (StatusValue) ToObjectValue ¶
func (v StatusValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (StatusValue) ToTerraformValue ¶
Click to show internal directories.
Click to hide internal directories.