extract

package
v0.2.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DumpOTelCollector

func DumpOTelCollector(
	ctx context.Context,
	namespace, pvcName, into string,
	opts ...Option,
) error

DumpOTelCollector mounts a temporary container with the PVC, given its namespace and name, and copies all data into the provided directory (creates it if necessary).

Types

type Option

type Option interface {
	// contains filtered or unexported methods
}

Option is the interface for all extraction-related functional options.

func WithLogger

func WithLogger(logger *zap.Logger) Option

WithLogger provides a zap logger to detail ongoing efforts through the extraction phase.

func WithRegistry

func WithRegistry(registry string) Option

WithRegistry provides an optional registry in which to look for the Busybox image.

Useful for air-gap environments or when working with an OCI cache/proxy.

Jump to

Keyboard shortcuts

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