storage

package
v0.2.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2018 License: MPL-2.0 Imports: 1 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CollectorSetName

type CollectorSetName = string

CollectorSetName is a type used for keys in a PolicyMap.

type PolicyStore

type PolicyStore interface {
	GetPolicy(CollectorSetName) (*policy.Policy, bool)
	SetPolicy(CollectorSetName, *policy.Policy) error
	DeletePolicy(CollectorSetName) error
	IterPolicies() <-chan *policy.Policy
}

PolicyStore is an interface for handling the policy cache.

type Storage

type Storage interface {
	PolicyStore
}

Storage is an interface used for storing cached state.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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