nodecache

package
v1.13.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

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

func New

func New(ctx context.Context, log logrus.FieldLogger, ds datastore.DataStore, clk clock.Clock, automaticRefresh, enableCache bool) (*Cache, error)

func (*Cache) FetchAttestedNode

func (c *Cache) FetchAttestedNode(ctx context.Context, id string) (*common.AttestedNode, error)

func (*Cache) LookupAttestedNode

func (c *Cache) LookupAttestedNode(id string) (*common.AttestedNode, time.Time)

func (*Cache) PeriodicRebuild

func (c *Cache) PeriodicRebuild(ctx context.Context) error

func (*Cache) Rebuild

func (c *Cache) Rebuild(ctx context.Context) error

func (*Cache) RemoveAttestedNode

func (c *Cache) RemoveAttestedNode(spiffeId string)

func (*Cache) UpdateAttestedNode

func (c *Cache) UpdateAttestedNode(node *common.AttestedNode)

Jump to

Keyboard shortcuts

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