Documentation ¶
Index ¶
- Constants
- func Add(mgr manager.Manager) error
- type NamespacedTypeData
- func (p *NamespacedTypeData) Add(t *appv1alpha1.NamespacedValidatingType) *NamespacedTypeData
- func (p *NamespacedTypeData) Delete(t *appv1alpha1.NamespacedValidatingType) *NamespacedTypeData
- func (p *NamespacedTypeData) Exist(kind *metav1.GroupVersionKind, op admregv1.OperationType) bool
- func (p *NamespacedTypeData) GenerateGlobalWebhook() *admregv1.ValidatingWebhookConfiguration
- func (p *NamespacedTypeData) Update(t *appv1alpha1.NamespacedValidatingType) *NamespacedTypeData
- type ReconcileNamespacedValidatingType
Constants ¶
View Source
const (
ProxyWebhookName = "proxy.webhook.gesher"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NamespacedTypeData ¶
type NamespacedTypeData struct {
Mapping typeGroupMap
}
func (*NamespacedTypeData) Add ¶
func (p *NamespacedTypeData) Add(t *appv1alpha1.NamespacedValidatingType) *NamespacedTypeData
func (*NamespacedTypeData) Delete ¶
func (p *NamespacedTypeData) Delete(t *appv1alpha1.NamespacedValidatingType) *NamespacedTypeData
func (*NamespacedTypeData) Exist ¶
func (p *NamespacedTypeData) Exist(kind *metav1.GroupVersionKind, op admregv1.OperationType) bool
func (*NamespacedTypeData) GenerateGlobalWebhook ¶
func (p *NamespacedTypeData) GenerateGlobalWebhook() *admregv1.ValidatingWebhookConfiguration
func (*NamespacedTypeData) Update ¶
func (p *NamespacedTypeData) Update(t *appv1alpha1.NamespacedValidatingType) *NamespacedTypeData
type ReconcileNamespacedValidatingType ¶
type ReconcileNamespacedValidatingType struct {
// contains filtered or unexported fields
}
ReconcileNamespacedValidatingType reconciles a NamespacedValidatingType object
func (*ReconcileNamespacedValidatingType) Reconcile ¶
func (r *ReconcileNamespacedValidatingType) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.
Click to show internal directories.
Click to hide internal directories.