msk

package
v0.0.0-...-ee12758 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MskCluster     software.SoftwareType = "msk cluster"
	DefaultTimeout time.Duration         = time.Second * 15

	// From version 3.7.0, AWS start using 3.7.x version with automated patch update manage by themselves.
	// See https://docs.aws.amazon.com/msk/latest/developerguide/supported-kafka-versions.html#3.7.kraft
	//
	// When a candidate with x appears, we replace them with a 0 version to be still able to process them.
	SemVerWithX = `(\d+|x)\.(\d+|x)\.(\d+|x)`
)

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.MSKApi, 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