migpv

package
v0.0.0-...-cbc29ca Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2020 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupPlugin

type BackupPlugin struct {
	Log logrus.FieldLogger
}

BackupPlugin is a backup item action plugin for Heptio Ark.

func (*BackupPlugin) AppliesTo

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

AppliesTo returns a backup.ResourceSelector that applies to everything.

func (*BackupPlugin) Execute

Execute sets a custom annotation on the item being backed up.

type RestorePlugin

type RestorePlugin struct {
	Log logrus.FieldLogger
}

RestorePlugin is a restore item action plugin for Velero

func (*RestorePlugin) AppliesTo

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

AppliesTo returns a velero.ResourceSelector that applies to PVs

func (*RestorePlugin) Execute

Execute action for the restore plugin for the pv resource

Jump to

Keyboard shortcuts

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