kubectl/pkg
Patrick Ohly 348f12d905 remove import doc comments
The "// import <path>" comment has been superseded by Go modules.
We don't have to remove them, but doing so has some advantages:

- They are used inconsistently, which is confusing.
- We can then also remove the (currently broken) hack/update-vanity-imports.sh.
- Last but not least, it would be a first step towards avoiding the k8s.io domain.

This commit was generated with
   sed -i -e 's;^package \(.*\) // import.*;package \1;' $(git grep -l '^package.*// import' | grep -v 'vendor/')

Everything was included, except for
   package labels // import k8s.io/kubernetes/pkg/util/labels
because that package is marked as "read-only".

Kubernetes-commit: 8a908e0c0bd96a3455edf7e3b5f5af90564e65b0
2024-12-02 14:43:58 +01:00
..
apps Remove `newlineReporter` custom report 2022-06-01 13:09:47 +08:00
cmd remove import doc comments 2024-12-02 14:43:58 +01:00
describe Use generic Contains rather than deprecated ContainsString 2024-11-25 11:30:04 +03:00
drain Update waitForDelete to use PollUntilContextTimeout 2024-10-05 22:07:37 +03:00
explain Revert PR #126533 and add a test case for the case where there is yaml 2024-11-12 14:23:03 +03:30
generate cleanup: omit comparison with bool constants 2023-09-04 16:59:23 +08:00
metricsutil kubectl(top): modify the percentage display of the top command 2024-08-29 20:44:14 +08:00
polymorphichelpers feat: add all-pods log flag to kubectl 2024-05-07 19:43:46 -04:00
proxy Remove ioutil from kubectl 2022-07-30 22:31:16 +09:00
rawhttp Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
scale Replace PollImmediate with PollUntilContextTimeout (#128147) 2024-11-07 16:57:29 +02:00
scheme vac support ResourceDescriber 2024-01-08 18:45:06 +08:00
util remove import doc comments 2024-12-02 14:43:58 +01:00
validation OpenAPIResourcesGetter allows lazy-loading OpenAPI V2 2023-03-13 20:28:40 -07:00