restic

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: AGPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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) (mover.Mover, error)

func (*Builder) FromSource

func (rb *Builder) FromSource(client client.Client, logger logr.Logger,
	eventRecorder events.EventRecorder,
	source *volsyncv1alpha1.ReplicationSource) (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