Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 76 for plural2 (0.18 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/test/integration/fieldselector_test.go

    					{JSONPath: ".spec.hue"},
    					{JSONPath: ".spec.quantity"},
    					{JSONPath: ".spec.size"},
    					{JSONPath: ".spec.branded"},
    				},
    			},
    		},
    		Names: apiextensionsv1.CustomResourceDefinitionNames{
    			Plural:   "shirts",
    			Singular: "shirt",
    			Kind:     "Shirt",
    			ListKind: "ShirtList",
    		},
    		Scope:                 apiextensionsv1.ClusterScoped,
    		PreserveUnknownFields: false,
    	},
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 15:53:03 UTC 2024
    - 27K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/stmt.go

    				base.ErrorfAt(stmt.Pos(), errors.WrongAssignCount, "assignment mismatch: %d variable%s but %v returns %d value%s", len(lhs), plural(len(lhs)), r.Fun, cr, plural(cr))
    			}
    		} else {
    			base.ErrorfAt(stmt.Pos(), errors.WrongAssignCount, "assignment mismatch: %d variable%s but %v value%s", len(lhs), plural(len(lhs)), len(rhs), plural(len(rhs)))
    		}
    
    		for i := range lhs {
    			checkLHS(i, nil)
    		}
    		return
    	}
    
    	// x,y,z = f()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 15:10:54 UTC 2023
    - 17.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/types.go

    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.
    	Plural string `json:"plural" protobuf:"bytes,1,opt,name=plural"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  4. cluster/addons/calico-policy-controller/kubecontrollersconfigurations-crd.yaml

      name: kubecontrollersconfigurations.crd.projectcalico.org
    spec:
      group: crd.projectcalico.org
      names:
        kind: KubeControllersConfiguration
        listKind: KubeControllersConfigurationList
        plural: kubecontrollersconfigurations
        singular: kubecontrollersconfiguration
      scope: Cluster
      versions:
      - name: v1
        schema:
          openAPIV3Schema:
            properties:
              apiVersion:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 07 20:48:43 UTC 2021
    - 11K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/builder/builder_test.go

    					Group: "bar.k8s.io",
    					Versions: []apiextensionsv1.CustomResourceDefinitionVersion{
    						{
    							Name: "v1",
    						},
    					},
    					Names: apiextensionsv1.CustomResourceDefinitionNames{
    						Plural:   "foos",
    						Singular: "foo",
    						Kind:     "Foo",
    						ListKind: "FooList",
    					},
    					Scope: apiextensionsv1.NamespaceScoped,
    				},
    			}, "v1", schema, Options{V2: tt.v2})
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  6. pkg/registry/core/service/storage/storage.go

    	// **** IMPORTANT *****
    	// as a governing rule. User must (either)
    	// -- Use singular only (old client)
    	// -- singular and plural fields (new clients)
    
    	if oldSvc == nil {
    		// This was a create operation.
    		// User specified singular and not plural (e.g. an old client), so init
    		// plural for them.
    		if len(newSvc.Spec.ClusterIP) > 0 && len(newSvc.Spec.ClusterIPs) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 13:09:33 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_discovery_controller_test.go

    	},
    	ObjectMeta: metav1.ObjectMeta{
    		Name: "coolfoo.stable.example.com",
    	},
    	Spec: v1.CustomResourceDefinitionSpec{
    		Group: "stable.example.com",
    		Names: v1.CustomResourceDefinitionNames{
    			Plural:     "coolfoos",
    			Singular:   "coolfoo",
    			ShortNames: []string{"foo"},
    			Kind:       "CoolFoo",
    			ListKind:   "CoolFooList",
    			Categories: []string{"cool"},
    		},
    		Scope: v1.ClusterScoped,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/test/integration/objectmeta_test.go

    	restOptions, err := RESTOptionsGetter.GetRESTOptions(schema.GroupResource{Group: noxuDefinition.Spec.Group, Resource: noxuDefinition.Spec.Names.Plural})
    	if err != nil {
    		t.Fatal(err)
    	}
    	tlsInfo := transport.TLSInfo{
    		CertFile:      restOptions.StorageConfig.Transport.CertFile,
    		KeyFile:       restOptions.StorageConfig.Transport.KeyFile,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 06 05:32:34 UTC 2023
    - 19K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/test/integration/table_test.go

    		ObjectMeta: metav1.ObjectMeta{Name: "tables.mygroup.example.com"},
    		Spec: apiextensionsv1.CustomResourceDefinitionSpec{
    			Group: "mygroup.example.com",
    			Names: apiextensionsv1.CustomResourceDefinitionNames{
    				Plural:   "tables",
    				Singular: "table",
    				Kind:     "Table",
    				ListKind: "TablemList",
    			},
    			Scope: apiextensionsv1.ClusterScoped,
    			Versions: []apiextensionsv1.CustomResourceDefinitionVersion{
    				{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 02 19:34:41 UTC 2021
    - 18.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_handler_test.go

    		StorageConfig:           etcdOptions.StorageConfig.ForResource(schema.GroupResource{Group: crd.Spec.Group, Resource: crd.Spec.Names.Plural}),
    		Decorator:               generic.UndecoratedStorage,
    		EnableGarbageCollection: true,
    		DeleteCollectionWorkers: 1,
    		ResourcePrefix:          crd.Spec.Group + "/" + crd.Spec.Names.Plural,
    		CountMetricPollPeriod:   time.Minute,
    	}
    	if enableWatchCache {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 13 15:27:39 UTC 2023
    - 34.6K bytes
    - Viewed (0)
Back to top