rulesstore

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IRulesStore

type IRulesStore interface {
	GetRules() *model.Rules
	UpdateRules(cm *corev1.ConfigMap) error
}

type RulesStore

type RulesStore struct {
	Rules *model.Rules
	// contains filtered or unexported fields
}

func New

func New(cm *corev1.ConfigMap) (*RulesStore, error)

func (*RulesStore) GetRules added in v0.1.1

func (s *RulesStore) GetRules() *model.Rules

func (*RulesStore) UpdateRules added in v0.1.1

func (s *RulesStore) UpdateRules(cm *corev1.ConfigMap) error

Jump to

Keyboard shortcuts

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