Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DenyExec ¶ added in v1.9.0
DenyExec is an implementation of admission.Interface which says no to a pod/exec on a pod using host based configurations.
func NewDenyEscalatingExec ¶
func NewDenyEscalatingExec() *DenyExec
NewDenyEscalatingExec creates a new admission controller that denies an exec operation on a pod using host based configurations.
func NewDenyExecOnPrivileged ¶
func NewDenyExecOnPrivileged() *DenyExec
NewDenyExecOnPrivileged creates a new admission controller that is only checking the privileged option. This is for legacy support of the DenyExecOnPrivileged admission controller. Most of the time NewDenyEscalatingExec should be preferred.
func (*DenyExec) Admit ¶
func (d *DenyExec) Admit(a admission.Attributes) (err error)
Admit makes an admission decision based on the request attributes
func (*DenyExec) SetInternalKubeClientSet ¶ added in v1.9.0
func (d *DenyExec) SetInternalKubeClientSet(client internalclientset.Interface)
SetInternalKubeClientSet implements the WantsInternalKubeClientSet interface.
Click to show internal directories.
Click to hide internal directories.