policy

package
v0.511.0 Latest Latest
Warning

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

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

README

Application Policy Module

Application wrapper for loading effective audit policy.

Files

File Responsibility
load.go Delegates policy loading to infrastructure-backed config adapters

Exports

  • Load(path string)

Dependencies

  • Upstream: future CLI and application audit use cases
  • Downstream: internal/domain/policy, internal/infrastructure/config/viper

Update Rule

  • If members/interfaces/dependencies change, update this file in same change.

Documentation

Overview

Package policy loads audit policy for application use cases. input: optional config file paths and infrastructure config loaders output: application-facing policy loading entrypoint pos: application wrapper over infrastructure-backed policy loading note: if this file changes, update this header and module README.md.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(path string) (domainpolicy.Policy, error)

Load returns the effective policy using defaults plus any optional file override.

Types

This section is empty.

Jump to

Keyboard shortcuts

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