config

package
v1.5.4 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package config holds process-wide limits that rekor-server populates from viper at startup. These are read on hot paths, so they are plain variables rather than repeated viper lookups, which allocate on every call.

Index

Constants

This section is empty.

Variables

View Source
var (
	MaxAPKMetadataSize uint64
	MaxJarMetadataSize uint64
)

Zero means unlimited. rekor-server overrides these from config at startup; defaulting to zero preserves the unbounded behavior other callers (e.g. rekor-cli) get when the flags were never registered with viper.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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