invalidator

package
v0.13.5 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2026 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheInvalidator

type CacheInvalidator struct {
	client.Client

	Rest *rest.Config
	Log  logr.Logger

	Configuration configuration.Configuration

	RegistryCache      *cache.RegistryRuleSetCache
	TargetsCache       *cache.CompiledTargetsCache[string]
	JSONPathCache      *cache.JSONPathCache
	ImpersonationCache *cache.ImpersonationCache
	RegexCache         *cache.RegexCache
	// contains filtered or unexported fields
}

func (*CacheInvalidator) NeedLeaderElection

func (r *CacheInvalidator) NeedLeaderElection() bool

func (*CacheInvalidator) Reconcile

func (r *CacheInvalidator) Reconcile(ctx context.Context, request reconcile.Request) (res reconcile.Result, err error)

func (*CacheInvalidator) SetupWithManager

func (r *CacheInvalidator) SetupWithManager(mgr ctrl.Manager, ctrlConfig utils.ControllerOptions) (err error)

func (*CacheInvalidator) Start

func (r *CacheInvalidator) Start(ctx context.Context) error

Start is the Runnable function triggered upon Manager start-up to perform cache population.

Jump to

Keyboard shortcuts

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