backup

package
v0.21.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrMissingName = errors.New("backup: missing namespace or name")

Functions

func All

func All(ctx context.Context, client clientpkg.Client, skip []string, infoFn LogFn) ([]runtime.Object, []error)

func GVKFrom

func GVKFrom(scheme *runtime.Scheme, obj runtime.Object) (schema.GroupVersionKind, error)

func ToYAML

func ToYAML(objects []runtime.Object) ([]byte, error)

Types

type LogFn

type LogFn func(msg string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳