restic

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: AGPL-3.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogLineFilterSuccess added in v0.7.0

func LogLineFilterSuccess(line string) *string

Filter restic log lines for a successful move job

func Register

func Register() error

Types

type Builder

type Builder struct {
	// contains filtered or unexported fields
}

func (*Builder) FromDestination

func (rb *Builder) FromDestination(client client.Client, logger logr.Logger,
	eventRecorder events.EventRecorder,
	destination *volsyncv1alpha1.ReplicationDestination, privileged bool) (mover.Mover, error)

func (*Builder) FromSource

func (rb *Builder) FromSource(client client.Client, logger logr.Logger,
	eventRecorder events.EventRecorder,
	source *volsyncv1alpha1.ReplicationSource, privileged bool) (mover.Mover, error)

func (*Builder) VersionInfo added in v0.4.0

func (rb *Builder) VersionInfo() string

type Mover

type Mover struct {
	// contains filtered or unexported fields
}

Mover is the reconciliation logic for the Restic-based data mover.

func (*Mover) Cleanup

func (m *Mover) Cleanup(ctx context.Context) (mover.Result, error)

func (*Mover) Name

func (m *Mover) Name() string

func (*Mover) Synchronize

func (m *Mover) Synchronize(ctx context.Context) (mover.Result, error)

Jump to

Keyboard shortcuts

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