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 ¶
func (p *RestorePlugin) Execute(input *velero.RestoreItemActionExecuteInput) (*velero.RestoreItemActionExecuteOutput, error)
Execute sets a custom annotation on the item being restored.
Click to show internal directories.
Click to hide internal directories.