package framework
import "k8s.io/kubernetes/test/e2e/framework/psp"
Index ¶
- func CreatePrivilegedPSPBinding(kubeClient clientset.Interface, namespace string)
- func ExpectNoError(err error, explain ...interface{})
- func IsPodSecurityPolicyEnabled(kubeClient clientset.Interface) bool
Functions ¶
func CreatePrivilegedPSPBinding ¶
CreatePrivilegedPSPBinding creates the privileged PSP & role
func ExpectNoError ¶
func ExpectNoError(err error, explain ...interface{})
ExpectNoError is a copy from the same name function in file test/e2e/framework.go
func IsPodSecurityPolicyEnabled ¶
IsPodSecurityPolicyEnabled returns true if PodSecurityPolicy is enabled. Otherwise false.
Source Files ¶
psp.go
- Version
- v1.16.3
- Published
- Nov 10, 2019
- Platform
- js/wasm
- Imports
- 15 packages
- Last checked
- 1 minute ago –
Tools for package owners.