cache

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

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