controller

package
v0.0.0-...-f79db27 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GarbageCollector garbageCollector
)

Functions

func UntarFiles

func UntarFiles(src, dest string, files []string) error

UntarFiles unpack only specified files from an archive to the destination directory. Copied from checkpointctl

Types

type CheckpointRestoreOperatorReconciler

type CheckpointRestoreOperatorReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

CheckpointRestoreOperatorReconciler reconciles a CheckpointRestoreOperator object

func (*CheckpointRestoreOperatorReconciler) Reconcile

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.15.0/pkg/reconcile

func (*CheckpointRestoreOperatorReconciler) SetupWithManager

func (r *CheckpointRestoreOperatorReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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