Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 185 for singular2 (0.35 sec)

  1. staging/src/k8s.io/api/apidiscovery/v2/generated.proto

      optional string scope = 3;
    
      // singularResource is the singular name of the resource.  This allows clients to handle plural and singular opaquely.
      // For many clients the singular form of the resource will be more understandable to users reading messages and should be used when integrating the name of the resource into a sentence.
      // The command line tool kubectl, for example, allows use of the singular resource name in place of plurals.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/api/meta/multirestmapper.go

    }
    
    // ResourceSingularizer converts a REST resource name from plural to singular (e.g., from pods to pod)
    // This implementation supports multiple REST schemas and return the first match.
    func (m MultiRESTMapper) ResourceSingularizer(resource string) (singular string, err error) {
    	for _, t := range m {
    		singular, err = t.ResourceSingularizer(resource)
    		if err == nil {
    			return
    		}
    	}
    	return
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 05 23:44:02 UTC 2021
    - 5.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/testdata/HEAD/apiextensions.k8s.io.v1.CustomResourceDefinition.yaml

      group: groupValue
      names:
        categories:
        - categoriesValue
        kind: kindValue
        listKind: listKindValue
        plural: pluralValue
        shortNames:
        - shortNamesValue
        singular: singularValue
      preserveUnknownFields: true
      scope: scopeValue
      versions:
      - additionalPrinterColumns:
        - description: descriptionValue
          format: formatValue
          jsonPath: jsonPathValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/defaults.go

    				break
    			}
    		}
    	}
    }
    
    func SetDefaults_CustomResourceDefinitionSpec(obj *CustomResourceDefinitionSpec) {
    	if len(obj.Names.Singular) == 0 {
    		obj.Names.Singular = strings.ToLower(obj.Names.Kind)
    	}
    	if len(obj.Names.ListKind) == 0 && len(obj.Names.Kind) > 0 {
    		obj.Names.ListKind = obj.Names.Kind + "List"
    	}
    	if obj.Conversion == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 15 16:27:01 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/apidiscovery/v2beta1/generated.proto

      optional string scope = 3;
    
      // singularResource is the singular name of the resource.  This allows clients to handle plural and singular opaquely.
      // For many clients the singular form of the resource will be more understandable to users reading messages and should be used when integrating the name of the resource into a sentence.
      // The command line tool kubectl, for example, allows use of the singular resource name in place of plurals.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. hack/testdata/CRD/example-crd-1-cluster-scoped.yaml

              type: object
              properties:
                spec:
                  type: object
                  properties:
                    test:
                      type: string
      names:
        plural: examples
        singular: example
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 26 06:01:46 UTC 2022
    - 488 bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/defaults.go

    				break
    			}
    		}
    	}
    }
    
    func SetDefaults_CustomResourceDefinitionSpec(obj *CustomResourceDefinitionSpec) {
    	if len(obj.Scope) == 0 {
    		obj.Scope = NamespaceScoped
    	}
    	if len(obj.Names.Singular) == 0 {
    		obj.Names.Singular = strings.ToLower(obj.Names.Kind)
    	}
    	if len(obj.Names.ListKind) == 0 && len(obj.Names.Kind) > 0 {
    		obj.Names.ListKind = obj.Names.Kind + "List"
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:41:26 UTC 2019
    - 2.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/apidiscovery/v2beta1/generated.proto

      optional string scope = 3;
    
      // singularResource is the singular name of the resource.  This allows clients to handle plural and singular opaquely.
      // For many clients the singular form of the resource will be more understandable to users reading messages and should be used when integrating the name of the resource into a sentence.
      // The command line tool kubectl, for example, allows use of the singular resource name in place of plurals.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/testdata/HEAD/apiextensions.k8s.io.v1beta1.CustomResourceDefinition.yaml

          url: urlValue
      group: groupValue
      names:
        categories:
        - categoriesValue
        kind: kindValue
        listKind: listKindValue
        plural: pluralValue
        shortNames:
        - shortNamesValue
        singular: singularValue
      preserveUnknownFields: true
      scope: scopeValue
      selectableFields:
      - jsonPath: jsonPathValue
      subresources:
        scale:
          labelSelectorPath: labelSelectorPathValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/test/integration/apiapproval_test.go

    						Served:  true,
    						Storage: true,
    						Schema:  fixtures.AllowAllSchema(),
    					},
    				},
    				Names: apiextensionsv1.CustomResourceDefinitionNames{
    					Plural:   resource,
    					Singular: resource + "singular",
    					Kind:     resource + "Kind",
    					ListKind: resource + "List",
    				},
    				Scope: apiextensionsv1.NamespaceScoped,
    			},
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 02 19:34:41 UTC 2021
    - 3.2K bytes
    - Viewed (0)
Back to top