kubernetes/pkg/util
Patrick Ohly 8a908e0c0b 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".
2024-12-02 16:59:34 +01:00
..
async fix wrong statement in unittest of BoundedFrequencyRunner 2022-11-15 17:36:26 +08:00
bandwidth remove import doc comments 2024-12-02 16:59:34 +01:00
coverage pkg/util/coverage: update fakeTestDeps methods 2024-05-29 12:31:22 -03:00
env Replace os.Setenv with testing.T.Setenv in tests 2023-04-17 20:39:46 -05:00
filesystem Add funcs in pkg/filesystem/util that can actually set file permissiosn 2024-07-15 14:22:59 -07:00
flag fix:handle error and remove Redundant type conversion 2022-07-19 11:30:46 +08:00
flock generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
goroutinemap fix:handle error and remove Redundant type conversion 2022-07-19 11:30:46 +08:00
hash replaced spew.Sprintf with a util pretty print function 2023-03-27 09:24:22 +08:00
interrupt delete unused functions in pkg/util directory 2023-01-16 17:22:35 +08:00
iptables remove import doc comments 2024-12-02 16:59:34 +01:00
kernel feat: support changes for net.ipv4.tcp_rmem and net.ipv4.tcp_wmem #125234 2024-09-20 11:22:28 +08:00
labels hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
node remove deadcode in pkg/util/node 2024-08-10 23:32:23 +08:00
oom remove import doc comments 2024-12-02 16:59:34 +01:00
parsers adjust error message a bit 2023-08-31 21:53:43 -04:00
pod Do not revert the pod condition if there might be running containers, skip condition update instead. 2022-11-07 16:22:29 +01:00
procfs remove import doc comments 2024-12-02 16:59:34 +01:00
removeall Replaces path.Operation with filepath.Operation 2024-01-15 20:35:13 +00:00
rlimit generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
slice add unit test coverage for pkg/util/slice 2022-06-30 15:21:37 +08:00
tail Move pkg/kubelet/kuberuntime/logs to k8s.io/cri-client staging 2024-05-30 15:13:22 +02:00
taints Improve test readability by fixing previous code variables that could easily be changed and 2022-09-16 17:23:35 +08:00
tolerations remove import doc comments 2024-12-02 16:59:34 +01:00