policy

package
v0.12.7 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DecideFunc

type DecideFunc func(ctx context.Context, path string, input any) (any, error)

Make a decision based on the configured policy. `path` is the path to the value that the decision is being made on. `input` is additional context data for the decision making.

Directories

Path Synopsis
This is an adaptation of https://github.com/open-policy-agent/contrib/blob/main/logging/plugins/ozap/zap.go.
This is an adaptation of https://github.com/open-policy-agent/contrib/blob/main/logging/plugins/ozap/zap.go.

Jump to

Keyboard shortcuts

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