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.
Click to show internal directories.
Click to hide internal directories.