endoflifedate

package
v0.6.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(logger log.Logger, sqlDB *sql.DB) error

func Report

func Report(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 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) CreateTables

func (r Renovate) CreateTables() (err error)

func (Renovate) ProcessDependency

func (r Renovate) ProcessDependency(dep renovate.Dependency) error

func (Renovate) RetrieveEOLStatus

func (r Renovate) RetrieveEOLStatus(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