elasticache

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: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RedisElasticacheCluster     software.SoftwareType = "elasticache-redis"
	MemcachedElasticacheCluster software.SoftwareType = "elasticache-memcached"
	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"`
	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.ElasticacheApi, 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

type VersionProvider

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

func NewProvider

func NewProvider(log *slog.Logger, api aws.ElasticacheApi) (*VersionProvider, error)

func (*VersionProvider) LoadCandidates

func (vp *VersionProvider) LoadCandidates(soft *software.Software, engine string, filter filters.Filter) error

Jump to

Keyboard shortcuts

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