core

package
v0.0.0-...-17e6b21 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 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 ComplianceEngine

type ComplianceEngine interface {
	ValidateCompliance(ctx context.Context, policyID string, data interface{}) (bool, error)
	EnforcePolicy(ctx context.Context, policyID string) error
	AuditAction(ctx context.Context, action string, metadata map[string]interface{}) error
}

ComplianceEngine defines the core compliance functionality

type PolicyManager

type PolicyManager interface {
	CreatePolicy(ctx context.Context, policy Policy) error
	UpdatePolicy(ctx context.Context, policyID string, policy Policy) error
	DeletePolicy(ctx context.Context, policyID string) error
	GetPolicy(ctx context.Context, policyID string) (*Policy, error)
}

PolicyManager handles policy management

type WorkflowEngine

type WorkflowEngine interface {
	StartWorkflow(ctx context.Context, workflowID string, input interface{}) error
	StopWorkflow(ctx context.Context, workflowID string) error
	GetWorkflowStatus(ctx context.Context, workflowID string) (*WorkflowStatus, error)
}

WorkflowEngine manages compliance workflows

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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