package cache

import "k8s.io/kubernetes/test/e2e/storage/drivers/csi-test/mock/cache"

Index

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

Source Files

SnapshotCache.go

Version
v1.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Imports
3 packages
Last checked
3 hours ago

Tools for package owners.