- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 203 for plural2 (0.24 sec)
-
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) -
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) -
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) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/limit_test.go
_, err := rest.Post(). SetHeader("Accept", "application/yaml"). SetHeader("Content-Type", "application/yaml"). AbsPath("/apis", noxuDefinition.Spec.Group, noxuDefinition.Spec.Versions[0].Name, noxuDefinition.Spec.Names.Plural). Body(yamlBody). DoRaw(context.TODO()) if !apierrors.IsRequestEntityTooLargeError(err) { t.Errorf("expected too large error, got %v", err) } }) // Create YAML just under 3MB limit, nested
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 02 19:34:41 UTC 2021 - 8K bytes - Viewed (0) -
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) -
staging/src/k8s.io/apiextensions-apiserver/pkg/controller/status/naming_controller_test.go
Group: tokens[1], Names: apiextensionsv1.CustomResourceDefinitionNames{ Plural: tokens[0], }, }, }, } } func (b *crdBuilder) SpecNames(plural, singular, kind, listKind string, shortNames ...string) *crdBuilder { b.curr.Spec.Names.Plural = plural b.curr.Spec.Names.Singular = singular b.curr.Spec.Names.Kind = kind b.curr.Spec.Names.ListKind = listKind
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 03 16:49:27 UTC 2019 - 15.7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/meta/restmapper_test.go
// Add "s" otherwise {Kind: "lowercase", Plural: "lowercases", Singular: "lowercase"}, } for i, testCase := range testCases { version := schema.GroupVersion{} plural, singular := UnsafeGuessKindToResource(version.WithKind(testCase.Kind)) if singular != version.WithResource(testCase.Singular) || plural != version.WithResource(testCase.Plural) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Nov 01 08:38:57 UTC 2020 - 28.9K bytes - Viewed (0) -
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) -
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) -
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)