common

package
v0.0.0-...-c0befc0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	MigrationRegistry string = "openshift.io/migration-registry"
	// distinction for B/R and migration
	MigrationApplicationLabelKey   string = "app.kubernetes.io/part-of"
	MigrationApplicationLabelValue string = "openshift-migration"
	MigMigrationLabelKey           string = "migration.openshift.io/migrated-by-migmigration"
	MigPlanLabelKey                string = "migration.openshift.io/migrated-by-migplan"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type RestorePlugin

type RestorePlugin struct {
	Log logrus.FieldLogger
}

RestorePlugin is a restore item action plugin for Heptio Ark.

func (*RestorePlugin) AppliesTo

func (p *RestorePlugin) AppliesTo() (velero.ResourceSelector, error)

AppliesTo returns a velero.ResourceSelector that applies to the listed resources in the slice.

func (*RestorePlugin) Execute

Execute sets a custom annotation on the item being restored.

Jump to

Keyboard shortcuts

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