iface

package
v1.6.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

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

Variables

View Source
var FxOptionsFuncTag = config.GroupTag("policy-fx-funcs")

FxOptionsFuncTag allows sub-modules to provide their options to per policy apps independently.

Functions

func GetServiceShortDescription added in v0.22.0

func GetServiceShortDescription(serviceSelector *policylangv1.ServiceSelector) string

GetServiceShortDescription returns a short description of the service selector.

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