nfs

package
v0.0.0-...-1d5d43e Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NFS

type NFS struct {
	Retention
	// contains filtered or unexported fields
}

func Init

func Init(name string, params Params) (*NFS, error)

func (*NFS) Clone

func (n *NFS) Clone() interfaces.Storage

func (*NFS) Close

func (n *NFS) Close() error

func (*NFS) DeleteOldBackups

func (n *NFS) DeleteOldBackups(logCh chan logger.LogRecord, ofsPart string, job interfaces.Job, full bool) error

func (*NFS) DeliveryBackup

func (n *NFS) DeliveryBackup(logCh chan logger.LogRecord, jobName, tmpBackupFile, ofs, bakType string) error

func (*NFS) GetFileReader

func (n *NFS) GetFileReader(ofsPath string) (io.Reader, error)

func (*NFS) GetName

func (n *NFS) GetName() string

func (*NFS) IsLocal

func (n *NFS) IsLocal() int

func (*NFS) SetBackupPath

func (n *NFS) SetBackupPath(path string)

func (*NFS) SetRetention

func (n *NFS) SetRetention(r Retention)

type Params

type Params struct {
	Host   string
	Target string
	UID    uint32
	GID    uint32
}

Jump to

Keyboard shortcuts

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