iface

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2022 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// PoliciesRoot - path in config and status registry for policies results.
	PoliciesRoot = "policies"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Policy

type Policy interface {
	PolicyBase
	GetEvaluationInterval() time.Duration
	GetStatusRegistry() status.Registry
}

Policy is for read only access to full policy state.

type PolicyBase

type PolicyBase interface {
	GetPolicyName() string
	GetPolicyHash() string
}

PolicyBase is for read only access to base policy info.

Jump to

Keyboard shortcuts

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