Documentation
¶
Index ¶
- func DatabaseDataSourceSchema(ctx context.Context) schema.Schema
- func DatabasesDataSourceSchema(ctx context.Context) schema.Schema
- type DatabaseModel
- 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
- type PaginationType
- func (t PaginationType) Equal(o attr.Type) bool
- func (t PaginationType) String() string
- func (t PaginationType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t PaginationType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t PaginationType) ValueType(ctx context.Context) attr.Value
- type PaginationValue
- func NewPaginationValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (PaginationValue, diag.Diagnostics)
- func NewPaginationValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) PaginationValue
- func NewPaginationValueNull() PaginationValue
- func NewPaginationValueUnknown() PaginationValue
- func (v PaginationValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v PaginationValue) Equal(o attr.Value) bool
- func (v PaginationValue) IsNull() bool
- func (v PaginationValue) IsUnknown() bool
- func (v PaginationValue) String() string
- func (v PaginationValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v PaginationValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v PaginationValue) Type(ctx context.Context) attr.Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DatabaseModel ¶
type DatabaseModel struct {
DatabaseId types.Int64 `tfsdk:"database_id"`
Id types.Int64 `tfsdk:"tf_original_api_id"`
InstanceId types.String `tfsdk:"instance_id"`
Name types.String `tfsdk:"name"`
Owner types.String `tfsdk:"owner"`
ProjectId types.String `tfsdk:"project_id"`
Region types.String `tfsdk:"region"`
}
type DatabasesModel ¶
type DatabasesModel struct {
Databases types.List `tfsdk:"databases"`
InstanceId types.String `tfsdk:"instance_id"`
Page types.Int64 `tfsdk:"page"`
Pagination PaginationValue `tfsdk:"pagination"`
ProjectId types.String `tfsdk:"project_id"`
Region types.String `tfsdk:"region"`
Size types.Int64 `tfsdk:"size"`
Sort types.String `tfsdk:"sort"`
}
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 {
Id basetypes.Int64Value `tfsdk:"id"`
Name basetypes.StringValue `tfsdk:"name"`
Owner basetypes.StringValue `tfsdk:"owner"`
// 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 ¶
type PaginationType ¶
type PaginationType struct {
basetypes.ObjectType
}
func (PaginationType) String ¶
func (t PaginationType) String() string
func (PaginationType) ValueFromObject ¶
func (t PaginationType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (PaginationType) ValueFromTerraform ¶
type PaginationValue ¶
type PaginationValue struct {
Page basetypes.Int64Value `tfsdk:"page"`
Size basetypes.Int64Value `tfsdk:"size"`
Sort basetypes.StringValue `tfsdk:"sort"`
TotalPages basetypes.Int64Value `tfsdk:"total_pages"`
TotalRows basetypes.Int64Value `tfsdk:"total_rows"`
// contains filtered or unexported fields
}
func NewPaginationValue ¶
func NewPaginationValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (PaginationValue, diag.Diagnostics)
func NewPaginationValueMust ¶
func NewPaginationValueNull ¶
func NewPaginationValueNull() PaginationValue
func NewPaginationValueUnknown ¶
func NewPaginationValueUnknown() PaginationValue
func (PaginationValue) AttributeTypes ¶
func (PaginationValue) IsNull ¶
func (v PaginationValue) IsNull() bool
func (PaginationValue) IsUnknown ¶
func (v PaginationValue) IsUnknown() bool
func (PaginationValue) String ¶
func (v PaginationValue) String() string
func (PaginationValue) ToObjectValue ¶
func (v PaginationValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (PaginationValue) ToTerraformValue ¶
Click to show internal directories.
Click to hide internal directories.