plugins

package
v0.0.0-...-affaa53 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RemoveServiceInstanceFields

type RemoveServiceInstanceFields struct {
	Log logrus.FieldLogger
}

RemoveServiceInstanceFields is a plugin for velero to remove several fields before creating restored object

func (*RemoveServiceInstanceFields) AppliesTo

AppliesTo return list of resource kinds which should be handled by this plugin

func (*RemoveServiceInstanceFields) Execute

Execute contains main logic for plugin nolint

type SetOwnerReference

type SetOwnerReference struct {
	Log logrus.FieldLogger
}

SetOwnerReference is a plugin for velero to set new value of UID in metadata.ownerReference field based on new values of other restored objects

func (*SetOwnerReference) AppliesTo

func (p *SetOwnerReference) AppliesTo() (restore.ResourceSelector, error)

AppliesTo return list of resource kinds which should be handled by this plugin

func (*SetOwnerReference) Execute

Execute contains main logic for plugin nolint

Jump to

Keyboard shortcuts

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