nfs

package
v0.0.0-...-c600a59 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 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 Opts, rl int64) (*NFS, error)

func (*NFS) Clone

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

func (*NFS) Close

func (n *NFS) Close() error

func (*NFS) Configure

func (n *NFS) Configure(p Params)

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) ListBackups

func (n *NFS) ListBackups(fPath string) ([]string, error)

type Opts

type Opts 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