endoflifedate

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

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

func Report

func Report(ctx context.Context, logger log.Logger, sqlDB *sql.DB) error

Types

type Cycle

type Cycle struct {
	// Cycle Release Cycle, i.e. `19`, `22.04`
	Cycle string
	// SupportedUntil Date supported until
	SupportedUntil string
	// EolFrom End of Life Date for this release cycle
	EolFrom string
}

func (Cycle) IsEol

func (c Cycle) IsEol() bool

IsEol Whether the cycle is End Of Life (EOL)

func (Cycle) IsUnsupported

func (c Cycle) IsUnsupported() bool

IsUnsupported whether the cycle is still actively supported

type EndOfLifeDate added in v0.15.1

type EndOfLifeDate struct{}

func (*EndOfLifeDate) AnonymiseData added in v0.15.1

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

func (*EndOfLifeDate) CreateTables added in v0.15.1

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

type Product

type Product struct {
	Name string
}

type Renovate

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

func NewRenovate

func NewRenovate(sqlDB *sql.DB, client *client.ClientWithResponses, logger log.Logger) Renovate

func (Renovate) ProcessDependency

func (r Renovate) ProcessDependency(ctx context.Context, dep renovate.Dependency) error

func (Renovate) RetrieveEOLStatus

func (r Renovate) RetrieveEOLStatus(ctx context.Context, dep renovate.Dependency) (p Product, c Cycle, ok bool)

Directories

Path Synopsis
Package client provides primitives to interact with the openapi HTTP API.
Package client provides primitives to interact with the openapi HTTP API.

Jump to

Keyboard shortcuts

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