snapshot/

directory
v0.33.7 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2026 License: Apache-2.0

Directories

Path Synopsis
Package aggapi is a thin client for the state-snapshotter aggregated subresource API exposed through the kube-apiserver aggregation layer.
Package aggapi is a thin client for the state-snapshotter aggregated subresource API exposed through the kube-apiserver aggregation layer.
api
v1alpha1
Package v1alpha1 provides typed Go structs for the state-snapshotter CRDs consumed by the d8 snapshot commands.
Package v1alpha1 provides typed Go structs for the state-snapshotter CRDs consumed by the d8 snapshot commands.
Package archive: deterministic naming + crash-safe file I/O for the snapshot output tree.
Package archive: deterministic naming + crash-safe file I/O for the snapshot output tree.
cmd
create
Package create implements the `d8 snapshot create` command: it creates a Snapshot object in a namespace, optionally narrowing the captured set with a label selector and waiting until the Snapshot becomes Ready.
Package create implements the `d8 snapshot create` command: it creates a Snapshot object in a namespace, optionally narrowing the captured set with a label selector and waiting until the Snapshot becomes Ready.
delete
Package delete implements the `d8 snapshot delete` command: it deletes one or more Snapshot objects by name, by label selector, or all in a namespace, and can optionally wait until they are fully removed.
Package delete implements the `d8 snapshot delete` command: it deletes one or more Snapshot objects by name, by label selector, or all in a namespace, and can optionally wait until they are fully removed.
describe
Package describe implements the `d8 snapshot describe` command.
Package describe implements the `d8 snapshot describe` command.
download
Package download implements the `d8 snapshot download` command.
Package download implements the `d8 snapshot download` command.
list
Package list implements the `d8 snapshot get` command.
Package list implements the `d8 snapshot get` command.
local
Package local implements the offline `d8 snapshot local` command group.
Package local implements the offline `d8 snapshot local` command group.
restore
Package restorecmd implements the `d8 snapshot restore` command.
Package restorecmd implements the `d8 snapshot restore` command.
snapimport
Package snapimportcmd implements the `d8 snapshot upload` command.
Package snapimportcmd implements the `d8 snapshot upload` command.
Package compress provides pluggable compression codecs used for both block-volume chunk frames (EncodeFrame) and per-file filesystem-volume entries (EncodeStream).
Package compress provides pluggable compression codecs used for both block-volume chunk frames (EncodeFrame) and per-file filesystem-volume entries (EncodeStream).
Package exporter provides typed HTTP helpers for the data-exporter API exposed by a running DataExport.
Package exporter provides typed HTTP helpers for the data-exporter API exposed by a running DataExport.
Package localscan discovers and parses an offline snapshot archive directory written by d8 snapshot download.
Package localscan discovers and parses an offline snapshot archive directory written by d8 snapshot download.
Package naming provides deterministic name derivation helpers shared between the snapshot tree builder and the data-plane exporter.
Package naming provides deterministic name derivation helpers shared between the snapshot tree builder and the data-plane exporter.
Package pipeline orchestrates the snapshot download: tree build, resume scan, bounded-concurrency node processing, volume download, and finalization.
Package pipeline orchestrates the snapshot download: tree build, resume scan, bounded-concurrency node processing, volume download, and finalization.
Package restore implements in-namespace restore of a snapshot tree.
Package restore implements in-namespace restore of a snapshot tree.
Package snapimport implements the `d8 snapshot upload` command: it reconstructs a snapshot tree in a target namespace from a local archive produced by `d8 snapshot download`, walking the tree bottom-up and, per node, creating an import-mode CR, importing volume data for data leaves (via SVDM DataImport), and POSTing the node's manifests plus its direct child refs to the state-snapshotter manifests-and-children-refs-upload aggregated subresource.
Package snapimport implements the `d8 snapshot upload` command: it reconstructs a snapshot tree in a target namespace from a local archive produced by `d8 snapshot download`, walking the tree bottom-up and, per node, creating an import-mode CR, importing volume data for data leaves (via SVDM DataImport), and POSTing the node's manifests plus its direct child refs to the state-snapshotter manifests-and-children-refs-upload aggregated subresource.
Package source provides the snapshot tree model and the BuildTree function that resolves a Snapshot hierarchy from the Kubernetes API.
Package source provides the snapshot tree model and the BuildTree function that resolves a Snapshot hierarchy from the Kubernetes API.
Package treeview renders a generic node tree to an io.Writer as an indented tree(1)-style ASCII tree using box-drawing connectors.
Package treeview renders a generic node tree to an io.Writer as an indented tree(1)-style ASCII tree using box-drawing connectors.
Package volume provides workers for downloading block and filesystem volumes from a data-exporter HTTP endpoint into the snapshot output directory tree.
Package volume provides workers for downloading block and filesystem volumes from a data-exporter HTTP endpoint into the snapshot output directory tree.

Jump to

Keyboard shortcuts

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