store

package
v0.0.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BrowserConfigStore

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

BrowserConfigStore keeps an in-memory cache of BrowserVersionConfig objects.

func NewBrowserConfigStore

func NewBrowserConfigStore() *BrowserConfigStore

func (*BrowserConfigStore) Get

func (s *BrowserConfigStore) Get(namespace, browserName, version string) (*configv1.BrowserVersionConfigSpec, bool)

Get retrieves BrowserVersionConfig from the in-memory store.

func (*BrowserConfigStore) Start

func (s *BrowserConfigStore) Start(ctx context.Context) error

Start wires up informer from mgr.GetCache and listens for add/update/delete events.

func (*BrowserConfigStore) WithCache

WithCache injects the controller-runtime cache and logger into the store.

Jump to

Keyboard shortcuts

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