Documentation
¶
Index ¶
- func DatabasesDataSourceSchema(ctx context.Context) schema.Schema
- type DatabasesModel
- type DatabasesType
- func (t DatabasesType) Equal(o attr.Type) bool
- func (t DatabasesType) String() string
- func (t DatabasesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t DatabasesType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t DatabasesType) ValueType(ctx context.Context) attr.Value
- type DatabasesValue
- func NewDatabasesValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (DatabasesValue, diag.Diagnostics)
- func NewDatabasesValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) DatabasesValue
- func NewDatabasesValueNull() DatabasesValue
- func NewDatabasesValueUnknown() DatabasesValue
- func (v DatabasesValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v DatabasesValue) Equal(o attr.Value) bool
- func (v DatabasesValue) IsNull() bool
- func (v DatabasesValue) IsUnknown() bool
- func (v DatabasesValue) String() string
- func (v DatabasesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v DatabasesValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v DatabasesValue) Type(ctx context.Context) attr.Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DatabasesModel ¶
type DatabasesType ¶
type DatabasesType struct {
basetypes.ObjectType
}
func (DatabasesType) String ¶
func (t DatabasesType) String() string
func (DatabasesType) ValueFromObject ¶
func (t DatabasesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (DatabasesType) ValueFromTerraform ¶
type DatabasesValue ¶
type DatabasesValue struct {
AllowAttach basetypes.BoolValue `tfsdk:"allow_attach"`
Archived basetypes.BoolValue `tfsdk:"archived"`
BlockReads basetypes.BoolValue `tfsdk:"block_reads"`
BlockWrites basetypes.BoolValue `tfsdk:"block_writes"`
DbId basetypes.StringValue `tfsdk:"db_id"`
Group basetypes.StringValue `tfsdk:"group"`
Hostname basetypes.StringValue `tfsdk:"hostname"`
IsSchema basetypes.BoolValue `tfsdk:"is_schema"`
Name basetypes.StringValue `tfsdk:"name"`
PrimaryRegion basetypes.StringValue `tfsdk:"primary_region"`
Regions basetypes.ListValue `tfsdk:"regions"`
Schema basetypes.StringValue `tfsdk:"schema"`
DatabasesType basetypes.StringValue `tfsdk:"type"`
Version basetypes.StringValue `tfsdk:"version"`
// contains filtered or unexported fields
}
func NewDatabasesValue ¶
func NewDatabasesValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (DatabasesValue, diag.Diagnostics)
func NewDatabasesValueMust ¶
func NewDatabasesValueNull ¶
func NewDatabasesValueNull() DatabasesValue
func NewDatabasesValueUnknown ¶
func NewDatabasesValueUnknown() DatabasesValue
func (DatabasesValue) AttributeTypes ¶
func (DatabasesValue) IsNull ¶
func (v DatabasesValue) IsNull() bool
func (DatabasesValue) IsUnknown ¶
func (v DatabasesValue) IsUnknown() bool
func (DatabasesValue) String ¶
func (v DatabasesValue) String() string
func (DatabasesValue) ToObjectValue ¶
func (v DatabasesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (DatabasesValue) ToTerraformValue ¶
Click to show internal directories.
Click to hide internal directories.