Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 67 for webhookClientConfig (0.42 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/conversion_test.go

    			In: &apiextensions.CustomResourceDefinition{
    				Spec: apiextensions.CustomResourceDefinitionSpec{
    					Conversion: &apiextensions.CustomResourceConversion{
    						WebhookClientConfig: &apiextensions.WebhookClientConfig{URL: pointer.StringPtr("http://example.com")},
    					},
    				},
    			},
    			Out: &CustomResourceDefinition{},
    			ExpectOut: &CustomResourceDefinition{
    				Spec: CustomResourceDefinitionSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  2. 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)
  3. pkg/registry/admissionregistration/validatingwebhookconfiguration/storage/storage_test.go

    		ObjectMeta: metav1.ObjectMeta{
    			Name: "foo",
    		},
    		Webhooks: []admissionregistration.ValidatingWebhook{{
    			Name: "foo.example.io",
    			ClientConfig: admissionregistration.WebhookClientConfig{
    				Service: &admissionregistration.ServiceReference{
    					Name:      "foo",
    					Namespace: "bar",
    					Path:      &servicePath,
    					Port:      443,
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 13 15:10:55 UTC 2023
    - 6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/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 Feb 28 19:06:46 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/test/integration/conversion/webhook.go

    	"k8s.io/apimachinery/pkg/runtime"
    )
    
    // StartConversionWebhookServer starts an http server with the provided handler and returns the WebhookClientConfig
    // needed to configure a CRD to use this conversion webhook as its converter.
    func StartConversionWebhookServer(handler http.Handler) (func(), *apiextensionsv1.WebhookClientConfig, error) {
    	roots := x509.NewCertPool()
    	if !roots.AppendCertsFromPEM(localhostCert) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 14 01:38:09 UTC 2022
    - 10.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/admissionregistration/v1beta1/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: Fri Jul 21 20:56:23 UTC 2023
    - 23.3K bytes
    - Viewed (0)
  7. 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)
  8. pkg/registry/admissionregistration/validatingwebhookconfiguration/strategy_test.go

    		ObjectMeta: metav1.ObjectMeta{
    			Name: "foo",
    		},
    		Webhooks: []admissionregistration.ValidatingWebhook{{
    			Name: "foo.example.io",
    			ClientConfig: admissionregistration.WebhookClientConfig{
    				Service: &admissionregistration.ServiceReference{
    					Name:      "foo",
    					Namespace: "bar",
    					Path:      &servicePath,
    					Port:      443,
    				},
    			},
    			FailurePolicy:           &ignore,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 06 07:06:02 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  9. pkg/apis/admissionregistration/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: Thu Jul 20 16:30:10 UTC 2023
    - 24.6K bytes
    - Viewed (0)
  10. 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)
Back to top