logforwarderpolicy

package
v0.1.0-alpha.5 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package logforwarderpolicy owns the repository-internal semantics of the log-forwarder service's inner configuration.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Policy

type Policy struct {
	MinLevel       slog.Level
	ExcludeSources []string
}

Policy is the normalized log-forwarder policy consumed by the log-forwarder service.

func Resolve

func Resolve(raw json.RawMessage) (Policy, error)

Resolve decodes, defaults, normalizes, and validates enabled log-forwarder inner configuration. Callers must check outer activation before invoking it.

Jump to

Keyboard shortcuts

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