Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Backup ¶
type Backup struct { ACLFileChecksum string ACLJSONData []byte Client *consul.Consul Config *config.Config FullFilename string KVFileChecksum string KVJSONData []byte LocalACLFileName string LocalFilePath string LocalKVFileName string LocalPQFileName string PQFileChecksum string PQJSONData []byte RemoteFilePath string StartTime int64 }
Backup is the backup itself including configuration and data
func (*Backup) ACLsToJSON ¶ added in v0.1.6
func (b *Backup) ACLsToJSON()
ACLsToJSON used to marshall the data and put it on a Backup object
func (*Backup) KeysToJSON ¶
func (b *Backup) KeysToJSON()
KeysToJSON used to marshall the data and put it on a Backup object
Click to show internal directories.
Click to hide internal directories.