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.
Click to show internal directories.
Click to hide internal directories.