Documentation
¶
Index ¶
- type RBCache
- func (c *RBCache) AddHandler(ctx context.Context, obj runtime.Object)
- func (c *RBCache) AddNotifier(n *chan rulebindingmanager.RuleBindingNotify)
- func (c *RBCache) DeleteHandler(_ context.Context, obj runtime.Object)
- func (c *RBCache) GetRuleCreator() rulecreator.RuleCreator
- func (c *RBCache) ListRulesForPod(namespace, name string) []rulemanagertypesv1.Rule
- func (c *RBCache) ModifyHandler(ctx context.Context, obj runtime.Object)
- func (c *RBCache) RefreshRuleBindingsRules()
- func (c *RBCache) WatchResources() []watcher.WatchResource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RBCache ¶
type RBCache struct {
// contains filtered or unexported fields
}
func NewCache ¶
func NewCache(config config.Config, k8sClient k8sclient.K8sClientInterface, ruleCreator rulecreator.RuleCreator) *RBCache
func NewCacheMock ¶ added in v0.2.285
func (*RBCache) AddNotifier ¶
func (c *RBCache) AddNotifier(n *chan rulebindingmanager.RuleBindingNotify)
func (*RBCache) DeleteHandler ¶
func (*RBCache) GetRuleCreator ¶ added in v0.2.145
func (c *RBCache) GetRuleCreator() rulecreator.RuleCreator
Expose the rule creator to be able to create rules from third party.
func (*RBCache) ListRulesForPod ¶
func (c *RBCache) ListRulesForPod(namespace, name string) []rulemanagertypesv1.Rule
func (*RBCache) ModifyHandler ¶
func (*RBCache) RefreshRuleBindingsRules ¶ added in v0.3.3
func (c *RBCache) RefreshRuleBindingsRules()
func (*RBCache) WatchResources ¶
func (c *RBCache) WatchResources() []watcher.WatchResource
Click to show internal directories.
Click to hide internal directories.