Documentation
¶
Index ¶
- func DatabaseInstanceDataSourceSchema(ctx context.Context) schema.Schema
- type DatabaseInstanceModel
- type InstanceType
- func (t InstanceType) Equal(o attr.Type) bool
- func (t InstanceType) String() string
- func (t InstanceType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t InstanceType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t InstanceType) ValueType(ctx context.Context) attr.Value
- type InstanceValue
- func NewInstanceValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (InstanceValue, diag.Diagnostics)
- func NewInstanceValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) InstanceValue
- func NewInstanceValueNull() InstanceValue
- func NewInstanceValueUnknown() InstanceValue
- func (v InstanceValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v InstanceValue) Equal(o attr.Value) bool
- func (v InstanceValue) IsNull() bool
- func (v InstanceValue) IsUnknown() bool
- func (v InstanceValue) String() string
- func (v InstanceValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v InstanceValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v InstanceValue) Type(ctx context.Context) attr.Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DatabaseInstanceModel ¶
type DatabaseInstanceModel struct { DatabaseName types.String `tfsdk:"database_name"` Instance InstanceValue `tfsdk:"instance"` InstanceName types.String `tfsdk:"instance_name"` }
type InstanceType ¶
type InstanceType struct {
basetypes.ObjectType
}
func (InstanceType) String ¶
func (t InstanceType) String() string
func (InstanceType) ValueFromObject ¶
func (t InstanceType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (InstanceType) ValueFromTerraform ¶
type InstanceValue ¶
type InstanceValue struct { Hostname basetypes.StringValue `tfsdk:"hostname"` Name basetypes.StringValue `tfsdk:"name"` Region basetypes.StringValue `tfsdk:"region"` InstanceType basetypes.StringValue `tfsdk:"type"` Uuid basetypes.StringValue `tfsdk:"uuid"` // contains filtered or unexported fields }
func NewInstanceValue ¶
func NewInstanceValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (InstanceValue, diag.Diagnostics)
func NewInstanceValueMust ¶
func NewInstanceValueNull ¶
func NewInstanceValueNull() InstanceValue
func NewInstanceValueUnknown ¶
func NewInstanceValueUnknown() InstanceValue
func (InstanceValue) AttributeTypes ¶
func (InstanceValue) IsNull ¶
func (v InstanceValue) IsNull() bool
func (InstanceValue) IsUnknown ¶
func (v InstanceValue) IsUnknown() bool
func (InstanceValue) String ¶
func (v InstanceValue) String() string
func (InstanceValue) ToObjectValue ¶
func (v InstanceValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (InstanceValue) ToTerraformValue ¶
Click to show internal directories.
Click to hide internal directories.