driver_local

package
v0.0.0-...-4450389 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArchiveTx

type ArchiveTx struct{}

func (*ArchiveTx) Abort

func (tx *ArchiveTx) Abort() error

func (*ArchiveTx) Commit

func (tx *ArchiveTx) Commit() error

func (*ArchiveTx) SaveArgs

func (tx *ArchiveTx) SaveArgs(args []string) []string

func (*ArchiveTx) SaveProgram

func (tx *ArchiveTx) SaveProgram(tarttStore string) string

type Driver

type Driver struct{}

func New

func New(name string, cfgYml []byte) (*Driver, error)

func (*Driver) BeginArchive

func (d *Driver) BeginArchive(
	dst, tmp string,
) (drivers.ArchiveTx, error)

func (*Driver) Close

func (d *Driver) Close() error

func (*Driver) LoadArgs

func (d *Driver) LoadArgs(arRel string, args []string) []string

func (*Driver) LoadProgram

func (d *Driver) LoadProgram(tarttStore string) string

func (*Driver) Open

func (d *Driver) Open() (drivers.StoreHandle, error)

func (*Driver) RemoveAll

func (d *Driver) RemoveAll(prefix string) error

Jump to

Keyboard shortcuts

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