Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DisallowPack ¶
func (*DisallowPack) Admit ¶
func (d *DisallowPack) Admit(a admission.Attributes) error
Admit ensures that the object in-flight is of kind Pack. In addition checks that the Name is not on the banned list. The list is stored in Users API objects.
func (*DisallowPack) SetInternalWardleInformerFactory ¶
func (d *DisallowPack) SetInternalWardleInformerFactory(f informers.SharedInformerFactory)
SetInternalWardleInformerFactory gets Lister from SharedInformerFactory. The lister knows how to lists Users.
func (*DisallowPack) ValidateInitialization ¶
func (d *DisallowPack) ValidateInitialization() error
ValidaValidateInitializationte checks whether the plugin was correctly initialized.
Click to show internal directories.
Click to hide internal directories.