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 ¶
func (p *RemoveServiceInstanceFields) AppliesTo() (restore.ResourceSelector, error)
AppliesTo return list of resource kinds which should be handled by this plugin
func (*RemoveServiceInstanceFields) Execute ¶
func (p *RemoveServiceInstanceFields) Execute(item runtime.Unstructured, restore *v1.Restore) (runtime.Unstructured, error, error)
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 ¶
func (p *SetOwnerReference) Execute(item runtime.Unstructured, restore *v1.Restore) (runtime.Unstructured, error, error)
Execute contains main logic for plugin nolint
Click to show internal directories.
Click to hide internal directories.