apimachinery: kubedb.dev/apimachinery/pkg/admission/namespace Index | Files

package namespace

import "kubedb.dev/apimachinery/pkg/admission/namespace"

Copyright The KubeDB Authors.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Package Files

admission.go

type NamespaceValidator Uses

type NamespaceValidator struct {
    Resources []string
    // contains filtered or unexported fields
}

func (*NamespaceValidator) Admit Uses

func (a *NamespaceValidator) Admit(req *admission.AdmissionRequest) *admission.AdmissionResponse

func (*NamespaceValidator) Initialize Uses

func (a *NamespaceValidator) Initialize(config *rest.Config, stopCh <-chan struct{}) error

func (*NamespaceValidator) Resource Uses

func (a *NamespaceValidator) Resource() (plural schema.GroupVersionResource, singular string)

Package namespace imports 13 packages (graph) and is imported by 17 packages. Updated 2019-11-15. Refresh now. Tools for package owners.