From e590ec705840226159e3d26f224890029cac912f Mon Sep 17 00:00:00 2001 From: xiangpengzhao Date: Sat, 12 Aug 2017 23:34:27 +0800 Subject: [PATCH] Remove packages which aren't relied on by heapster anymore. --- hack/.golint_failures | 2 -- hack/verify-generated-protobuf.sh | 2 +- pkg/BUILD | 6 ----- pkg/api/BUILD | 1 - pkg/api/errors/doc.go | 21 ---------------- pkg/api/meta/BUILD | 27 --------------------- pkg/api/meta/doc.go | 21 ---------------- pkg/api/meta/metatypes/BUILD | 24 ------------------ pkg/api/meta/metatypes/doc.go | 18 -------------- pkg/auth/user/BUILD | 24 ------------------ pkg/auth/user/OWNERS | 1 - pkg/auth/user/doc.go | 20 --------------- pkg/conversion/BUILD | 27 --------------------- pkg/conversion/doc.go | 21 ---------------- pkg/conversion/queryparams/BUILD | 24 ------------------ pkg/conversion/queryparams/OWNERS | 8 ------ pkg/conversion/queryparams/doc.go | 21 ---------------- pkg/fields/BUILD | 24 ------------------ pkg/fields/doc.go | 21 ---------------- pkg/labels/BUILD | 24 ------------------ pkg/labels/doc.go | 21 ---------------- pkg/runtime/BUILD | 27 --------------------- pkg/runtime/doc.go | 21 ---------------- pkg/runtime/serializer/BUILD | 31 ------------------------ pkg/runtime/serializer/doc.go | 21 ---------------- pkg/runtime/serializer/json/BUILD | 24 ------------------ pkg/runtime/serializer/json/doc.go | 21 ---------------- pkg/runtime/serializer/protobuf/BUILD | 24 ------------------ pkg/runtime/serializer/protobuf/doc.go | 21 ---------------- pkg/runtime/serializer/recognizer/BUILD | 24 ------------------ pkg/runtime/serializer/recognizer/doc.go | 21 ---------------- pkg/runtime/serializer/streaming/BUILD | 24 ------------------ pkg/runtime/serializer/streaming/doc.go | 21 ---------------- pkg/runtime/serializer/versioning/BUILD | 24 ------------------ pkg/runtime/serializer/versioning/doc.go | 21 ---------------- pkg/types/BUILD | 24 ------------------ pkg/types/doc.go | 21 ---------------- pkg/watch/doc.go | 21 ---------------- 38 files changed, 1 insertion(+), 748 deletions(-) delete mode 100644 pkg/api/errors/doc.go delete mode 100644 pkg/api/meta/BUILD delete mode 100644 pkg/api/meta/doc.go delete mode 100644 pkg/api/meta/metatypes/BUILD delete mode 100644 pkg/api/meta/metatypes/doc.go delete mode 100644 pkg/auth/user/BUILD delete mode 100755 pkg/auth/user/OWNERS delete mode 100644 pkg/auth/user/doc.go delete mode 100644 pkg/conversion/BUILD delete mode 100644 pkg/conversion/doc.go delete mode 100644 pkg/conversion/queryparams/BUILD delete mode 100755 pkg/conversion/queryparams/OWNERS delete mode 100644 pkg/conversion/queryparams/doc.go delete mode 100644 pkg/fields/BUILD delete mode 100644 pkg/fields/doc.go delete mode 100644 pkg/labels/BUILD delete mode 100644 pkg/labels/doc.go delete mode 100644 pkg/runtime/BUILD delete mode 100644 pkg/runtime/doc.go delete mode 100644 pkg/runtime/serializer/BUILD delete mode 100644 pkg/runtime/serializer/doc.go delete mode 100644 pkg/runtime/serializer/json/BUILD delete mode 100644 pkg/runtime/serializer/json/doc.go delete mode 100644 pkg/runtime/serializer/protobuf/BUILD delete mode 100644 pkg/runtime/serializer/protobuf/doc.go delete mode 100644 pkg/runtime/serializer/recognizer/BUILD delete mode 100644 pkg/runtime/serializer/recognizer/doc.go delete mode 100644 pkg/runtime/serializer/streaming/BUILD delete mode 100644 pkg/runtime/serializer/streaming/doc.go delete mode 100644 pkg/runtime/serializer/versioning/BUILD delete mode 100644 pkg/runtime/serializer/versioning/doc.go delete mode 100644 pkg/types/BUILD delete mode 100644 pkg/types/doc.go delete mode 100644 pkg/watch/doc.go diff --git a/hack/.golint_failures b/hack/.golint_failures index 7cd80fc02a2..b5e3f30b67d 100644 --- a/hack/.golint_failures +++ b/hack/.golint_failures @@ -80,7 +80,6 @@ federation/registry/cluster/etcd pkg/api/endpoints pkg/api/helper pkg/api/helper/qos -pkg/api/meta/metatypes pkg/api/ref pkg/api/testapi pkg/api/testing @@ -146,7 +145,6 @@ pkg/apis/storage/v1/util pkg/apis/storage/v1beta1 pkg/apis/storage/v1beta1/util pkg/auth/authorizer/abac -pkg/auth/user pkg/capabilities pkg/client/chaosclient pkg/client/informers/informers_generated/internalversion/internalinterfaces diff --git a/hack/verify-generated-protobuf.sh b/hack/verify-generated-protobuf.sh index c05ecf4e595..3c8518c4af3 100755 --- a/hack/verify-generated-protobuf.sh +++ b/hack/verify-generated-protobuf.sh @@ -23,7 +23,7 @@ source "${KUBE_ROOT}/hack/lib/init.sh" kube::golang::setup_env -APIROOTS=${APIROOTS:-pkg/api pkg/apis pkg/runtime pkg/watch staging/src/k8s.io/apimachinery/pkg/api staging/src/k8s.io/apimachinery/pkg/apis staging/src/k8s.io/apiserver/pkg staging/src/k8s.io/api staging/src/k8s.io/metrics/pkg/apis} +APIROOTS=${APIROOTS:-pkg/api pkg/apis pkg/watch staging/src/k8s.io/apimachinery/pkg/api staging/src/k8s.io/apimachinery/pkg/apis staging/src/k8s.io/apiserver/pkg staging/src/k8s.io/api staging/src/k8s.io/metrics/pkg/apis} _tmp="${KUBE_ROOT}/_tmp" cleanup() { diff --git a/pkg/BUILD b/pkg/BUILD index c5723921744..6ec2b5a4a73 100644 --- a/pkg/BUILD +++ b/pkg/BUILD @@ -34,7 +34,6 @@ filegroup( "//pkg/apis/storage:all-srcs", "//pkg/auth/authorizer/abac:all-srcs", "//pkg/auth/nodeidentifier:all-srcs", - "//pkg/auth/user:all-srcs", "//pkg/bootstrap/api:all-srcs", "//pkg/capabilities:all-srcs", "//pkg/client/chaosclient:all-srcs", @@ -65,18 +64,15 @@ filegroup( "//pkg/client/unversioned:all-srcs", "//pkg/cloudprovider:all-srcs", "//pkg/controller:all-srcs", - "//pkg/conversion:all-srcs", "//pkg/credentialprovider:all-srcs", "//pkg/features:all-srcs", "//pkg/fieldpath:all-srcs", - "//pkg/fields:all-srcs", "//pkg/generated:all-srcs", "//pkg/hyperkube:all-srcs", "//pkg/kubeapiserver:all-srcs", "//pkg/kubectl:all-srcs", "//pkg/kubelet:all-srcs", "//pkg/kubemark:all-srcs", - "//pkg/labels:all-srcs", "//pkg/master:all-srcs", "//pkg/printers:all-srcs", "//pkg/probe:all-srcs", @@ -84,12 +80,10 @@ filegroup( "//pkg/quota:all-srcs", "//pkg/registry:all-srcs", "//pkg/routes:all-srcs", - "//pkg/runtime:all-srcs", "//pkg/security:all-srcs", "//pkg/securitycontext:all-srcs", "//pkg/serviceaccount:all-srcs", "//pkg/ssh:all-srcs", - "//pkg/types:all-srcs", "//pkg/util:all-srcs", "//pkg/version:all-srcs", "//pkg/volume:all-srcs", diff --git a/pkg/api/BUILD b/pkg/api/BUILD index ad8c7a0b1d4..813f795aa5b 100644 --- a/pkg/api/BUILD +++ b/pkg/api/BUILD @@ -106,7 +106,6 @@ filegroup( "//pkg/api/fuzzer:all-srcs", "//pkg/api/helper:all-srcs", "//pkg/api/install:all-srcs", - "//pkg/api/meta:all-srcs", "//pkg/api/persistentvolume:all-srcs", "//pkg/api/pod:all-srcs", "//pkg/api/ref:all-srcs", diff --git a/pkg/api/errors/doc.go b/pkg/api/errors/doc.go deleted file mode 100644 index 855a7bdff56..00000000000 --- a/pkg/api/errors/doc.go +++ /dev/null @@ -1,21 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Package errors is for verify-godeps.sh and is temporary -// TODO apimachinery remove this empty package. Godep fails without this because heapster relies -// on this package. This will allow us to start splitting packages, but will force -// heapster to update on their next kube rebase. -package errors diff --git a/pkg/api/meta/BUILD b/pkg/api/meta/BUILD deleted file mode 100644 index c674fdb2e60..00000000000 --- a/pkg/api/meta/BUILD +++ /dev/null @@ -1,27 +0,0 @@ -package(default_visibility = ["//visibility:public"]) - -load( - "@io_bazel_rules_go//go:def.bzl", - "go_library", -) - -go_library( - name = "go_default_library", - srcs = ["doc.go"], -) - -filegroup( - name = "package-srcs", - srcs = glob(["**"]), - tags = ["automanaged"], - visibility = ["//visibility:private"], -) - -filegroup( - name = "all-srcs", - srcs = [ - ":package-srcs", - "//pkg/api/meta/metatypes:all-srcs", - ], - tags = ["automanaged"], -) diff --git a/pkg/api/meta/doc.go b/pkg/api/meta/doc.go deleted file mode 100644 index 06da7357b4e..00000000000 --- a/pkg/api/meta/doc.go +++ /dev/null @@ -1,21 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Package meta only exists until heapster rebases -// TODO genericapiserver remove this empty package. Godep fails without this because heapster relies -// on this package. This will allow us to start splitting packages, but will force -// heapster to update on their next kube rebase. -package meta diff --git a/pkg/api/meta/metatypes/BUILD b/pkg/api/meta/metatypes/BUILD deleted file mode 100644 index df044c0ebf9..00000000000 --- a/pkg/api/meta/metatypes/BUILD +++ /dev/null @@ -1,24 +0,0 @@ -package(default_visibility = ["//visibility:public"]) - -load( - "@io_bazel_rules_go//go:def.bzl", - "go_library", -) - -go_library( - name = "go_default_library", - srcs = ["doc.go"], -) - -filegroup( - name = "package-srcs", - srcs = glob(["**"]), - tags = ["automanaged"], - visibility = ["//visibility:private"], -) - -filegroup( - name = "all-srcs", - srcs = [":package-srcs"], - tags = ["automanaged"], -) diff --git a/pkg/api/meta/metatypes/doc.go b/pkg/api/meta/metatypes/doc.go deleted file mode 100644 index a2b9d5e1d9d..00000000000 --- a/pkg/api/meta/metatypes/doc.go +++ /dev/null @@ -1,18 +0,0 @@ -/* -Copyright 2016 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Package metatypes has been deprecated and removed. -package meta // import "k8s.io/kubernetes/pkg/api/meta/metatypes" diff --git a/pkg/auth/user/BUILD b/pkg/auth/user/BUILD deleted file mode 100644 index df044c0ebf9..00000000000 --- a/pkg/auth/user/BUILD +++ /dev/null @@ -1,24 +0,0 @@ -package(default_visibility = ["//visibility:public"]) - -load( - "@io_bazel_rules_go//go:def.bzl", - "go_library", -) - -go_library( - name = "go_default_library", - srcs = ["doc.go"], -) - -filegroup( - name = "package-srcs", - srcs = glob(["**"]), - tags = ["automanaged"], - visibility = ["//visibility:private"], -) - -filegroup( - name = "all-srcs", - srcs = [":package-srcs"], - tags = ["automanaged"], -) diff --git a/pkg/auth/user/OWNERS b/pkg/auth/user/OWNERS deleted file mode 100755 index 94487992079..00000000000 --- a/pkg/auth/user/OWNERS +++ /dev/null @@ -1 +0,0 @@ -reviewers: diff --git a/pkg/auth/user/doc.go b/pkg/auth/user/doc.go deleted file mode 100644 index 72eb15c8a5d..00000000000 --- a/pkg/auth/user/doc.go +++ /dev/null @@ -1,20 +0,0 @@ -/* -Copyright 2016 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// TODO genericapiserver remove this empty package. Godep fails without this because heapster relies -// on this package. This will allow us to start splitting packages, but will force -// heapster to update on their next kube rebase. -package user diff --git a/pkg/conversion/BUILD b/pkg/conversion/BUILD deleted file mode 100644 index 876947c2e44..00000000000 --- a/pkg/conversion/BUILD +++ /dev/null @@ -1,27 +0,0 @@ -package(default_visibility = ["//visibility:public"]) - -load( - "@io_bazel_rules_go//go:def.bzl", - "go_library", -) - -go_library( - name = "go_default_library", - srcs = ["doc.go"], -) - -filegroup( - name = "package-srcs", - srcs = glob(["**"]), - tags = ["automanaged"], - visibility = ["//visibility:private"], -) - -filegroup( - name = "all-srcs", - srcs = [ - ":package-srcs", - "//pkg/conversion/queryparams:all-srcs", - ], - tags = ["automanaged"], -) diff --git a/pkg/conversion/doc.go b/pkg/conversion/doc.go deleted file mode 100644 index 68f6e8dcc5b..00000000000 --- a/pkg/conversion/doc.go +++ /dev/null @@ -1,21 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Package conversion only exists until heapster rebases -// TODO genericapiserver remove this empty package. Godep fails without this because heapster relies -// on this package. This will allow us to start splitting packages, but will force -// heapster to update on their next kube rebase. -package conversion diff --git a/pkg/conversion/queryparams/BUILD b/pkg/conversion/queryparams/BUILD deleted file mode 100644 index df044c0ebf9..00000000000 --- a/pkg/conversion/queryparams/BUILD +++ /dev/null @@ -1,24 +0,0 @@ -package(default_visibility = ["//visibility:public"]) - -load( - "@io_bazel_rules_go//go:def.bzl", - "go_library", -) - -go_library( - name = "go_default_library", - srcs = ["doc.go"], -) - -filegroup( - name = "package-srcs", - srcs = glob(["**"]), - tags = ["automanaged"], - visibility = ["//visibility:private"], -) - -filegroup( - name = "all-srcs", - srcs = [":package-srcs"], - tags = ["automanaged"], -) diff --git a/pkg/conversion/queryparams/OWNERS b/pkg/conversion/queryparams/OWNERS deleted file mode 100755 index 31b24b48a0d..00000000000 --- a/pkg/conversion/queryparams/OWNERS +++ /dev/null @@ -1,8 +0,0 @@ -reviewers: -- smarterclayton -- wojtek-t -- caesarxuchao -- mikedanese -- liggitt -- kargakis -- dims diff --git a/pkg/conversion/queryparams/doc.go b/pkg/conversion/queryparams/doc.go deleted file mode 100644 index fa1d5e1bc7e..00000000000 --- a/pkg/conversion/queryparams/doc.go +++ /dev/null @@ -1,21 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Package queryparams only exists until heapster rebases -// TODO genericapiserver remove this empty package. Godep fails without this because heapster relies -// on this package. This will allow us to start splitting packages, but will force -// heapster to update on their next kube rebase. -package queryparams diff --git a/pkg/fields/BUILD b/pkg/fields/BUILD deleted file mode 100644 index df044c0ebf9..00000000000 --- a/pkg/fields/BUILD +++ /dev/null @@ -1,24 +0,0 @@ -package(default_visibility = ["//visibility:public"]) - -load( - "@io_bazel_rules_go//go:def.bzl", - "go_library", -) - -go_library( - name = "go_default_library", - srcs = ["doc.go"], -) - -filegroup( - name = "package-srcs", - srcs = glob(["**"]), - tags = ["automanaged"], - visibility = ["//visibility:private"], -) - -filegroup( - name = "all-srcs", - srcs = [":package-srcs"], - tags = ["automanaged"], -) diff --git a/pkg/fields/doc.go b/pkg/fields/doc.go deleted file mode 100644 index 9c662bf983b..00000000000 --- a/pkg/fields/doc.go +++ /dev/null @@ -1,21 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Package fields only exists until heapster rebases -// TODO genericapiserver remove this empty package. Godep fails without this because heapster relies -// on this package. This will allow us to start splitting packages, but will force -// heapster to update on their next kube rebase. -package fields diff --git a/pkg/labels/BUILD b/pkg/labels/BUILD deleted file mode 100644 index df044c0ebf9..00000000000 --- a/pkg/labels/BUILD +++ /dev/null @@ -1,24 +0,0 @@ -package(default_visibility = ["//visibility:public"]) - -load( - "@io_bazel_rules_go//go:def.bzl", - "go_library", -) - -go_library( - name = "go_default_library", - srcs = ["doc.go"], -) - -filegroup( - name = "package-srcs", - srcs = glob(["**"]), - tags = ["automanaged"], - visibility = ["//visibility:private"], -) - -filegroup( - name = "all-srcs", - srcs = [":package-srcs"], - tags = ["automanaged"], -) diff --git a/pkg/labels/doc.go b/pkg/labels/doc.go deleted file mode 100644 index d1581fd0b65..00000000000 --- a/pkg/labels/doc.go +++ /dev/null @@ -1,21 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Package labels only exists until heapster rebases -// TODO genericapiserver remove this empty package. Godep fails without this because heapster relies -// on this package. This will allow us to start splitting packages, but will force -// heapster to update on their next kube rebase. -package labels diff --git a/pkg/runtime/BUILD b/pkg/runtime/BUILD deleted file mode 100644 index b12028fcce5..00000000000 --- a/pkg/runtime/BUILD +++ /dev/null @@ -1,27 +0,0 @@ -package(default_visibility = ["//visibility:public"]) - -load( - "@io_bazel_rules_go//go:def.bzl", - "go_library", -) - -go_library( - name = "go_default_library", - srcs = ["doc.go"], -) - -filegroup( - name = "package-srcs", - srcs = glob(["**"]), - tags = ["automanaged"], - visibility = ["//visibility:private"], -) - -filegroup( - name = "all-srcs", - srcs = [ - ":package-srcs", - "//pkg/runtime/serializer:all-srcs", - ], - tags = ["automanaged"], -) diff --git a/pkg/runtime/doc.go b/pkg/runtime/doc.go deleted file mode 100644 index d9aeba6c9c5..00000000000 --- a/pkg/runtime/doc.go +++ /dev/null @@ -1,21 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Package runtime only exists until heapster rebases -// TODO genericapiserver remove this empty package. Godep fails without this because heapster relies -// on this package. This will allow us to start splitting packages, but will force -// heapster to update on their next kube rebase. -package runtime diff --git a/pkg/runtime/serializer/BUILD b/pkg/runtime/serializer/BUILD deleted file mode 100644 index 8e7996bfd89..00000000000 --- a/pkg/runtime/serializer/BUILD +++ /dev/null @@ -1,31 +0,0 @@ -package(default_visibility = ["//visibility:public"]) - -load( - "@io_bazel_rules_go//go:def.bzl", - "go_library", -) - -go_library( - name = "go_default_library", - srcs = ["doc.go"], -) - -filegroup( - name = "package-srcs", - srcs = glob(["**"]), - tags = ["automanaged"], - visibility = ["//visibility:private"], -) - -filegroup( - name = "all-srcs", - srcs = [ - ":package-srcs", - "//pkg/runtime/serializer/json:all-srcs", - "//pkg/runtime/serializer/protobuf:all-srcs", - "//pkg/runtime/serializer/recognizer:all-srcs", - "//pkg/runtime/serializer/streaming:all-srcs", - "//pkg/runtime/serializer/versioning:all-srcs", - ], - tags = ["automanaged"], -) diff --git a/pkg/runtime/serializer/doc.go b/pkg/runtime/serializer/doc.go deleted file mode 100644 index 6989a4ea0b7..00000000000 --- a/pkg/runtime/serializer/doc.go +++ /dev/null @@ -1,21 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Package serializer only exists until heapster rebases -// TODO genericapiserver remove this empty package. Godep fails without this because heapster relies -// on this package. This will allow us to start splitting packages, but will force -// heapster to update on their next kube rebase. -package serializer diff --git a/pkg/runtime/serializer/json/BUILD b/pkg/runtime/serializer/json/BUILD deleted file mode 100644 index df044c0ebf9..00000000000 --- a/pkg/runtime/serializer/json/BUILD +++ /dev/null @@ -1,24 +0,0 @@ -package(default_visibility = ["//visibility:public"]) - -load( - "@io_bazel_rules_go//go:def.bzl", - "go_library", -) - -go_library( - name = "go_default_library", - srcs = ["doc.go"], -) - -filegroup( - name = "package-srcs", - srcs = glob(["**"]), - tags = ["automanaged"], - visibility = ["//visibility:private"], -) - -filegroup( - name = "all-srcs", - srcs = [":package-srcs"], - tags = ["automanaged"], -) diff --git a/pkg/runtime/serializer/json/doc.go b/pkg/runtime/serializer/json/doc.go deleted file mode 100644 index a7c3c015172..00000000000 --- a/pkg/runtime/serializer/json/doc.go +++ /dev/null @@ -1,21 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Package json only exists until heapster rebases -// TODO genericapiserver remove this empty package. Godep fails without this because heapster relies -// on this package. This will allow us to start splitting packages, but will force -// heapster to update on their next kube rebase. -package json diff --git a/pkg/runtime/serializer/protobuf/BUILD b/pkg/runtime/serializer/protobuf/BUILD deleted file mode 100644 index df044c0ebf9..00000000000 --- a/pkg/runtime/serializer/protobuf/BUILD +++ /dev/null @@ -1,24 +0,0 @@ -package(default_visibility = ["//visibility:public"]) - -load( - "@io_bazel_rules_go//go:def.bzl", - "go_library", -) - -go_library( - name = "go_default_library", - srcs = ["doc.go"], -) - -filegroup( - name = "package-srcs", - srcs = glob(["**"]), - tags = ["automanaged"], - visibility = ["//visibility:private"], -) - -filegroup( - name = "all-srcs", - srcs = [":package-srcs"], - tags = ["automanaged"], -) diff --git a/pkg/runtime/serializer/protobuf/doc.go b/pkg/runtime/serializer/protobuf/doc.go deleted file mode 100644 index b63cce0eaea..00000000000 --- a/pkg/runtime/serializer/protobuf/doc.go +++ /dev/null @@ -1,21 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Package protobuf only exists until heapster rebases -// TODO genericapiserver remove this empty package. Godep fails without this because heapster relies -// on this package. This will allow us to start splitting packages, but will force -// heapster to update on their next kube rebase. -package protobuf diff --git a/pkg/runtime/serializer/recognizer/BUILD b/pkg/runtime/serializer/recognizer/BUILD deleted file mode 100644 index df044c0ebf9..00000000000 --- a/pkg/runtime/serializer/recognizer/BUILD +++ /dev/null @@ -1,24 +0,0 @@ -package(default_visibility = ["//visibility:public"]) - -load( - "@io_bazel_rules_go//go:def.bzl", - "go_library", -) - -go_library( - name = "go_default_library", - srcs = ["doc.go"], -) - -filegroup( - name = "package-srcs", - srcs = glob(["**"]), - tags = ["automanaged"], - visibility = ["//visibility:private"], -) - -filegroup( - name = "all-srcs", - srcs = [":package-srcs"], - tags = ["automanaged"], -) diff --git a/pkg/runtime/serializer/recognizer/doc.go b/pkg/runtime/serializer/recognizer/doc.go deleted file mode 100644 index 48331428b00..00000000000 --- a/pkg/runtime/serializer/recognizer/doc.go +++ /dev/null @@ -1,21 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Package recognizer only exists until heapster rebases -// TODO genericapiserver remove this empty package. Godep fails without this because heapster relies -// on this package. This will allow us to start splitting packages, but will force -// heapster to update on their next kube rebase. -package recognizer diff --git a/pkg/runtime/serializer/streaming/BUILD b/pkg/runtime/serializer/streaming/BUILD deleted file mode 100644 index df044c0ebf9..00000000000 --- a/pkg/runtime/serializer/streaming/BUILD +++ /dev/null @@ -1,24 +0,0 @@ -package(default_visibility = ["//visibility:public"]) - -load( - "@io_bazel_rules_go//go:def.bzl", - "go_library", -) - -go_library( - name = "go_default_library", - srcs = ["doc.go"], -) - -filegroup( - name = "package-srcs", - srcs = glob(["**"]), - tags = ["automanaged"], - visibility = ["//visibility:private"], -) - -filegroup( - name = "all-srcs", - srcs = [":package-srcs"], - tags = ["automanaged"], -) diff --git a/pkg/runtime/serializer/streaming/doc.go b/pkg/runtime/serializer/streaming/doc.go deleted file mode 100644 index ddac0959fa0..00000000000 --- a/pkg/runtime/serializer/streaming/doc.go +++ /dev/null @@ -1,21 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Package streaming only exists until heapster rebases -// TODO genericapiserver remove this empty package. Godep fails without this because heapster relies -// on this package. This will allow us to start splitting packages, but will force -// heapster to update on their next kube rebase. -package streaming diff --git a/pkg/runtime/serializer/versioning/BUILD b/pkg/runtime/serializer/versioning/BUILD deleted file mode 100644 index df044c0ebf9..00000000000 --- a/pkg/runtime/serializer/versioning/BUILD +++ /dev/null @@ -1,24 +0,0 @@ -package(default_visibility = ["//visibility:public"]) - -load( - "@io_bazel_rules_go//go:def.bzl", - "go_library", -) - -go_library( - name = "go_default_library", - srcs = ["doc.go"], -) - -filegroup( - name = "package-srcs", - srcs = glob(["**"]), - tags = ["automanaged"], - visibility = ["//visibility:private"], -) - -filegroup( - name = "all-srcs", - srcs = [":package-srcs"], - tags = ["automanaged"], -) diff --git a/pkg/runtime/serializer/versioning/doc.go b/pkg/runtime/serializer/versioning/doc.go deleted file mode 100644 index 8c7bb140e47..00000000000 --- a/pkg/runtime/serializer/versioning/doc.go +++ /dev/null @@ -1,21 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Package versioning only exists until heapster rebases -// TODO genericapiserver remove this empty package. Godep fails without this because heapster relies -// on this package. This will allow us to start splitting packages, but will force -// heapster to update on their next kube rebase. -package versioning diff --git a/pkg/types/BUILD b/pkg/types/BUILD deleted file mode 100644 index df044c0ebf9..00000000000 --- a/pkg/types/BUILD +++ /dev/null @@ -1,24 +0,0 @@ -package(default_visibility = ["//visibility:public"]) - -load( - "@io_bazel_rules_go//go:def.bzl", - "go_library", -) - -go_library( - name = "go_default_library", - srcs = ["doc.go"], -) - -filegroup( - name = "package-srcs", - srcs = glob(["**"]), - tags = ["automanaged"], - visibility = ["//visibility:private"], -) - -filegroup( - name = "all-srcs", - srcs = [":package-srcs"], - tags = ["automanaged"], -) diff --git a/pkg/types/doc.go b/pkg/types/doc.go deleted file mode 100644 index e3822713502..00000000000 --- a/pkg/types/doc.go +++ /dev/null @@ -1,21 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Package types only exists until heapster rebases -// TODO genericapiserver remove this empty package. Godep fails without this because heapster relies -// on this package. This will allow us to start splitting packages, but will force -// heapster to update on their next kube rebase. -package types diff --git a/pkg/watch/doc.go b/pkg/watch/doc.go deleted file mode 100644 index 499b7bea0a4..00000000000 --- a/pkg/watch/doc.go +++ /dev/null @@ -1,21 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Package watch only exists until heapster rebases -// TODO genericapiserver remove this empty package. Godep fails without this because heapster relies -// on this package. This will allow us to start splitting packages, but will force -// heapster to update on their next kube rebase. -package watch