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 Velero
func (*BackupPlugin) AppliesTo ¶
func (p *BackupPlugin) AppliesTo() (velero.ResourceSelector, error)
AppliesTo returns a velero.ResourceSelector that applies to imagestreamtags
func (*BackupPlugin) Execute ¶
func (p *BackupPlugin) Execute(item runtime.Unstructured, backup *v1.Backup) (runtime.Unstructured, []velero.ResourceIdentifier, error)
Execute sets annotations on imagestreamtags that depend on others to be restored first
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 imagestreamtags
func (*RestorePlugin) Execute ¶
func (p *RestorePlugin) Execute(input *velero.RestoreItemActionExecuteInput) (*velero.RestoreItemActionExecuteOutput, error)
Restore the tag if this is a reference tag *or* an external image. Otherwise, image import will create the imagestreamtag automatically.
Click to show internal directories.
Click to hide internal directories.