memory

package
v0.0.0-...-bb13912 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPolicyRepository

func NewPolicyRepository() policies.Repository

NewPolicyRepository returns a new instance of a in-memory policy repository.

func NewResourceRepository

func NewResourceRepository() resources.Repository

NewResourceRepository returns a new instance of a in-memory resource repository.

func SetPolicies

func SetPolicies(repo policies.Repository, policies []policies.Policy) error

SetPolicies replace the current policy store with the given new policies.

func SetResources

func SetResources(repo resources.Repository, resources []resources.Resource) error

SetResources replace the current resource store with the given new resources.

Types

This section is empty.

Jump to

Keyboard shortcuts

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