migrolebindings

package
v0.0.0-...-cbc29ca Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SwapGroupNamesNamespaces

func SwapGroupNamesNamespaces(groupNames []string, namespaceMapping map[string]string) []string

func SwapSubjectNamespaces

func SwapSubjectNamespaces(subjects []corev1.ObjectReference, namespaceMapping map[string]string) []corev1.ObjectReference

func SwapUserNamesNamespaces

func SwapUserNamesNamespaces(userNames []string, namespaceMapping map[string]string) []string

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 PVCs

func (*RestorePlugin) Execute

Execute action for the restore plugin for the pvc resource

Jump to

Keyboard shortcuts

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