Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 60 for CustomResourceDefinition (0.36 sec)

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

    		name             string
    		crd              *CustomResourceDefinition
    		finalizerToCheck string
    
    		expected bool
    	}{
    		{
    			name: "missing",
    			crd: &CustomResourceDefinition{
    				ObjectMeta: metav1.ObjectMeta{Finalizers: []string{"not-it"}},
    			},
    			finalizerToCheck: "it",
    			expected:         false,
    		},
    		{
    			name: "present",
    			crd: &CustomResourceDefinition{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 17 19:08:05 UTC 2019
    - 15.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apihelpers/helpers_test.go

    	}
    }
    
    func TestCRDHasFinalizer(t *testing.T) {
    	tests := []struct {
    		name             string
    		crd              *apiextensionsv1.CustomResourceDefinition
    		finalizerToCheck string
    
    		expected bool
    	}{
    		{
    			name: "missing",
    			crd: &apiextensionsv1.CustomResourceDefinition{
    				ObjectMeta: metav1.ObjectMeta{Finalizers: []string{"not-it"}},
    			},
    			finalizerToCheck: "it",
    			expected:         false,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 03 16:49:27 UTC 2019
    - 20.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/status/naming_controller.go

    	castObj := obj.(*apiextensionsv1.CustomResourceDefinition)
    	klog.V(4).Infof("Adding %s", castObj.Name)
    	c.enqueue(castObj)
    }
    
    func (c *NamingConditionController) updateCustomResourceDefinition(obj, _ interface{}) {
    	castObj := obj.(*apiextensionsv1.CustomResourceDefinition)
    	klog.V(4).Infof("Updating %s", castObj.Name)
    	c.enqueue(castObj)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/types.go

    	JSONPath string
    }
    
    // CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition
    type CustomResourceDefinitionNames struct {
    	// Plural is the plural name of the resource to serve.  It must match the name of the CustomResourceDefinition-registration
    	// too: plural.group and it must be all lowercase.
    	Plural string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/types.go

    // +k8s:prerelease-lifecycle-gen:replacement=apiextensions.k8s.io,v1,CustomResourceDefinition
    
    // CustomResourceDefinition represents a resource that should be exposed on the API server.  Its name MUST be in the format
    // <.spec.name>.<.spec.group>.
    // Deprecated in v1.16, planned for removal in v1.22. Use apiextensions.k8s.io/v1 CustomResourceDefinition instead.
    type CustomResourceDefinition struct {
    	metav1.TypeMeta `json:",inline"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/finalizer/crd_finalizer.go

    	newCRD := newObj.(*apiextensionsv1.CustomResourceDefinition)
    	// only queue deleted things that haven't been finalized by us
    	if newCRD.DeletionTimestamp.IsZero() || !apiextensionshelpers.CRDHasFinalizer(newCRD, apiextensionsv1.CustomResourceCleanupFinalizer) {
    		return
    	}
    
    	// always requeue resyncs just in case
    	if oldCRD.ResourceVersion == newCRD.ResourceVersion {
    		c.enqueue(newCRD)
    		return
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/controller_test.go

    		t.Error("Error: Description not updated")
    	}
    	env.expectPath(s, "/apis/stable.example.com/v1/coolfoos")
    }
    
    var coolFooCRD = &v1.CustomResourceDefinition{
    	TypeMeta: metav1.TypeMeta{
    		APIVersion: "apiextensions.k8s.io/v1",
    		Kind:       "CustomResourceDefinition",
    	},
    	ObjectMeta: metav1.ObjectMeta{
    		Name: "coolfoo.stable.example.com",
    	},
    	Spec: v1.CustomResourceDefinitionSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 22 17:10:53 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/zz_generated.deepcopy.go

    func (in *CustomResourceDefinition) DeepCopyInto(out *CustomResourceDefinition) {
    	*out = *in
    	out.TypeMeta = in.TypeMeta
    	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    	in.Spec.DeepCopyInto(&out.Spec)
    	in.Status.DeepCopyInto(&out.Status)
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinition.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/types.go

    }
    
    // CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition
    type CustomResourceDefinitionNames struct {
    	// plural is the plural name of the resource to serve.
    	// The custom resources are served under `/apis/<group>/<version>/.../<plural>`.
    	// Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`).
    	// Must be all lowercase.
    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. pkg/config/schema/gvk/resources.gen.go

    	ConfigMap                      = config.GroupVersionKind{Group: "", Version: "v1", Kind: "ConfigMap"}
    	CustomResourceDefinition       = config.GroupVersionKind{Group: "apiextensions.k8s.io", Version: "v1", Kind: "CustomResourceDefinition"}
    	DaemonSet                      = config.GroupVersionKind{Group: "apps", Version: "v1", Kind: "DaemonSet"}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 17:37:32 UTC 2024
    - 15.6K bytes
    - Viewed (0)
Back to top