- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 137 for GV (0.02 sec)
-
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_discovery.go
return } discovery.ServeHTTP(w, req) } func (r *versionDiscoveryHandler) getDiscovery(gv schema.GroupVersion) (*discovery.APIVersionHandler, bool) { r.discoveryLock.RLock() defer r.discoveryLock.RUnlock() ret, ok := r.discovery[gv] return ret, ok } func (r *versionDiscoveryHandler) setDiscovery(gv schema.GroupVersion, discovery *discovery.APIVersionHandler) { r.discoveryLock.Lock()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 06 10:06:31 UTC 2017 - 3.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/group_version_test.go
} if !reflect.DeepEqual(result.GV, c.expect) { t.Errorf("JSON codec failed to unmarshal input '%s': expected %+v, got %+v", c.input, c.expect, result.GV) } // test the utiljson codec if err := utiljson.Unmarshal(c.input, &result); err != nil { t.Errorf("util/json codec failed to unmarshal input '%v': %v", c.input, err) } if !reflect.DeepEqual(result.GV, c.expect) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 20 16:49:23 UTC 2021 - 2.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/openapi/resolver/discovery.go
} return "", fmt.Errorf("cannot resolve group version kind %q: %w", gvk, ErrSchemaNotFound) } func resourcePathFromGV(gv schema.GroupVersion) string { var resourcePath string if len(gv.Group) == 0 { resourcePath = fmt.Sprintf("api/%s", gv.Version) } else { resourcePath = fmt.Sprintf("apis/%s/%s", gv.Group, gv.Version) } return resourcePath } type schemaResponse struct { Components struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 17:23:50 UTC 2023 - 2.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/delete_test.go
err := p.Codec.Encode(obj, w) p.codecs.err = err return err } func (s *mockCodecs) EncoderForVersion(encoder runtime.Encoder, gv runtime.GroupVersioner) runtime.Encoder { out := s.CodecFactory.CodecForVersions(encoder, nil, gv, nil) return &mockCodec{ Codec: out, codecs: s, } } func TestDeleteResourceAuditLogRequestObject(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 03 16:16:51 UTC 2023 - 8.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/fake.go
}) return err } func (f *recorderResourceManager) SetGroupVersionPriority(gv metav1.GroupVersion, grouppriority, versionpriority int) { f.lock.Lock() defer f.lock.Unlock() f.Actions = append(f.Actions, recorderResourceManagerAction{ Type: "SetGroupVersionPriority", Group: gv.Group, Version: gv.Version, Value: versionpriority, }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 18:15:22 UTC 2024 - 4.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/resourceconfig/helpers.go
groupVersionMatchers = map[string]func(gv schema.GroupVersion) bool{ // allows users to address all api versions APIAll: func(gv schema.GroupVersion) bool { return true }, // allows users to address all api versions in the form v[0-9]+ APIGA: func(gv schema.GroupVersion) bool { return gaPattern.MatchString(gv.Version) }, // allows users to address all beta api versions
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 23 18:36:33 UTC 2022 - 7.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/func_test.go
var checkVal func(fv, gv *Value) bool checkVal = func(fv, gv *Value) bool { if fv == nil && gv == nil { return true } if valcor[fv] == nil && valcor[gv] == nil { valcor[fv] = gv valcor[gv] = fv // Ignore ids. Ops and Types are compared for equality. // TODO(matloob): Make sure types are canonical and can // be compared for equality.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:01:04 UTC 2023 - 13.1K bytes - Viewed (0) -
pkg/controlplane/instance_test.go
for i := range stableAPIGroupVersionsEnabledByDefault { gv := stableAPIGroupVersionsEnabledByDefault[i] if strings.Contains(gv.Version, "beta") || strings.Contains(gv.Version, "alpha") { t.Errorf("stableAPIGroupVersionsEnabledByDefault should contain stable version, but found: %q", gv.String()) } } // legacyBetaEnabledByDefaultResources should contain only beta version
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 03 11:50:04 UTC 2024 - 21.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/versionconverter_test.go
return schema.GroupVersionKind{ Group: "apps", Version: v, Kind: "Deployment", } } func objForGroupVersion(gv string) runtime.Object { return &unstructured.Unstructured{ Object: map[string]interface{}{ "apiVersion": gv, "kind": "Deployment", }, } } type fakeObjectConvertorForTestSchema map[schema.GroupVersionKind]runtime.Object
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 10 07:29:34 UTC 2023 - 3.4K bytes - Viewed (0) -
pkg/registry/admissionregistration/validatingadmissionpolicy/authz.go
// default to requiring permissions on all group/version/resources resource, apiGroup, apiVersion := "*", "*", "*" if gv, err := schema.ParseGroupVersion(paramKind.APIVersion); err == nil { // we only need to authorize the parsed group/version apiGroup = gv.Group apiVersion = gv.Version if gvr, err := v.resourceResolver.Resolve(gv.WithKind(paramKind.Kind)); err == nil { // we only need to authorize the resolved resource resource = gvr.Resource
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 07 21:29:56 UTC 2022 - 3.3K bytes - Viewed (0)