diff --git a/build/tools.go b/build/tools.go index ad60ce3a675..0d3bab14403 100644 --- a/build/tools.go +++ b/build/tools.go @@ -1,5 +1,4 @@ //go:build tools -// +build tools /* Copyright 2019 The Kubernetes Authors. diff --git a/cluster/images/etcd/migrate/integration_test.go b/cluster/images/etcd/migrate/integration_test.go index 968feba3797..6f7b255f93d 100644 --- a/cluster/images/etcd/migrate/integration_test.go +++ b/cluster/images/etcd/migrate/integration_test.go @@ -1,5 +1,4 @@ //go:build integration -// +build integration /* Copyright 2018 The Kubernetes Authors. diff --git a/cluster/images/etcd/migrate/util_others.go b/cluster/images/etcd/migrate/util_others.go index 79c826712a2..7640bb722f8 100644 --- a/cluster/images/etcd/migrate/util_others.go +++ b/cluster/images/etcd/migrate/util_others.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2020 The Kubernetes Authors. diff --git a/cluster/images/etcd/migrate/utils_windows.go b/cluster/images/etcd/migrate/utils_windows.go index be7cce349b8..47a9663019e 100644 --- a/cluster/images/etcd/migrate/utils_windows.go +++ b/cluster/images/etcd/migrate/utils_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2020 The Kubernetes Authors. diff --git a/cmd/kube-proxy/app/init_linux.go b/cmd/kube-proxy/app/init_linux.go index 7e0ff787fe1..fb422d067c1 100644 --- a/cmd/kube-proxy/app/init_linux.go +++ b/cmd/kube-proxy/app/init_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2018 The Kubernetes Authors. diff --git a/cmd/kube-proxy/app/init_other.go b/cmd/kube-proxy/app/init_other.go index a9fa789926c..6282e00ea08 100644 --- a/cmd/kube-proxy/app/init_other.go +++ b/cmd/kube-proxy/app/init_other.go @@ -1,5 +1,4 @@ //go:build !windows && !linux -// +build !windows,!linux /* Copyright 2024 The Kubernetes Authors. diff --git a/cmd/kube-proxy/app/init_windows.go b/cmd/kube-proxy/app/init_windows.go index 8b450cd2ff5..2a0c28b2297 100644 --- a/cmd/kube-proxy/app/init_windows.go +++ b/cmd/kube-proxy/app/init_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2018 The Kubernetes Authors. diff --git a/cmd/kube-proxy/app/server_linux.go b/cmd/kube-proxy/app/server_linux.go index e9074b55c25..6b98d40668f 100644 --- a/cmd/kube-proxy/app/server_linux.go +++ b/cmd/kube-proxy/app/server_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2014 The Kubernetes Authors. diff --git a/cmd/kube-proxy/app/server_linux_test.go b/cmd/kube-proxy/app/server_linux_test.go index ec2dcc8cf87..3f0c2bd7366 100644 --- a/cmd/kube-proxy/app/server_linux_test.go +++ b/cmd/kube-proxy/app/server_linux_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2018 The Kubernetes Authors. diff --git a/cmd/kube-proxy/app/server_other.go b/cmd/kube-proxy/app/server_other.go index 331552f048b..f2a89d576c3 100644 --- a/cmd/kube-proxy/app/server_other.go +++ b/cmd/kube-proxy/app/server_other.go @@ -1,5 +1,4 @@ //go:build !windows && !linux -// +build !windows,!linux /* Copyright 2024 The Kubernetes Authors. diff --git a/cmd/kube-proxy/app/server_windows.go b/cmd/kube-proxy/app/server_windows.go index 05d1ddafd3d..ab08abf23b0 100644 --- a/cmd/kube-proxy/app/server_windows.go +++ b/cmd/kube-proxy/app/server_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2014 The Kubernetes Authors. diff --git a/cmd/kubeadm/app/apis/kubeadm/v1beta3/defaults_unix.go b/cmd/kubeadm/app/apis/kubeadm/v1beta3/defaults_unix.go index 7779e64021f..f220ec70989 100644 --- a/cmd/kubeadm/app/apis/kubeadm/v1beta3/defaults_unix.go +++ b/cmd/kubeadm/app/apis/kubeadm/v1beta3/defaults_unix.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2021 The Kubernetes Authors. diff --git a/cmd/kubeadm/app/apis/kubeadm/v1beta3/defaults_windows.go b/cmd/kubeadm/app/apis/kubeadm/v1beta3/defaults_windows.go index c2f424efc62..045bf0e7dc3 100644 --- a/cmd/kubeadm/app/apis/kubeadm/v1beta3/defaults_windows.go +++ b/cmd/kubeadm/app/apis/kubeadm/v1beta3/defaults_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2021 The Kubernetes Authors. diff --git a/cmd/kubeadm/app/apis/kubeadm/v1beta4/defaults_unix.go b/cmd/kubeadm/app/apis/kubeadm/v1beta4/defaults_unix.go index cb79b8d2e18..5393eef1107 100644 --- a/cmd/kubeadm/app/apis/kubeadm/v1beta4/defaults_unix.go +++ b/cmd/kubeadm/app/apis/kubeadm/v1beta4/defaults_unix.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2023 The Kubernetes Authors. diff --git a/cmd/kubeadm/app/apis/kubeadm/v1beta4/defaults_windows.go b/cmd/kubeadm/app/apis/kubeadm/v1beta4/defaults_windows.go index 6926d7d8370..dd4ed1e7250 100644 --- a/cmd/kubeadm/app/apis/kubeadm/v1beta4/defaults_windows.go +++ b/cmd/kubeadm/app/apis/kubeadm/v1beta4/defaults_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2023 The Kubernetes Authors. diff --git a/cmd/kubeadm/app/apis/kubeadm/validation/util_unix.go b/cmd/kubeadm/app/apis/kubeadm/validation/util_unix.go index fbaac20ab33..4882315e29d 100644 --- a/cmd/kubeadm/app/apis/kubeadm/validation/util_unix.go +++ b/cmd/kubeadm/app/apis/kubeadm/validation/util_unix.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2022 The Kubernetes Authors. diff --git a/cmd/kubeadm/app/apis/kubeadm/validation/util_windows.go b/cmd/kubeadm/app/apis/kubeadm/validation/util_windows.go index 86abd92642c..1d6b5481b08 100644 --- a/cmd/kubeadm/app/apis/kubeadm/validation/util_windows.go +++ b/cmd/kubeadm/app/apis/kubeadm/validation/util_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2022 The Kubernetes Authors. diff --git a/cmd/kubeadm/app/cmd/certs_test.go b/cmd/kubeadm/app/cmd/certs_test.go index 7a556cd45e5..4181d44b878 100644 --- a/cmd/kubeadm/app/cmd/certs_test.go +++ b/cmd/kubeadm/app/cmd/certs_test.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2018 The Kubernetes Authors. diff --git a/cmd/kubeadm/app/cmd/phases/reset/unmount.go b/cmd/kubeadm/app/cmd/phases/reset/unmount.go index 42e8c543762..d9e2fd8a41f 100644 --- a/cmd/kubeadm/app/cmd/phases/reset/unmount.go +++ b/cmd/kubeadm/app/cmd/phases/reset/unmount.go @@ -1,5 +1,4 @@ //go:build !linux -// +build !linux /* Copyright 2019 The Kubernetes Authors. diff --git a/cmd/kubeadm/app/cmd/phases/reset/unmount_linux.go b/cmd/kubeadm/app/cmd/phases/reset/unmount_linux.go index dc16209afbb..b092ae951e1 100644 --- a/cmd/kubeadm/app/cmd/phases/reset/unmount_linux.go +++ b/cmd/kubeadm/app/cmd/phases/reset/unmount_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2019 The Kubernetes Authors. diff --git a/cmd/kubeadm/app/cmd/phases/reset/unmount_linux_test.go b/cmd/kubeadm/app/cmd/phases/reset/unmount_linux_test.go index f42dff5118b..b56d46b0446 100644 --- a/cmd/kubeadm/app/cmd/phases/reset/unmount_linux_test.go +++ b/cmd/kubeadm/app/cmd/phases/reset/unmount_linux_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2023 The Kubernetes Authors. diff --git a/cmd/kubeadm/app/cmd/util_other_test.go b/cmd/kubeadm/app/cmd/util_other_test.go index d2a2ab41832..121e0412afe 100644 --- a/cmd/kubeadm/app/cmd/util_other_test.go +++ b/cmd/kubeadm/app/cmd/util_other_test.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2023 The Kubernetes Authors. diff --git a/cmd/kubeadm/app/cmd/util_windows_test.go b/cmd/kubeadm/app/cmd/util_windows_test.go index 1eaa8e4bf5f..6e7e174ffc3 100644 --- a/cmd/kubeadm/app/cmd/util_windows_test.go +++ b/cmd/kubeadm/app/cmd/util_windows_test.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2023 The Kubernetes Authors. diff --git a/cmd/kubeadm/app/componentconfigs/kubelet_unix.go b/cmd/kubeadm/app/componentconfigs/kubelet_unix.go index 932deb3d32a..05849cbf8a1 100644 --- a/cmd/kubeadm/app/componentconfigs/kubelet_unix.go +++ b/cmd/kubeadm/app/componentconfigs/kubelet_unix.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2021 The Kubernetes Authors. diff --git a/cmd/kubeadm/app/componentconfigs/kubelet_unix_test.go b/cmd/kubeadm/app/componentconfigs/kubelet_unix_test.go index c706bb8c534..aad3a69d608 100644 --- a/cmd/kubeadm/app/componentconfigs/kubelet_unix_test.go +++ b/cmd/kubeadm/app/componentconfigs/kubelet_unix_test.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2024 The Kubernetes Authors. diff --git a/cmd/kubeadm/app/componentconfigs/kubelet_windows.go b/cmd/kubeadm/app/componentconfigs/kubelet_windows.go index 6ef641082d0..87b877708b2 100644 --- a/cmd/kubeadm/app/componentconfigs/kubelet_windows.go +++ b/cmd/kubeadm/app/componentconfigs/kubelet_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2021 The Kubernetes Authors. diff --git a/cmd/kubeadm/app/componentconfigs/kubelet_windows_test.go b/cmd/kubeadm/app/componentconfigs/kubelet_windows_test.go index ea6c45c4641..8023ada185d 100644 --- a/cmd/kubeadm/app/componentconfigs/kubelet_windows_test.go +++ b/cmd/kubeadm/app/componentconfigs/kubelet_windows_test.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2021 The Kubernetes Authors. diff --git a/cmd/kubeadm/app/constants/constants_unix.go b/cmd/kubeadm/app/constants/constants_unix.go index 0943d0610c0..0a843e46689 100644 --- a/cmd/kubeadm/app/constants/constants_unix.go +++ b/cmd/kubeadm/app/constants/constants_unix.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2019 The Kubernetes Authors. diff --git a/cmd/kubeadm/app/constants/constants_windows.go b/cmd/kubeadm/app/constants/constants_windows.go index 48e870023bc..5d89692b619 100644 --- a/cmd/kubeadm/app/constants/constants_windows.go +++ b/cmd/kubeadm/app/constants/constants_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2019 The Kubernetes Authors. diff --git a/cmd/kubeadm/app/phases/controlplane/manifests_test.go b/cmd/kubeadm/app/phases/controlplane/manifests_test.go index e5d9846690a..a1d5a332cfe 100644 --- a/cmd/kubeadm/app/phases/controlplane/manifests_test.go +++ b/cmd/kubeadm/app/phases/controlplane/manifests_test.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2016 The Kubernetes Authors. diff --git a/cmd/kubeadm/app/phases/controlplane/volumes_test.go b/cmd/kubeadm/app/phases/controlplane/volumes_test.go index bcbdcb79f5f..728772f6135 100644 --- a/cmd/kubeadm/app/phases/controlplane/volumes_test.go +++ b/cmd/kubeadm/app/phases/controlplane/volumes_test.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2017 The Kubernetes Authors. diff --git a/cmd/kubeadm/app/phases/copycerts/testutil_umask.go b/cmd/kubeadm/app/phases/copycerts/testutil_umask.go index d8ece9b22ba..b405a433872 100644 --- a/cmd/kubeadm/app/phases/copycerts/testutil_umask.go +++ b/cmd/kubeadm/app/phases/copycerts/testutil_umask.go @@ -1,5 +1,4 @@ //go:build darwin || linux -// +build darwin linux /* Copyright 2021 The Kubernetes Authors. diff --git a/cmd/kubeadm/app/phases/copycerts/testutil_umask_noop.go b/cmd/kubeadm/app/phases/copycerts/testutil_umask_noop.go index 22efc3b4ae5..ecd039c1011 100644 --- a/cmd/kubeadm/app/phases/copycerts/testutil_umask_noop.go +++ b/cmd/kubeadm/app/phases/copycerts/testutil_umask_noop.go @@ -1,5 +1,4 @@ //go:build !darwin && !linux -// +build !darwin,!linux /* Copyright 2021 The Kubernetes Authors. diff --git a/cmd/kubeadm/app/phases/etcd/local_test.go b/cmd/kubeadm/app/phases/etcd/local_test.go index aa0bc2d56c1..7df188c9099 100644 --- a/cmd/kubeadm/app/phases/etcd/local_test.go +++ b/cmd/kubeadm/app/phases/etcd/local_test.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2017 The Kubernetes Authors. diff --git a/cmd/kubeadm/app/preflight/checks_darwin.go b/cmd/kubeadm/app/preflight/checks_darwin.go index bf06ae46a72..606faa58247 100644 --- a/cmd/kubeadm/app/preflight/checks_darwin.go +++ b/cmd/kubeadm/app/preflight/checks_darwin.go @@ -1,5 +1,4 @@ //go:build darwin -// +build darwin /* Copyright 2019 The Kubernetes Authors. diff --git a/cmd/kubeadm/app/preflight/checks_linux.go b/cmd/kubeadm/app/preflight/checks_linux.go index e5aa7a90779..765dfc82197 100644 --- a/cmd/kubeadm/app/preflight/checks_linux.go +++ b/cmd/kubeadm/app/preflight/checks_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2019 The Kubernetes Authors. diff --git a/cmd/kubeadm/app/preflight/checks_other.go b/cmd/kubeadm/app/preflight/checks_other.go index 9756849ac8c..26f91e4355d 100644 --- a/cmd/kubeadm/app/preflight/checks_other.go +++ b/cmd/kubeadm/app/preflight/checks_other.go @@ -1,5 +1,4 @@ //go:build !linux -// +build !linux /* Copyright 2022 The Kubernetes Authors. diff --git a/cmd/kubeadm/app/preflight/checks_unix.go b/cmd/kubeadm/app/preflight/checks_unix.go index ef1119ea943..649abbd4f0d 100644 --- a/cmd/kubeadm/app/preflight/checks_unix.go +++ b/cmd/kubeadm/app/preflight/checks_unix.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2017 The Kubernetes Authors. diff --git a/cmd/kubeadm/app/preflight/checks_windows.go b/cmd/kubeadm/app/preflight/checks_windows.go index 562c6952a4f..717146901e1 100644 --- a/cmd/kubeadm/app/preflight/checks_windows.go +++ b/cmd/kubeadm/app/preflight/checks_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2017 The Kubernetes Authors. diff --git a/cmd/kubeadm/app/util/chroot_unix.go b/cmd/kubeadm/app/util/chroot_unix.go index bc303b89c18..06a84e09656 100644 --- a/cmd/kubeadm/app/util/chroot_unix.go +++ b/cmd/kubeadm/app/util/chroot_unix.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2018 The Kubernetes Authors. diff --git a/cmd/kubeadm/app/util/chroot_windows.go b/cmd/kubeadm/app/util/chroot_windows.go index 871db8b4dbd..41b496e9686 100644 --- a/cmd/kubeadm/app/util/chroot_windows.go +++ b/cmd/kubeadm/app/util/chroot_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2018 The Kubernetes Authors. diff --git a/cmd/kubeadm/app/util/copy_unix.go b/cmd/kubeadm/app/util/copy_unix.go index 0d75b09dd0e..c015a289fd7 100644 --- a/cmd/kubeadm/app/util/copy_unix.go +++ b/cmd/kubeadm/app/util/copy_unix.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2017 The Kubernetes Authors. diff --git a/cmd/kubeadm/app/util/copy_windows.go b/cmd/kubeadm/app/util/copy_windows.go index e20f4f7b936..d0d9df99fc4 100644 --- a/cmd/kubeadm/app/util/copy_windows.go +++ b/cmd/kubeadm/app/util/copy_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2022 The Kubernetes Authors. diff --git a/cmd/kubeadm/app/util/initsystem/initsystem_unix.go b/cmd/kubeadm/app/util/initsystem/initsystem_unix.go index 2ad4fdad663..355adfd83c7 100644 --- a/cmd/kubeadm/app/util/initsystem/initsystem_unix.go +++ b/cmd/kubeadm/app/util/initsystem/initsystem_unix.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2017 The Kubernetes Authors. diff --git a/cmd/kubeadm/app/util/initsystem/initsystem_windows.go b/cmd/kubeadm/app/util/initsystem/initsystem_windows.go index cefa462b01e..0c8d4241efb 100644 --- a/cmd/kubeadm/app/util/initsystem/initsystem_windows.go +++ b/cmd/kubeadm/app/util/initsystem/initsystem_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2017 The Kubernetes Authors. diff --git a/cmd/kubeadm/app/util/runtime/runtime_unix.go b/cmd/kubeadm/app/util/runtime/runtime_unix.go index 5989c14290f..41f7f3b6e5c 100644 --- a/cmd/kubeadm/app/util/runtime/runtime_unix.go +++ b/cmd/kubeadm/app/util/runtime/runtime_unix.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2019 The Kubernetes Authors. diff --git a/cmd/kubeadm/app/util/runtime/runtime_windows.go b/cmd/kubeadm/app/util/runtime/runtime_windows.go index 460bfcd0388..754591b925a 100644 --- a/cmd/kubeadm/app/util/runtime/runtime_windows.go +++ b/cmd/kubeadm/app/util/runtime/runtime_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2019 The Kubernetes Authors. diff --git a/cmd/kubeadm/app/util/staticpod/utils_linux.go b/cmd/kubeadm/app/util/staticpod/utils_linux.go index 27003c46f37..50c0e56e6e5 100644 --- a/cmd/kubeadm/app/util/staticpod/utils_linux.go +++ b/cmd/kubeadm/app/util/staticpod/utils_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2021 The Kubernetes Authors. diff --git a/cmd/kubeadm/app/util/staticpod/utils_linux_test.go b/cmd/kubeadm/app/util/staticpod/utils_linux_test.go index 29a3e675e1e..ea6648303fa 100644 --- a/cmd/kubeadm/app/util/staticpod/utils_linux_test.go +++ b/cmd/kubeadm/app/util/staticpod/utils_linux_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2021 The Kubernetes Authors. diff --git a/cmd/kubeadm/app/util/staticpod/utils_others.go b/cmd/kubeadm/app/util/staticpod/utils_others.go index 59e520d3856..5e8f9004521 100644 --- a/cmd/kubeadm/app/util/staticpod/utils_others.go +++ b/cmd/kubeadm/app/util/staticpod/utils_others.go @@ -1,5 +1,4 @@ //go:build !linux -// +build !linux /* Copyright 2021 The Kubernetes Authors. diff --git a/cmd/kubeadm/app/util/users/users_linux.go b/cmd/kubeadm/app/util/users/users_linux.go index 8c70bffbd9b..8105b902ded 100644 --- a/cmd/kubeadm/app/util/users/users_linux.go +++ b/cmd/kubeadm/app/util/users/users_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2021 The Kubernetes Authors. diff --git a/cmd/kubeadm/app/util/users/users_linux_test.go b/cmd/kubeadm/app/util/users/users_linux_test.go index 1baee04ceb9..9aff60ecbd5 100644 --- a/cmd/kubeadm/app/util/users/users_linux_test.go +++ b/cmd/kubeadm/app/util/users/users_linux_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2021 The Kubernetes Authors. diff --git a/cmd/kubeadm/app/util/users/users_other.go b/cmd/kubeadm/app/util/users/users_other.go index 6c2b51bda1f..5f3d5adf879 100644 --- a/cmd/kubeadm/app/util/users/users_other.go +++ b/cmd/kubeadm/app/util/users/users_other.go @@ -1,5 +1,4 @@ //go:build !linux -// +build !linux /* Copyright 2021 The Kubernetes Authors. diff --git a/cmd/kubelet/app/init_others.go b/cmd/kubelet/app/init_others.go index 1d81b9e4af8..7993a7fb727 100644 --- a/cmd/kubelet/app/init_others.go +++ b/cmd/kubelet/app/init_others.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2018 The Kubernetes Authors. diff --git a/cmd/kubelet/app/init_windows.go b/cmd/kubelet/app/init_windows.go index 651bb484f46..5488969237c 100644 --- a/cmd/kubelet/app/init_windows.go +++ b/cmd/kubelet/app/init_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2018 The Kubernetes Authors. diff --git a/cmd/kubelet/app/options/globalflags_linux.go b/cmd/kubelet/app/options/globalflags_linux.go index e75e65ec37c..f428d02fbe6 100644 --- a/cmd/kubelet/app/options/globalflags_linux.go +++ b/cmd/kubelet/app/options/globalflags_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2018 The Kubernetes Authors. diff --git a/cmd/kubelet/app/options/globalflags_other.go b/cmd/kubelet/app/options/globalflags_other.go index f630d1024b0..77aa2c8244c 100644 --- a/cmd/kubelet/app/options/globalflags_other.go +++ b/cmd/kubelet/app/options/globalflags_other.go @@ -1,5 +1,4 @@ //go:build !linux -// +build !linux /* Copyright 2018 The Kubernetes Authors. diff --git a/cmd/kubelet/app/options/osflags_others.go b/cmd/kubelet/app/options/osflags_others.go index 083231a8d6e..3f03bb788ed 100644 --- a/cmd/kubelet/app/options/osflags_others.go +++ b/cmd/kubelet/app/options/osflags_others.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2018 The Kubernetes Authors. diff --git a/cmd/kubelet/app/options/osflags_windows.go b/cmd/kubelet/app/options/osflags_windows.go index 1805b33d82e..e6cd2b430ec 100644 --- a/cmd/kubelet/app/options/osflags_windows.go +++ b/cmd/kubelet/app/options/osflags_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2018 The Kubernetes Authors. diff --git a/cmd/kubelet/app/server_others.go b/cmd/kubelet/app/server_others.go index 1f96ad7e52b..4faf436d3e6 100644 --- a/cmd/kubelet/app/server_others.go +++ b/cmd/kubelet/app/server_others.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2021 The Kubernetes Authors. diff --git a/cmd/kubelet/app/server_unsupported.go b/cmd/kubelet/app/server_unsupported.go index c4e74c8cb97..b3f6722859c 100644 --- a/cmd/kubelet/app/server_unsupported.go +++ b/cmd/kubelet/app/server_unsupported.go @@ -1,5 +1,4 @@ //go:build !linux -// +build !linux /* Copyright 2015 The Kubernetes Authors. diff --git a/cmd/kubelet/app/server_windows.go b/cmd/kubelet/app/server_windows.go index 781cd95cca9..79261a9aa3b 100644 --- a/cmd/kubelet/app/server_windows.go +++ b/cmd/kubelet/app/server_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2021 The Kubernetes Authors. diff --git a/pkg/kubelet/allocation/features_linux.go b/pkg/kubelet/allocation/features_linux.go index fad24ace7e3..2995ed335fe 100644 --- a/pkg/kubelet/allocation/features_linux.go +++ b/pkg/kubelet/allocation/features_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2025 The Kubernetes Authors. diff --git a/pkg/kubelet/allocation/features_unsupported.go b/pkg/kubelet/allocation/features_unsupported.go index 127b062326f..a81a51b4009 100644 --- a/pkg/kubelet/allocation/features_unsupported.go +++ b/pkg/kubelet/allocation/features_unsupported.go @@ -1,5 +1,4 @@ //go:build !linux && !windows -// +build !linux,!windows /* Copyright 2025 The Kubernetes Authors. diff --git a/pkg/kubelet/allocation/features_windows.go b/pkg/kubelet/allocation/features_windows.go index 15b6855f39a..eda519b9741 100644 --- a/pkg/kubelet/allocation/features_windows.go +++ b/pkg/kubelet/allocation/features_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2025 The Kubernetes Authors. diff --git a/pkg/kubelet/apis/config/validation/validation_linux.go b/pkg/kubelet/apis/config/validation/validation_linux.go index 76c976f6c00..e7a95526361 100644 --- a/pkg/kubelet/apis/config/validation/validation_linux.go +++ b/pkg/kubelet/apis/config/validation/validation_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2024 The Kubernetes Authors. diff --git a/pkg/kubelet/apis/config/validation/validation_others.go b/pkg/kubelet/apis/config/validation/validation_others.go index 34adffb8443..876c749f660 100644 --- a/pkg/kubelet/apis/config/validation/validation_others.go +++ b/pkg/kubelet/apis/config/validation/validation_others.go @@ -1,5 +1,4 @@ //go:build !windows && !linux -// +build !windows,!linux /* Copyright 2018 The Kubernetes Authors. diff --git a/pkg/kubelet/apis/config/validation/validation_others_test.go b/pkg/kubelet/apis/config/validation/validation_others_test.go index a99c4042625..c3eaebb2a9c 100644 --- a/pkg/kubelet/apis/config/validation/validation_others_test.go +++ b/pkg/kubelet/apis/config/validation/validation_others_test.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2022 The Kubernetes Authors. diff --git a/pkg/kubelet/apis/config/validation/validation_windows.go b/pkg/kubelet/apis/config/validation/validation_windows.go index 510d315da0d..3a5b85abe99 100644 --- a/pkg/kubelet/apis/config/validation/validation_windows.go +++ b/pkg/kubelet/apis/config/validation/validation_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2018 The Kubernetes Authors. diff --git a/pkg/kubelet/apis/config/validation/validation_windows_test.go b/pkg/kubelet/apis/config/validation/validation_windows_test.go index 73435915b3b..d697c642f8a 100644 --- a/pkg/kubelet/apis/config/validation/validation_windows_test.go +++ b/pkg/kubelet/apis/config/validation/validation_windows_test.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2022 The Kubernetes Authors. diff --git a/pkg/kubelet/cadvisor/cadvisor_linux.go b/pkg/kubelet/cadvisor/cadvisor_linux.go index 2120adfcf9a..44a7686fecb 100644 --- a/pkg/kubelet/cadvisor/cadvisor_linux.go +++ b/pkg/kubelet/cadvisor/cadvisor_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2015 The Kubernetes Authors. diff --git a/pkg/kubelet/cadvisor/cadvisor_linux_test.go b/pkg/kubelet/cadvisor/cadvisor_linux_test.go index c603e6d7f78..70aab936446 100644 --- a/pkg/kubelet/cadvisor/cadvisor_linux_test.go +++ b/pkg/kubelet/cadvisor/cadvisor_linux_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2021 The Kubernetes Authors. diff --git a/pkg/kubelet/cadvisor/cadvisor_unsupported.go b/pkg/kubelet/cadvisor/cadvisor_unsupported.go index e555f2e5794..f662599238c 100644 --- a/pkg/kubelet/cadvisor/cadvisor_unsupported.go +++ b/pkg/kubelet/cadvisor/cadvisor_unsupported.go @@ -1,5 +1,4 @@ //go:build !linux && !windows -// +build !linux,!windows /* Copyright 2015 The Kubernetes Authors. diff --git a/pkg/kubelet/cadvisor/cadvisor_windows.go b/pkg/kubelet/cadvisor/cadvisor_windows.go index 5e688cbe840..007f48f2bce 100644 --- a/pkg/kubelet/cadvisor/cadvisor_windows.go +++ b/pkg/kubelet/cadvisor/cadvisor_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2015 The Kubernetes Authors. diff --git a/pkg/kubelet/cadvisor/helpers_linux.go b/pkg/kubelet/cadvisor/helpers_linux.go index 684274787e3..fb19f47ec44 100644 --- a/pkg/kubelet/cadvisor/helpers_linux.go +++ b/pkg/kubelet/cadvisor/helpers_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/kubelet/cadvisor/helpers_unsupported.go b/pkg/kubelet/cadvisor/helpers_unsupported.go index 7d4dd4f7c48..a8e3dca97eb 100644 --- a/pkg/kubelet/cadvisor/helpers_unsupported.go +++ b/pkg/kubelet/cadvisor/helpers_unsupported.go @@ -1,5 +1,4 @@ //go:build !linux -// +build !linux /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/kubelet/cadvisor/util_test.go b/pkg/kubelet/cadvisor/util_test.go index 375b1cf4fdb..49da037bd62 100644 --- a/pkg/kubelet/cadvisor/util_test.go +++ b/pkg/kubelet/cadvisor/util_test.go @@ -1,5 +1,4 @@ //go:build cgo && linux -// +build cgo,linux /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/kubelet/cm/cgroup_manager_linux_test.go b/pkg/kubelet/cm/cgroup_manager_linux_test.go index 2388d4da20c..41f6367e79b 100644 --- a/pkg/kubelet/cm/cgroup_manager_linux_test.go +++ b/pkg/kubelet/cm/cgroup_manager_linux_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2016 The Kubernetes Authors. diff --git a/pkg/kubelet/cm/cgroup_manager_test.go b/pkg/kubelet/cm/cgroup_manager_test.go index e763bec6de5..6588aaf0b35 100644 --- a/pkg/kubelet/cm/cgroup_manager_test.go +++ b/pkg/kubelet/cm/cgroup_manager_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2016 The Kubernetes Authors. diff --git a/pkg/kubelet/cm/cgroup_manager_unsupported.go b/pkg/kubelet/cm/cgroup_manager_unsupported.go index 2119ab922f7..b9248c639e4 100644 --- a/pkg/kubelet/cm/cgroup_manager_unsupported.go +++ b/pkg/kubelet/cm/cgroup_manager_unsupported.go @@ -1,5 +1,4 @@ //go:build !linux -// +build !linux /* Copyright 2016 The Kubernetes Authors. diff --git a/pkg/kubelet/cm/container_manager_linux.go b/pkg/kubelet/cm/container_manager_linux.go index bf2b4032bc7..be6f95bea5b 100644 --- a/pkg/kubelet/cm/container_manager_linux.go +++ b/pkg/kubelet/cm/container_manager_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2015 The Kubernetes Authors. diff --git a/pkg/kubelet/cm/container_manager_linux_test.go b/pkg/kubelet/cm/container_manager_linux_test.go index b924632c65b..0097ea159f6 100644 --- a/pkg/kubelet/cm/container_manager_linux_test.go +++ b/pkg/kubelet/cm/container_manager_linux_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2015 The Kubernetes Authors. diff --git a/pkg/kubelet/cm/container_manager_unsupported.go b/pkg/kubelet/cm/container_manager_unsupported.go index a92f0ce89f0..8a5ff199be7 100644 --- a/pkg/kubelet/cm/container_manager_unsupported.go +++ b/pkg/kubelet/cm/container_manager_unsupported.go @@ -1,5 +1,4 @@ //go:build !linux && !windows -// +build !linux,!windows /* Copyright 2015 The Kubernetes Authors. diff --git a/pkg/kubelet/cm/container_manager_windows.go b/pkg/kubelet/cm/container_manager_windows.go index 3b0c848feda..9a7405d3e4d 100644 --- a/pkg/kubelet/cm/container_manager_windows.go +++ b/pkg/kubelet/cm/container_manager_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2015 The Kubernetes Authors. diff --git a/pkg/kubelet/cm/cpumanager/cpu_manager_others.go b/pkg/kubelet/cm/cpumanager/cpu_manager_others.go index 556583b1a7c..753cd683593 100644 --- a/pkg/kubelet/cm/cpumanager/cpu_manager_others.go +++ b/pkg/kubelet/cm/cpumanager/cpu_manager_others.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/kubelet/cm/cpumanager/cpu_manager_windows.go b/pkg/kubelet/cm/cpumanager/cpu_manager_windows.go index f9a239ce550..7b73ff30476 100644 --- a/pkg/kubelet/cm/cpumanager/cpu_manager_windows.go +++ b/pkg/kubelet/cm/cpumanager/cpu_manager_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/kubelet/cm/helpers_linux_test.go b/pkg/kubelet/cm/helpers_linux_test.go index 6bc95ff6432..a4b5a5c16fa 100644 --- a/pkg/kubelet/cm/helpers_linux_test.go +++ b/pkg/kubelet/cm/helpers_linux_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2015 The Kubernetes Authors. diff --git a/pkg/kubelet/cm/helpers_unsupported.go b/pkg/kubelet/cm/helpers_unsupported.go index 33df93ff8c4..d86722aa9f2 100644 --- a/pkg/kubelet/cm/helpers_unsupported.go +++ b/pkg/kubelet/cm/helpers_unsupported.go @@ -1,5 +1,4 @@ //go:build !linux -// +build !linux /* Copyright 2016 The Kubernetes Authors. diff --git a/pkg/kubelet/cm/internal_container_lifecycle_linux.go b/pkg/kubelet/cm/internal_container_lifecycle_linux.go index 91561cf7131..39bb1e76d93 100644 --- a/pkg/kubelet/cm/internal_container_lifecycle_linux.go +++ b/pkg/kubelet/cm/internal_container_lifecycle_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2021 The Kubernetes Authors. diff --git a/pkg/kubelet/cm/internal_container_lifecycle_unsupported.go b/pkg/kubelet/cm/internal_container_lifecycle_unsupported.go index 4f6aa89a8ec..c8cde975be5 100644 --- a/pkg/kubelet/cm/internal_container_lifecycle_unsupported.go +++ b/pkg/kubelet/cm/internal_container_lifecycle_unsupported.go @@ -1,5 +1,4 @@ //go:build !linux && !windows -// +build !linux,!windows /* Copyright 2020 The Kubernetes Authors. diff --git a/pkg/kubelet/cm/internal_container_lifecycle_windows.go b/pkg/kubelet/cm/internal_container_lifecycle_windows.go index ec960f8ead0..ee638c68687 100644 --- a/pkg/kubelet/cm/internal_container_lifecycle_windows.go +++ b/pkg/kubelet/cm/internal_container_lifecycle_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2020 The Kubernetes Authors. diff --git a/pkg/kubelet/cm/internal_container_lifecycle_windows_test.go b/pkg/kubelet/cm/internal_container_lifecycle_windows_test.go index 747250ead3d..f31355a4d77 100644 --- a/pkg/kubelet/cm/internal_container_lifecycle_windows_test.go +++ b/pkg/kubelet/cm/internal_container_lifecycle_windows_test.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2024 The Kubernetes Authors. diff --git a/pkg/kubelet/cm/node_container_manager_linux.go b/pkg/kubelet/cm/node_container_manager_linux.go index 2981c4ebd4e..80f01de69ae 100644 --- a/pkg/kubelet/cm/node_container_manager_linux.go +++ b/pkg/kubelet/cm/node_container_manager_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/kubelet/cm/node_container_manager_linux_test.go b/pkg/kubelet/cm/node_container_manager_linux_test.go index bd3b9d616a9..813c866c03a 100644 --- a/pkg/kubelet/cm/node_container_manager_linux_test.go +++ b/pkg/kubelet/cm/node_container_manager_linux_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/kubelet/cm/pod_container_manager_linux_test.go b/pkg/kubelet/cm/pod_container_manager_linux_test.go index 971cecf19eb..8fe23e84299 100644 --- a/pkg/kubelet/cm/pod_container_manager_linux_test.go +++ b/pkg/kubelet/cm/pod_container_manager_linux_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2016 The Kubernetes Authors. diff --git a/pkg/kubelet/cm/qos_container_manager_linux_test.go b/pkg/kubelet/cm/qos_container_manager_linux_test.go index b510aefa801..54439021aa5 100644 --- a/pkg/kubelet/cm/qos_container_manager_linux_test.go +++ b/pkg/kubelet/cm/qos_container_manager_linux_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2021 The Kubernetes Authors. diff --git a/pkg/kubelet/cm/util/cgroups_unsupported.go b/pkg/kubelet/cm/util/cgroups_unsupported.go index b655f41388c..ccf20092809 100644 --- a/pkg/kubelet/cm/util/cgroups_unsupported.go +++ b/pkg/kubelet/cm/util/cgroups_unsupported.go @@ -1,5 +1,4 @@ //go:build !linux -// +build !linux /* Copyright 2016 The Kubernetes Authors. diff --git a/pkg/kubelet/config/file_linux.go b/pkg/kubelet/config/file_linux.go index f05010f8ec0..20055e6a8cf 100644 --- a/pkg/kubelet/config/file_linux.go +++ b/pkg/kubelet/config/file_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2016 The Kubernetes Authors. diff --git a/pkg/kubelet/config/file_linux_test.go b/pkg/kubelet/config/file_linux_test.go index b7e17eb6550..cda1aee393b 100644 --- a/pkg/kubelet/config/file_linux_test.go +++ b/pkg/kubelet/config/file_linux_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2016 The Kubernetes Authors. diff --git a/pkg/kubelet/config/file_unsupported.go b/pkg/kubelet/config/file_unsupported.go index 1b2c56a6660..3ea4bccd74b 100644 --- a/pkg/kubelet/config/file_unsupported.go +++ b/pkg/kubelet/config/file_unsupported.go @@ -1,5 +1,4 @@ //go:build !linux -// +build !linux /* Copyright 2016 The Kubernetes Authors. diff --git a/pkg/kubelet/eviction/defaults_linux.go b/pkg/kubelet/eviction/defaults_linux.go index 172531427ce..01e5b08042c 100644 --- a/pkg/kubelet/eviction/defaults_linux.go +++ b/pkg/kubelet/eviction/defaults_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2018 The Kubernetes Authors. diff --git a/pkg/kubelet/eviction/defaults_others.go b/pkg/kubelet/eviction/defaults_others.go index 912acf178db..082f509d5bf 100644 --- a/pkg/kubelet/eviction/defaults_others.go +++ b/pkg/kubelet/eviction/defaults_others.go @@ -1,5 +1,4 @@ //go:build !linux && !windows -// +build !linux,!windows /* Copyright 2018 The Kubernetes Authors. diff --git a/pkg/kubelet/eviction/defaults_windows.go b/pkg/kubelet/eviction/defaults_windows.go index de6517f6540..c00a8d6916d 100644 --- a/pkg/kubelet/eviction/defaults_windows.go +++ b/pkg/kubelet/eviction/defaults_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2024 The Kubernetes Authors. diff --git a/pkg/kubelet/eviction/helpers_others.go b/pkg/kubelet/eviction/helpers_others.go index b3e9324b518..902b07d549f 100644 --- a/pkg/kubelet/eviction/helpers_others.go +++ b/pkg/kubelet/eviction/helpers_others.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2024 The Kubernetes Authors. diff --git a/pkg/kubelet/eviction/helpers_windows.go b/pkg/kubelet/eviction/helpers_windows.go index f37d4f82b33..978c17367d6 100644 --- a/pkg/kubelet/eviction/helpers_windows.go +++ b/pkg/kubelet/eviction/helpers_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2024 The Kubernetes Authors. diff --git a/pkg/kubelet/eviction/memory_threshold_notifier_others.go b/pkg/kubelet/eviction/memory_threshold_notifier_others.go index 140d6be17c7..d4050da163c 100644 --- a/pkg/kubelet/eviction/memory_threshold_notifier_others.go +++ b/pkg/kubelet/eviction/memory_threshold_notifier_others.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2024 The Kubernetes Authors. diff --git a/pkg/kubelet/eviction/memory_threshold_notifier_test.go b/pkg/kubelet/eviction/memory_threshold_notifier_test.go index 9b1577d7b4a..0ceae0957b9 100644 --- a/pkg/kubelet/eviction/memory_threshold_notifier_test.go +++ b/pkg/kubelet/eviction/memory_threshold_notifier_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2018 The Kubernetes Authors. diff --git a/pkg/kubelet/eviction/memory_threshold_notifier_windows.go b/pkg/kubelet/eviction/memory_threshold_notifier_windows.go index 96e9b4f0717..0984c693e12 100644 --- a/pkg/kubelet/eviction/memory_threshold_notifier_windows.go +++ b/pkg/kubelet/eviction/memory_threshold_notifier_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2024 The Kubernetes Authors. diff --git a/pkg/kubelet/eviction/threshold_notifier_unsupported.go b/pkg/kubelet/eviction/threshold_notifier_unsupported.go index b06a2839e69..d692e71270c 100644 --- a/pkg/kubelet/eviction/threshold_notifier_unsupported.go +++ b/pkg/kubelet/eviction/threshold_notifier_unsupported.go @@ -1,5 +1,4 @@ //go:build !linux -// +build !linux /* Copyright 2016 The Kubernetes Authors. diff --git a/pkg/kubelet/kubelet_network_linux.go b/pkg/kubelet/kubelet_network_linux.go index 05cad40e860..b454a3e58f5 100644 --- a/pkg/kubelet/kubelet_network_linux.go +++ b/pkg/kubelet/kubelet_network_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2018 The Kubernetes Authors. diff --git a/pkg/kubelet/kubelet_network_others.go b/pkg/kubelet/kubelet_network_others.go index 666849166c7..bbca343daef 100644 --- a/pkg/kubelet/kubelet_network_others.go +++ b/pkg/kubelet/kubelet_network_others.go @@ -1,5 +1,4 @@ //go:build !linux -// +build !linux /* Copyright 2018 The Kubernetes Authors. diff --git a/pkg/kubelet/kubelet_node_status_others.go b/pkg/kubelet/kubelet_node_status_others.go index 2b4d8b59574..7c411ba9af9 100644 --- a/pkg/kubelet/kubelet_node_status_others.go +++ b/pkg/kubelet/kubelet_node_status_others.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2019 The Kubernetes Authors. diff --git a/pkg/kubelet/kubelet_node_status_windows.go b/pkg/kubelet/kubelet_node_status_windows.go index 524159278e2..a0a3832faff 100644 --- a/pkg/kubelet/kubelet_node_status_windows.go +++ b/pkg/kubelet/kubelet_node_status_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2019 The Kubernetes Authors. diff --git a/pkg/kubelet/kubelet_pods_linux_test.go b/pkg/kubelet/kubelet_pods_linux_test.go index 7b76d0a1932..023e5deee35 100644 --- a/pkg/kubelet/kubelet_pods_linux_test.go +++ b/pkg/kubelet/kubelet_pods_linux_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2018 The Kubernetes Authors. diff --git a/pkg/kubelet/kubelet_volumes_linux_test.go b/pkg/kubelet/kubelet_volumes_linux_test.go index 67836a044bc..96e2e698355 100644 --- a/pkg/kubelet/kubelet_volumes_linux_test.go +++ b/pkg/kubelet/kubelet_volumes_linux_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2018 The Kubernetes Authors. diff --git a/pkg/kubelet/kuberuntime/helpers_linux.go b/pkg/kubelet/kuberuntime/helpers_linux.go index a3b1ab2c300..b5933ee0148 100644 --- a/pkg/kubelet/kuberuntime/helpers_linux.go +++ b/pkg/kubelet/kuberuntime/helpers_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2018 The Kubernetes Authors. diff --git a/pkg/kubelet/kuberuntime/helpers_unsupported.go b/pkg/kubelet/kuberuntime/helpers_unsupported.go index 95693fadda9..b94aa78e9f2 100644 --- a/pkg/kubelet/kuberuntime/helpers_unsupported.go +++ b/pkg/kubelet/kuberuntime/helpers_unsupported.go @@ -1,5 +1,4 @@ //go:build !linux -// +build !linux /* Copyright 2018 The Kubernetes Authors. diff --git a/pkg/kubelet/kuberuntime/kuberuntime_container_linux.go b/pkg/kubelet/kuberuntime/kuberuntime_container_linux.go index 9108be77fec..57864761d4c 100644 --- a/pkg/kubelet/kuberuntime/kuberuntime_container_linux.go +++ b/pkg/kubelet/kuberuntime/kuberuntime_container_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2018 The Kubernetes Authors. diff --git a/pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go b/pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go index 8162dd82163..321d21da0ed 100644 --- a/pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go +++ b/pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2018 The Kubernetes Authors. diff --git a/pkg/kubelet/kuberuntime/kuberuntime_container_unsupported.go b/pkg/kubelet/kuberuntime/kuberuntime_container_unsupported.go index 2d388411016..9b4bb31a51c 100644 --- a/pkg/kubelet/kuberuntime/kuberuntime_container_unsupported.go +++ b/pkg/kubelet/kuberuntime/kuberuntime_container_unsupported.go @@ -1,5 +1,4 @@ //go:build !linux && !windows -// +build !linux,!windows /* Copyright 2018 The Kubernetes Authors. diff --git a/pkg/kubelet/kuberuntime/kuberuntime_container_windows.go b/pkg/kubelet/kuberuntime/kuberuntime_container_windows.go index b58fdb7a35a..05ae4afd604 100644 --- a/pkg/kubelet/kuberuntime/kuberuntime_container_windows.go +++ b/pkg/kubelet/kuberuntime/kuberuntime_container_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2018 The Kubernetes Authors. diff --git a/pkg/kubelet/kuberuntime/kuberuntime_container_windows_test.go b/pkg/kubelet/kuberuntime/kuberuntime_container_windows_test.go index 46dd01277b1..92e00f4443d 100644 --- a/pkg/kubelet/kuberuntime/kuberuntime_container_windows_test.go +++ b/pkg/kubelet/kuberuntime/kuberuntime_container_windows_test.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2022 The Kubernetes Authors. diff --git a/pkg/kubelet/kuberuntime/kuberuntime_sandbox_linux.go b/pkg/kubelet/kuberuntime/kuberuntime_sandbox_linux.go index 35acabb9c48..a3ae9c13374 100644 --- a/pkg/kubelet/kuberuntime/kuberuntime_sandbox_linux.go +++ b/pkg/kubelet/kuberuntime/kuberuntime_sandbox_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2021 The Kubernetes Authors. diff --git a/pkg/kubelet/kuberuntime/kuberuntime_sandbox_linux_test.go b/pkg/kubelet/kuberuntime/kuberuntime_sandbox_linux_test.go index 8a64d07dae3..0a51f2f6097 100644 --- a/pkg/kubelet/kuberuntime/kuberuntime_sandbox_linux_test.go +++ b/pkg/kubelet/kuberuntime/kuberuntime_sandbox_linux_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2021 The Kubernetes Authors. diff --git a/pkg/kubelet/kuberuntime/kuberuntime_sandbox_unsupported.go b/pkg/kubelet/kuberuntime/kuberuntime_sandbox_unsupported.go index e3d6a829a0a..a269c808ab2 100644 --- a/pkg/kubelet/kuberuntime/kuberuntime_sandbox_unsupported.go +++ b/pkg/kubelet/kuberuntime/kuberuntime_sandbox_unsupported.go @@ -1,5 +1,4 @@ //go:build !linux && !windows -// +build !linux,!windows /* Copyright 2021 The Kubernetes Authors. diff --git a/pkg/kubelet/kuberuntime/kuberuntime_sandbox_windows.go b/pkg/kubelet/kuberuntime/kuberuntime_sandbox_windows.go index d71d980c1a9..a3000fe6758 100644 --- a/pkg/kubelet/kuberuntime/kuberuntime_sandbox_windows.go +++ b/pkg/kubelet/kuberuntime/kuberuntime_sandbox_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2021 The Kubernetes Authors. diff --git a/pkg/kubelet/kuberuntime/security_context_others.go b/pkg/kubelet/kuberuntime/security_context_others.go index 5b8ff561f93..e16ba7b7c78 100644 --- a/pkg/kubelet/kuberuntime/security_context_others.go +++ b/pkg/kubelet/kuberuntime/security_context_others.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2020 The Kubernetes Authors. diff --git a/pkg/kubelet/kuberuntime/security_context_others_test.go b/pkg/kubelet/kuberuntime/security_context_others_test.go index 304db4a1375..20bb94edc79 100644 --- a/pkg/kubelet/kuberuntime/security_context_others_test.go +++ b/pkg/kubelet/kuberuntime/security_context_others_test.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2020 The Kubernetes Authors. diff --git a/pkg/kubelet/kuberuntime/security_context_windows.go b/pkg/kubelet/kuberuntime/security_context_windows.go index c2b3daa07b6..77348045d28 100644 --- a/pkg/kubelet/kuberuntime/security_context_windows.go +++ b/pkg/kubelet/kuberuntime/security_context_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2020 The Kubernetes Authors. diff --git a/pkg/kubelet/kuberuntime/security_context_windows_test.go b/pkg/kubelet/kuberuntime/security_context_windows_test.go index 1f0b30ddf82..3e8dd6ea7ad 100644 --- a/pkg/kubelet/kuberuntime/security_context_windows_test.go +++ b/pkg/kubelet/kuberuntime/security_context_windows_test.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2020 The Kubernetes Authors. diff --git a/pkg/kubelet/lifecycle/features_linux.go b/pkg/kubelet/lifecycle/features_linux.go index 137d652d1a8..6f9bbdcb2dd 100644 --- a/pkg/kubelet/lifecycle/features_linux.go +++ b/pkg/kubelet/lifecycle/features_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2025 The Kubernetes Authors. diff --git a/pkg/kubelet/lifecycle/features_unsupported.go b/pkg/kubelet/lifecycle/features_unsupported.go index 3ece076ba38..a286606e9c4 100644 --- a/pkg/kubelet/lifecycle/features_unsupported.go +++ b/pkg/kubelet/lifecycle/features_unsupported.go @@ -1,5 +1,4 @@ //go:build !linux && !windows -// +build !linux,!windows /* Copyright 2025 The Kubernetes Authors. diff --git a/pkg/kubelet/lifecycle/features_windows.go b/pkg/kubelet/lifecycle/features_windows.go index 1db1b527b3b..e55520f1009 100644 --- a/pkg/kubelet/lifecycle/features_windows.go +++ b/pkg/kubelet/lifecycle/features_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2025 The Kubernetes Authors. diff --git a/pkg/kubelet/network/dns/dns_other.go b/pkg/kubelet/network/dns/dns_other.go index 8d5f5caa7d3..df2b81b86a9 100644 --- a/pkg/kubelet/network/dns/dns_other.go +++ b/pkg/kubelet/network/dns/dns_other.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2023 The Kubernetes Authors. diff --git a/pkg/kubelet/network/dns/dns_other_test.go b/pkg/kubelet/network/dns/dns_other_test.go index a2440558334..7085963c14f 100644 --- a/pkg/kubelet/network/dns/dns_other_test.go +++ b/pkg/kubelet/network/dns/dns_other_test.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2023 The Kubernetes Authors. diff --git a/pkg/kubelet/network/dns/dns_windows.go b/pkg/kubelet/network/dns/dns_windows.go index cb1651bf5e6..79d69f761a4 100644 --- a/pkg/kubelet/network/dns/dns_windows.go +++ b/pkg/kubelet/network/dns/dns_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2023 The Kubernetes Authors. diff --git a/pkg/kubelet/network/dns/dns_windows_test.go b/pkg/kubelet/network/dns/dns_windows_test.go index 4ecf40f6ea8..127560b17b1 100644 --- a/pkg/kubelet/network/dns/dns_windows_test.go +++ b/pkg/kubelet/network/dns/dns_windows_test.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2023 The Kubernetes Authors. diff --git a/pkg/kubelet/nodeshutdown/nodeshutdown_manager_linux.go b/pkg/kubelet/nodeshutdown/nodeshutdown_manager_linux.go index 8a78f874cb9..d93ec91bc4b 100644 --- a/pkg/kubelet/nodeshutdown/nodeshutdown_manager_linux.go +++ b/pkg/kubelet/nodeshutdown/nodeshutdown_manager_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2020 The Kubernetes Authors. diff --git a/pkg/kubelet/nodeshutdown/nodeshutdown_manager_linux_test.go b/pkg/kubelet/nodeshutdown/nodeshutdown_manager_linux_test.go index 9662d7f4c27..384a772e064 100644 --- a/pkg/kubelet/nodeshutdown/nodeshutdown_manager_linux_test.go +++ b/pkg/kubelet/nodeshutdown/nodeshutdown_manager_linux_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2020 The Kubernetes Authors. diff --git a/pkg/kubelet/nodeshutdown/nodeshutdown_manager_others.go b/pkg/kubelet/nodeshutdown/nodeshutdown_manager_others.go index ca43e737fe4..7a1185b9ce8 100644 --- a/pkg/kubelet/nodeshutdown/nodeshutdown_manager_others.go +++ b/pkg/kubelet/nodeshutdown/nodeshutdown_manager_others.go @@ -1,5 +1,4 @@ //go:build !linux && !windows -// +build !linux,!windows /* Copyright 2020 The Kubernetes Authors. diff --git a/pkg/kubelet/nodeshutdown/nodeshutdown_manager_windows.go b/pkg/kubelet/nodeshutdown/nodeshutdown_manager_windows.go index 4c129d499dd..50d5679f504 100644 --- a/pkg/kubelet/nodeshutdown/nodeshutdown_manager_windows.go +++ b/pkg/kubelet/nodeshutdown/nodeshutdown_manager_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2024 The Kubernetes Authors. diff --git a/pkg/kubelet/nodeshutdown/nodeshutdown_manager_windows_test.go b/pkg/kubelet/nodeshutdown/nodeshutdown_manager_windows_test.go index f0598a7025e..38be1d5d8c8 100644 --- a/pkg/kubelet/nodeshutdown/nodeshutdown_manager_windows_test.go +++ b/pkg/kubelet/nodeshutdown/nodeshutdown_manager_windows_test.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2024 The Kubernetes Authors. diff --git a/pkg/kubelet/nodeshutdown/systemd/inhibit_linux.go b/pkg/kubelet/nodeshutdown/systemd/inhibit_linux.go index 18b6b9be869..0223d65ba04 100644 --- a/pkg/kubelet/nodeshutdown/systemd/inhibit_linux.go +++ b/pkg/kubelet/nodeshutdown/systemd/inhibit_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2020 The Kubernetes Authors. diff --git a/pkg/kubelet/nodeshutdown/systemd/inhibit_linux_test.go b/pkg/kubelet/nodeshutdown/systemd/inhibit_linux_test.go index bd00aa70bb8..21604ee06dc 100644 --- a/pkg/kubelet/nodeshutdown/systemd/inhibit_linux_test.go +++ b/pkg/kubelet/nodeshutdown/systemd/inhibit_linux_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2020 The Kubernetes Authors. diff --git a/pkg/kubelet/nodeshutdown/systemd/inhibit_others.go b/pkg/kubelet/nodeshutdown/systemd/inhibit_others.go index f077b00afc5..c35b8c9c848 100644 --- a/pkg/kubelet/nodeshutdown/systemd/inhibit_others.go +++ b/pkg/kubelet/nodeshutdown/systemd/inhibit_others.go @@ -1,5 +1,4 @@ //go:build !linux -// +build !linux /* Copyright 2020 The Kubernetes Authors. diff --git a/pkg/kubelet/oom/oom_watcher_linux.go b/pkg/kubelet/oom/oom_watcher_linux.go index c0344c52a33..ea14bcd90ee 100644 --- a/pkg/kubelet/oom/oom_watcher_linux.go +++ b/pkg/kubelet/oom/oom_watcher_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2015 The Kubernetes Authors. diff --git a/pkg/kubelet/oom/oom_watcher_unsupported.go b/pkg/kubelet/oom/oom_watcher_unsupported.go index d0abd9253b0..38767c4a184 100644 --- a/pkg/kubelet/oom/oom_watcher_unsupported.go +++ b/pkg/kubelet/oom/oom_watcher_unsupported.go @@ -1,5 +1,4 @@ //go:build !linux -// +build !linux /* Copyright 2019 The Kubernetes Authors. diff --git a/pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher_others.go b/pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher_others.go index 2ecb570238e..7edcea12f6b 100644 --- a/pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher_others.go +++ b/pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher_others.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2023 The Kubernetes Authors. diff --git a/pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher_others_test.go b/pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher_others_test.go index 6d743b2309e..66c11e6d70c 100644 --- a/pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher_others_test.go +++ b/pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher_others_test.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2023 The Kubernetes Authors. diff --git a/pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher_windows.go b/pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher_windows.go index 476ae4fc0c7..ae9edc2e038 100644 --- a/pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher_windows.go +++ b/pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2023 The Kubernetes Authors. diff --git a/pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher_windows_test.go b/pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher_windows_test.go index ea4586eb1cd..f9b5935001f 100644 --- a/pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher_windows_test.go +++ b/pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher_windows_test.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2023 The Kubernetes Authors. diff --git a/pkg/kubelet/server/stats/summary_sys_containers.go b/pkg/kubelet/server/stats/summary_sys_containers.go index 8ec6ca1f30b..10fe13cd9f9 100644 --- a/pkg/kubelet/server/stats/summary_sys_containers.go +++ b/pkg/kubelet/server/stats/summary_sys_containers.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2018 The Kubernetes Authors. diff --git a/pkg/kubelet/server/stats/summary_sys_containers_windows.go b/pkg/kubelet/server/stats/summary_sys_containers_windows.go index ac6fae1f42c..ea07f41542b 100644 --- a/pkg/kubelet/server/stats/summary_sys_containers_windows.go +++ b/pkg/kubelet/server/stats/summary_sys_containers_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2018 The Kubernetes Authors. diff --git a/pkg/kubelet/server/stats/summary_test.go b/pkg/kubelet/server/stats/summary_test.go index bbca2fa501f..54dfecbe565 100644 --- a/pkg/kubelet/server/stats/summary_test.go +++ b/pkg/kubelet/server/stats/summary_test.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2016 The Kubernetes Authors. diff --git a/pkg/kubelet/server/stats/summary_windows_test.go b/pkg/kubelet/server/stats/summary_windows_test.go index db88528b5ca..3fcc5291b29 100644 --- a/pkg/kubelet/server/stats/summary_windows_test.go +++ b/pkg/kubelet/server/stats/summary_windows_test.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2018 The Kubernetes Authors. diff --git a/pkg/kubelet/stats/cri_stats_provider_linux.go b/pkg/kubelet/stats/cri_stats_provider_linux.go index 6aeebd7945f..81dc9c76cdb 100644 --- a/pkg/kubelet/stats/cri_stats_provider_linux.go +++ b/pkg/kubelet/stats/cri_stats_provider_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2023 The Kubernetes Authors. diff --git a/pkg/kubelet/stats/cri_stats_provider_others.go b/pkg/kubelet/stats/cri_stats_provider_others.go index 782c66bdaf1..4d075114db4 100644 --- a/pkg/kubelet/stats/cri_stats_provider_others.go +++ b/pkg/kubelet/stats/cri_stats_provider_others.go @@ -1,5 +1,4 @@ //go:build !linux && !windows -// +build !linux,!windows /* Copyright 2019 The Kubernetes Authors. diff --git a/pkg/kubelet/stats/cri_stats_provider_windows.go b/pkg/kubelet/stats/cri_stats_provider_windows.go index 403e9d867c1..0455a1551b5 100644 --- a/pkg/kubelet/stats/cri_stats_provider_windows.go +++ b/pkg/kubelet/stats/cri_stats_provider_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2019 The Kubernetes Authors. diff --git a/pkg/kubelet/stats/pidlimit/pidlimit_linux.go b/pkg/kubelet/stats/pidlimit/pidlimit_linux.go index 25e76552032..40fa8b73b22 100644 --- a/pkg/kubelet/stats/pidlimit/pidlimit_linux.go +++ b/pkg/kubelet/stats/pidlimit/pidlimit_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/kubelet/stats/pidlimit/pidlimit_unsupported.go b/pkg/kubelet/stats/pidlimit/pidlimit_unsupported.go index 805c276d997..b195a771d15 100644 --- a/pkg/kubelet/stats/pidlimit/pidlimit_unsupported.go +++ b/pkg/kubelet/stats/pidlimit/pidlimit_unsupported.go @@ -1,5 +1,4 @@ //go:build !linux -// +build !linux /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/kubelet/sysctl/allowlist_test.go b/pkg/kubelet/sysctl/allowlist_test.go index 29cd8cb0e6d..47e943bf176 100644 --- a/pkg/kubelet/sysctl/allowlist_test.go +++ b/pkg/kubelet/sysctl/allowlist_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2016 The Kubernetes Authors. diff --git a/pkg/kubelet/userns/userns_manager.go b/pkg/kubelet/userns/userns_manager.go index edd2e4e97d4..da27062ab15 100644 --- a/pkg/kubelet/userns/userns_manager.go +++ b/pkg/kubelet/userns/userns_manager.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2022 The Kubernetes Authors. diff --git a/pkg/kubelet/userns/userns_manager_disabled_test.go b/pkg/kubelet/userns/userns_manager_disabled_test.go index 67f633009ef..7a560cf352e 100644 --- a/pkg/kubelet/userns/userns_manager_disabled_test.go +++ b/pkg/kubelet/userns/userns_manager_disabled_test.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2022 The Kubernetes Authors. diff --git a/pkg/kubelet/userns/userns_manager_switch_test.go b/pkg/kubelet/userns/userns_manager_switch_test.go index 0177914023d..3ff519b6b45 100644 --- a/pkg/kubelet/userns/userns_manager_switch_test.go +++ b/pkg/kubelet/userns/userns_manager_switch_test.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2024 The Kubernetes Authors. diff --git a/pkg/kubelet/userns/userns_manager_test.go b/pkg/kubelet/userns/userns_manager_test.go index 90e56418c8d..cc59f2e9a42 100644 --- a/pkg/kubelet/userns/userns_manager_test.go +++ b/pkg/kubelet/userns/userns_manager_test.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2022 The Kubernetes Authors. diff --git a/pkg/kubelet/util/boottime_util_darwin.go b/pkg/kubelet/util/boottime_util_darwin.go index b6a1cc38c81..42fb097733b 100644 --- a/pkg/kubelet/util/boottime_util_darwin.go +++ b/pkg/kubelet/util/boottime_util_darwin.go @@ -1,5 +1,4 @@ //go:build darwin -// +build darwin /* Copyright 2018 The Kubernetes Authors. diff --git a/pkg/kubelet/util/boottime_util_darwin_test.go b/pkg/kubelet/util/boottime_util_darwin_test.go index 1138deeeb69..4fe1b517616 100644 --- a/pkg/kubelet/util/boottime_util_darwin_test.go +++ b/pkg/kubelet/util/boottime_util_darwin_test.go @@ -1,5 +1,4 @@ //go:build darwin -// +build darwin /* Copyright 2023 The Kubernetes Authors. diff --git a/pkg/kubelet/util/boottime_util_freebsd.go b/pkg/kubelet/util/boottime_util_freebsd.go index 7d605d7611c..b02f9d8d33c 100644 --- a/pkg/kubelet/util/boottime_util_freebsd.go +++ b/pkg/kubelet/util/boottime_util_freebsd.go @@ -1,5 +1,4 @@ //go:build freebsd -// +build freebsd /* Copyright 2020 The Kubernetes Authors. diff --git a/pkg/kubelet/util/boottime_util_freebsd_test.go b/pkg/kubelet/util/boottime_util_freebsd_test.go index b79eda6cb6a..dcd7204f159 100644 --- a/pkg/kubelet/util/boottime_util_freebsd_test.go +++ b/pkg/kubelet/util/boottime_util_freebsd_test.go @@ -1,5 +1,4 @@ //go:build freebsd -// +build freebsd /* Copyright 2020 The Kubernetes Authors. diff --git a/pkg/kubelet/util/boottime_util_linux.go b/pkg/kubelet/util/boottime_util_linux.go index 67c9b191cfe..028b01d3d55 100644 --- a/pkg/kubelet/util/boottime_util_linux.go +++ b/pkg/kubelet/util/boottime_util_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2018 The Kubernetes Authors. diff --git a/pkg/kubelet/util/boottime_util_linux_test.go b/pkg/kubelet/util/boottime_util_linux_test.go index 9f77dfd0287..882b7f8d9f2 100644 --- a/pkg/kubelet/util/boottime_util_linux_test.go +++ b/pkg/kubelet/util/boottime_util_linux_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2018 The Kubernetes Authors. diff --git a/pkg/kubelet/util/util_linux.go b/pkg/kubelet/util/util_linux.go index 98efbb46fe2..12c11cbeff7 100644 --- a/pkg/kubelet/util/util_linux.go +++ b/pkg/kubelet/util/util_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/kubelet/util/util_others.go b/pkg/kubelet/util/util_others.go index e2e1c71bac6..35541c404be 100644 --- a/pkg/kubelet/util/util_others.go +++ b/pkg/kubelet/util/util_others.go @@ -1,5 +1,4 @@ //go:build !linux && !windows -// +build !linux,!windows /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/kubelet/util/util_unix.go b/pkg/kubelet/util/util_unix.go index 0664b6a4248..e1a310c0a73 100644 --- a/pkg/kubelet/util/util_unix.go +++ b/pkg/kubelet/util/util_unix.go @@ -1,5 +1,4 @@ //go:build freebsd || linux || darwin -// +build freebsd linux darwin /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/kubelet/util/util_unix_test.go b/pkg/kubelet/util/util_unix_test.go index 1206ef4128a..32c56a1c2f8 100644 --- a/pkg/kubelet/util/util_unix_test.go +++ b/pkg/kubelet/util/util_unix_test.go @@ -1,5 +1,4 @@ //go:build freebsd || linux || darwin -// +build freebsd linux darwin /* Copyright 2018 The Kubernetes Authors. diff --git a/pkg/kubelet/util/util_unsupported.go b/pkg/kubelet/util/util_unsupported.go index e95a7c583a8..983cbf931df 100644 --- a/pkg/kubelet/util/util_unsupported.go +++ b/pkg/kubelet/util/util_unsupported.go @@ -1,5 +1,4 @@ //go:build !freebsd && !linux && !windows && !darwin -// +build !freebsd,!linux,!windows,!darwin /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/kubelet/util/util_windows.go b/pkg/kubelet/util/util_windows.go index c944a7d22f2..80d8211326a 100644 --- a/pkg/kubelet/util/util_windows.go +++ b/pkg/kubelet/util/util_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/kubelet/util/util_windows_test.go b/pkg/kubelet/util/util_windows_test.go index e3f1cf500af..319ea9fd8d5 100644 --- a/pkg/kubelet/util/util_windows_test.go +++ b/pkg/kubelet/util/util_windows_test.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2018 The Kubernetes Authors. diff --git a/pkg/kubelet/watchdog/watchdog_linux.go b/pkg/kubelet/watchdog/watchdog_linux.go index 912e7e5ebcc..9237950961a 100644 --- a/pkg/kubelet/watchdog/watchdog_linux.go +++ b/pkg/kubelet/watchdog/watchdog_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2024 The Kubernetes Authors. diff --git a/pkg/kubelet/watchdog/watchdog_linux_test.go b/pkg/kubelet/watchdog/watchdog_linux_test.go index 36f273a9d61..39ab8dc6508 100644 --- a/pkg/kubelet/watchdog/watchdog_linux_test.go +++ b/pkg/kubelet/watchdog/watchdog_linux_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2024 The Kubernetes Authors. diff --git a/pkg/kubelet/watchdog/watchdog_unsupported.go b/pkg/kubelet/watchdog/watchdog_unsupported.go index 2595549e6ec..b0c000acb5f 100644 --- a/pkg/kubelet/watchdog/watchdog_unsupported.go +++ b/pkg/kubelet/watchdog/watchdog_unsupported.go @@ -1,5 +1,4 @@ //go:build !linux -// +build !linux /* Copyright 2024 The Kubernetes Authors. diff --git a/pkg/kubelet/winstats/cpu_topology.go b/pkg/kubelet/winstats/cpu_topology.go index 771e2315ae7..bee3f5f60d0 100644 --- a/pkg/kubelet/winstats/cpu_topology.go +++ b/pkg/kubelet/winstats/cpu_topology.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2024 The Kubernetes Authors. diff --git a/pkg/kubelet/winstats/cpu_topology_test.go b/pkg/kubelet/winstats/cpu_topology_test.go index 33f3f1c8548..06bb16162ab 100644 --- a/pkg/kubelet/winstats/cpu_topology_test.go +++ b/pkg/kubelet/winstats/cpu_topology_test.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2024 The Kubernetes Authors. diff --git a/pkg/kubelet/winstats/network_stats.go b/pkg/kubelet/winstats/network_stats.go index 6ce7a730a56..ee23c41bdd5 100644 --- a/pkg/kubelet/winstats/network_stats.go +++ b/pkg/kubelet/winstats/network_stats.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2019 The Kubernetes Authors. diff --git a/pkg/kubelet/winstats/network_stats_test.go b/pkg/kubelet/winstats/network_stats_test.go index 124de535f96..cb1740c3009 100644 --- a/pkg/kubelet/winstats/network_stats_test.go +++ b/pkg/kubelet/winstats/network_stats_test.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2023 The Kubernetes Authors. diff --git a/pkg/kubelet/winstats/perfcounter_nodestats_test.go b/pkg/kubelet/winstats/perfcounter_nodestats_test.go index a16393b18f1..e6832c1b4bb 100644 --- a/pkg/kubelet/winstats/perfcounter_nodestats_test.go +++ b/pkg/kubelet/winstats/perfcounter_nodestats_test.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2023 The Kubernetes Authors. diff --git a/pkg/kubelet/winstats/perfcounter_nodestats_windows.go b/pkg/kubelet/winstats/perfcounter_nodestats_windows.go index 7083aea47ec..f3c67052eab 100644 --- a/pkg/kubelet/winstats/perfcounter_nodestats_windows.go +++ b/pkg/kubelet/winstats/perfcounter_nodestats_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/kubelet/winstats/perfcounters.go b/pkg/kubelet/winstats/perfcounters.go index 4b483d41d86..8d37b31bedd 100644 --- a/pkg/kubelet/winstats/perfcounters.go +++ b/pkg/kubelet/winstats/perfcounters.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/kubelet/winstats/perfcounters_test.go b/pkg/kubelet/winstats/perfcounters_test.go index ecb93e67878..077cd6a8d33 100644 --- a/pkg/kubelet/winstats/perfcounters_test.go +++ b/pkg/kubelet/winstats/perfcounters_test.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2023 The Kubernetes Authors. diff --git a/pkg/kubelet/winstats/version.go b/pkg/kubelet/winstats/version.go index 80e9442f8ce..fbee466151e 100644 --- a/pkg/kubelet/winstats/version.go +++ b/pkg/kubelet/winstats/version.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/kubelet/winstats/winstats.go b/pkg/kubelet/winstats/winstats.go index 12ee8edfa96..1169c7c80b8 100644 --- a/pkg/kubelet/winstats/winstats.go +++ b/pkg/kubelet/winstats/winstats.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/kubelet/winstats/winstats_test.go b/pkg/kubelet/winstats/winstats_test.go index 29776f89394..a0b84a75935 100644 --- a/pkg/kubelet/winstats/winstats_test.go +++ b/pkg/kubelet/winstats/winstats_test.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/probe/dialer_others.go b/pkg/probe/dialer_others.go index 7b02daff340..63a529a43dd 100644 --- a/pkg/probe/dialer_others.go +++ b/pkg/probe/dialer_others.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2023 The Kubernetes Authors. diff --git a/pkg/probe/dialer_windows.go b/pkg/probe/dialer_windows.go index ab0d020478c..6bad852237e 100644 --- a/pkg/probe/dialer_windows.go +++ b/pkg/probe/dialer_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2023 The Kubernetes Authors. diff --git a/pkg/proxy/conntrack/cleanup.go b/pkg/proxy/conntrack/cleanup.go index 4953adf7f30..8035fcbdb90 100644 --- a/pkg/proxy/conntrack/cleanup.go +++ b/pkg/proxy/conntrack/cleanup.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2023 The Kubernetes Authors. diff --git a/pkg/proxy/conntrack/cleanup_test.go b/pkg/proxy/conntrack/cleanup_test.go index 93e6eca157a..98afa791064 100644 --- a/pkg/proxy/conntrack/cleanup_test.go +++ b/pkg/proxy/conntrack/cleanup_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2023 The Kubernetes Authors. diff --git a/pkg/proxy/conntrack/conntrack.go b/pkg/proxy/conntrack/conntrack.go index bf41a050db5..e276d32aa88 100644 --- a/pkg/proxy/conntrack/conntrack.go +++ b/pkg/proxy/conntrack/conntrack.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2016 The Kubernetes Authors. diff --git a/pkg/proxy/conntrack/conntrack_test.go b/pkg/proxy/conntrack/conntrack_test.go index ff20a02da83..19e9281da8e 100644 --- a/pkg/proxy/conntrack/conntrack_test.go +++ b/pkg/proxy/conntrack/conntrack_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2015 The Kubernetes Authors. diff --git a/pkg/proxy/conntrack/fake.go b/pkg/proxy/conntrack/fake.go index 4183aa5bb3a..8374f775226 100644 --- a/pkg/proxy/conntrack/fake.go +++ b/pkg/proxy/conntrack/fake.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2016 The Kubernetes Authors. diff --git a/pkg/proxy/conntrack/filter.go b/pkg/proxy/conntrack/filter.go index 95ddfb9c3dc..6b451f828a6 100644 --- a/pkg/proxy/conntrack/filter.go +++ b/pkg/proxy/conntrack/filter.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2024 The Kubernetes Authors. diff --git a/pkg/proxy/conntrack/filter_test.go b/pkg/proxy/conntrack/filter_test.go index 400e8d56c9a..ad85afd7f53 100644 --- a/pkg/proxy/conntrack/filter_test.go +++ b/pkg/proxy/conntrack/filter_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2024 The Kubernetes Authors. diff --git a/pkg/proxy/iptables/number_generated_rules_test.go b/pkg/proxy/iptables/number_generated_rules_test.go index dd318d20814..008c239e92d 100644 --- a/pkg/proxy/iptables/number_generated_rules_test.go +++ b/pkg/proxy/iptables/number_generated_rules_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2022 The Kubernetes Authors. diff --git a/pkg/proxy/iptables/proxier.go b/pkg/proxy/iptables/proxier.go index 35dc6e66586..a155c815610 100644 --- a/pkg/proxy/iptables/proxier.go +++ b/pkg/proxy/iptables/proxier.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2015 The Kubernetes Authors. diff --git a/pkg/proxy/iptables/proxier_test.go b/pkg/proxy/iptables/proxier_test.go index 88b1eeec139..99e63c428bb 100644 --- a/pkg/proxy/iptables/proxier_test.go +++ b/pkg/proxy/iptables/proxier_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2015 The Kubernetes Authors. diff --git a/pkg/proxy/ipvs/graceful_termination.go b/pkg/proxy/ipvs/graceful_termination.go index 45eaebb5158..93d6174e3ca 100644 --- a/pkg/proxy/ipvs/graceful_termination.go +++ b/pkg/proxy/ipvs/graceful_termination.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2015 The Kubernetes Authors. diff --git a/pkg/proxy/ipvs/graceful_termination_test.go b/pkg/proxy/ipvs/graceful_termination_test.go index 3b3d0d6c58e..8eb02c19b62 100644 --- a/pkg/proxy/ipvs/graceful_termination_test.go +++ b/pkg/proxy/ipvs/graceful_termination_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2019 The Kubernetes Authors. diff --git a/pkg/proxy/ipvs/ipset.go b/pkg/proxy/ipvs/ipset.go index 193fc634b63..306f8a680d8 100644 --- a/pkg/proxy/ipvs/ipset.go +++ b/pkg/proxy/ipvs/ipset.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/proxy/ipvs/ipset/ipset.go b/pkg/proxy/ipvs/ipset/ipset.go index 041e9278167..c2b5c74707e 100644 --- a/pkg/proxy/ipvs/ipset/ipset.go +++ b/pkg/proxy/ipvs/ipset/ipset.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/proxy/ipvs/ipset/ipset_test.go b/pkg/proxy/ipvs/ipset/ipset_test.go index a2e45327519..a03ebba2439 100644 --- a/pkg/proxy/ipvs/ipset/ipset_test.go +++ b/pkg/proxy/ipvs/ipset/ipset_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/proxy/ipvs/ipset/testing/fake.go b/pkg/proxy/ipvs/ipset/testing/fake.go index 84377a832ee..a4a9608b60f 100644 --- a/pkg/proxy/ipvs/ipset/testing/fake.go +++ b/pkg/proxy/ipvs/ipset/testing/fake.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/proxy/ipvs/ipset/testing/fake_test.go b/pkg/proxy/ipvs/ipset/testing/fake_test.go index a77215ae6a7..84ef3b1f8f3 100644 --- a/pkg/proxy/ipvs/ipset/testing/fake_test.go +++ b/pkg/proxy/ipvs/ipset/testing/fake_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/proxy/ipvs/ipset/types.go b/pkg/proxy/ipvs/ipset/types.go index 45632d27894..e40a7cdc3a7 100644 --- a/pkg/proxy/ipvs/ipset/types.go +++ b/pkg/proxy/ipvs/ipset/types.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/proxy/ipvs/ipset_test.go b/pkg/proxy/ipvs/ipset_test.go index 6f5842f2e96..35806ea9f9f 100644 --- a/pkg/proxy/ipvs/ipset_test.go +++ b/pkg/proxy/ipvs/ipset_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/proxy/ipvs/netlink_linux.go b/pkg/proxy/ipvs/netlink_linux.go index 632b5078ad3..fcf009e69f0 100644 --- a/pkg/proxy/ipvs/netlink_linux.go +++ b/pkg/proxy/ipvs/netlink_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/proxy/ipvs/proxier.go b/pkg/proxy/ipvs/proxier.go index df8a6e89d62..1671b531e7d 100644 --- a/pkg/proxy/ipvs/proxier.go +++ b/pkg/proxy/ipvs/proxier.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/proxy/ipvs/proxier_test.go b/pkg/proxy/ipvs/proxier_test.go index 114e3409df5..a27bf1f89b0 100644 --- a/pkg/proxy/ipvs/proxier_test.go +++ b/pkg/proxy/ipvs/proxier_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/proxy/ipvs/testing/fake.go b/pkg/proxy/ipvs/testing/fake.go index 7b7544fa9c7..ab22d5f1eb7 100644 --- a/pkg/proxy/ipvs/testing/fake.go +++ b/pkg/proxy/ipvs/testing/fake.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/proxy/ipvs/testing/fake_test.go b/pkg/proxy/ipvs/testing/fake_test.go index 227facceb0c..06ce335d11f 100644 --- a/pkg/proxy/ipvs/testing/fake_test.go +++ b/pkg/proxy/ipvs/testing/fake_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/proxy/ipvs/testing/util.go b/pkg/proxy/ipvs/testing/util.go index 599532e1d89..29baf19c08c 100644 --- a/pkg/proxy/ipvs/testing/util.go +++ b/pkg/proxy/ipvs/testing/util.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/proxy/ipvs/util/ipvs.go b/pkg/proxy/ipvs/util/ipvs.go index ac8853c4406..3c180585661 100644 --- a/pkg/proxy/ipvs/util/ipvs.go +++ b/pkg/proxy/ipvs/util/ipvs.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/proxy/ipvs/util/ipvs_linux.go b/pkg/proxy/ipvs/util/ipvs_linux.go index e038fad07b6..ed447ba1c7e 100644 --- a/pkg/proxy/ipvs/util/ipvs_linux.go +++ b/pkg/proxy/ipvs/util/ipvs_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/proxy/ipvs/util/ipvs_linux_test.go b/pkg/proxy/ipvs/util/ipvs_linux_test.go index f3595f260aa..06bca7d88b0 100644 --- a/pkg/proxy/ipvs/util/ipvs_linux_test.go +++ b/pkg/proxy/ipvs/util/ipvs_linux_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/proxy/ipvs/util/ipvs_test.go b/pkg/proxy/ipvs/util/ipvs_test.go index 7cf3b25d615..782c543d22f 100644 --- a/pkg/proxy/ipvs/util/ipvs_test.go +++ b/pkg/proxy/ipvs/util/ipvs_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/proxy/ipvs/util/testing/fake.go b/pkg/proxy/ipvs/util/testing/fake.go index 2d946517d04..bed59256dd1 100644 --- a/pkg/proxy/ipvs/util/testing/fake.go +++ b/pkg/proxy/ipvs/util/testing/fake.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/proxy/ipvs/util/testing/fake_test.go b/pkg/proxy/ipvs/util/testing/fake_test.go index 69aac3b1c85..23fec029e68 100644 --- a/pkg/proxy/ipvs/util/testing/fake_test.go +++ b/pkg/proxy/ipvs/util/testing/fake_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/proxy/nftables/helpers_test.go b/pkg/proxy/nftables/helpers_test.go index 7cc34bf403b..d2344b3f7ed 100644 --- a/pkg/proxy/nftables/helpers_test.go +++ b/pkg/proxy/nftables/helpers_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2015 The Kubernetes Authors. diff --git a/pkg/proxy/nftables/proxier.go b/pkg/proxy/nftables/proxier.go index 6b533cb131f..355bc5a5d81 100644 --- a/pkg/proxy/nftables/proxier.go +++ b/pkg/proxy/nftables/proxier.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2015 The Kubernetes Authors. diff --git a/pkg/proxy/nftables/proxier_test.go b/pkg/proxy/nftables/proxier_test.go index be9ca16a9c9..effee905452 100644 --- a/pkg/proxy/nftables/proxier_test.go +++ b/pkg/proxy/nftables/proxier_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2015 The Kubernetes Authors. diff --git a/pkg/proxy/util/nfacct/handler.go b/pkg/proxy/util/nfacct/handler.go index ec14ea41833..bd639a69668 100644 --- a/pkg/proxy/util/nfacct/handler.go +++ b/pkg/proxy/util/nfacct/handler.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2024 The Kubernetes Authors. diff --git a/pkg/proxy/util/nfacct/nfacct_linux.go b/pkg/proxy/util/nfacct/nfacct_linux.go index 4a91e84aa63..12a76bc5479 100644 --- a/pkg/proxy/util/nfacct/nfacct_linux.go +++ b/pkg/proxy/util/nfacct/nfacct_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2024 The Kubernetes Authors. diff --git a/pkg/proxy/util/nfacct/nfacct_linux_test.go b/pkg/proxy/util/nfacct/nfacct_linux_test.go index 54185098dc5..1da3471e800 100644 --- a/pkg/proxy/util/nfacct/nfacct_linux_test.go +++ b/pkg/proxy/util/nfacct/nfacct_linux_test.go @@ -1,5 +1,4 @@ //go:build linux && !s390x -// +build linux,!s390x /* Copyright 2024 The Kubernetes Authors. diff --git a/pkg/proxy/util/nfacct/nfacct_others.go b/pkg/proxy/util/nfacct/nfacct_others.go index 0ca20a2d37b..198c4389336 100644 --- a/pkg/proxy/util/nfacct/nfacct_others.go +++ b/pkg/proxy/util/nfacct/nfacct_others.go @@ -1,5 +1,4 @@ //go:build !linux -// +build !linux /* Copyright 2024 The Kubernetes Authors. diff --git a/pkg/proxy/util/utils_linux.go b/pkg/proxy/util/utils_linux.go index 6d43a01aae5..f83a3cf3174 100644 --- a/pkg/proxy/util/utils_linux.go +++ b/pkg/proxy/util/utils_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2025 The Kubernetes Authors. diff --git a/pkg/proxy/winkernel/hcnutils.go b/pkg/proxy/winkernel/hcnutils.go index 5c86a113bc0..a73c54ac764 100644 --- a/pkg/proxy/winkernel/hcnutils.go +++ b/pkg/proxy/winkernel/hcnutils.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2018 The Kubernetes Authors. diff --git a/pkg/proxy/winkernel/hns.go b/pkg/proxy/winkernel/hns.go index 80bb208adff..69319b0ff08 100644 --- a/pkg/proxy/winkernel/hns.go +++ b/pkg/proxy/winkernel/hns.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2018 The Kubernetes Authors. diff --git a/pkg/proxy/winkernel/hns_test.go b/pkg/proxy/winkernel/hns_test.go index b859ad639ef..bbc653870a6 100644 --- a/pkg/proxy/winkernel/hns_test.go +++ b/pkg/proxy/winkernel/hns_test.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2018 The Kubernetes Authors. diff --git a/pkg/proxy/winkernel/proxier.go b/pkg/proxy/winkernel/proxier.go index 35558bbce95..6c37c7af6cd 100644 --- a/pkg/proxy/winkernel/proxier.go +++ b/pkg/proxy/winkernel/proxier.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/proxy/winkernel/proxier_test.go b/pkg/proxy/winkernel/proxier_test.go index aaa39ded01c..7c317a0fb78 100644 --- a/pkg/proxy/winkernel/proxier_test.go +++ b/pkg/proxy/winkernel/proxier_test.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2021 The Kubernetes Authors. diff --git a/pkg/proxy/winkernel/testing/hcnutils_mock.go b/pkg/proxy/winkernel/testing/hcnutils_mock.go index 26843f2f004..f2462201108 100644 --- a/pkg/proxy/winkernel/testing/hcnutils_mock.go +++ b/pkg/proxy/winkernel/testing/hcnutils_mock.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2018 The Kubernetes Authors. diff --git a/pkg/routes/const_other.go b/pkg/routes/const_other.go index fff6446e54f..458e506e818 100644 --- a/pkg/routes/const_other.go +++ b/pkg/routes/const_other.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2022 The Kubernetes Authors. diff --git a/pkg/scheduler/backend/cache/debugger/signal.go b/pkg/scheduler/backend/cache/debugger/signal.go index df5c83cea0d..78acf3acb45 100644 --- a/pkg/scheduler/backend/cache/debugger/signal.go +++ b/pkg/scheduler/backend/cache/debugger/signal.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2018 The Kubernetes Authors. diff --git a/pkg/scheduler/framework/runtime/util_others_test.go b/pkg/scheduler/framework/runtime/util_others_test.go index af5f3d1af53..07cb13fa09b 100644 --- a/pkg/scheduler/framework/runtime/util_others_test.go +++ b/pkg/scheduler/framework/runtime/util_others_test.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2022 The Kubernetes Authors. diff --git a/pkg/scheduler/framework/runtime/util_windows_test.go b/pkg/scheduler/framework/runtime/util_windows_test.go index ccb3bca3321..031c13c0449 100644 --- a/pkg/scheduler/framework/runtime/util_windows_test.go +++ b/pkg/scheduler/framework/runtime/util_windows_test.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2022 The Kubernetes Authors. diff --git a/pkg/security/apparmor/validate_disabled.go b/pkg/security/apparmor/validate_disabled.go index 91a82c2ef82..af10414ac19 100644 --- a/pkg/security/apparmor/validate_disabled.go +++ b/pkg/security/apparmor/validate_disabled.go @@ -1,5 +1,4 @@ //go:build !linux -// +build !linux /* Copyright 2016 The Kubernetes Authors. diff --git a/pkg/util/coverage/coverage.go b/pkg/util/coverage/coverage.go index f8e38917089..7d271195964 100644 --- a/pkg/util/coverage/coverage.go +++ b/pkg/util/coverage/coverage.go @@ -1,5 +1,4 @@ //go:build coverage -// +build coverage /* Copyright 2018 The Kubernetes Authors. diff --git a/pkg/util/coverage/coverage_disabled.go b/pkg/util/coverage/coverage_disabled.go index f1c89a4d544..d95ea586781 100644 --- a/pkg/util/coverage/coverage_disabled.go +++ b/pkg/util/coverage/coverage_disabled.go @@ -1,5 +1,4 @@ //go:build !coverage -// +build !coverage /* Copyright 2018 The Kubernetes Authors. diff --git a/pkg/util/filesystem/util_unix.go b/pkg/util/filesystem/util_unix.go index d27d2640f33..351f9ffff9a 100644 --- a/pkg/util/filesystem/util_unix.go +++ b/pkg/util/filesystem/util_unix.go @@ -1,5 +1,4 @@ //go:build freebsd || linux || darwin -// +build freebsd linux darwin /* Copyright 2023 The Kubernetes Authors. diff --git a/pkg/util/filesystem/util_windows.go b/pkg/util/filesystem/util_windows.go index 95616d34f6c..0d0799909a4 100644 --- a/pkg/util/filesystem/util_windows.go +++ b/pkg/util/filesystem/util_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2023 The Kubernetes Authors. diff --git a/pkg/util/filesystem/util_windows_test.go b/pkg/util/filesystem/util_windows_test.go index d3cb238c0c7..0bb622a47ac 100644 --- a/pkg/util/filesystem/util_windows_test.go +++ b/pkg/util/filesystem/util_windows_test.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2023 The Kubernetes Authors. diff --git a/pkg/util/flock/flock_other.go b/pkg/util/flock/flock_other.go index 33c7a0799ce..1def472197a 100644 --- a/pkg/util/flock/flock_other.go +++ b/pkg/util/flock/flock_other.go @@ -1,5 +1,4 @@ //go:build !linux && !darwin && !freebsd && !openbsd && !netbsd && !dragonfly -// +build !linux,!darwin,!freebsd,!openbsd,!netbsd,!dragonfly /* Copyright 2016 The Kubernetes Authors. diff --git a/pkg/util/flock/flock_unix.go b/pkg/util/flock/flock_unix.go index d44c1a8d569..747b9e766ce 100644 --- a/pkg/util/flock/flock_unix.go +++ b/pkg/util/flock/flock_unix.go @@ -1,5 +1,4 @@ //go:build linux || darwin || freebsd || openbsd || netbsd || dragonfly -// +build linux darwin freebsd openbsd netbsd dragonfly /* Copyright 2016 The Kubernetes Authors. diff --git a/pkg/util/iptables/iptables.go b/pkg/util/iptables/iptables.go index 8476c1ca78d..52b81f1ec82 100644 --- a/pkg/util/iptables/iptables.go +++ b/pkg/util/iptables/iptables.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2014 The Kubernetes Authors. diff --git a/pkg/util/iptables/iptables_linux.go b/pkg/util/iptables/iptables_linux.go index e3079173075..b038791ff62 100644 --- a/pkg/util/iptables/iptables_linux.go +++ b/pkg/util/iptables/iptables_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/util/iptables/iptables_test.go b/pkg/util/iptables/iptables_test.go index e98abff487a..0e89fd4fd19 100644 --- a/pkg/util/iptables/iptables_test.go +++ b/pkg/util/iptables/iptables_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2014 The Kubernetes Authors. diff --git a/pkg/util/iptables/monitor_test.go b/pkg/util/iptables/monitor_test.go index f0aa9187eb1..52fc1e5fea5 100644 --- a/pkg/util/iptables/monitor_test.go +++ b/pkg/util/iptables/monitor_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2019 The Kubernetes Authors. diff --git a/pkg/util/iptables/save_restore.go b/pkg/util/iptables/save_restore.go index d507adde737..d56deed2cc0 100644 --- a/pkg/util/iptables/save_restore.go +++ b/pkg/util/iptables/save_restore.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2014 The Kubernetes Authors. diff --git a/pkg/util/iptables/save_restore_test.go b/pkg/util/iptables/save_restore_test.go index 26da4bb3e1c..10f6b741e89 100644 --- a/pkg/util/iptables/save_restore_test.go +++ b/pkg/util/iptables/save_restore_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2018 The Kubernetes Authors. diff --git a/pkg/util/iptables/testing/fake.go b/pkg/util/iptables/testing/fake.go index 4658d73263d..78c0c2070ec 100644 --- a/pkg/util/iptables/testing/fake.go +++ b/pkg/util/iptables/testing/fake.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2015 The Kubernetes Authors. diff --git a/pkg/util/iptables/testing/fake_test.go b/pkg/util/iptables/testing/fake_test.go index b2edaa59549..de6c6a51265 100644 --- a/pkg/util/iptables/testing/fake_test.go +++ b/pkg/util/iptables/testing/fake_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2022 The Kubernetes Authors. diff --git a/pkg/util/iptables/testing/parse.go b/pkg/util/iptables/testing/parse.go index d7957e8c760..76b17455d54 100644 --- a/pkg/util/iptables/testing/parse.go +++ b/pkg/util/iptables/testing/parse.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2022 The Kubernetes Authors. diff --git a/pkg/util/iptables/testing/parse_test.go b/pkg/util/iptables/testing/parse_test.go index 5d320018b4d..1afcb210975 100644 --- a/pkg/util/iptables/testing/parse_test.go +++ b/pkg/util/iptables/testing/parse_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2022 The Kubernetes Authors. diff --git a/pkg/util/oom/oom_linux.go b/pkg/util/oom/oom_linux.go index 380967f9c00..fcfb37cd1b4 100644 --- a/pkg/util/oom/oom_linux.go +++ b/pkg/util/oom/oom_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2015 The Kubernetes Authors. diff --git a/pkg/util/oom/oom_linux_test.go b/pkg/util/oom/oom_linux_test.go index e724da7e90f..60b271b13e3 100644 --- a/pkg/util/oom/oom_linux_test.go +++ b/pkg/util/oom/oom_linux_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2015 The Kubernetes Authors. diff --git a/pkg/util/oom/oom_unsupported.go b/pkg/util/oom/oom_unsupported.go index 1e4b926e24e..0e16bd7477e 100644 --- a/pkg/util/oom/oom_unsupported.go +++ b/pkg/util/oom/oom_unsupported.go @@ -1,5 +1,4 @@ //go:build !linux -// +build !linux /* Copyright 2015 The Kubernetes Authors. diff --git a/pkg/util/procfs/procfs_linux.go b/pkg/util/procfs/procfs_linux.go index 041291bce9e..8c9a98191bb 100644 --- a/pkg/util/procfs/procfs_linux.go +++ b/pkg/util/procfs/procfs_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2015 The Kubernetes Authors. diff --git a/pkg/util/procfs/procfs_linux_test.go b/pkg/util/procfs/procfs_linux_test.go index b021afd9c2d..759e5fd2fa3 100644 --- a/pkg/util/procfs/procfs_linux_test.go +++ b/pkg/util/procfs/procfs_linux_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2015 The Kubernetes Authors. diff --git a/pkg/util/procfs/procfs_unsupported.go b/pkg/util/procfs/procfs_unsupported.go index 7ff7a49fa0b..f8e3d36d7a7 100644 --- a/pkg/util/procfs/procfs_unsupported.go +++ b/pkg/util/procfs/procfs_unsupported.go @@ -1,5 +1,4 @@ //go:build !linux -// +build !linux /* Copyright 2016 The Kubernetes Authors. diff --git a/pkg/util/rlimit/rlimit_linux.go b/pkg/util/rlimit/rlimit_linux.go index 3a42a14ff90..158379bc884 100644 --- a/pkg/util/rlimit/rlimit_linux.go +++ b/pkg/util/rlimit/rlimit_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2016 The Kubernetes Authors. diff --git a/pkg/util/rlimit/rlimit_unsupported.go b/pkg/util/rlimit/rlimit_unsupported.go index 96eb9904278..6025ab3fb31 100644 --- a/pkg/util/rlimit/rlimit_unsupported.go +++ b/pkg/util/rlimit/rlimit_unsupported.go @@ -1,5 +1,4 @@ //go:build !linux -// +build !linux /* Copyright 2016 The Kubernetes Authors. diff --git a/pkg/volume/emptydir/empty_dir_linux.go b/pkg/volume/emptydir/empty_dir_linux.go index 381ad4bf666..9e9fec7c66f 100644 --- a/pkg/volume/emptydir/empty_dir_linux.go +++ b/pkg/volume/emptydir/empty_dir_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2015 The Kubernetes Authors. diff --git a/pkg/volume/emptydir/empty_dir_test.go b/pkg/volume/emptydir/empty_dir_test.go index 73826145871..86dca71ac55 100644 --- a/pkg/volume/emptydir/empty_dir_test.go +++ b/pkg/volume/emptydir/empty_dir_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2014 The Kubernetes Authors. diff --git a/pkg/volume/emptydir/empty_dir_unsupported.go b/pkg/volume/emptydir/empty_dir_unsupported.go index 106d296d992..dc710e8265f 100644 --- a/pkg/volume/emptydir/empty_dir_unsupported.go +++ b/pkg/volume/emptydir/empty_dir_unsupported.go @@ -1,5 +1,4 @@ //go:build !linux -// +build !linux /* Copyright 2015 The Kubernetes Authors. diff --git a/pkg/volume/fc/fc_util_linux_test.go b/pkg/volume/fc/fc_util_linux_test.go index eebfce74c2e..0aa0d617b6b 100644 --- a/pkg/volume/fc/fc_util_linux_test.go +++ b/pkg/volume/fc/fc_util_linux_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2024 The Kubernetes Authors. diff --git a/pkg/volume/iscsi/iscsi_util_test.go b/pkg/volume/iscsi/iscsi_util_test.go index 4d3906b509f..689f56eaa02 100644 --- a/pkg/volume/iscsi/iscsi_util_test.go +++ b/pkg/volume/iscsi/iscsi_util_test.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2015 The Kubernetes Authors. diff --git a/pkg/volume/local/local_linux_test.go b/pkg/volume/local/local_linux_test.go index 08daebf04e2..d02698bf041 100644 --- a/pkg/volume/local/local_linux_test.go +++ b/pkg/volume/local/local_linux_test.go @@ -1,5 +1,4 @@ //go:build linux || darwin -// +build linux darwin /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/volume/local/local_test.go b/pkg/volume/local/local_test.go index 7777997f3b6..39d4795ed6f 100644 --- a/pkg/volume/local/local_test.go +++ b/pkg/volume/local/local_test.go @@ -1,5 +1,4 @@ //go:build linux || darwin || windows -// +build linux darwin windows /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/volume/metrics_block_linux_test.go b/pkg/volume/metrics_block_linux_test.go index d5e6951142e..76062452f0a 100644 --- a/pkg/volume/metrics_block_linux_test.go +++ b/pkg/volume/metrics_block_linux_test.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2021 The Kubernetes Authors. diff --git a/pkg/volume/metrics_du_unix_test.go b/pkg/volume/metrics_du_unix_test.go index ea35b669170..a09afe8815e 100644 --- a/pkg/volume/metrics_du_unix_test.go +++ b/pkg/volume/metrics_du_unix_test.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2023 The Kubernetes Authors. diff --git a/pkg/volume/metrics_du_windows_test.go b/pkg/volume/metrics_du_windows_test.go index 42217e2b6e4..4418a5e5a43 100644 --- a/pkg/volume/metrics_du_windows_test.go +++ b/pkg/volume/metrics_du_windows_test.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2023 The Kubernetes Authors. diff --git a/pkg/volume/util/atomic_writer_linux.go b/pkg/volume/util/atomic_writer_linux.go index c12a0f4cd31..15f4cd77403 100644 --- a/pkg/volume/util/atomic_writer_linux.go +++ b/pkg/volume/util/atomic_writer_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2024 The Kubernetes Authors. diff --git a/pkg/volume/util/atomic_writer_test.go b/pkg/volume/util/atomic_writer_test.go index dfe01d92f5b..b328f2313ba 100644 --- a/pkg/volume/util/atomic_writer_test.go +++ b/pkg/volume/util/atomic_writer_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2016 The Kubernetes Authors. diff --git a/pkg/volume/util/atomic_writer_unsupported.go b/pkg/volume/util/atomic_writer_unsupported.go index cdfb83e6397..2a5ec11a138 100644 --- a/pkg/volume/util/atomic_writer_unsupported.go +++ b/pkg/volume/util/atomic_writer_unsupported.go @@ -1,5 +1,4 @@ //go:build !linux -// +build !linux /* Copyright 2024 The Kubernetes Authors. diff --git a/pkg/volume/util/device_util_linux.go b/pkg/volume/util/device_util_linux.go index 18cbec072f4..b9e5be201f5 100644 --- a/pkg/volume/util/device_util_linux.go +++ b/pkg/volume/util/device_util_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2016 The Kubernetes Authors. diff --git a/pkg/volume/util/device_util_linux_test.go b/pkg/volume/util/device_util_linux_test.go index bb3d113f1a5..982b6b06acc 100644 --- a/pkg/volume/util/device_util_linux_test.go +++ b/pkg/volume/util/device_util_linux_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2016 The Kubernetes Authors. diff --git a/pkg/volume/util/device_util_unsupported.go b/pkg/volume/util/device_util_unsupported.go index ea4786aff6f..cbbf035e85b 100644 --- a/pkg/volume/util/device_util_unsupported.go +++ b/pkg/volume/util/device_util_unsupported.go @@ -1,5 +1,4 @@ //go:build !linux -// +build !linux /* Copyright 2016 The Kubernetes Authors. diff --git a/pkg/volume/util/fs/fs.go b/pkg/volume/util/fs/fs.go index 64301fd5de1..fea83301b4c 100644 --- a/pkg/volume/util/fs/fs.go +++ b/pkg/volume/util/fs/fs.go @@ -1,5 +1,4 @@ //go:build linux || darwin -// +build linux darwin /* Copyright 2014 The Kubernetes Authors. diff --git a/pkg/volume/util/fs/fs_unsupported.go b/pkg/volume/util/fs/fs_unsupported.go index f66df0d0666..82065e31601 100644 --- a/pkg/volume/util/fs/fs_unsupported.go +++ b/pkg/volume/util/fs/fs_unsupported.go @@ -1,5 +1,4 @@ //go:build !linux && !darwin && !windows -// +build !linux,!darwin,!windows /* Copyright 2014 The Kubernetes Authors. diff --git a/pkg/volume/util/fs/fs_windows.go b/pkg/volume/util/fs/fs_windows.go index 3e654d3fd3d..9afe97e5790 100644 --- a/pkg/volume/util/fs/fs_windows.go +++ b/pkg/volume/util/fs/fs_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2014 The Kubernetes Authors. diff --git a/pkg/volume/util/fsquota/common/quota_common_linux.go b/pkg/volume/util/fsquota/common/quota_common_linux.go index 77f845837b7..d0ef4b26a2a 100644 --- a/pkg/volume/util/fsquota/common/quota_common_linux.go +++ b/pkg/volume/util/fsquota/common/quota_common_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2018 The Kubernetes Authors. diff --git a/pkg/volume/util/fsquota/common/quota_common_linux_impl.go b/pkg/volume/util/fsquota/common/quota_common_linux_impl.go index a9959662393..f50c2777c07 100644 --- a/pkg/volume/util/fsquota/common/quota_common_linux_impl.go +++ b/pkg/volume/util/fsquota/common/quota_common_linux_impl.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2018 The Kubernetes Authors. diff --git a/pkg/volume/util/fsquota/project.go b/pkg/volume/util/fsquota/project.go index 16d25d6c3f5..e1b2f0a96ae 100644 --- a/pkg/volume/util/fsquota/project.go +++ b/pkg/volume/util/fsquota/project.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2018 The Kubernetes Authors. diff --git a/pkg/volume/util/fsquota/quota_linux.go b/pkg/volume/util/fsquota/quota_linux.go index 6ddf4d4d50f..da93b5d2e9a 100644 --- a/pkg/volume/util/fsquota/quota_linux.go +++ b/pkg/volume/util/fsquota/quota_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2018 The Kubernetes Authors. diff --git a/pkg/volume/util/fsquota/quota_linux_test.go b/pkg/volume/util/fsquota/quota_linux_test.go index 30c8ede4d23..5989b1428a1 100644 --- a/pkg/volume/util/fsquota/quota_linux_test.go +++ b/pkg/volume/util/fsquota/quota_linux_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2018 The Kubernetes Authors. diff --git a/pkg/volume/util/fsquota/quota_unsupported.go b/pkg/volume/util/fsquota/quota_unsupported.go index 31d3e4f655e..dcebb4faa4d 100644 --- a/pkg/volume/util/fsquota/quota_unsupported.go +++ b/pkg/volume/util/fsquota/quota_unsupported.go @@ -1,5 +1,4 @@ //go:build !linux -// +build !linux /* Copyright 2018 The Kubernetes Authors. diff --git a/pkg/volume/util/hostutil/hostutil_linux.go b/pkg/volume/util/hostutil/hostutil_linux.go index 19bcc5f14e1..f5206492d3c 100644 --- a/pkg/volume/util/hostutil/hostutil_linux.go +++ b/pkg/volume/util/hostutil/hostutil_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2014 The Kubernetes Authors. diff --git a/pkg/volume/util/hostutil/hostutil_linux_test.go b/pkg/volume/util/hostutil/hostutil_linux_test.go index c720f32900d..ab9a6736fdb 100644 --- a/pkg/volume/util/hostutil/hostutil_linux_test.go +++ b/pkg/volume/util/hostutil/hostutil_linux_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2014 The Kubernetes Authors. diff --git a/pkg/volume/util/hostutil/hostutil_unsupported.go b/pkg/volume/util/hostutil/hostutil_unsupported.go index c5ff9c0b5e1..2fd765938a2 100644 --- a/pkg/volume/util/hostutil/hostutil_unsupported.go +++ b/pkg/volume/util/hostutil/hostutil_unsupported.go @@ -1,5 +1,4 @@ //go:build !linux && !windows -// +build !linux,!windows /* Copyright 2014 The Kubernetes Authors. diff --git a/pkg/volume/util/hostutil/hostutil_windows.go b/pkg/volume/util/hostutil/hostutil_windows.go index b702d1e7e9b..fcaebdf7d15 100644 --- a/pkg/volume/util/hostutil/hostutil_windows.go +++ b/pkg/volume/util/hostutil/hostutil_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/volume/util/subpath/subpath_linux.go b/pkg/volume/util/subpath/subpath_linux.go index f1958cd6050..0ed994d1266 100644 --- a/pkg/volume/util/subpath/subpath_linux.go +++ b/pkg/volume/util/subpath/subpath_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2014 The Kubernetes Authors. diff --git a/pkg/volume/util/subpath/subpath_linux_test.go b/pkg/volume/util/subpath/subpath_linux_test.go index 987d6967d66..f07aba319c9 100644 --- a/pkg/volume/util/subpath/subpath_linux_test.go +++ b/pkg/volume/util/subpath/subpath_linux_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2014 The Kubernetes Authors. diff --git a/pkg/volume/util/subpath/subpath_unsupported.go b/pkg/volume/util/subpath/subpath_unsupported.go index 1771bc16b8e..b294ffdfd6d 100644 --- a/pkg/volume/util/subpath/subpath_unsupported.go +++ b/pkg/volume/util/subpath/subpath_unsupported.go @@ -1,5 +1,4 @@ //go:build !linux && !windows -// +build !linux,!windows /* Copyright 2014 The Kubernetes Authors. diff --git a/pkg/volume/util/subpath/subpath_windows.go b/pkg/volume/util/subpath/subpath_windows.go index 14b52a365fc..06ff952d99c 100644 --- a/pkg/volume/util/subpath/subpath_windows.go +++ b/pkg/volume/util/subpath/subpath_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/volume/util/subpath/subpath_windows_test.go b/pkg/volume/util/subpath/subpath_windows_test.go index 682fcd4f59d..050143d96e7 100644 --- a/pkg/volume/util/subpath/subpath_windows_test.go +++ b/pkg/volume/util/subpath/subpath_windows_test.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2017 The Kubernetes Authors. diff --git a/pkg/volume/util/volumepathhandler/volume_path_handler_linux.go b/pkg/volume/util/volumepathhandler/volume_path_handler_linux.go index 541d0b65d35..b1256a2152c 100644 --- a/pkg/volume/util/volumepathhandler/volume_path_handler_linux.go +++ b/pkg/volume/util/volumepathhandler/volume_path_handler_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2018 The Kubernetes Authors. diff --git a/pkg/volume/util/volumepathhandler/volume_path_handler_unsupported.go b/pkg/volume/util/volumepathhandler/volume_path_handler_unsupported.go index 66fb2fe1f42..ec78ef8da10 100644 --- a/pkg/volume/util/volumepathhandler/volume_path_handler_unsupported.go +++ b/pkg/volume/util/volumepathhandler/volume_path_handler_unsupported.go @@ -1,5 +1,4 @@ //go:build !linux -// +build !linux /* Copyright 2018 The Kubernetes Authors. diff --git a/pkg/volume/volume_linux.go b/pkg/volume/volume_linux.go index c3caf8c66c6..48e6a8f385e 100644 --- a/pkg/volume/volume_linux.go +++ b/pkg/volume/volume_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2016 The Kubernetes Authors. diff --git a/pkg/volume/volume_linux_test.go b/pkg/volume/volume_linux_test.go index c133b69bcc1..bf1d2904114 100644 --- a/pkg/volume/volume_linux_test.go +++ b/pkg/volume/volume_linux_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2020 The Kubernetes Authors. diff --git a/pkg/volume/volume_unsupported.go b/pkg/volume/volume_unsupported.go index ef46dac618d..e73bb4a14aa 100644 --- a/pkg/volume/volume_unsupported.go +++ b/pkg/volume/volume_unsupported.go @@ -1,5 +1,4 @@ //go:build !linux -// +build !linux /* Copyright 2016 The Kubernetes Authors. diff --git a/pkg/windows/service/service.go b/pkg/windows/service/service.go index 15e004a1fae..818a736a0bc 100644 --- a/pkg/windows/service/service.go +++ b/pkg/windows/service/service.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2018 The Kubernetes Authors. diff --git a/staging/src/k8s.io/apiextensions-apiserver/examples/client-go/hack/tools.go b/staging/src/k8s.io/apiextensions-apiserver/examples/client-go/hack/tools.go index 73ab6ef11b3..3e2ab980786 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/examples/client-go/hack/tools.go +++ b/staging/src/k8s.io/apiextensions-apiserver/examples/client-go/hack/tools.go @@ -1,5 +1,4 @@ //go:build tools -// +build tools /* Copyright 2019 The Kubernetes Authors. diff --git a/staging/src/k8s.io/apimachinery/pkg/api/apitesting/roundtrip/fuzz_norace.go b/staging/src/k8s.io/apimachinery/pkg/api/apitesting/roundtrip/fuzz_norace.go index c655b3ab71e..23057619b16 100644 --- a/staging/src/k8s.io/apimachinery/pkg/api/apitesting/roundtrip/fuzz_norace.go +++ b/staging/src/k8s.io/apimachinery/pkg/api/apitesting/roundtrip/fuzz_norace.go @@ -1,5 +1,4 @@ //go:build !race -// +build !race /* Copyright 2021 The Kubernetes Authors. diff --git a/staging/src/k8s.io/apimachinery/pkg/api/apitesting/roundtrip/fuzz_race.go b/staging/src/k8s.io/apimachinery/pkg/api/apitesting/roundtrip/fuzz_race.go index fa252960f01..f7ebb8c170d 100644 --- a/staging/src/k8s.io/apimachinery/pkg/api/apitesting/roundtrip/fuzz_race.go +++ b/staging/src/k8s.io/apimachinery/pkg/api/apitesting/roundtrip/fuzz_race.go @@ -1,5 +1,4 @@ //go:build race -// +build race /* Copyright 2021 The Kubernetes Authors. diff --git a/staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/micro_time_fuzz.go b/staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/micro_time_fuzz.go index a5f437b4b38..338ea9be722 100644 --- a/staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/micro_time_fuzz.go +++ b/staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/micro_time_fuzz.go @@ -1,5 +1,4 @@ //go:build !notest -// +build !notest /* Copyright 2020 The Kubernetes Authors. diff --git a/staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/time_fuzz.go b/staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/time_fuzz.go index 48fb978450e..14ec5f05868 100644 --- a/staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/time_fuzz.go +++ b/staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/time_fuzz.go @@ -1,5 +1,4 @@ //go:build !notest -// +build !notest /* Copyright 2020 The Kubernetes Authors. diff --git a/staging/src/k8s.io/apimachinery/pkg/util/intstr/instr_fuzz.go b/staging/src/k8s.io/apimachinery/pkg/util/intstr/instr_fuzz.go index 2d6f6a0ccca..494325c1f3d 100644 --- a/staging/src/k8s.io/apimachinery/pkg/util/intstr/instr_fuzz.go +++ b/staging/src/k8s.io/apimachinery/pkg/util/intstr/instr_fuzz.go @@ -1,5 +1,4 @@ //go:build !notest -// +build !notest /* Copyright 2020 The Kubernetes Authors. diff --git a/staging/src/k8s.io/apimachinery/pkg/util/json/json_test.go b/staging/src/k8s.io/apimachinery/pkg/util/json/json_test.go index 9464eb7f3f7..8caaa274a7e 100644 --- a/staging/src/k8s.io/apimachinery/pkg/util/json/json_test.go +++ b/staging/src/k8s.io/apimachinery/pkg/util/json/json_test.go @@ -1,5 +1,4 @@ //go:build go1.8 -// +build go1.8 /* Copyright 2015 The Kubernetes Authors. diff --git a/staging/src/k8s.io/apimachinery/pkg/util/net/http_test.go b/staging/src/k8s.io/apimachinery/pkg/util/net/http_test.go index c6673b29cb6..8cced587d2c 100644 --- a/staging/src/k8s.io/apimachinery/pkg/util/net/http_test.go +++ b/staging/src/k8s.io/apimachinery/pkg/util/net/http_test.go @@ -1,5 +1,4 @@ //go:build go1.8 -// +build go1.8 /* Copyright 2016 The Kubernetes Authors. diff --git a/staging/src/k8s.io/apiserver/pkg/server/options/serving_unix.go b/staging/src/k8s.io/apiserver/pkg/server/options/serving_unix.go index 483eac79b23..6f484ac3764 100644 --- a/staging/src/k8s.io/apiserver/pkg/server/options/serving_unix.go +++ b/staging/src/k8s.io/apiserver/pkg/server/options/serving_unix.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2020 The Kubernetes Authors. diff --git a/staging/src/k8s.io/apiserver/pkg/server/options/serving_unix_test.go b/staging/src/k8s.io/apiserver/pkg/server/options/serving_unix_test.go index bfc4815329f..db23538ebae 100644 --- a/staging/src/k8s.io/apiserver/pkg/server/options/serving_unix_test.go +++ b/staging/src/k8s.io/apiserver/pkg/server/options/serving_unix_test.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2020 The Kubernetes Authors. diff --git a/staging/src/k8s.io/apiserver/pkg/server/options/serving_windows.go b/staging/src/k8s.io/apiserver/pkg/server/options/serving_windows.go index 844de618833..f8fb1410987 100644 --- a/staging/src/k8s.io/apiserver/pkg/server/options/serving_windows.go +++ b/staging/src/k8s.io/apiserver/pkg/server/options/serving_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2020 The Kubernetes Authors. diff --git a/staging/src/k8s.io/apiserver/pkg/server/signal_posix.go b/staging/src/k8s.io/apiserver/pkg/server/signal_posix.go index 7acb2038a1b..fc0ab2d6716 100644 --- a/staging/src/k8s.io/apiserver/pkg/server/signal_posix.go +++ b/staging/src/k8s.io/apiserver/pkg/server/signal_posix.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2017 The Kubernetes Authors. diff --git a/staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/grpc_service_unix_test.go b/staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/grpc_service_unix_test.go index ede17d23e84..82a0d89e50f 100644 --- a/staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/grpc_service_unix_test.go +++ b/staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/grpc_service_unix_test.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2017 The Kubernetes Authors. diff --git a/staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/envelope_test.go b/staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/envelope_test.go index 59dae5b19a2..d1ac0996173 100644 --- a/staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/envelope_test.go +++ b/staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/envelope_test.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2022 The Kubernetes Authors. diff --git a/staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/grpc_service_unix_test.go b/staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/grpc_service_unix_test.go index c0a78d9937d..09b5be9f1fb 100644 --- a/staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/grpc_service_unix_test.go +++ b/staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/grpc_service_unix_test.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2022 The Kubernetes Authors. diff --git a/staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/testing/v1beta1/kms_plugin_mock.go b/staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/testing/v1beta1/kms_plugin_mock.go index 595107a8990..081d9c1b36c 100644 --- a/staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/testing/v1beta1/kms_plugin_mock.go +++ b/staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/testing/v1beta1/kms_plugin_mock.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2017 The Kubernetes Authors. diff --git a/staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/testing/v2/kms_plugin_mock.go b/staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/testing/v2/kms_plugin_mock.go index d5da68f9a10..823805c76da 100644 --- a/staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/testing/v2/kms_plugin_mock.go +++ b/staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/testing/v2/kms_plugin_mock.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2022 The Kubernetes Authors. diff --git a/staging/src/k8s.io/code-generator/tools.go b/staging/src/k8s.io/code-generator/tools.go index 4080b2c5907..394ad78d4c6 100644 --- a/staging/src/k8s.io/code-generator/tools.go +++ b/staging/src/k8s.io/code-generator/tools.go @@ -1,5 +1,4 @@ //go:build tools -// +build tools /* Copyright 2019 The Kubernetes Authors. diff --git a/staging/src/k8s.io/component-base/cli/withoutrace.go b/staging/src/k8s.io/component-base/cli/withoutrace.go index 4ae2749a134..3f1f6ab5536 100644 --- a/staging/src/k8s.io/component-base/cli/withoutrace.go +++ b/staging/src/k8s.io/component-base/cli/withoutrace.go @@ -1,5 +1,4 @@ //go:build !race -// +build !race /* Copyright 2025 The Kubernetes Authors. diff --git a/staging/src/k8s.io/component-base/cli/withrace.go b/staging/src/k8s.io/component-base/cli/withrace.go index a71cec991d9..122d338240f 100644 --- a/staging/src/k8s.io/component-base/cli/withrace.go +++ b/staging/src/k8s.io/component-base/cli/withrace.go @@ -1,5 +1,4 @@ //go:build race -// +build race /* Copyright 2025 The Kubernetes Authors. diff --git a/staging/src/k8s.io/component-base/logs/api/v1/options_no_slog.go b/staging/src/k8s.io/component-base/logs/api/v1/options_no_slog.go index 816948e0a6f..ef4d5603d09 100644 --- a/staging/src/k8s.io/component-base/logs/api/v1/options_no_slog.go +++ b/staging/src/k8s.io/component-base/logs/api/v1/options_no_slog.go @@ -1,5 +1,4 @@ //go:build !go1.21 -// +build !go1.21 /* Copyright 2023 The Kubernetes Authors. diff --git a/staging/src/k8s.io/component-base/logs/api/v1/options_slog.go b/staging/src/k8s.io/component-base/logs/api/v1/options_slog.go index 31765e644db..6e8f1b44235 100644 --- a/staging/src/k8s.io/component-base/logs/api/v1/options_slog.go +++ b/staging/src/k8s.io/component-base/logs/api/v1/options_slog.go @@ -1,5 +1,4 @@ //go:build go1.21 -// +build go1.21 /* Copyright 2023 The Kubernetes Authors. diff --git a/staging/src/k8s.io/component-base/logs/example/k8s2slog/k8s2slog.go b/staging/src/k8s.io/component-base/logs/example/k8s2slog/k8s2slog.go index c39ef9fe7a6..6b19bd4a132 100644 --- a/staging/src/k8s.io/component-base/logs/example/k8s2slog/k8s2slog.go +++ b/staging/src/k8s.io/component-base/logs/example/k8s2slog/k8s2slog.go @@ -1,5 +1,4 @@ //go:build go1.21 -// +build go1.21 /* Copyright 2018 The Kubernetes Authors. diff --git a/staging/src/k8s.io/component-base/logs/example/slog2k8s/slog2k8s.go b/staging/src/k8s.io/component-base/logs/example/slog2k8s/slog2k8s.go index 440141e0900..cade87e664b 100644 --- a/staging/src/k8s.io/component-base/logs/example/slog2k8s/slog2k8s.go +++ b/staging/src/k8s.io/component-base/logs/example/slog2k8s/slog2k8s.go @@ -1,5 +1,4 @@ //go:build go1.21 -// +build go1.21 /* Copyright 2023 The Kubernetes Authors. diff --git a/staging/src/k8s.io/component-base/metrics/processstarttime_others.go b/staging/src/k8s.io/component-base/metrics/processstarttime_others.go index 611a12906b2..5e9c8675876 100644 --- a/staging/src/k8s.io/component-base/metrics/processstarttime_others.go +++ b/staging/src/k8s.io/component-base/metrics/processstarttime_others.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2019 The Kubernetes Authors. diff --git a/staging/src/k8s.io/component-base/metrics/processstarttime_windows.go b/staging/src/k8s.io/component-base/metrics/processstarttime_windows.go index afee6f9b13c..9a38abd33ce 100644 --- a/staging/src/k8s.io/component-base/metrics/processstarttime_windows.go +++ b/staging/src/k8s.io/component-base/metrics/processstarttime_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2019 The Kubernetes Authors. diff --git a/staging/src/k8s.io/cri-client/pkg/fake/endpoint.go b/staging/src/k8s.io/cri-client/pkg/fake/endpoint.go index 62961ea29f1..956c2079f4f 100644 --- a/staging/src/k8s.io/cri-client/pkg/fake/endpoint.go +++ b/staging/src/k8s.io/cri-client/pkg/fake/endpoint.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2017 The Kubernetes Authors. diff --git a/staging/src/k8s.io/cri-client/pkg/fake/endpoint_windows.go b/staging/src/k8s.io/cri-client/pkg/fake/endpoint_windows.go index b119a5c37fe..d92ad155ad8 100644 --- a/staging/src/k8s.io/cri-client/pkg/fake/endpoint_windows.go +++ b/staging/src/k8s.io/cri-client/pkg/fake/endpoint_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2017 The Kubernetes Authors. diff --git a/staging/src/k8s.io/cri-client/pkg/logs/logs_other.go b/staging/src/k8s.io/cri-client/pkg/logs/logs_other.go index 4aa17b4a207..cc477e553ac 100644 --- a/staging/src/k8s.io/cri-client/pkg/logs/logs_other.go +++ b/staging/src/k8s.io/cri-client/pkg/logs/logs_other.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2024 The Kubernetes Authors. diff --git a/staging/src/k8s.io/cri-client/pkg/logs/logs_windows.go b/staging/src/k8s.io/cri-client/pkg/logs/logs_windows.go index 83d07d8df79..479c76572a9 100644 --- a/staging/src/k8s.io/cri-client/pkg/logs/logs_windows.go +++ b/staging/src/k8s.io/cri-client/pkg/logs/logs_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2024 The Kubernetes Authors. diff --git a/staging/src/k8s.io/cri-client/pkg/util/util_unix.go b/staging/src/k8s.io/cri-client/pkg/util/util_unix.go index 73df89045f4..3310590384d 100644 --- a/staging/src/k8s.io/cri-client/pkg/util/util_unix.go +++ b/staging/src/k8s.io/cri-client/pkg/util/util_unix.go @@ -1,5 +1,4 @@ //go:build freebsd || linux || darwin -// +build freebsd linux darwin /* Copyright 2017 The Kubernetes Authors. diff --git a/staging/src/k8s.io/cri-client/pkg/util/util_unix_test.go b/staging/src/k8s.io/cri-client/pkg/util/util_unix_test.go index 2c93823d456..b23b5a9522b 100644 --- a/staging/src/k8s.io/cri-client/pkg/util/util_unix_test.go +++ b/staging/src/k8s.io/cri-client/pkg/util/util_unix_test.go @@ -1,5 +1,4 @@ //go:build freebsd || linux || darwin -// +build freebsd linux darwin /* Copyright 2018 The Kubernetes Authors. diff --git a/staging/src/k8s.io/cri-client/pkg/util/util_unsupported.go b/staging/src/k8s.io/cri-client/pkg/util/util_unsupported.go index bfb729897bd..21c2a5b7ff0 100644 --- a/staging/src/k8s.io/cri-client/pkg/util/util_unsupported.go +++ b/staging/src/k8s.io/cri-client/pkg/util/util_unsupported.go @@ -1,5 +1,4 @@ //go:build !freebsd && !linux && !windows && !darwin -// +build !freebsd,!linux,!windows,!darwin /* Copyright 2017 The Kubernetes Authors. diff --git a/staging/src/k8s.io/cri-client/pkg/util/util_windows.go b/staging/src/k8s.io/cri-client/pkg/util/util_windows.go index 96d0634ef0b..e83119e8c93 100644 --- a/staging/src/k8s.io/cri-client/pkg/util/util_windows.go +++ b/staging/src/k8s.io/cri-client/pkg/util/util_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2017 The Kubernetes Authors. diff --git a/staging/src/k8s.io/cri-client/pkg/util/util_windows_test.go b/staging/src/k8s.io/cri-client/pkg/util/util_windows_test.go index 986f59c8863..cea9909a106 100644 --- a/staging/src/k8s.io/cri-client/pkg/util/util_windows_test.go +++ b/staging/src/k8s.io/cri-client/pkg/util/util_windows_test.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2018 The Kubernetes Authors. diff --git a/staging/src/k8s.io/kube-aggregator/hack/tools.go b/staging/src/k8s.io/kube-aggregator/hack/tools.go index 73ab6ef11b3..3e2ab980786 100644 --- a/staging/src/k8s.io/kube-aggregator/hack/tools.go +++ b/staging/src/k8s.io/kube-aggregator/hack/tools.go @@ -1,5 +1,4 @@ //go:build tools -// +build tools /* Copyright 2019 The Kubernetes Authors. diff --git a/staging/src/k8s.io/kubectl/pkg/cmd/skiplookerr_go118.go b/staging/src/k8s.io/kubectl/pkg/cmd/skiplookerr_go118.go index acde1312444..74db1a2a100 100644 --- a/staging/src/k8s.io/kubectl/pkg/cmd/skiplookerr_go118.go +++ b/staging/src/k8s.io/kubectl/pkg/cmd/skiplookerr_go118.go @@ -1,5 +1,4 @@ //go:build !go1.19 -// +build !go1.19 /* Copyright 2022 The Kubernetes Authors. diff --git a/staging/src/k8s.io/kubectl/pkg/cmd/skiplookerr_go119.go b/staging/src/k8s.io/kubectl/pkg/cmd/skiplookerr_go119.go index f24c5646d51..c69de20fa19 100644 --- a/staging/src/k8s.io/kubectl/pkg/cmd/skiplookerr_go119.go +++ b/staging/src/k8s.io/kubectl/pkg/cmd/skiplookerr_go119.go @@ -1,5 +1,4 @@ //go:build go1.19 -// +build go1.19 /* Copyright 2022 The Kubernetes Authors. diff --git a/staging/src/k8s.io/kubectl/pkg/cmd/util/editor/launcher_others.go b/staging/src/k8s.io/kubectl/pkg/cmd/util/editor/launcher_others.go index 4298a3329cc..495e09af55f 100644 --- a/staging/src/k8s.io/kubectl/pkg/cmd/util/editor/launcher_others.go +++ b/staging/src/k8s.io/kubectl/pkg/cmd/util/editor/launcher_others.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2022 The Kubernetes Authors. diff --git a/staging/src/k8s.io/kubectl/pkg/util/term/resizeevents.go b/staging/src/k8s.io/kubectl/pkg/util/term/resizeevents.go index 04b8cdab24e..2c99cc9a656 100644 --- a/staging/src/k8s.io/kubectl/pkg/util/term/resizeevents.go +++ b/staging/src/k8s.io/kubectl/pkg/util/term/resizeevents.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2016 The Kubernetes Authors. diff --git a/staging/src/k8s.io/kubectl/pkg/util/umask.go b/staging/src/k8s.io/kubectl/pkg/util/umask.go index 3f0c4e83e65..3b4b06c40a0 100644 --- a/staging/src/k8s.io/kubectl/pkg/util/umask.go +++ b/staging/src/k8s.io/kubectl/pkg/util/umask.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2014 The Kubernetes Authors. diff --git a/staging/src/k8s.io/kubectl/pkg/util/umask_windows.go b/staging/src/k8s.io/kubectl/pkg/util/umask_windows.go index 67f6efb974a..a2985cb415c 100644 --- a/staging/src/k8s.io/kubectl/pkg/util/umask_windows.go +++ b/staging/src/k8s.io/kubectl/pkg/util/umask_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2014 The Kubernetes Authors. diff --git a/staging/src/k8s.io/metrics/hack/tools.go b/staging/src/k8s.io/metrics/hack/tools.go index 73ab6ef11b3..3e2ab980786 100644 --- a/staging/src/k8s.io/metrics/hack/tools.go +++ b/staging/src/k8s.io/metrics/hack/tools.go @@ -1,5 +1,4 @@ //go:build tools -// +build tools /* Copyright 2019 The Kubernetes Authors. diff --git a/staging/src/k8s.io/mount-utils/mount_helper_unix.go b/staging/src/k8s.io/mount-utils/mount_helper_unix.go index 6c74eb9ca7c..8b2a4d6f2f0 100644 --- a/staging/src/k8s.io/mount-utils/mount_helper_unix.go +++ b/staging/src/k8s.io/mount-utils/mount_helper_unix.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2019 The Kubernetes Authors. diff --git a/staging/src/k8s.io/mount-utils/mount_helper_unix_test.go b/staging/src/k8s.io/mount-utils/mount_helper_unix_test.go index 71662b58315..9e22c10eae6 100644 --- a/staging/src/k8s.io/mount-utils/mount_helper_unix_test.go +++ b/staging/src/k8s.io/mount-utils/mount_helper_unix_test.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2019 The Kubernetes Authors. diff --git a/staging/src/k8s.io/mount-utils/mount_helper_windows.go b/staging/src/k8s.io/mount-utils/mount_helper_windows.go index 995fd5a0cd7..8eed7a94c32 100644 --- a/staging/src/k8s.io/mount-utils/mount_helper_windows.go +++ b/staging/src/k8s.io/mount-utils/mount_helper_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2019 The Kubernetes Authors. diff --git a/staging/src/k8s.io/mount-utils/mount_helper_windows_test.go b/staging/src/k8s.io/mount-utils/mount_helper_windows_test.go index b4f3d1ee17a..ed1b44693be 100644 --- a/staging/src/k8s.io/mount-utils/mount_helper_windows_test.go +++ b/staging/src/k8s.io/mount-utils/mount_helper_windows_test.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2017 The Kubernetes Authors. diff --git a/staging/src/k8s.io/mount-utils/mount_linux.go b/staging/src/k8s.io/mount-utils/mount_linux.go index 9c0b6d554f3..c74a4f2f2c2 100644 --- a/staging/src/k8s.io/mount-utils/mount_linux.go +++ b/staging/src/k8s.io/mount-utils/mount_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2014 The Kubernetes Authors. diff --git a/staging/src/k8s.io/mount-utils/mount_linux_test.go b/staging/src/k8s.io/mount-utils/mount_linux_test.go index 4c49db5867a..ae512d9016d 100644 --- a/staging/src/k8s.io/mount-utils/mount_linux_test.go +++ b/staging/src/k8s.io/mount-utils/mount_linux_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2014 The Kubernetes Authors. diff --git a/staging/src/k8s.io/mount-utils/mount_unsupported.go b/staging/src/k8s.io/mount-utils/mount_unsupported.go index 0345904a010..9dc7d81d171 100644 --- a/staging/src/k8s.io/mount-utils/mount_unsupported.go +++ b/staging/src/k8s.io/mount-utils/mount_unsupported.go @@ -1,5 +1,4 @@ //go:build !linux && !windows -// +build !linux,!windows /* Copyright 2014 The Kubernetes Authors. diff --git a/staging/src/k8s.io/mount-utils/mount_windows.go b/staging/src/k8s.io/mount-utils/mount_windows.go index 682cb0f0114..d63c182ccae 100644 --- a/staging/src/k8s.io/mount-utils/mount_windows.go +++ b/staging/src/k8s.io/mount-utils/mount_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2017 The Kubernetes Authors. diff --git a/staging/src/k8s.io/mount-utils/mount_windows_test.go b/staging/src/k8s.io/mount-utils/mount_windows_test.go index ddb44409e82..8f951d46569 100644 --- a/staging/src/k8s.io/mount-utils/mount_windows_test.go +++ b/staging/src/k8s.io/mount-utils/mount_windows_test.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2017 The Kubernetes Authors. diff --git a/staging/src/k8s.io/mount-utils/resizefs_linux.go b/staging/src/k8s.io/mount-utils/resizefs_linux.go index 3eaf46a49a1..79712c005d3 100644 --- a/staging/src/k8s.io/mount-utils/resizefs_linux.go +++ b/staging/src/k8s.io/mount-utils/resizefs_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2021 The Kubernetes Authors. diff --git a/staging/src/k8s.io/mount-utils/resizefs_linux_test.go b/staging/src/k8s.io/mount-utils/resizefs_linux_test.go index 9a39a574bd6..b17061e87ab 100644 --- a/staging/src/k8s.io/mount-utils/resizefs_linux_test.go +++ b/staging/src/k8s.io/mount-utils/resizefs_linux_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2021 The Kubernetes Authors. diff --git a/staging/src/k8s.io/mount-utils/resizefs_unsupported.go b/staging/src/k8s.io/mount-utils/resizefs_unsupported.go index 88b8b2410b8..813e4a3eb55 100644 --- a/staging/src/k8s.io/mount-utils/resizefs_unsupported.go +++ b/staging/src/k8s.io/mount-utils/resizefs_unsupported.go @@ -1,5 +1,4 @@ //go:build !linux -// +build !linux /* Copyright 2021 The Kubernetes Authors. diff --git a/staging/src/k8s.io/sample-apiserver/hack/tools.go b/staging/src/k8s.io/sample-apiserver/hack/tools.go index 73ab6ef11b3..3e2ab980786 100644 --- a/staging/src/k8s.io/sample-apiserver/hack/tools.go +++ b/staging/src/k8s.io/sample-apiserver/hack/tools.go @@ -1,5 +1,4 @@ //go:build tools -// +build tools /* Copyright 2019 The Kubernetes Authors. diff --git a/staging/src/k8s.io/sample-controller/hack/tools.go b/staging/src/k8s.io/sample-controller/hack/tools.go index 73ab6ef11b3..3e2ab980786 100644 --- a/staging/src/k8s.io/sample-controller/hack/tools.go +++ b/staging/src/k8s.io/sample-controller/hack/tools.go @@ -1,5 +1,4 @@ //go:build tools -// +build tools /* Copyright 2019 The Kubernetes Authors. diff --git a/staging/src/k8s.io/sample-controller/pkg/signals/signal_posix.go b/staging/src/k8s.io/sample-controller/pkg/signals/signal_posix.go index a0f00a73213..2b24faa4280 100644 --- a/staging/src/k8s.io/sample-controller/pkg/signals/signal_posix.go +++ b/staging/src/k8s.io/sample-controller/pkg/signals/signal_posix.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2017 The Kubernetes Authors. diff --git a/test/e2e/common/node/framework/cgroups/cgroups_test.go b/test/e2e/common/node/framework/cgroups/cgroups_test.go index 43a526b0fcb..d2860f69c70 100644 --- a/test/e2e/common/node/framework/cgroups/cgroups_test.go +++ b/test/e2e/common/node/framework/cgroups/cgroups_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2025 The Kubernetes Authors. diff --git a/test/e2e_node/benchmark_util.go b/test/e2e_node/benchmark_util.go index fafb9eaf07d..1b10f2d50a2 100644 --- a/test/e2e_node/benchmark_util.go +++ b/test/e2e_node/benchmark_util.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2015 The Kubernetes Authors. diff --git a/test/e2e_node/cgroup_driver_from_cri_test.go b/test/e2e_node/cgroup_driver_from_cri_test.go index d40143ca988..4b406fc8e5e 100644 --- a/test/e2e_node/cgroup_driver_from_cri_test.go +++ b/test/e2e_node/cgroup_driver_from_cri_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2025 The Kubernetes Authors. diff --git a/test/e2e_node/container_manager_test.go b/test/e2e_node/container_manager_test.go index ad14b5cfea0..7f0c22dedc3 100644 --- a/test/e2e_node/container_manager_test.go +++ b/test/e2e_node/container_manager_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2016 The Kubernetes Authors. diff --git a/test/e2e_node/container_restart_test.go b/test/e2e_node/container_restart_test.go index 40dd999a458..710b6eafc0e 100644 --- a/test/e2e_node/container_restart_test.go +++ b/test/e2e_node/container_restart_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2024 The Kubernetes Authors. diff --git a/test/e2e_node/criproxy_test.go b/test/e2e_node/criproxy_test.go index 6e15a088869..8bfbb1c9189 100644 --- a/test/e2e_node/criproxy_test.go +++ b/test/e2e_node/criproxy_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2024 The Kubernetes Authors. diff --git a/test/e2e_node/density_test.go b/test/e2e_node/density_test.go index 621bf3e662c..38f161974bf 100644 --- a/test/e2e_node/density_test.go +++ b/test/e2e_node/density_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2015 The Kubernetes Authors. diff --git a/test/e2e_node/e2e_node_suite_test.go b/test/e2e_node/e2e_node_suite_test.go index 4e6b2f03e0d..0249eb512d6 100644 --- a/test/e2e_node/e2e_node_suite_test.go +++ b/test/e2e_node/e2e_node_suite_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2016 The Kubernetes Authors. diff --git a/test/e2e_node/image_pull_test.go b/test/e2e_node/image_pull_test.go index 6a8bd8700ec..9dff28df374 100644 --- a/test/e2e_node/image_pull_test.go +++ b/test/e2e_node/image_pull_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2024 The Kubernetes Authors. diff --git a/test/e2e_node/lock_contention_linux_test.go b/test/e2e_node/lock_contention_linux_test.go index df1009b9f73..605434ad7be 100644 --- a/test/e2e_node/lock_contention_linux_test.go +++ b/test/e2e_node/lock_contention_linux_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2021 The Kubernetes Authors. diff --git a/test/e2e_node/node_container_manager_test.go b/test/e2e_node/node_container_manager_test.go index 603fb5b9d2f..d72f95f0284 100644 --- a/test/e2e_node/node_container_manager_test.go +++ b/test/e2e_node/node_container_manager_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2017 The Kubernetes Authors. diff --git a/test/e2e_node/node_problem_detector_linux.go b/test/e2e_node/node_problem_detector_linux.go index a7c9e8ca7bb..17dc30d38eb 100644 --- a/test/e2e_node/node_problem_detector_linux.go +++ b/test/e2e_node/node_problem_detector_linux.go @@ -1,5 +1,4 @@ //go:build cgo && linux -// +build cgo,linux /* Copyright 2016 The Kubernetes Authors. diff --git a/test/e2e_node/node_shutdown_linux_test.go b/test/e2e_node/node_shutdown_linux_test.go index 51878480b5d..dc94e47c457 100644 --- a/test/e2e_node/node_shutdown_linux_test.go +++ b/test/e2e_node/node_shutdown_linux_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2021 The Kubernetes Authors. diff --git a/test/e2e_node/os_label_rename_test.go b/test/e2e_node/os_label_rename_test.go index cb868d45d8e..80da7f0f072 100644 --- a/test/e2e_node/os_label_rename_test.go +++ b/test/e2e_node/os_label_rename_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2021 The Kubernetes Authors. diff --git a/test/e2e_node/resource_collector.go b/test/e2e_node/resource_collector.go index 5780a8eab61..71b17bf2bae 100644 --- a/test/e2e_node/resource_collector.go +++ b/test/e2e_node/resource_collector.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2015 The Kubernetes Authors. diff --git a/test/e2e_node/resource_usage_test.go b/test/e2e_node/resource_usage_test.go index c1ce59e1bce..f189a71538e 100644 --- a/test/e2e_node/resource_usage_test.go +++ b/test/e2e_node/resource_usage_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2015 The Kubernetes Authors. diff --git a/test/e2e_node/restart_all_containers_test.go b/test/e2e_node/restart_all_containers_test.go index 5de189108b9..85f9440bfba 100644 --- a/test/e2e_node/restart_all_containers_test.go +++ b/test/e2e_node/restart_all_containers_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright The Kubernetes Authors. diff --git a/test/e2e_node/restart_test.go b/test/e2e_node/restart_test.go index ca3224f42d4..a9dda81c6ab 100644 --- a/test/e2e_node/restart_test.go +++ b/test/e2e_node/restart_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2015 The Kubernetes Authors. diff --git a/test/e2e_node/seccompdefault_test.go b/test/e2e_node/seccompdefault_test.go index 2f0792dd2a8..85cca21145d 100644 --- a/test/e2e_node/seccompdefault_test.go +++ b/test/e2e_node/seccompdefault_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2022 The Kubernetes Authors. diff --git a/test/e2e_node/user_namespaces_test.go b/test/e2e_node/user_namespaces_test.go index c576e0bf4e9..9a81d634713 100644 --- a/test/e2e_node/user_namespaces_test.go +++ b/test/e2e_node/user_namespaces_test.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2024 The Kubernetes Authors. diff --git a/test/e2e_node/util_criproxy_linux.go b/test/e2e_node/util_criproxy_linux.go index a33b6a06c2c..04cca964df8 100644 --- a/test/e2e_node/util_criproxy_linux.go +++ b/test/e2e_node/util_criproxy_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2020 The Kubernetes Authors. diff --git a/test/e2e_node/util_machineinfo_linux.go b/test/e2e_node/util_machineinfo_linux.go index 721a4b8d701..38e0ef7607c 100644 --- a/test/e2e_node/util_machineinfo_linux.go +++ b/test/e2e_node/util_machineinfo_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2017 The Kubernetes Authors. diff --git a/test/e2e_node/util_machineinfo_unsupported.go b/test/e2e_node/util_machineinfo_unsupported.go index a9eed499316..7863d278463 100644 --- a/test/e2e_node/util_machineinfo_unsupported.go +++ b/test/e2e_node/util_machineinfo_unsupported.go @@ -1,5 +1,4 @@ //go:build !linux -// +build !linux /* Copyright 2017 The Kubernetes Authors. diff --git a/test/e2e_node/util_sriov_linux.go b/test/e2e_node/util_sriov_linux.go index 1c516baf083..a0b4aeaa0c0 100644 --- a/test/e2e_node/util_sriov_linux.go +++ b/test/e2e_node/util_sriov_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2021 The Kubernetes Authors. diff --git a/test/e2e_node/util_sriov_unsupported.go b/test/e2e_node/util_sriov_unsupported.go index 812b833f5be..6214f98d140 100644 --- a/test/e2e_node/util_sriov_unsupported.go +++ b/test/e2e_node/util_sriov_unsupported.go @@ -1,5 +1,4 @@ //go:build !linux -// +build !linux /* Copyright 2021 The Kubernetes Authors. diff --git a/test/e2e_node/util_xfs_linux.go b/test/e2e_node/util_xfs_linux.go index a3b02346a9d..7ffe7f7ceb3 100644 --- a/test/e2e_node/util_xfs_linux.go +++ b/test/e2e_node/util_xfs_linux.go @@ -1,5 +1,4 @@ //go:build linux -// +build linux /* Copyright 2016 The Kubernetes Authors. diff --git a/test/e2e_node/util_xfs_unsupported.go b/test/e2e_node/util_xfs_unsupported.go index 32176ef6f5d..731292237bb 100644 --- a/test/e2e_node/util_xfs_unsupported.go +++ b/test/e2e_node/util_xfs_unsupported.go @@ -1,5 +1,4 @@ //go:build !linux -// +build !linux /* Copyright 2016 The Kubernetes Authors. diff --git a/test/images/agnhost/dns/dns.go b/test/images/agnhost/dns/dns.go index 902461b3e91..22fca9a1ead 100644 --- a/test/images/agnhost/dns/dns.go +++ b/test/images/agnhost/dns/dns.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2019 The Kubernetes Authors. diff --git a/test/images/agnhost/dns/dns_windows.go b/test/images/agnhost/dns/dns_windows.go index c29de8abb20..32d6f7a2056 100644 --- a/test/images/agnhost/dns/dns_windows.go +++ b/test/images/agnhost/dns/dns_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2019 The Kubernetes Authors. diff --git a/test/images/agnhost/mounttest/mt_utils.go b/test/images/agnhost/mounttest/mt_utils.go index e78c1811fed..e0fe8440007 100644 --- a/test/images/agnhost/mounttest/mt_utils.go +++ b/test/images/agnhost/mounttest/mt_utils.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2019 The Kubernetes Authors. diff --git a/test/images/agnhost/mounttest/mt_utils_windows.go b/test/images/agnhost/mounttest/mt_utils_windows.go index c533048bb4a..1946636a35e 100644 --- a/test/images/agnhost/mounttest/mt_utils_windows.go +++ b/test/images/agnhost/mounttest/mt_utils_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2019 The Kubernetes Authors. diff --git a/test/images/resource-consumer/consume-cpu/consume_cpu.go b/test/images/resource-consumer/consume-cpu/consume_cpu.go index dcf244f7c12..6e6c47409f7 100644 --- a/test/images/resource-consumer/consume-cpu/consume_cpu.go +++ b/test/images/resource-consumer/consume-cpu/consume_cpu.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2015 The Kubernetes Authors. diff --git a/test/images/resource-consumer/consume-cpu/consume_cpu_windows.go b/test/images/resource-consumer/consume-cpu/consume_cpu_windows.go index e1ced8f2ef2..6245b590369 100644 --- a/test/images/resource-consumer/consume-cpu/consume_cpu_windows.go +++ b/test/images/resource-consumer/consume-cpu/consume_cpu_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2021 The Kubernetes Authors. diff --git a/test/images/resource-consumer/utils.go b/test/images/resource-consumer/utils.go index d54b6b76e09..46244281341 100644 --- a/test/images/resource-consumer/utils.go +++ b/test/images/resource-consumer/utils.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2021 The Kubernetes Authors. diff --git a/test/images/resource-consumer/utils_windows.go b/test/images/resource-consumer/utils_windows.go index d4a2abe4852..fdda4481879 100644 --- a/test/images/resource-consumer/utils_windows.go +++ b/test/images/resource-consumer/utils_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2021 The Kubernetes Authors. diff --git a/test/integration/apiserver/tracing/tracing_test.go b/test/integration/apiserver/tracing/tracing_test.go index 5eda6be4279..06c0e6b50ee 100644 --- a/test/integration/apiserver/tracing/tracing_test.go +++ b/test/integration/apiserver/tracing/tracing_test.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2021 The Kubernetes Authors. diff --git a/test/integration/controlplane/transformation/kms_transformation_test.go b/test/integration/controlplane/transformation/kms_transformation_test.go index 8f7c4074986..00f57c5c74e 100644 --- a/test/integration/controlplane/transformation/kms_transformation_test.go +++ b/test/integration/controlplane/transformation/kms_transformation_test.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2017 The Kubernetes Authors. diff --git a/test/integration/controlplane/transformation/kmsv2_transformation_test.go b/test/integration/controlplane/transformation/kmsv2_transformation_test.go index e8602480ca7..a8ea2d0e99a 100644 --- a/test/integration/controlplane/transformation/kmsv2_transformation_test.go +++ b/test/integration/controlplane/transformation/kmsv2_transformation_test.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2022 The Kubernetes Authors. diff --git a/test/utils/ktesting/examples/gomega/example_test.go b/test/utils/ktesting/examples/gomega/example_test.go index 48150766f86..331e2e4703e 100644 --- a/test/utils/ktesting/examples/gomega/example_test.go +++ b/test/utils/ktesting/examples/gomega/example_test.go @@ -1,5 +1,4 @@ //go:build example -// +build example /* Copyright 2023 The Kubernetes Authors. diff --git a/test/utils/ktesting/examples/logging/example_test.go b/test/utils/ktesting/examples/logging/example_test.go index 6202838e56e..f377dc4ae1a 100644 --- a/test/utils/ktesting/examples/logging/example_test.go +++ b/test/utils/ktesting/examples/logging/example_test.go @@ -1,5 +1,4 @@ //go:build example -// +build example /* Copyright 2023 The Kubernetes Authors. diff --git a/test/utils/ktesting/examples/with_ktesting/example_test.go b/test/utils/ktesting/examples/with_ktesting/example_test.go index 576f310c34c..99739960be6 100644 --- a/test/utils/ktesting/examples/with_ktesting/example_test.go +++ b/test/utils/ktesting/examples/with_ktesting/example_test.go @@ -1,5 +1,4 @@ //go:build example -// +build example /* Copyright 2023 The Kubernetes Authors. diff --git a/test/utils/ktesting/examples/without_ktesting/example_test.go b/test/utils/ktesting/examples/without_ktesting/example_test.go index d0bc37eac3b..ee50ba7fca6 100644 --- a/test/utils/ktesting/examples/without_ktesting/example_test.go +++ b/test/utils/ktesting/examples/without_ktesting/example_test.go @@ -1,5 +1,4 @@ //go:build example -// +build example /* Copyright 2023 The Kubernetes Authors. diff --git a/test/utils/ktesting/signals_non_win.go b/test/utils/ktesting/signals_non_win.go index 34300d79cec..cb11d7c0dc1 100644 --- a/test/utils/ktesting/signals_non_win.go +++ b/test/utils/ktesting/signals_non_win.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2023 The Kubernetes Authors. diff --git a/test/utils/ktesting/signals_win.go b/test/utils/ktesting/signals_win.go index 23533fb5bb9..6ff7e49d4f2 100644 --- a/test/utils/ktesting/signals_win.go +++ b/test/utils/ktesting/signals_win.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows /* Copyright 2023 The Kubernetes Authors. diff --git a/third_party/forked/libcontainer/apparmor/apparmor_unsupported.go b/third_party/forked/libcontainer/apparmor/apparmor_unsupported.go index 28be1d2e875..59068c7f3d6 100644 --- a/third_party/forked/libcontainer/apparmor/apparmor_unsupported.go +++ b/third_party/forked/libcontainer/apparmor/apparmor_unsupported.go @@ -1,5 +1,4 @@ //go:build !linux -// +build !linux package apparmor