Help us shape the future of Go! Take the 2026 Go Developer Survey

invalidator

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: Apache-2.0 Imports: 31 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
	CELCache           *cache.CELCache
	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,
	metrics *metrics.ConfigRecorder,
) (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