config

package
v0.30.6 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// BackfillMaxDaysDefault is the default lookback window (in days) for PR
	// size backfill. Override at runtime with BACKFILL_MAX_DAYS env var.
	BackfillMaxDaysDefault = 90
	BackfillMaxDaysEnvKey  = "BACKFILL_MAX_DAYS"
)

Variables

This section is empty.

Functions

func BackfillMaxDays added in v0.30.5

func BackfillMaxDays() int

BackfillMaxDays returns the configured backfill window in days.

func GetEnv

func GetEnv(key, defaultValue string) string

GetEnv retrieves the value of the environment variable named by the key. If the variable is present in the environment, its value is returned. Otherwise, the provided defaultValue is returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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