Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdateCommonSpec ¶
func UpdateCommonSpec( spec buildv1API.CommonSpec, registry string, backupRegistry string, secretList *corev1API.SecretList, log logrus.FieldLogger, namespaceMapping map[string]string, ) (buildv1API.CommonSpec, error)
UpdateCommonSpec Updates docker references and secrets using CommonSpec, for both Build and BuildConfig
Types ¶
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 builds
func (*RestorePlugin) Execute ¶
func (p *RestorePlugin) Execute(input *velero.RestoreItemActionExecuteInput) (*velero.RestoreItemActionExecuteOutput, error)
Execute action for the restore plugin for the build resource
Click to show internal directories.
Click to hide internal directories.