database

package
v0.0.28 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() planmodifier.Object

func NewDatabaseResource

func NewDatabaseResource() resource.Resource

func NewDatabasesDataSource

func NewDatabasesDataSource() datasource.DataSource

Types

type DatabaseModel

type DatabaseModel struct {
	ID        types.String `tfsdk:"id"`
	Name      types.String `tfsdk:"name"`
	ClusterID types.String `tfsdk:"cluster_id"`
	Status    types.String `tfsdk:"status"`
	CreatedAt types.String `tfsdk:"created_at"`
	PgVersion types.String `tfsdk:"pg_version"`
	// StorageUsed    types.Int64  `tfsdk:"storage_used"`
	Domain        types.String `tfsdk:"domain"`
	ConfigVersion types.String `tfsdk:"config_version"`
	Options       types.List   `tfsdk:"options"`
	Backups       types.Object `tfsdk:"backups"`
	Components    types.List   `tfsdk:"components"`
	Extensions    types.Object `tfsdk:"extensions"`
	Nodes         types.Map    `tfsdk:"nodes"`
	Roles         types.List   `tfsdk:"roles"`
}

type DatabasesDataSourceModel

type DatabasesDataSourceModel struct {
	Databases []DatabaseModel `tfsdk:"databases"`
}

Jump to

Keyboard shortcuts

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