authorizedentries

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 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 Cache

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

func NewCache

func NewCache(clk clock.Clock) *Cache

func (*Cache) GetAuthorizedEntries

func (c *Cache) GetAuthorizedEntries(agentID spiffeid.ID) []*types.Entry

func (*Cache) PruneExpiredAgents

func (c *Cache) PruneExpiredAgents() int

func (*Cache) RemoveAgent

func (c *Cache) RemoveAgent(agentID string)

func (*Cache) RemoveEntry

func (c *Cache) RemoveEntry(entryID string)

func (*Cache) UpdateAgent

func (c *Cache) UpdateAgent(agentID string, expiresAt time.Time, selectors []*types.Selector)

func (*Cache) UpdateEntry

func (c *Cache) UpdateEntry(entry *types.Entry)

type Selector

type Selector struct {
	Type  string
	Value string
}

func (Selector) String

func (s Selector) String() string

Jump to

Keyboard shortcuts

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