rulesupdate

package
v0.2.113 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OperatorCommandTypeRuntimeUpdateRules = "RuntimeUpdateRules"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type RulesUpdater

type RulesUpdater struct {
	// contains filtered or unexported fields
}

func NewRulesUpdator

func NewRulesUpdator(ctx context.Context, k8sClient *k8sinterface.KubernetesApi, config RulesUpdaterConfig) *RulesUpdater

func (*RulesUpdater) SendUpdateRulesCommand

func (ru *RulesUpdater) SendUpdateRulesCommand() error

func (*RulesUpdater) Start

func (ru *RulesUpdater) Start()

type RulesUpdaterConfig

type RulesUpdaterConfig struct {
	Interval  time.Duration `mapstructure:"interval"`
	Namespace string        `mapstructure:"namespace"`
	Enabled   bool          `mapstructure:"enabled"`
}

Jump to

Keyboard shortcuts

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