diff --git a/pkg/api/types.go b/pkg/api/types.go index 6599fd6b3d8..89d44798923 100644 --- a/pkg/api/types.go +++ b/pkg/api/types.go @@ -2786,15 +2786,6 @@ type DeleteOptions struct { OrphanDependents *bool `json:"orphanDependents,omitempty"` } -// ExportOptions is the query options to the standard REST get call. -type ExportOptions struct { - unversioned.TypeMeta `json:",inline"` - // Should this value be exported. Export strips fields that a user can not specify. - Export bool `json:"export"` - // Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' - Exact bool `json:"exact"` -} - // ListOptions is the query options to a standard REST list call, and has future support for // watch calls. type ListOptions struct { diff --git a/pkg/api/unversioned/types.go b/pkg/api/unversioned/types.go index 6178f199b84..b45817caacb 100644 --- a/pkg/api/unversioned/types.go +++ b/pkg/api/unversioned/types.go @@ -69,9 +69,9 @@ type ListMeta struct { // ExportOptions is the query options to the standard REST get call. type ExportOptions struct { TypeMeta `json:",inline"` - // Should this value be exported. Export strips fields that a user can not specify.` + // Should this value be exported. Export strips fields that a user can not specify. Export bool `json:"export" protobuf:"varint,1,opt,name=export"` - // Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + // Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Exact bool `json:"exact" protobuf:"varint,2,opt,name=exact"` } diff --git a/pkg/api/v1/types.go b/pkg/api/v1/types.go index ba06fd4489f..663490dae8f 100644 --- a/pkg/api/v1/types.go +++ b/pkg/api/v1/types.go @@ -3215,16 +3215,6 @@ type DeleteOptions struct { OrphanDependents *bool `json:"orphanDependents,omitempty" protobuf:"varint,3,opt,name=orphanDependents"` } -// ExportOptions is the query options to the standard REST get call. -type ExportOptions struct { - unversioned.TypeMeta `json:",inline"` - - // Should this value be exported. Export strips fields that a user can not specify. - Export bool `json:"export" protobuf:"varint,1,opt,name=export"` - // Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' - Exact bool `json:"exact" protobuf:"varint,2,opt,name=exact"` -} - // ListOptions is the query options to a standard REST list call. type ListOptions struct { unversioned.TypeMeta `json:",inline"` diff --git a/pkg/apis/extensions/v1beta1/types.go b/pkg/apis/extensions/v1beta1/types.go index 9dfbc0e5d38..e474cd90d13 100644 --- a/pkg/apis/extensions/v1beta1/types.go +++ b/pkg/apis/extensions/v1beta1/types.go @@ -923,15 +923,6 @@ type IngressBackend struct { ServicePort intstr.IntOrString `json:"servicePort" protobuf:"bytes,2,opt,name=servicePort"` } -// ExportOptions is the query options to the standard REST get call. -type ExportOptions struct { - unversioned.TypeMeta `json:",inline"` - // Should this value be exported. Export strips fields that a user can not specify. - Export bool `json:"export" protobuf:"varint,1,opt,name=export"` - // Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' - Exact bool `json:"exact" protobuf:"varint,2,opt,name=exact"` -} - // +genclient=true // ReplicaSet represents the configuration of a ReplicaSet.