snapshot

package
v0.0.0-...-63b76e9 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsGuestPullMode

func IsGuestPullMode(labels map[string]string) bool

func NewSnapshotter

func NewSnapshotter(ctx context.Context, opts ...Opt) (snapshots.Snapshotter, error)

NewSnapshotter creates a new snapshotter instance

Types

type Opt

type Opt func(config *SnapshotterConfig)

Opt is an option to configure the guest pull snapshotter

func WithRootDirectory

func WithRootDirectory(path string) Opt

WithRootDirectory defines the root directory for the snapshotter

type SnapshotterConfig

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

SnapshotterConfig is used to configure the remote snapshotter instance

Jump to

Keyboard shortcuts

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