Remove references to v1/internal ExportOptions

This commit is contained in:
Clayton Coleman
2016-11-27 19:04:05 -05:00
parent c43bdfbf0d
commit 3dde81f8d0
27 changed files with 49 additions and 34 deletions

View File

@@ -121,7 +121,6 @@ func TestRESTMapper(t *testing.T) {
func TestUnversioned(t *testing.T) {
for _, obj := range []runtime.Object{
&unversioned.Status{},
&unversioned.ExportOptions{},
} {
if unversioned, ok := internal.Scheme.IsUnversioned(obj); !unversioned || !ok {
t.Errorf("%v is expected to be unversioned", reflect.TypeOf(obj))

View File

@@ -129,7 +129,6 @@ func addKnownTypes(scheme *runtime.Scheme) error {
// Register Unversioned types under their own special group
scheme.AddUnversionedTypes(Unversioned,
&unversioned.ExportOptions{},
&unversioned.Status{},
&unversioned.APIVersions{},
&unversioned.APIGroupList{},

View File

@@ -71,7 +71,7 @@ func addKnownTypes(scheme *runtime.Scheme) error {
&PersistentVolumeClaim{},
&PersistentVolumeClaimList{},
&DeleteOptions{},
&ExportOptions{},
&unversioned.ExportOptions{},
&ListOptions{},
&PodAttachOptions{},
&PodLogOptions{},