guardrail

package
v0.37.2 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2026 License: Apache-2.0 Imports: 21 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package guardrail reconciles reusable detector connections and policy validation status.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectionReconciler

type ConnectionReconciler struct {
	client.Client
	StoreName              string
	Bao                    *baoapi.Client
	OpenBaoSecretMountPath string
}

ConnectionReconciler materializes reusable detector credentials and transports.

func (*ConnectionReconciler) Reconcile

func (r *ConnectionReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile validates and projects one detector connection.

func (*ConnectionReconciler) SetupWithManager

func (r *ConnectionReconciler) SetupWithManager(manager ctrl.Manager) error

SetupWithManager registers detector connection reconciliation.

type PolicyReconciler

type PolicyReconciler struct{ client.Client }

PolicyReconciler validates resolved policy capabilities as dependencies change.

func (*PolicyReconciler) Reconcile

func (r *PolicyReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile validates the complete detector configuration for one reusable policy.

func (*PolicyReconciler) SetupWithManager

func (r *PolicyReconciler) SetupWithManager(manager ctrl.Manager) error

SetupWithManager registers policy and detector dependency watches.

Jump to

Keyboard shortcuts

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