cache

package
v1.32.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Snapshot

type Snapshot struct {
	Name        string
	Parameters  map[string]string
	SnapshotCSI csi.Snapshot
}

type SnapshotCache

type SnapshotCache interface {
	Add(snapshot Snapshot)

	Delete(i int)

	List(ready bool) []csi.Snapshot

	FindSnapshot(k, v string) (int, Snapshot)
}

func NewSnapshotCache

func NewSnapshotCache() SnapshotCache

Jump to

Keyboard shortcuts

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