dayspl

package
v0.0.0-...-29bd094 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TemplateID of the rule
	TemplateID = "nDaysSinceLastPull"

	// ParameterN is the name of the metadata parameter for the N value
	ParameterN = TemplateID

	// DefaultN is the default number of days that an artifact must have
	// been pulled within to retain the tag or artifact.
	DefaultN = 30
)

Variables

This section is empty.

Functions

func New

func New(params rule.Parameters) rule.Evaluator

New constructs a new 'Days Since Last Pull' evaluator

func Valid

func Valid(params rule.Parameters) error

Valid ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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