package exists
import "k8s.io/kubernetes/plugin/pkg/admission/namespace/exists"
Index ¶
Functions ¶
func Register ¶
Register registers a plugin
Types ¶
type Exists ¶
Exists is an implementation of admission.Interface. It rejects all incoming requests in a namespace context if the namespace does not exist. It is useful in deployments that want to enforce pre-declaration of a Namespace resource.
func NewExists ¶
func NewExists() *Exists
NewExists creates a new namespace exists admission control handler
func (*Exists) Admit ¶
func (e *Exists) Admit(a admission.Attributes) error
Admit makes an admission decision based on the request attributes
func (*Exists) SetInternalKubeClientSet ¶
func (e *Exists) SetInternalKubeClientSet(client internalclientset.Interface)
SetInternalKubeClientSet implements the WantsInternalKubeClientSet interface.
func (*Exists) SetInternalKubeInformerFactory ¶
func (e *Exists) SetInternalKubeInformerFactory(f informers.SharedInformerFactory)
SetInternalKubeInformerFactory implements the WantsInternalKubeInformerFactory interface.
func (*Exists) Validate ¶
Validate implements the Validator interface.
Source Files ¶
admission.go
- Version
- v1.9.0-alpha.2
- Published
- Nov 1, 2017
- Platform
- js/wasm
- Imports
- 10 packages
- Last checked
- 27 minutes ago –
Tools for package owners.