cache

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindMemberPodIPs

func FindMemberPodIPs(ctx context.Context, mgr manager.Manager, watchNamespace string, deploymentSelector map[string]string) (string, []string, error)

Types

type Cache

type Cache interface {
	Owners() []string
	VaultInfoFor(owner string) *types.VaultInfo
	SetVaultInfoFor(owner string, info *types.VaultInfo)
}

func NewSimple

func NewSimple() Cache

type RunnableCache

type RunnableCache interface {
	Cache
	Start() error
}

func NewClustered

func NewClustered(myIP string, clusterMembers []string) (RunnableCache, error)

Jump to

Keyboard shortcuts

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