dump

package
v0.15.0-rc.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(ctx context.Context, cfg *rest.Config, path string, opt Options) error

func CreateWithClients

func CreateWithClients(ctx context.Context, cfg *rest.Config, d dynamic.Interface, c client.Client, path string, opt Options) error

CreateWithClients creates a dump with namespace filtering support. When opt.Namespace is set and opt.AllNamespaces is false, it filters resources intelligently based on their relationships: - GitRepos, Bundles, ClusterGroups, etc. are filtered by namespace - BundleDeployments are filtered by bundle-namespace label - Clusters may be in the bundle namespace or other namespaces

Types

type Options

type Options struct {
	FetchLimit          int64
	Namespace           string
	AllNamespaces       bool
	GitRepo             string
	Bundle              string
	HelmOp              string
	WithSecrets         bool
	WithSecretsMetadata bool
	WithContent         bool
	WithContentMetadata bool
}

Jump to

Keyboard shortcuts

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