- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 609 for group_versions (0.26 sec)
-
staging/src/k8s.io/apimachinery/pkg/runtime/codec.go
return disabledGroupVersionerIdentifier } // Assert that schema.GroupVersion and GroupVersions implement GroupVersioner var _ GroupVersioner = schema.GroupVersion{} var _ GroupVersioner = schema.GroupVersions{} var _ GroupVersioner = multiGroupVersioner{} type multiGroupVersioner struct { target schema.GroupVersion acceptedGroupKinds []schema.GroupKind coerce bool }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 03:20:30 UTC 2023 - 12.1K bytes - Viewed (0) -
pkg/controlplane/controller/crdregistration/crdregistration_controller.go
for _, version := range crd.Spec.Versions { c.queue.Add(schema.GroupVersion{Group: crd.Spec.Group, Version: version.Name}) } } func (c *crdRegistrationController) handleVersionUpdate(groupVersion schema.GroupVersion) error { apiServiceName := groupVersion.Version + "." + groupVersion.Group // check all CRDs. There shouldn't that many, but if we have problems later we can index them
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 8.3K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/resource/query_param_verifier_v3_test.go
type fakeRoot struct { spec *spec3.OpenAPI } func (f *fakeRoot) GroupVersions() ([]schema.GroupVersion, error) { // Unused return nil, nil } // GVSpec returns hard-coded OpenAPI V3 document. func (f *fakeRoot) GVSpec(gv schema.GroupVersion) (*spec3.OpenAPI, error) { return f.spec, nil } func (f *fakeRoot) GVSpecAsMap(gv schema.GroupVersion) (map[string]interface{}, error) { // Unused return nil, nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 12 04:44:45 UTC 2023 - 5.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook.go
} switch version { case authorizationv1.SchemeGroupVersion.Version: groupVersions := []schema.GroupVersion{authorizationv1.SchemeGroupVersion} if err := localScheme.SetVersionPriority(groupVersions...); err != nil { return nil, err } gw, err := webhook.NewGenericWebhook(localScheme, scheme.Codecs, config, groupVersions, retryBackoff) if err != nil { return nil, err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 04 19:01:15 UTC 2024 - 18.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/handler.go
groupsToUse := map[string]apidiscoveryv2.APIGroupDiscovery{} sourcesUsed := map[metav1.GroupVersion]Source{} for key, group := range rdm.apiGroups { if existing, ok := groupsToUse[key.name]; ok { for _, v := range group.Versions { gv := metav1.GroupVersion{Group: key.name, Version: v.Version} // Skip groupversions we've already seen before. Only DefaultSource // takes precedence
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 02 00:29:39 UTC 2024 - 16.1K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/codec_factory.go
// All other callers will be forced to request a Codec directly. func (f CodecFactory) LegacyCodec(version ...schema.GroupVersion) runtime.Codec { return versioning.NewDefaultingCodecForScheme(f.scheme, f.legacySerializer, f.universal, schema.GroupVersions(version), runtime.InternalGroupVersioner) } // UniversalDeserializer can convert any stored data recognized by this factory into a Go object that satisfies
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Dec 18 04:27:38 UTC 2022 - 12.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/helpers.go
if len(l) == 0 { l = "<none>" } return l } func ExtractGroupVersions(l *APIGroupList) []string { var groupVersions []string for _, g := range l.Groups { for _, gv := range g.Versions { groupVersions = append(groupVersions, gv.GroupVersion) } } return groupVersions } // HasAnnotation returns a bool if passed in annotation exists func HasAnnotation(obj ObjectMeta, ann string) bool {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Sep 15 10:58:36 UTC 2022 - 9.6K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/apiserver.go
} return false, nil }, context.StopCh) }) return s, nil } func DefaultAPIResourceConfigSource() *serverstorage.ResourceConfig { ret := serverstorage.NewResourceConfig() // NOTE: GroupVersions listed here will be enabled by default. Don't put alpha versions in the list. ret.EnableVersions( v1beta1.SchemeGroupVersion, v1.SchemeGroupVersion, ) return ret
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 19 14:31:43 UTC 2023 - 11.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/apitesting/roundtrip/roundtrip.go
roundTrip(t, scheme, apitesting.TestCodec(codecFactory, externalGVK.GroupVersion()), object) // TODO remove this hack after we're past the intermediate steps if !skipProtobuf && externalGVK.Group != "kubeadm.k8s.io" { s := protobuf.NewSerializer(scheme, scheme) protobufCodec := codecFactory.CodecForVersions(s, s, externalGVK.GroupVersion(), nil) roundTrip(t, scheme, protobufCodec, object) } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:48:03 UTC 2023 - 16.8K bytes - Viewed (0) -
plugin/pkg/admission/imagepolicy/admission.go
// ImagePolicyAuditRequiredKeySuffix in an annotation indicates the pod // should be audited. ImagePolicyAuditRequiredKeySuffix string = "audit-required" ) var ( groupVersions = []schema.GroupVersion{v1alpha1.SchemeGroupVersion} ) // Register registers a plugin func Register(plugins *admission.Plugins) { plugins.Register(PluginName, func(config io.Reader) (admission.Interface, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 02 06:05:06 UTC 2023 - 9.8K bytes - Viewed (0)