Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Provision ¶ added in v1.9.0
Provision is an implementation of admission.Interface. It looks at all incoming requests in a namespace context, and if the namespace does not exist, it creates one. It is useful in deployments that do not want to restrict creation of a namespace prior to its usage.
func NewProvision ¶
func NewProvision() *Provision
NewProvision creates a new namespace provision admission control handler
func (*Provision) Admit ¶ added in v1.9.0
func (p *Provision) Admit(a admission.Attributes) error
Admit makes an admission decision based on the request attributes
func (*Provision) SetInternalKubeClientSet ¶ added in v1.9.0
func (p *Provision) SetInternalKubeClientSet(client internalclientset.Interface)
SetInternalKubeClientSet implements the WantsInternalKubeClientSet interface.
func (*Provision) SetInternalKubeInformerFactory ¶ added in v1.9.0
func (p *Provision) SetInternalKubeInformerFactory(f informers.SharedInformerFactory)
SetInternalKubeInformerFactory implements the WantsInternalKubeInformerFactory interface.
func (*Provision) ValidateInitialization ¶ added in v1.9.0
ValidateInitialization implements the InitializationValidator interface.
Click to show internal directories.
Click to hide internal directories.