Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
3ecd17d2
Unverified
Commit
3ecd17d2
authored
Feb 20, 2019
by
Kubernetes Prow Robot
Committed by
GitHub
Feb 20, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #73783 from deads2k/deprecate-export
deprecate API ExportOptions
parents
21e3c15d
b44409d3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
3 deletions
+9
-3
swagger.json
api/openapi-spec/swagger.json
+0
-0
generated.proto
.../src/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto
+3
-0
types.go
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types.go
+3
-0
types_swagger_doc_generated.go
...machinery/pkg/apis/meta/v1/types_swagger_doc_generated.go
+3
-3
No files found.
api/openapi-spec/swagger.json
View file @
3ecd17d2
This diff is collapsed.
Click to expand it.
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto
View file @
3ecd17d2
...
@@ -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
;
}
}
...
...
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types.go
View file @
3ecd17d2
...
@@ -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"`
}
}
...
...
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types_swagger_doc_generated.go
View file @
3ecd17d2
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment