restore

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: Apache-2.0 Imports: 43 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewController

func NewController(
	ctx context.Context,
	kubeClient kubernetes.Interface,
	kahuClient versioned.Interface,
	dynamicClient dynamic.Interface,
	discoveryHelper discovery.DiscoveryHelper,
	informer externalversions.SharedInformerFactory,
	podCommandExecutor hooks.PodCommandExecutor,
	podGetter cache.Getter) (controllers.Controller, error)

Types

type Interface

type Interface interface {
	Resolve(restoreObjects cache.Indexer, backupObjects cache.Indexer) error
}

func NewResolver

func NewResolver(logger log.FieldLogger) Interface

type Reconciler

type Reconciler interface {
	Run(stopCh <-chan struct{})
}

Reconciler runs a periodic loop to reconcile the current state of volume back and update backup annotation

type Resolver

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

type ResolverGetter

type ResolverGetter interface {
	GetResolver(kind string) (Resolver, error)
}

type RestoreHookSet

type RestoreHookSet struct {
	Hooks      []hooks.CommonHookSpec
	Namespaces []RestoreNamespaceSet
}

type RestoreNamespaceSet

type RestoreNamespaceSet struct {
	Pods []RestorePodSet
	// contains filtered or unexported fields
}

type RestorePodSet

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

Jump to

Keyboard shortcuts

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