rds

package
v0.0.0-...-86aec00 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RdsPostgreSQL       software.SoftwareType = "rds-postgresql"
	RdsAuroraPostgreSQL software.SoftwareType = "rds-aurora-postgresql"
	RdsAuroraMySQL      software.SoftwareType = "rds-aurora-mysql"
	RdsMariaDB          software.SoftwareType = "rds-mariadb"
	RdsDocDB            software.SoftwareType = "rds-docdb"
	RdsMySQL            software.SoftwareType = "rds-mysql"
	RdsOracle           software.SoftwareType = "rds-oracle-ee"
	RdsNeptune          software.SoftwareType = "rds-neptune"
	DefaultTimeout      time.Duration         = time.Second * 15
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Enabled          bool           `yaml:"enabled"`
	AggregationLevel string         `yaml:"aggregation-level"` // cluster or instance
	RequestTimeout   string         `yaml:"request-timeout"`
	Filters          filters.Config `yaml:"filters"`
}

type Source

type Source struct {
	// contains filtered or unexported fields
}

func NewSource

func NewSource(api aws.RDSApi, log *slog.Logger, cfg *Config) (*Source, error)

func (*Source) Load

func (s *Source) Load() ([]*software.Software, error)

func (*Source) Name

func (s *Source) Name() string

Jump to

Keyboard shortcuts

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