Help us shape the future of Go! Take the 2026 Go Developer Survey

database

package
v0.114.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2026 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDatabaseDataSource

func NewDatabaseDataSource() datasource.DataSource

func NewDatabaseResource

func NewDatabaseResource() resource.Resource

Types

type DatasourceModel

type DatasourceModel struct {
	SharedModel
	Timeouts timeouts.Value `tfsdk:"timeouts"`
}

type Model

type Model struct {
	SharedModel
	Timeouts timeouts.Value `tfsdk:"timeouts"`
}

type SharedModel

type SharedModel struct {
	Id            types.String `tfsdk:"id"`
	ProjectId     types.String `tfsdk:"project_id"`
	Region        types.String `tfsdk:"region"`
	InstanceId    types.String `tfsdk:"instance_id"`
	Name          types.String `tfsdk:"name"`
	Collation     types.String `tfsdk:"collation"`
	Compatibility types.Int64  `tfsdk:"compatibility"`
	Owner         types.String `tfsdk:"owner"`
	DatabaseId    types.Int64  `tfsdk:"database_id"`
}

Jump to

Keyboard shortcuts

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