forked from TrueCloudLab/policy-engine
13 lines
455 B
Go
13 lines
455 B
Go
|
package policyengine
|
||
|
|
||
|
// CachedChainStorage ...
|
||
|
type CachedChainStorage interface {
|
||
|
Engine
|
||
|
// Adds a policy chain used for all operations with a specific resource.
|
||
|
AddResourceChain(name Name, resource string, c *Chain)
|
||
|
// Adds a policy chain used for all operations in the namespace.
|
||
|
AddNameSpaceChain(name Name, namespace string, c *Chain)
|
||
|
// Adds a local policy chain used for all operations with this service.
|
||
|
AddOverride(name Name, c *Chain)
|
||
|
}
|