snapshot

package
v1.94.0-cluster Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2023 License: Apache-2.0 Imports: 11 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(createSnapshotURL string) (string, error)

Create creates a snapshot via the provided api endpoint and returns the snapshot name

func Delete

func Delete(deleteSnapshotURL string, snapshotName string) error

Delete deletes a snapshot via the provided api endpoint

func NewName

func NewName() string

NewName returns new name for new snapshot

func Time

func Time(snapshotName string) (time.Time, error)

Time returns snapshot creation time from the given snapshotName

func Validate

func Validate(snapshotName string) error

Validate validates the snapshotName

Types

This section is empty.

Jump to

Keyboard shortcuts

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