package
0.38.0
Repository: https://github.com/softiron/manifold-api.git
Documentation: pkg.go.dev

# Functions

Day is an option setting function for the Schedule constructor.
DestinationString retrieves an enum value from the enum constants string name.
DestinationStrings returns a slice of all String values of the enum.
DestinationValues returns all values of the enum.
EveryMinute is an option setting function for the Schedule constructor.
Hour is an option setting function for the Schedule constructor.
IsTime returns true if the Schedule matches t.
Keep is an option setting function for the Schedule constructor.
Minute is an option setting function for the Schedule constructor.
Month is an option setting function for the Schedule constructor.
NewSchedule returns and initialized Schedule.
NewService returns a new Service for snapshot daemon operations.
OptionString retrieves an enum value from the enum constants string name.
OptionStrings returns a slice of all String values of the enum.
OptionValues returns all values of the enum.
Parse parses the chronish lines for scheduling snapshot.
ParseImage parses s to return an Image.
ParseImageSpec parses s to return an ImageSpec.
ParseTag parses s to return a SnapshotTag.
ParseTagTime returns the time.Time parsed from a timestamp string.
PeriodString retrieves an enum value from the enum constants string name.
PeriodStrings returns a slice of all String values of the enum.
PeriodValues returns all values of the enum.
TypeString retrieves an enum value from the enum constants string name.
TypeStrings returns a slice of all String values of the enum.
TypeValues returns all values of the enum.
Weekday is an option setting function for the Schedule constructor.
YearDay is an option setting function for the Schedule constructor.

# Constants

Archive means copy a Local to a remote S3 bucket.
auto.
CatCompress is to support the legacy 'no compression' option.
Snapshots are taken at one of more of these intervals.
Snapshots are taken at one of more of these intervals.
Local means take snapshot of a HyperCloud VM.
manual.
Snapshots are taken at one of more of these intervals.
Snapshots are taken at one of more of these intervals.
PathPrefix is the root path for API endpoint.
A Schedule may have one or more of the following Options.
Remote means copy a Local to a remote Ceph cluster.
Snapshots are taken at one of more of these intervals.
Snapshots are taken at one of more of these intervals.

# Structs

AutoRequest is a HyperCloud VM snapshot request.
Image is the name of a remote snapshot image.
ImageSpec describes the full location of an RBD image.
ListArchiveResponse is the response body for GET /snapper/archive.
ListManualResponse is the response body for GET /snapper/manual.
ListRemoteResponse is the response body for GET /snapper/remote.
ListStatusResponse is the response body for GET /snapper/status.
ManualRequest is the RBD information for the Request.
Schedule stores the time, destination, and number of snapshots to keep.
Service owns the /snapper methods.
Tag is the named handle to uniquely name all snapshot images.

# Interfaces

Request abstracts the common attributes of ManualRequest and AutoRequest.

# Type aliases

Destination of the Snapshot.
ListStackResponse is the response body for GET /snapper/stack.
Option is a bitmask of settings for a Schedule.
Period indicates the time interval of a snapshot.
Schedules is a set of snapshot schedules over every possible timing Period.
Type indicates the type of Snapshot.