plugins

package
v0.0.0-...-a52e8f6 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IgnoreNatssChannelService

type IgnoreNatssChannelService struct {
	Log logrus.FieldLogger
}

IgnoreNatssChannelService ignores Services associated to NATSS Channels during restore.

func (*IgnoreNatssChannelService) AppliesTo

AppliesTo returns a selector that determines what objects this plugin applies to.

func (*IgnoreNatssChannelService) Execute

Execute contains executes the plugin logic on the received object.

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() (velero.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