Documentation
¶
Index ¶
Constants ¶
View Source
const ResourceIDAnonymous = "policy/anonymous"
ResourceIDAnonymous is the anonymous ipcache resource used as a placeholder for policies that allocate CIDRs but do not have an owning resource. (This is only used for policies created by the local API).
Variables ¶
View Source
var Cell = cell.Module( "policy", "Contains policy rules", cell.Provide(newPolicyRepo), cell.Provide(newPolicyUpdater), cell.Provide(newPolicyImporter), cell.Config(defaultConfig), )
Cell provides the PolicyRepository and PolicyUpdater.
Functions ¶
This section is empty.
Types ¶
type PolicyImporter ¶
type PolicyImporter interface {
UpdatePolicy(*policytypes.PolicyUpdate)
}
Click to show internal directories.
Click to hide internal directories.