Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 171 for plural2 (0.16 sec)

  1. operator/pkg/verifier/verify_test.go

    			plural: "",
    		},
    	}
    
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("[%v] %v ", i, c.kind), func(tt *testing.T) {
    			plural := findResourceInSpec(c.kind)
    			if plural != c.plural {
    				tt.Fatalf("unexpected plural from kind: got %v want %v", plural, c.plural)
    			}
    		})
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Nov 28 16:26:13 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/apidiscovery/v2/types.go

    	// 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 May 23 17:42:49 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/api/meta/restmapper.go

    		for plural, singular := range m.pluralToSingular {
    			if singular.Version == resource.Version && singular.Resource == resource.Resource {
    				ret = append(ret, plural)
    			}
    			if plural.Version == resource.Version && plural.Resource == resource.Resource {
    				ret = append(ret, plural)
    			}
    		}
    
    	default:
    		for plural, singular := range m.pluralToSingular {
    			if singular.Resource == resource.Resource {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 17 01:55:47 UTC 2021
    - 16.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcedefinitionnames.go

    // CustomResourceDefinitionNamesApplyConfiguration represents an declarative configuration of the CustomResourceDefinitionNames type for use
    // with apply.
    type CustomResourceDefinitionNamesApplyConfiguration struct {
    	Plural     *string  `json:"plural,omitempty"`
    	Singular   *string  `json:"singular,omitempty"`
    	ShortNames []string `json:"shortNames,omitempty"`
    	Kind       *string  `json:"kind,omitempty"`
    	ListKind   *string  `json:"listKind,omitempty"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 28 12:38:10 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcedefinitionnames.go

    // CustomResourceDefinitionNamesApplyConfiguration represents an declarative configuration of the CustomResourceDefinitionNames type for use
    // with apply.
    type CustomResourceDefinitionNamesApplyConfiguration struct {
    	Plural     *string  `json:"plural,omitempty"`
    	Singular   *string  `json:"singular,omitempty"`
    	ShortNames []string `json:"shortNames,omitempty"`
    	Kind       *string  `json:"kind,omitempty"`
    	ListKind   *string  `json:"listKind,omitempty"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 28 12:38:10 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/apidiscovery/v2beta1/types.go

    	// 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: Wed Aug 09 18:45:33 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  7. pkg/config/schema/codegen/templates/gvr.go.tmpl

    	{{- range $alias := .Resource.VersionAliases }}
    	{{$entry.Resource.Identifier}}_{{$alias}} = schema.GroupVersionResource{Group: "{{$entry.Resource.Group}}", Version: "{{$alias}}", Resource: "{{$entry.Resource.Plural}}"}
        {{- end }}
    {{- end }}
    )
    
    func IsClusterScoped(g schema.GroupVersionResource) bool {
    	switch g {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 04 03:54:51 UTC 2023
    - 1K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/conflicts/VersionConflictException.java

        }
    
        private static String buildMessage(Collection<Conflict> conflicts) {
            TreeFormatter formatter = new TreeFormatter();
    
            String plural = getPluralEnding(conflicts);
            formatter.node("Conflict" + plural + " found for the following module" + plural);
            formatter.startChildren();
    
            conflicts.stream().limit(MAX_SEEN_MODULE_COUNT)
                .forEach(conflict -> formatter.node(conflict.getMessage()));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. pkg/config/schema/collection/schemas_test.go

    )
    
    var (
    	emptyResource = resource.Builder{
    		Kind:         "Empty",
    		Plural:       "empties",
    		ProtoPackage: "google.golang.org/protobuf/types/known/emptypb",
    		Proto:        "google.protobuf.Empty",
    	}.MustBuild()
    
    	structResource = resource.Builder{
    		Kind:         "Struct",
    		Plural:       "structs",
    		ProtoPackage: "google.golang.org/protobuf/types/known/structpb",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  10. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultCleanupProgressMonitor.java

                + optionalNumber(", ", skipped, " skipped"));
        }
    
        private String mandatoryNumber(long value, String singular, String plural) {
            return value == 1 ? value + singular : value + plural;
        }
    
        private String optionalNumber(String separator, long value, String description) {
            return value == 0 ? "" : separator + value + description;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 20:26:37 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top