Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for WebhookClientConfig (0.33 sec)

  1. pkg/apis/admissionregistration/validation/validation_test.go

    			Name:         "webhook.k8s.io",
    			ClientConfig: admissionregistration.WebhookClientConfig{},
    		},
    		}, true),
    		expectedError: `exactly one of`,
    	}, {
    		name: "both service and URL provided",
    		config: newValidatingWebhookConfiguration([]admissionregistration.ValidatingWebhook{{
    			Name: "webhook.k8s.io",
    			ClientConfig: admissionregistration.WebhookClientConfig{
    				Service: &admissionregistration.ServiceReference{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 147.1K bytes
    - Viewed (0)
  2. pkg/apis/admissionregistration/v1/zz_generated.conversion.go

    	}); err != nil {
    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*v1.WebhookClientConfig)(nil), (*admissionregistration.WebhookClientConfig)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1_WebhookClientConfig_To_admissionregistration_WebhookClientConfig(a.(*v1.WebhookClientConfig), b.(*admissionregistration.WebhookClientConfig), scope)
    	}); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 05:46:30 UTC 2024
    - 73.6K bytes
    - Viewed (0)
  3. pkg/apis/admissionregistration/v1/defaults_test.go

    			original: &v1.MutatingWebhookConfiguration{
    				Webhooks: []v1.MutatingWebhook{{
    					ClientConfig: v1.WebhookClientConfig{
    						Service: &v1.ServiceReference{},
    					},
    				}},
    			},
    			expected: &v1.MutatingWebhookConfiguration{
    				Webhooks: []v1.MutatingWebhook{{
    					ClientConfig: v1.WebhookClientConfig{
    						Service: &v1.ServiceReference{
    							Port: utilpointer.Int32(443), // defaulted
    						},
    					},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/accessors.go

    	// configuration and does not provide a globally unique identity, if a unique identity is
    	// needed, use GetUID.
    	GetName() string
    	// GetClientConfig gets the webhook ClientConfig field.
    	GetClientConfig() v1.WebhookClientConfig
    	// GetRules gets the webhook Rules field.
    	GetRules() []v1.RuleWithOperations
    	// GetFailurePolicy gets the webhook FailurePolicy field.
    	GetFailurePolicy() *v1.FailurePolicyType
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/admissionregistration/v1/zz_generated.deepcopy.go

    		copy(*out, *in)
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookClientConfig.
    func (in *WebhookClientConfig) DeepCopy() *WebhookClientConfig {
    	if in == nil {
    		return nil
    	}
    	out := new(WebhookClientConfig)
    	in.DeepCopyInto(out)
    	return out
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation_test.go

    							Served:  true,
    							Storage: false,
    						},
    					},
    					Conversion: &apiextensions.CustomResourceConversion{
    						Strategy: apiextensions.ConversionStrategyType("Webhook"),
    						WebhookClientConfig: &apiextensions.WebhookClientConfig{
    							Service: &apiextensions.ServiceReference{
    								Name:      "n",
    								Namespace: "ns",
    								Port:      0,
    							},
    						},
    					},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 349.4K bytes
    - Viewed (0)
  7. pkg/config/analysis/analyzers/externalcontrolplane/externalcontrolplane.go

    )
    
    // Analyze implements Analyzer
    func (s *ExternalControlPlaneAnalyzer) Analyze(c analysis.Context) {
    	reportWebhookURL := func(r *resource.Instance, hName string, clientConf v1.WebhookClientConfig) {
    		// If defined, it means that an external istiod has been adopted
    		if clientConf.URL != nil {
    			result, err := lintWebhookURL(*clientConf.URL)
    			if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 16:48:42 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/admissionregistration/v1beta1/generated.proto

      // List of ValidatingWebhookConfiguration.
      repeated ValidatingWebhookConfiguration items = 2;
    }
    
    // WebhookClientConfig contains the information to make a TLS
    // connection with the webhook
    message WebhookClientConfig {
      // `url` gives the location of the webhook, in standard URL form
      // (`scheme://host:port/path`). Exactly one of `url` or `service`
      // must be specified.
      //
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/admissionregistration/v1/generated.proto

      // List of ValidatingWebhookConfiguration.
      repeated ValidatingWebhookConfiguration items = 2;
    }
    
    // WebhookClientConfig contains the information to make a TLS
    // connection with the webhook
    message WebhookClientConfig {
      // `url` gives the location of the webhook, in standard URL form
      // (`scheme://host:port/path`). Exactly one of `url` or `service`
      // must be specified.
      //
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/generated.proto

      optional string strategy = 1;
    
      // webhookClientConfig is the instructions for how to call the webhook if strategy is `Webhook`.
      // Required when `strategy` is set to `Webhook`.
      // +optional
      optional WebhookClientConfig webhookClientConfig = 2;
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
Back to top