Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AlwaysAdmit ¶ added in v1.9.0
type AlwaysAdmit struct{}
AlwaysAdmit is an implementation of admission.Interface which always says yes to an admit request. It is useful in tests and when using kubernetes in an open manner.
func NewAlwaysAdmit ¶
func NewAlwaysAdmit() *AlwaysAdmit
NewAlwaysAdmit creates a new always admit admission handler
func (AlwaysAdmit) Admit ¶ added in v1.9.0
func (AlwaysAdmit) Admit(a admission.Attributes) (err error)
Admit makes an admission decision based on the request attributes
Click to show internal directories.
Click to hide internal directories.