admission

package
v0.3.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateBundle

func ValidateBundle(client kubernetes.Interface, extClient cs.Interface, vs *api.Bundle) error

ValidateBundle checks if the object satisfies all the requirements. It is not method of Interface, because it is referenced from controller package too.

Types

type BundleMutator

type BundleMutator struct {
	// contains filtered or unexported fields
}

func (*BundleMutator) Admit

func (*BundleMutator) Initialize

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

func (*BundleMutator) Resource

func (v *BundleMutator) Resource() (plural schema.GroupVersionResource, singular string)

type BundleValidator

type BundleValidator struct {
	// contains filtered or unexported fields
}

func (*BundleValidator) Admit

func (*BundleValidator) Initialize

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

func (*BundleValidator) Resource

func (v *BundleValidator) Resource() (plural schema.GroupVersionResource, singular string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL