Documentation ¶
Index ¶
- Variables
- type Admit
- func (a *Admit) AppConfigSpec(ar v1beta1.AdmissionReview) *v1beta1.AdmissionResponse
- func (a *Admit) ComponentSpec(ar v1beta1.AdmissionReview) *v1beta1.AdmissionResponse
- func (a *Admit) MutateAppConfigSpec(ar v1beta1.AdmissionReview) *v1beta1.AdmissionResponse
- func (a *Admit) ScopeSpec(ar v1beta1.AdmissionReview) *v1beta1.AdmissionResponse
- func (adm *Admit) Start(stop <-chan struct{})
- func (a *Admit) TraitSpec(ar v1beta1.AdmissionReview) *v1beta1.AdmissionResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var AppConfigResource = metav1.GroupVersionResource{Group: common.AppConfigGroup, Version: common.AppConfigVersion, Resource: common.AppConfigCRD}
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 (*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 ¶
func (a *Admit) ScopeSpec(ar v1beta1.AdmissionReview) *v1beta1.AdmissionResponse
validate Scope Spec here
func (*Admit) TraitSpec ¶
func (a *Admit) TraitSpec(ar v1beta1.AdmissionReview) *v1beta1.AdmissionResponse
validate Trait Spec here
Click to show internal directories.
Click to hide internal directories.