- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 190 for shortNames (0.27 sec)
-
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/types.go
// shortNames are short names for the resource, exposed in API discovery documents, // and used by clients to support invocations like `kubectl get <shortname>`. // It must be all lowercase. // +optional // +listType=atomic ShortNames []string `json:"shortNames,omitempty" protobuf:"bytes,3,opt,name=shortNames"`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 23 17:42:49 UTC 2024 - 28.7K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/types.go
// shortNames are short names for the resource, exposed in API discovery documents, // and used by clients to support invocations like `kubectl get <shortname>`. // It must be all lowercase. // +optional // +listType=atomic ShortNames []string `json:"shortNames,omitempty" protobuf:"bytes,3,opt,name=shortNames"`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:06:46 UTC 2024 - 32.3K bytes - Viewed (0) -
pkg/registry/apps/deployment/storage/storage.go
} // Implement ShortNamesProvider var _ rest.ShortNamesProvider = &REST{} // ShortNames implements the ShortNamesProvider interface. Returns a list of short names for a resource. func (r *REST) ShortNames() []string { return []string{"deploy"} } // Implement CategoriesProvider var _ rest.CategoriesProvider = &REST{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 21:44:00 UTC 2023 - 16.8K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_handler_test.go
Spec: apiextensionsv1.CustomResourceDefinitionSpec{ Group: "stable.example.com", Names: apiextensionsv1.CustomResourceDefinitionNames{ Plural: "multiversion", Singular: "multiversion", Kind: "MultiVersion", ShortNames: []string{"mv"}, ListKind: "MultiVersionList", Categories: []string{"all"}, }, Conversion: &apiextensionsv1.CustomResourceConversion{Strategy: apiextensionsv1.NoneConverter},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 13 15:27:39 UTC 2023 - 34.6K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/basic_test.go
} s := []string{"foo", "bar", "abc", "def"} if !reflect.DeepEqual(r.ShortNames, s) { t.Fatalf("Expected exactly the shortnames `foo, bar, abc, def` in group version %v/%v via discovery, got: %v", group, version, r.ShortNames) } sort.Strings(r.Verbs) expectedVerbs := []string{"create", "delete", "deletecollection", "get", "list", "patch", "update", "watch"}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 11:35:33 UTC 2024 - 33.4K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/zz_generated.deepcopy.go
func (in *APIResource) DeepCopyInto(out *APIResource) { *out = *in if in.Verbs != nil { in, out := &in.Verbs, &out.Verbs *out = make(Verbs, len(*in)) copy(*out, *in) } if in.ShortNames != nil { in, out := &in.ShortNames, &out.ShortNames *out = make([]string, len(*in)) copy(*out, *in) } if in.Categories != nil { in, out := &in.Categories, &out.Categories *out = make([]string, len(*in)) copy(*out, *in)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 01 10:00:25 UTC 2023 - 32.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/installer.go
Resource: r.Name, Scope: scope, ResponseKind: &metav1.GroupVersionKind{ Group: r.Group, Version: r.Version, Kind: r.Kind, }, Verbs: r.Verbs, ShortNames: r.ShortNames, Categories: r.Categories, SingularResource: r.SingularName, } apiResourceList = append(apiResourceList, resource) parentResources[r.Name] = len(apiResourceList) - 1 }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 18:15:22 UTC 2024 - 51.5K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/zz_generated.conversion.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:06:46 UTC 2024 - 67.5K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/zz_generated.conversion.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:06:46 UTC 2024 - 71.5K bytes - Viewed (0) -
pkg/registry/core/service/storage/storage.go
} return api.IPv4Protocol } var ( _ rest.ShortNamesProvider = &REST{} _ rest.CategoriesProvider = &REST{} ) // ShortNames implements the ShortNamesProvider interface. Returns a list of short names for a resource. func (r *REST) ShortNames() []string { return []string{"svc"} } // Categories implements the CategoriesProvider interface. Returns a list of categories a resource is part of.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 11 13:09:33 UTC 2024 - 22.3K bytes - Viewed (0)