Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 67 for webhookClientConfig (0.65 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/testing/testcase.go

    }
    
    type urlConfigGenerator struct {
    	baseURL *url.URL
    }
    
    func (c urlConfigGenerator) ccfgURL(urlPath string) registrationv1.WebhookClientConfig {
    	u2 := *c.baseURL
    	u2.Path = urlPath
    	urlString := u2.String()
    	return registrationv1.WebhookClientConfig{
    		URL:      &urlString,
    		CABundle: testcerts.CACert,
    	}
    }
    
    // ValidatingTest is a validating webhook test case.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 03 06:51:04 UTC 2023
    - 47.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/admissionregistration/v1beta1/generated.pb.go

    func (m *WebhookClientConfig) Reset()      { *m = WebhookClientConfig{} }
    func (*WebhookClientConfig) ProtoMessage() {}
    func (*WebhookClientConfig) Descriptor() ([]byte, []int) {
    	return fileDescriptor_7f7c65a4f012fb19, []int{24}
    }
    func (m *WebhookClientConfig) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 187.9K bytes
    - Viewed (0)
  3. 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)
  4. staging/src/k8s.io/api/admissionregistration/v1/generated.pb.go

    func (m *WebhookClientConfig) Reset()      { *m = WebhookClientConfig{} }
    func (*WebhookClientConfig) ProtoMessage() {}
    func (*WebhookClientConfig) Descriptor() ([]byte, []int) {
    	return fileDescriptor_3205c7dc5bf0c9bf, []int{26}
    }
    func (m *WebhookClientConfig) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 200.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go

    		if conversion.WebhookClientConfig == nil {
    			allErrs = append(allErrs, field.Required(fldPath.Child("webhookClientConfig"), "required when strategy is set to Webhook"))
    		} else {
    			cc := conversion.WebhookClientConfig
    			switch {
    			case (cc.URL == nil) == (cc.Service == nil):
    				allErrs = append(allErrs, field.Required(fldPath.Child("webhookClientConfig"), "exactly one of url or service is required"))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 82.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/test/integration/fieldselector_test.go

    	handler := conversion.NewObjectConverterWebhookHandler(t, crdConverter)
    	upCh, handler := closeOnCall(handler)
    	tearDown, webhookClientConfig, err := conversion.StartConversionWebhookServer(handler)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer tearDown()
    
    	if webhookClientConfig != nil {
    		crd.Spec.Conversion = &apiextensionsv1.CustomResourceConversion{
    			Strategy: apiextensionsv1.WebhookConverter,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 15:53:03 UTC 2024
    - 27K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/test/integration/conversion/conversion_test.go

    	for _, test := range tests {
    		t.Run(test.group, func(t *testing.T) {
    			upCh, handler := closeOnCall(test.handler)
    			tearDown, webhookClientConfig, err := StartConversionWebhookServer(handler)
    			if err != nil {
    				t.Fatal(err)
    			}
    			defer tearDown()
    
    			ctc.setConversionWebhook(t, webhookClientConfig, test.reviewVersions)
    			defer ctc.removeConversionWebhook(t)
    
    			// wait until new webhook is called the first time
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 06 05:32:34 UTC 2023
    - 47.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/generated.pb.go

    func (m *WebhookClientConfig) Reset()      { *m = WebhookClientConfig{} }
    func (*WebhookClientConfig) ProtoMessage() {}
    func (*WebhookClientConfig) Descriptor() ([]byte, []int) {
    	return fileDescriptor_c5e101a0235c8c62, []int{25}
    }
    func (m *WebhookClientConfig) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 244.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/types.go

    	// +listType=atomic
    	ConversionReviewVersions []string `json:"conversionReviewVersions" protobuf:"bytes,3,rep,name=conversionReviewVersions"`
    }
    
    // WebhookClientConfig contains the information to make a TLS connection with the webhook.
    type WebhookClientConfig struct {
    	// 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: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/admissionregistration/v1/generated.proto

      // The CEL expression has access to the same identifiers as the CEL expressions in Validation.
      optional string Expression = 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: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 51.8K bytes
    - Viewed (0)
Back to top