manager

package
v0.0.0-...-81a4f0c Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Consumer

type Consumer func(map[string]*models.AppPolicy, chan *models.AppMonitor)

type PolicyManager

type PolicyManager struct {
	// contains filtered or unexported fields
}

func NewPolicyManager

func NewPolicyManager(logger lager.Logger, clock clock.Clock, interval time.Duration,
	database db.PolicyDB, allowedMetricCache cache.Cache, cacheTTL time.Duration) *PolicyManager

func (*PolicyManager) RefreshAllowedMetricCache

func (pm *PolicyManager) RefreshAllowedMetricCache(policies map[string]*models.AppPolicy) error

func (*PolicyManager) Start

func (pm *PolicyManager) Start()

func (*PolicyManager) Stop

func (pm *PolicyManager) Stop()

Jump to

Keyboard shortcuts

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