Documentation ¶
Index ¶
- Variables
- func Add(mgr manager.Manager) error
- type EndpointDataType
- func (p *EndpointDataType) Add(t *appv1alpha1.NamespacedValidatingRule) *EndpointDataType
- func (p *EndpointDataType) Delete(t *appv1alpha1.NamespacedValidatingRule) *EndpointDataType
- func (p *EndpointDataType) GenerateConfig()
- func (p *EndpointDataType) Get(namespace string, resource metav1.GroupVersionResource, ...) []WebhookConfig
- func (p *EndpointDataType) Update(t *appv1alpha1.NamespacedValidatingRule) *EndpointDataType
- type ReconcileNamespacedValidatingRule
- type WebhookConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var ( EndpointData = &EndpointDataType{ Mapping: make(typeNamespaceMap), } )
Functions ¶
Types ¶
type EndpointDataType ¶
type EndpointDataType struct {
Mapping typeNamespaceMap
}
func (*EndpointDataType) Add ¶
func (p *EndpointDataType) Add(t *appv1alpha1.NamespacedValidatingRule) *EndpointDataType
func (*EndpointDataType) Delete ¶
func (p *EndpointDataType) Delete(t *appv1alpha1.NamespacedValidatingRule) *EndpointDataType
func (*EndpointDataType) GenerateConfig ¶
func (p *EndpointDataType) GenerateConfig()
func (*EndpointDataType) Get ¶
func (p *EndpointDataType) Get(namespace string, resource metav1.GroupVersionResource, op admregv1.OperationType) []WebhookConfig
func (*EndpointDataType) Update ¶
func (p *EndpointDataType) Update(t *appv1alpha1.NamespacedValidatingRule) *EndpointDataType
type ReconcileNamespacedValidatingRule ¶
type ReconcileNamespacedValidatingRule struct {
// contains filtered or unexported fields
}
ReconcileNamespacedValidatingRule reconciles a NamespacedValidatingRule object
func (*ReconcileNamespacedValidatingRule) Reconcile ¶
func (r *ReconcileNamespacedValidatingRule) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
Reconcile reads that state of the cluster for a NamespacedValidatingRule object and makes changes based on the state read and what is in the NamespacedValidatingRule.Spec Note: 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.
type WebhookConfig ¶
type WebhookConfig struct { ClientConfig admregv1.WebhookClientConfig FailurePolicy admregv1.FailurePolicyType TimeoutSecs int32 }
Click to show internal directories.
Click to hide internal directories.