build

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2022 License: Apache-2.0 Imports: 5 Imported by: 2

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

Execute action for the restore plugin for the build resource

Jump to

Keyboard shortcuts

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