Documentation
¶
Index ¶
- func CoreClusterResourceSchema(ctx context.Context) schema.Schema
- type CoreClusterModel
- type FeaturesType
- func (t FeaturesType) Equal(o attr.Type) bool
- func (t FeaturesType) String() string
- func (t FeaturesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t FeaturesType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t FeaturesType) ValueType(ctx context.Context) attr.Value
- type FeaturesValue
- func NewFeaturesValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (FeaturesValue, diag.Diagnostics)
- func NewFeaturesValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) FeaturesValue
- func NewFeaturesValueNull() FeaturesValue
- func NewFeaturesValueUnknown() FeaturesValue
- func (v FeaturesValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v FeaturesValue) Equal(o attr.Value) bool
- func (v FeaturesValue) IsNull() bool
- func (v FeaturesValue) IsUnknown() bool
- func (v FeaturesValue) String() string
- func (v FeaturesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v FeaturesValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v FeaturesValue) Type(ctx context.Context) attr.Type
- type LabelsType
- func (t LabelsType) Equal(o attr.Type) bool
- func (t LabelsType) String() string
- func (t LabelsType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t LabelsType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t LabelsType) ValueType(ctx context.Context) attr.Value
- type LabelsValue
- func NewLabelsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (LabelsValue, diag.Diagnostics)
- func NewLabelsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) LabelsValue
- func NewLabelsValueNull() LabelsValue
- func NewLabelsValueUnknown() LabelsValue
- func (v LabelsValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v LabelsValue) Equal(o attr.Value) bool
- func (v LabelsValue) IsNull() bool
- func (v LabelsValue) IsUnknown() bool
- func (v LabelsValue) String() string
- func (v LabelsValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v LabelsValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v LabelsValue) Type(ctx context.Context) attr.Type
- type NodeFlavorType
- func (t NodeFlavorType) Equal(o attr.Type) bool
- func (t NodeFlavorType) String() string
- func (t NodeFlavorType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t NodeFlavorType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t NodeFlavorType) ValueType(ctx context.Context) attr.Value
- type NodeFlavorValue
- func NewNodeFlavorValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (NodeFlavorValue, diag.Diagnostics)
- func NewNodeFlavorValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) NodeFlavorValue
- func NewNodeFlavorValueNull() NodeFlavorValue
- func NewNodeFlavorValueUnknown() NodeFlavorValue
- func (v NodeFlavorValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v NodeFlavorValue) Equal(o attr.Value) bool
- func (v NodeFlavorValue) IsNull() bool
- func (v NodeFlavorValue) IsUnknown() bool
- func (v NodeFlavorValue) String() string
- func (v NodeFlavorValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v NodeFlavorValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v NodeFlavorValue) Type(ctx context.Context) attr.Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CoreClusterModel ¶
type CoreClusterModel struct {
ApiAddress types.String `tfsdk:"api_address"`
CreatedAt types.String `tfsdk:"created_at"`
EnvironmentName types.String `tfsdk:"environment_name"`
Id types.Int64 `tfsdk:"id"`
ImageName types.String `tfsdk:"image_name"`
KeypairName types.String `tfsdk:"keypair_name"`
KubeConfig types.String `tfsdk:"kube_config"`
KubernetesVersion types.String `tfsdk:"kubernetes_version"`
MasterFlavorName types.String `tfsdk:"master_flavor_name"`
MasterCount types.Int64 `tfsdk:"master_count"`
Name types.String `tfsdk:"name"`
NodeCount types.Int64 `tfsdk:"node_count"`
NodeFlavor NodeFlavorValue `tfsdk:"node_flavor"`
NodeFlavorName types.String `tfsdk:"node_flavor_name"`
DeploymentMode types.String `tfsdk:"deployment_mode"`
Status types.String `tfsdk:"status"`
StatusReason types.String `tfsdk:"status_reason"`
}
type FeaturesType ¶
type FeaturesType struct {
basetypes.ObjectType
}
func (FeaturesType) String ¶
func (t FeaturesType) String() string
func (FeaturesType) ValueFromObject ¶
func (t FeaturesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (FeaturesType) ValueFromTerraform ¶
type FeaturesValue ¶
type FeaturesValue struct {
// contains filtered or unexported fields
}
func NewFeaturesValue ¶
func NewFeaturesValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (FeaturesValue, diag.Diagnostics)
func NewFeaturesValueMust ¶
func NewFeaturesValueNull ¶
func NewFeaturesValueNull() FeaturesValue
func NewFeaturesValueUnknown ¶
func NewFeaturesValueUnknown() FeaturesValue
func (FeaturesValue) AttributeTypes ¶
func (FeaturesValue) IsNull ¶
func (v FeaturesValue) IsNull() bool
func (FeaturesValue) IsUnknown ¶
func (v FeaturesValue) IsUnknown() bool
func (FeaturesValue) String ¶
func (v FeaturesValue) String() string
func (FeaturesValue) ToObjectValue ¶
func (v FeaturesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (FeaturesValue) ToTerraformValue ¶
type LabelsType ¶
type LabelsType struct {
basetypes.ObjectType
}
func (LabelsType) String ¶
func (t LabelsType) String() string
func (LabelsType) ValueFromObject ¶
func (t LabelsType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (LabelsType) ValueFromTerraform ¶
type LabelsValue ¶
type LabelsValue struct {
Id basetypes.Int64Value `tfsdk:"id"`
Label basetypes.StringValue `tfsdk:"label"`
// contains filtered or unexported fields
}
func NewLabelsValue ¶
func NewLabelsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (LabelsValue, diag.Diagnostics)
func NewLabelsValueMust ¶
func NewLabelsValueNull ¶
func NewLabelsValueNull() LabelsValue
func NewLabelsValueUnknown ¶
func NewLabelsValueUnknown() LabelsValue
func (LabelsValue) AttributeTypes ¶
func (LabelsValue) IsNull ¶
func (v LabelsValue) IsNull() bool
func (LabelsValue) IsUnknown ¶
func (v LabelsValue) IsUnknown() bool
func (LabelsValue) String ¶
func (v LabelsValue) String() string
func (LabelsValue) ToObjectValue ¶
func (v LabelsValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (LabelsValue) ToTerraformValue ¶
type NodeFlavorType ¶
type NodeFlavorType struct {
basetypes.ObjectType
}
func (NodeFlavorType) String ¶
func (t NodeFlavorType) String() string
func (NodeFlavorType) ValueFromObject ¶
func (t NodeFlavorType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (NodeFlavorType) ValueFromTerraform ¶
type NodeFlavorValue ¶
type NodeFlavorValue struct {
Cpu basetypes.Int64Value `tfsdk:"cpu"`
Disk basetypes.Int64Value `tfsdk:"disk"`
Ephemeral basetypes.Int64Value `tfsdk:"ephemeral"`
Features basetypes.ObjectValue `tfsdk:"features"`
Gpu basetypes.StringValue `tfsdk:"gpu"`
GpuCount basetypes.Int64Value `tfsdk:"gpu_count"`
Id basetypes.Int64Value `tfsdk:"id"`
Labels basetypes.ListValue `tfsdk:"labels"`
Name basetypes.StringValue `tfsdk:"name"`
Ram basetypes.NumberValue `tfsdk:"ram"`
// contains filtered or unexported fields
}
func NewNodeFlavorValue ¶
func NewNodeFlavorValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (NodeFlavorValue, diag.Diagnostics)
func NewNodeFlavorValueMust ¶
func NewNodeFlavorValueNull ¶
func NewNodeFlavorValueNull() NodeFlavorValue
func NewNodeFlavorValueUnknown ¶
func NewNodeFlavorValueUnknown() NodeFlavorValue
func (NodeFlavorValue) AttributeTypes ¶
func (NodeFlavorValue) IsNull ¶
func (v NodeFlavorValue) IsNull() bool
func (NodeFlavorValue) IsUnknown ¶
func (v NodeFlavorValue) IsUnknown() bool
func (NodeFlavorValue) String ¶
func (v NodeFlavorValue) String() string
func (NodeFlavorValue) ToObjectValue ¶
func (v NodeFlavorValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (NodeFlavorValue) ToTerraformValue ¶
Click to show internal directories.
Click to hide internal directories.