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 ¶
func (p *BackupPlugin) Execute(item runtime.Unstructured, backup *v1.Backup) (runtime.Unstructured, []velero.ResourceIdentifier, error)
Execute sets a custom annotation on the item being backed up.
Click to show internal directories.
Click to hide internal directories.