snapshot

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LabelBackupName      = "kahu.backup.name"
	LabelProvisionerName = "kahu.provisioner.name"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

type Factory interface {
	ByVolumeGroup(volGroup volumegroup.Interface) (Interface, error)
}

func NewFactory

func NewFactory(ctx context.Context, clientFactory client.Factory) (Factory, error)

type Interface

type Interface interface {
	Apply() error
	WaitForSnapshotToReady(refName string, timeout time.Duration) error
	Delete() (*kahuapi.VolumeSnapshot, error)
	GetSnapshots() ([]*kahuapi.VolumeSnapshot, error)
}

Jump to

Keyboard shortcuts

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