- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 137 for GV (0.04 sec)
-
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/create.go
defer cancel() outputMediaType, _, err := negotiation.NegotiateOutputMediaType(req, scope.Serializer, scope) if err != nil { scope.err(err, w, req) return } gv := scope.Kind.GroupVersion() s, err := negotiation.NegotiateInputSerializer(req, false, scope.Serializer) if err != nil { scope.err(err, w, req) return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 20:19:46 UTC 2023 - 10.1K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/builder/merge_test.go
}, }, Components: &spec3.Components{ Schemas: map[string]*spec.Schema{ "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta": {}, }, }, }, }, { name: "two CRDs same gv", specs: []*spec3.OpenAPI{{ Paths: &spec3.Paths{ Paths: map[string]*spec3.Path{ "/apis/stable.example.com/v1/crd1": {}, }, }, Components: &spec3.Components{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 12 20:11:45 UTC 2022 - 4.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest.go
func (scope *RequestScope) AcceptsGroupVersion(gv schema.GroupVersion) bool { // If there's a custom acceptor, delegate to it. This is extremely rare. if scope.AcceptsGroupVersionDelegate != nil { return scope.AcceptsGroupVersionDelegate.AcceptsGroupVersion(gv) } // Fall back to only allowing the singular Kind. This is the typical behavior. return gv == scope.Kind.GroupVersion() }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 21:44:00 UTC 2023 - 17K bytes - Viewed (0) -
cmd/kubeadm/app/util/apiclient/dryrunclient.go
// DefaultMarshalFunc is the default MarshalFunc used; uses YAML to print objects to the user func DefaultMarshalFunc(obj runtime.Object, gv schema.GroupVersion) ([]byte, error) { return kubeadmutil.MarshalToYaml(obj, gv) } // DryRunClientOptions specifies options to pass to NewDryRunClientWithOpts in order to get a dryrun clientset type DryRunClientOptions struct { Writer io.Writer
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Dec 21 09:49:59 UTC 2022 - 10.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/testing/types.go
apiVersion, ok := u.Object["apiVersion"].(string) if !ok { return schema.GroupVersionKind{} } gv, err := schema.ParseGroupVersion(apiVersion) if err != nil { return schema.GroupVersionKind{} } kind, ok := u.Object["kind"].(string) if ok { return gv.WithKind(kind) } return schema.GroupVersionKind{} }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun May 28 03:26:35 UTC 2023 - 11.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/meta/restmapper_test.go
mapper.Add(internalGroupVersion.WithKind("InternalObject"), RESTScopeNamespace) preferredVersions := []string{} for _, gv := range testCase.APIGroupVersions { preferredVersions = append(preferredVersions, gv.Version) } gk := schema.GroupKind{Group: testGroup, Kind: testCase.Kind} mapping, err := mapper.RESTMapping(gk, preferredVersions...) hasErr := err != nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Nov 01 08:38:57 UTC 2020 - 28.9K bytes - Viewed (0) -
pkg/controller/disruption/disruption.go
gv, err := schema.ParseGroupVersion(controllerRef.APIVersion) if err != nil { return nil, err } gk := schema.GroupKind{ Group: gv.Group, Kind: controllerRef.Kind, } mapping, err := dc.mapper.RESTMapping(gk, gv.Version) if err != nil { return nil, err } gr := mapping.Resource.GroupResource()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 36.1K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/unstructured.go
u.SetAPIVersion(gvk.GroupVersion().String()) u.SetKind(gvk.Kind) } func (u *Unstructured) GroupVersionKind() schema.GroupVersionKind { gv, err := schema.ParseGroupVersion(u.GetAPIVersion()) if err != nil { return schema.GroupVersionKind{} } gvk := gv.WithKind(u.GetKind()) return gvk } func (u *Unstructured) GetFinalizers() []string {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun May 28 03:26:35 UTC 2023 - 13.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/peerproxy/peerproxy_handler.go
return } gv := schema.GroupVersion{Group: gvr.Group, Version: gvr.Version} if serviceableByResp.errorFetchingAddressFromLease { klog.ErrorS(err, "error fetching ip and port of remote server while proxying") responsewriters.ErrorNegotiated(apierrors.NewServiceUnavailable("Error getting ip and port info of the remote server while proxying"), h.serializer, gv, w, r) return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 19 00:36:22 UTC 2023 - 11.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/versioning/versioning_test.go
"TestCacheableObject") runtimetesting.CacheableObjectTest(t, encoder) } func BenchmarkIdentifier(b *testing.B) { encoder := &mockSerializer{} gv := schema.GroupVersion{Group: "group", Version: "version"} for i := 0; i < b.N; i++ { id := identifier(gv, encoder) // Avoid optimizing by compiler. if id[0] != '{' { b.Errorf("unexpected identifier: %s", id) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 23 17:04:19 UTC 2022 - 12.5K bytes - Viewed (0)