Documentation ¶
Index ¶
- Constants
- func Register(plugins *admission.Plugins)
- type ReferenceManager
- func (r *ReferenceManager) Admit(a admission.Attributes) error
- func (r *ReferenceManager) SetAuthorizer(authorizer authorizer.Authorizer)
- func (r *ReferenceManager) SetInternalGardenInformerFactory(f gardeninformers.SharedInformerFactory)
- func (r *ReferenceManager) SetKubeInformerFactory(f kubeinformers.SharedInformerFactory)
- func (r *ReferenceManager) ValidateInitialization() error
Constants ¶
View Source
const (
// PluginName is the name of this admission plugin.
PluginName = "ResourceReferenceManager"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ReferenceManager ¶
ReferenceManager contains listers and and admission handler.
func New ¶
func New() (*ReferenceManager, error)
New creates a new ReferenceManager admission plugin.
func (*ReferenceManager) Admit ¶
func (r *ReferenceManager) Admit(a admission.Attributes) error
Admit ensures that referenced resources do actually exist.
func (*ReferenceManager) SetAuthorizer ¶
func (r *ReferenceManager) SetAuthorizer(authorizer authorizer.Authorizer)
SetAuthorizer gets the authorizer.
func (*ReferenceManager) SetInternalGardenInformerFactory ¶
func (r *ReferenceManager) SetInternalGardenInformerFactory(f gardeninformers.SharedInformerFactory)
SetInternalGardenInformerFactory gets Lister from SharedInformerFactory.
func (*ReferenceManager) SetKubeInformerFactory ¶
func (r *ReferenceManager) SetKubeInformerFactory(f kubeinformers.SharedInformerFactory)
SetKubeInformerFactory gets Lister from SharedInformerFactory.
func (*ReferenceManager) ValidateInitialization ¶
func (r *ReferenceManager) ValidateInitialization() error
ValidateInitialization checks whether the plugin was correctly initialized.
Click to show internal directories.
Click to hide internal directories.