package framework

import "k8s.io/kubernetes/test/e2e/framework/psp"

Index

Functions

func CreatePrivilegedPSPBinding

func CreatePrivilegedPSPBinding(kubeClient clientset.Interface, namespace string)

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

func IsPodSecurityPolicyEnabled(kubeClient clientset.Interface) bool

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.