mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-02-22 01:17:41 -05:00
Automatic merge from submit-queue
Move api helpers.go to a subpackage
Part of https://github.com/kubernetes/kubernetes/issues/44065.
This PR moves the pkg/api/helpers.go to its own subpackage. It's mostly a mechanic move, except that
* I removed ConversionError in helpers.go, it's not used by anyone
* I moved the 3 methods of Taint and Toleration to pkg/api/methods.go, and left a TODO saying refactoring these methods to functions.
I'll send a few more PRs to make the k8s.io/kubernetes/pkg/api package only contains the code we want in the k8s.io/api repo, then we can run a [script](
|
||
|---|---|---|
| .. | ||
| testutil | ||
| BUILD | ||
| cidr_allocator.go | ||
| cidr_allocator_test.go | ||
| cidr_set.go | ||
| cidr_set_test.go | ||
| cloud_cidr_allocator.go | ||
| controller_utils.go | ||
| doc.go | ||
| metrics.go | ||
| nodecontroller.go | ||
| nodecontroller_test.go | ||
| OWNERS | ||
| range_allocator.go | ||
| rate_limited_queue.go | ||
| rate_limited_queue_test.go | ||
| taint_controller.go | ||
| taint_controller_test.go | ||
| timed_workers.go | ||
| timed_workers_test.go | ||