Add a server side export facility

This commit is contained in:
Brendan Burns
2015-12-01 15:45:29 -08:00
parent 91ef756bea
commit 2efcccf981
41 changed files with 16730 additions and 14701 deletions

View File

@@ -1669,6 +1669,15 @@ type DeleteOptions struct {
GracePeriodSeconds *int64 `json:"gracePeriodSeconds"`
}
// 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 {