cache

package
v0.2.0-pre2 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 14 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 interface {
	Owners() []string
	VaultInfoFor(owner string) *types.VaultInfo
	SetVaultInfoFor(owner string, info *types.VaultInfo)
	AddMember(ip string, name string)
	RemoveMember(ip string, name string)
	Sync()
}

func NewSimple

func NewSimple() Cache

type RunnableCache

type RunnableCache interface {
	Cache
	Start(ctx context.Context) error
}

func NewK8s added in v0.2.0

func NewK8s(reader client.Reader) (RunnableCache, error)

Jump to

Keyboard shortcuts

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