Unverified Commit 3ecd17d2 authored by Kubernetes Prow Robot's avatar Kubernetes Prow Robot Committed by GitHub

Merge pull request #73783 from deads2k/deprecate-export

deprecate API ExportOptions
parents 21e3c15d b44409d3
...@@ -194,11 +194,14 @@ message Duration { ...@@ -194,11 +194,14 @@ message Duration {
} }
// ExportOptions is the query options to the standard REST get call. // ExportOptions is the query options to the standard REST get call.
// Deprecated. Planned for removal in 1.18.
message ExportOptions { message ExportOptions {
// 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.
// Deprecated. Planned for removal in 1.18.
optional bool export = 1; optional bool export = 1;
// 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'.
// Deprecated. Planned for removal in 1.18.
optional bool exact = 2; optional bool exact = 2;
} }
......
...@@ -399,11 +399,14 @@ type ListOptions struct { ...@@ -399,11 +399,14 @@ type ListOptions struct {
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// ExportOptions is the query options to the standard REST get call. // ExportOptions is the query options to the standard REST get call.
// Deprecated. Planned for removal in 1.18.
type ExportOptions struct { type ExportOptions struct {
TypeMeta `json:",inline"` 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.
// Deprecated. Planned for removal in 1.18.
Export bool `json:"export" protobuf:"varint,1,opt,name=export"` 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'.
// Deprecated. Planned for removal in 1.18.
Exact bool `json:"exact" protobuf:"varint,2,opt,name=exact"` Exact bool `json:"exact" protobuf:"varint,2,opt,name=exact"`
} }
......
...@@ -109,9 +109,9 @@ func (DeleteOptions) SwaggerDoc() map[string]string { ...@@ -109,9 +109,9 @@ func (DeleteOptions) SwaggerDoc() map[string]string {
} }
var map_ExportOptions = map[string]string{ var map_ExportOptions = map[string]string{
"": "ExportOptions is the query options to the standard REST get call.", "": "ExportOptions is the query options to the standard REST get call. Deprecated. Planned for removal in 1.18.",
"export": "Should this value be exported. Export strips fields that a user can not specify.", "export": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.",
"exact": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", "exact": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.",
} }
func (ExportOptions) SwaggerDoc() map[string]string { func (ExportOptions) SwaggerDoc() map[string]string {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment