awsrds

package
v0.46.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateEndOfLife

func GenerateEndOfLife(ctx context.Context, logger *slog.Logger, sqlDB *sql.DB, pw progress.Writer) error

func NewImporter

func NewImporter() importer

func NewParser

func NewParser() parser

Types

type AWSRds

type AWSRds struct{}

func (*AWSRds) AnonymiseData

func (*AWSRds) AnonymiseData(ctx context.Context, sqlDB *sql.DB, orgs []string) (err error)

func (*AWSRds) CreateTables

func (*AWSRds) CreateTables(ctx context.Context, sqlDB *sql.DB) error

func (*AWSRds) Name

func (*AWSRds) Name() string

type Database

type Database struct {
	AccountId     string
	Region        string
	ARN           string
	Name          string
	Engine        string
	EngineVersion string
	Tags          map[string]string
}

func RetrieveAll

func RetrieveAll(ctx context.Context, sqlDB *sql.DB) ([]Database, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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