mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 14:07:14 +00:00
deprecate API ExportOptions
This commit is contained in:
parent
2f52e91d56
commit
1d7446f885
@ -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"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user