Remove api.ListOptions

This commit is contained in:
Wojciech Tyczynski
2015-11-25 15:00:14 +01:00
parent fc694ea787
commit 97c8f1d4fa
4 changed files with 5872 additions and 6396 deletions

View File

@@ -31,9 +31,9 @@ var Codec = runtime.CodecFor(Scheme, "")
func init() {
Scheme.AddDefaultingFuncs(
func(obj *ListOptions) {
obj.LabelSelector = labels.Everything()
obj.FieldSelector = fields.Everything()
func(obj *unversioned.ListOptions) {
obj.LabelSelector = unversioned.LabelSelector{labels.Everything()}
obj.FieldSelector = unversioned.FieldSelector{fields.Everything()}
},
// TODO: see about moving this into v1/defaults.go
func(obj *PodExecOptions) {