Documentation
¶
Index ¶
- type Bucket
- type RuleRepository
- func (repo *RuleRepository) Close() error
- func (repo *RuleRepository) GetAll(ctx context.Context) ([]rule.Ruleset, error)
- func (repo *RuleRepository) InitCache(ctx context.Context, refreshDelay time.Duration) error
- func (repo *RuleRepository) Upsert(ctx context.Context, name string, config rule.Ruleset) (rule.Config, error)
- type SchemaConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bucket ¶
type RuleRepository ¶
type RuleRepository struct {
// contains filtered or unexported fields
}
func NewRuleRepository ¶
func NewRuleRepository(logger log.Logger, b Bucket) *RuleRepository
func (*RuleRepository) Close ¶
func (repo *RuleRepository) Close() error
type SchemaConfig ¶
type SchemaConfig struct {
// contains filtered or unexported fields
}
func NewSchemaConfigRepository ¶
func NewSchemaConfigRepository(b Bucket) *SchemaConfig
func (*SchemaConfig) GetSchema ¶
func (s *SchemaConfig) GetSchema(ctx context.Context) (schema.NamespaceConfigMapType, error)
func (*SchemaConfig) UpsertResourceConfigs ¶ added in v0.6.34
func (repo *SchemaConfig) UpsertResourceConfigs(ctx context.Context, name string, config schema.NamespaceConfigMapType) (schema.Config, error)
Click to show internal directories.
Click to hide internal directories.