databasebackups

package
v2.20.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDataSource

func NewDataSource() datasource.DataSource

Types

type DataSource

type DataSource struct {
	helper.BaseDataSource
}

func (*DataSource) Read

type DatabaseBackupFilterModel

type DatabaseBackupFilterModel struct {
	DatabaseID   types.Int64                      `tfsdk:"database_id"`
	ID           types.Int64                      `tfsdk:"id"`
	DatabaseType types.String                     `tfsdk:"database_type"`
	Latest       types.Bool                       `tfsdk:"latest"`
	Order        types.String                     `tfsdk:"order"`
	OrderBy      types.String                     `tfsdk:"order_by"`
	Filters      frameworkfilter.FiltersModelType `tfsdk:"filter"`
	Backups      []DatabaseBackupModel            `tfsdk:"backups"`
}

type DatabaseBackupModel

type DatabaseBackupModel struct {
	Created types.String `tfsdk:"created"`
	Label   types.String `tfsdk:"label"`
	ID      types.Int64  `tfsdk:"id"`
	Type    types.String `tfsdk:"type"`
}

func (*DatabaseBackupModel) ParseMySQLBackup

func (m *DatabaseBackupModel) ParseMySQLBackup(backup linodego.MySQLDatabaseBackup)

func (*DatabaseBackupModel) ParsePostgresSQLBackup

func (m *DatabaseBackupModel) ParsePostgresSQLBackup(backup linodego.PostgresDatabaseBackup)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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