Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cell = cell.Module( "policy-directory-watcher", "Watches Directory for cilium network policy file updates", cell.Config(defaultConfig), cell.Provide(providePolicyWatcher), )
Cell provides the Directory policy watcher. The Directory policy watcher watches CiliumNetworkPolicy, CiliumClusterWideNetworkPolicy created/deleted under a directory specified through cilium config. It reads and translates them to Cilium's own policy representation (api.Rules) and updates the policy repository (via PolicyManager) accordingly.
Functions ¶
This section is empty.
Types ¶
type DirectoryWatcherReadStatus ¶
type DirectoryWatcherReadStatus interface {
Wait()
}
type PolicyWatcherParams ¶
type PolicyWatcherParams struct { cell.In Lifecycle cell.Lifecycle Logger logrus.FieldLogger Importer policycell.PolicyImporter }
Click to show internal directories.
Click to hide internal directories.