snapshot

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2026 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyRetention added in v0.3.0

func ApplyRetention(cfg *config.Config, logger *logging.Logger) error

ApplyRetention removes old snapshots after a successful snapshot creation.

Retention is disabled when configured <= 0.

Types

type Engine

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

func New

func New(cfg *config.Config, logger *logging.Logger) *Engine

func (*Engine) Create

func (e *Engine) Create(ctx context.Context, force bool) error

Jump to

Keyboard shortcuts

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