admit

package
v0.0.0-...-f074d01 Latest Latest
Warning

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

Go to latest
Published: May 14, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Admit

type Admit struct {
	Client  *versioned.Clientset
	Factory externalversions.SharedInformerFactory
	// contains filtered or unexported fields
}

Admit is the main object for admission controller

func New

func New() (*Admit, error)

New is the entrance of getting an Admit object

func (*Admit) AppConfigSpec

func (a *Admit) AppConfigSpec(ar v1beta1.AdmissionReview) *v1beta1.AdmissionResponse

validate Application Configuration Spec here

func (*Admit) ComponentSpec

func (a *Admit) ComponentSpec(ar v1beta1.AdmissionReview) *v1beta1.AdmissionResponse

validate Component Spec here

func (*Admit) MutateAppConfigSpec

func (a *Admit) MutateAppConfigSpec(ar v1beta1.AdmissionReview) *v1beta1.AdmissionResponse

mutate Application Configuration Spec here

func (*Admit) ScopeSpec

validate Scope Spec here

func (*Admit) Start

func (adm *Admit) Start(stop <-chan struct{})

func (*Admit) TraitSpec

validate Trait Spec here

Jump to

Keyboard shortcuts

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