Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RepoType ¶
type RepoType string
RepoType defines the AWS data repository types supported (e.g. RDS, Redshift, DynamoDB, etc).
type Repository ¶
type Repository struct {
Id string
Name string
Type RepoType
CreatedAt time.Time
Tags []string
Properties any
}
Repository represents a scanned data repository.
type ScanError ¶ added in v0.1.1
type ScanError struct {
Errs []error
}
ScanError is an error type that represents a collection of errors that occurred during the scanning process.
type ScanResults ¶
type ScanResults struct {
Repositories map[string]Repository
}
ScanResults represents the results of a repository scan, including all the data repositories that were scanned. The map key is the repository ID and the value is the repository itself.
type Scanner ¶
type Scanner interface {
Scan(ctx context.Context) (*ScanResults, error)
}
Scanner is an interface that should be implemented for a specific cloud provider (e.g. AWS, GCP, etc). It defines the Scan method responsible for scanning the existing data repositories of the corresponding cloud provider environment.