projectcache

package
v1.27.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type C

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

C is a cache for project data.

func New

func New(projectLister projectLister, log logr.Logger) *C

New creates a new project cache instance.

func (*C) GetProject

func (c *C) GetProject(projectID string) (*v1.Project, error)

GetProject retrieves a project by its ID from the cache.

func (*C) Run

func (c *C) Run(ctx context.Context, interval time.Duration) error

Run starts the project cache.

Jump to

Keyboard shortcuts

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