mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 18:24:07 +00:00
Merge pull request #124945 from hoskeri/remove-unused-field
Remove unused field from APIGroupVersion
This commit is contained in:
commit
447fca25b1
@ -237,7 +237,6 @@ func handleInternal(storage map[string]rest.Storage, admissionControl admission.
|
|||||||
Defaulter: scheme,
|
Defaulter: scheme,
|
||||||
Typer: scheme,
|
Typer: scheme,
|
||||||
Namer: namer,
|
Namer: namer,
|
||||||
RootScopedKinds: sets.NewString("SimpleRoot"),
|
|
||||||
|
|
||||||
EquivalentResourceRegistry: runtime.NewEquivalentResourceRegistry(),
|
EquivalentResourceRegistry: runtime.NewEquivalentResourceRegistry(),
|
||||||
|
|
||||||
@ -3311,7 +3310,6 @@ func TestParentResourceIsRequired(t *testing.T) {
|
|||||||
Defaulter: scheme,
|
Defaulter: scheme,
|
||||||
Typer: scheme,
|
Typer: scheme,
|
||||||
Namer: namer,
|
Namer: namer,
|
||||||
RootScopedKinds: sets.NewString("SimpleRoot"),
|
|
||||||
|
|
||||||
EquivalentResourceRegistry: runtime.NewEquivalentResourceRegistry(),
|
EquivalentResourceRegistry: runtime.NewEquivalentResourceRegistry(),
|
||||||
|
|
||||||
|
@ -28,7 +28,6 @@ import (
|
|||||||
"k8s.io/apimachinery/pkg/runtime/schema"
|
"k8s.io/apimachinery/pkg/runtime/schema"
|
||||||
utilerrors "k8s.io/apimachinery/pkg/util/errors"
|
utilerrors "k8s.io/apimachinery/pkg/util/errors"
|
||||||
"k8s.io/apimachinery/pkg/util/managedfields"
|
"k8s.io/apimachinery/pkg/util/managedfields"
|
||||||
"k8s.io/apimachinery/pkg/util/sets"
|
|
||||||
"k8s.io/apiserver/pkg/admission"
|
"k8s.io/apiserver/pkg/admission"
|
||||||
"k8s.io/apiserver/pkg/authorization/authorizer"
|
"k8s.io/apiserver/pkg/authorization/authorizer"
|
||||||
"k8s.io/apiserver/pkg/endpoints/discovery"
|
"k8s.io/apiserver/pkg/endpoints/discovery"
|
||||||
@ -71,9 +70,6 @@ type APIGroupVersion struct {
|
|||||||
// version (for when the inevitable meta/v2 group emerges).
|
// version (for when the inevitable meta/v2 group emerges).
|
||||||
MetaGroupVersion *schema.GroupVersion
|
MetaGroupVersion *schema.GroupVersion
|
||||||
|
|
||||||
// RootScopedKinds are the root scoped kinds for the primary GroupVersion
|
|
||||||
RootScopedKinds sets.String
|
|
||||||
|
|
||||||
// Serializer is used to determine how to convert responses from API methods into bytes to send over
|
// Serializer is used to determine how to convert responses from API methods into bytes to send over
|
||||||
// the wire.
|
// the wire.
|
||||||
Serializer runtime.NegotiatedSerializer
|
Serializer runtime.NegotiatedSerializer
|
||||||
|
Loading…
Reference in New Issue
Block a user