cache

package
v1.0.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2022 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 (*Cache) Add

func (c *Cache) Add(element *v1alpha1.PodFilesystemSync)

Add adds element to cache, making sure it will not be duplicated

func (*Cache) Delete

func (c *Cache) Delete(element *v1alpha1.PodFilesystemSync)

Delete is purging an element from cache

func (*Cache) FindMatchingForPod

func (c *Cache) FindMatchingForPod(pod *corev1.Pod) (*v1alpha1.PodFilesystemSync, bool, error)

func (*Cache) Populate

func (c *Cache) Populate(riotkitClient versioned.Interface, kubeClient kubernetes.Interface) error

Populate is fetching initially a list of existing objects before the application was started

Jump to

Keyboard shortcuts

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