Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is the zfs backup client for a single S3 bucket.
func New ¶
New creates a new client for this bucket. Constructs filesystem clients for all filesystems defined.
type Options ¶
type Options struct { // Log is the logger for the Client. Log logr.Logger // Filesystems are the ZFS filesystems to backup. Filesystems []string // Cadence is the cadence of backups to be kept over time. Cadence config.Cadence // Bucket contains the configuration for the S3 bucket. Bucket config.Bucket // IO references files to write to the terminal. IO util.IO // Force instructs the client to overwrite the existing cadence if it differs // from the local config. Dangerous, and should only be done when the user // knows what they are doing. Force bool }
Options defines the options for creating Clients.
Click to show internal directories.
Click to hide internal directories.