ExportOptions should be registered to all public schemas

This commit is contained in:
Clayton Coleman 2016-11-01 21:31:21 -04:00
parent ce187f9c6a
commit f0fa26bcf6
No known key found for this signature in database
GPG Key ID: 3D16906B4F1C5CB3
10 changed files with 10 additions and 0 deletions

View File

@ -50,6 +50,7 @@ func addKnownTypes(scheme *runtime.Scheme) error {
&ClusterInfo{}, &ClusterInfo{},
&api.ListOptions{}, &api.ListOptions{},
&api.DeleteOptions{}, &api.DeleteOptions{},
&api.ExportOptions{},
) )
return nil return nil
} }

View File

@ -50,6 +50,7 @@ func addKnownTypes(scheme *runtime.Scheme) error {
&ClusterInfo{}, &ClusterInfo{},
&v1.ListOptions{}, &v1.ListOptions{},
&v1.DeleteOptions{}, &v1.DeleteOptions{},
&v1.ExportOptions{},
) )
return nil return nil
} }

View File

@ -40,6 +40,7 @@ func addKnownTypes(scheme *runtime.Scheme) error {
&ClusterList{}, &ClusterList{},
&v1.ListOptions{}, &v1.ListOptions{},
&v1.DeleteOptions{}, &v1.DeleteOptions{},
&v1.ExportOptions{},
) )
versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion) versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion)
return nil return nil

View File

@ -41,6 +41,7 @@ func addKnownTypes(scheme *runtime.Scheme) error {
&StatefulSetList{}, &StatefulSetList{},
&v1.ListOptions{}, &v1.ListOptions{},
&v1.DeleteOptions{}, &v1.DeleteOptions{},
&v1.ExportOptions{},
) )
versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion) versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion)
return nil return nil

View File

@ -39,6 +39,7 @@ func addKnownTypes(scheme *runtime.Scheme) error {
scheme.AddKnownTypes(SchemeGroupVersion, scheme.AddKnownTypes(SchemeGroupVersion,
&v1.ListOptions{}, &v1.ListOptions{},
&v1.DeleteOptions{}, &v1.DeleteOptions{},
&v1.ExportOptions{},
&SelfSubjectAccessReview{}, &SelfSubjectAccessReview{},
&SubjectAccessReview{}, &SubjectAccessReview{},

View File

@ -42,6 +42,7 @@ func addKnownTypes(scheme *runtime.Scheme) error {
&Scale{}, &Scale{},
&v1.ListOptions{}, &v1.ListOptions{},
&v1.DeleteOptions{}, &v1.DeleteOptions{},
&v1.ExportOptions{},
) )
versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion) versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion)
return nil return nil

View File

@ -41,6 +41,7 @@ func addKnownTypes(scheme *runtime.Scheme) error {
&JobList{}, &JobList{},
&v1.ListOptions{}, &v1.ListOptions{},
&v1.DeleteOptions{}, &v1.DeleteOptions{},
&v1.ExportOptions{},
) )
versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion) versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion)
return nil return nil

View File

@ -51,6 +51,7 @@ func addKnownTypes(scheme *runtime.Scheme) error {
&CertificateSigningRequestList{}, &CertificateSigningRequestList{},
&v1.ListOptions{}, &v1.ListOptions{},
&v1.DeleteOptions{}, &v1.DeleteOptions{},
&v1.ExportOptions{},
) )
// Add the watch version that applies // Add the watch version that applies

View File

@ -56,6 +56,7 @@ func addKnownTypes(scheme *runtime.Scheme) error {
&IngressList{}, &IngressList{},
&v1.ListOptions{}, &v1.ListOptions{},
&v1.DeleteOptions{}, &v1.DeleteOptions{},
&v1.ExportOptions{},
&ReplicaSet{}, &ReplicaSet{},
&ReplicaSetList{}, &ReplicaSetList{},
&PodSecurityPolicy{}, &PodSecurityPolicy{},

View File

@ -42,6 +42,7 @@ func addKnownTypes(scheme *runtime.Scheme) error {
&Eviction{}, &Eviction{},
&v1.ListOptions{}, &v1.ListOptions{},
&v1.DeleteOptions{}, &v1.DeleteOptions{},
&v1.ExportOptions{},
) )
// Add the watch version that applies // Add the watch version that applies
versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion) versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion)