datasource_databases

package
v0.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DatabasesDataSourceSchema

func DatabasesDataSourceSchema(ctx context.Context) schema.Schema

Types

type DatabasesModel

type DatabasesModel struct {
	Databases types.List   `tfsdk:"databases"`
	Group     types.String `tfsdk:"group"`
	Schema    types.String `tfsdk:"schema"`
}

type DatabasesType

type DatabasesType struct {
	basetypes.ObjectType
}

func (DatabasesType) Equal

func (t DatabasesType) Equal(o attr.Type) bool

func (DatabasesType) String

func (t DatabasesType) String() string

func (DatabasesType) ValueFromObject

func (DatabasesType) ValueFromTerraform

func (t DatabasesType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (DatabasesType) ValueType

func (t DatabasesType) ValueType(ctx context.Context) attr.Value

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 NewDatabasesValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) DatabasesValue

func NewDatabasesValueNull

func NewDatabasesValueNull() DatabasesValue

func NewDatabasesValueUnknown

func NewDatabasesValueUnknown() DatabasesValue

func (DatabasesValue) AttributeTypes

func (v DatabasesValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (DatabasesValue) Equal

func (v DatabasesValue) Equal(o attr.Value) bool

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 (DatabasesValue) ToTerraformValue

func (v DatabasesValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (DatabasesValue) Type

func (v DatabasesValue) Type(ctx context.Context) attr.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL