Documentation ¶
Index ¶
- type Operations
- func (o *Operations) Archive(getSrc func() (config.FileConfig, error), compressionLevel string, ...) ([]*tar.Header, error)
- func (o *Operations) Delete(name string) error
- func (o *Operations) GetBackend() config.BackendConfig
- func (o *Operations) GetCrypto() config.CryptoConfig
- func (o *Operations) GetMetadata() config.MetadataConfig
- func (o *Operations) GetPipes() config.PipeConfig
- func (o *Operations) Initialize(name string, perm os.FileMode, compressionLevel string) error
- func (o *Operations) Move(from string, to string) error
- func (o *Operations) Restore(getDst func(path string, mode fs.FileMode) (io.WriteCloser, error), ...) error
- func (o *Operations) Update(getSrc func() (config.FileConfig, error), compressionLevel string, ...) ([]*tar.Header, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Operations ¶
type Operations struct {
// contains filtered or unexported fields
}
func NewOperations ¶
func NewOperations( backend config.BackendConfig, metadata config.MetadataConfig, pipes config.PipeConfig, crypto config.CryptoConfig, onHeader func(event *config.HeaderEvent), ) *Operations
func (*Operations) Archive ¶
func (o *Operations) Archive( getSrc func() (config.FileConfig, error), compressionLevel string, overwrite bool, initializing bool, ) ([]*tar.Header, error)
func (*Operations) Delete ¶
func (o *Operations) Delete(name string) error
func (*Operations) GetBackend ¶
func (o *Operations) GetBackend() config.BackendConfig
func (*Operations) GetCrypto ¶
func (o *Operations) GetCrypto() config.CryptoConfig
func (*Operations) GetMetadata ¶
func (o *Operations) GetMetadata() config.MetadataConfig
func (*Operations) GetPipes ¶
func (o *Operations) GetPipes() config.PipeConfig
func (*Operations) Initialize ¶
Click to show internal directories.
Click to hide internal directories.