clone

package
v1.10.5 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CanServiceAccountClonePVC

func CanServiceAccountClonePVC(client kubernetes.Interface, pvcNamespace, pvcName, saNamespace, saName string) (bool, string, error)

CanServiceAccountClonePVC checks if a ServiceAccount has "appropriate" permission to clone from the given PVC

func CanUserClonePVC

func CanUserClonePVC(client kubernetes.Interface, sourceNamespace, pvcName, targetNamespace string,
	userInfo authentication.UserInfo) (bool, string, error)

CanUserClonePVC checks if a user has "appropriate" permission to clone from the given PVC

Types

This section is empty.

Jump to

Keyboard shortcuts

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