configsize

package
v1.136.0 Latest Latest
Warning

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

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

Documentation

Overview

Package configsize limits remotely loaded agent configurations.

Index

Constants

View Source
const MaxBytes int64 = 32 << 20

Variables

View Source
var ErrTooLarge = fmt.Errorf("agent configuration exceeds %d MiB limit", MaxBytes>>20)

Functions

func Read

func Read(r io.Reader) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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