diff --git a/pkg/controller/nodeipam/ipam/controller_test.go b/pkg/controller/nodeipam/ipam/controller_test.go index 6e5a6f99571..791856082c5 100644 --- a/pkg/controller/nodeipam/ipam/controller_test.go +++ b/pkg/controller/nodeipam/ipam/controller_test.go @@ -1,3 +1,6 @@ +//go:build !providerless +// +build !providerless + /* Copyright 2017 The Kubernetes Authors. diff --git a/test/e2e/cloud/gcp/node/gpu.go b/test/e2e/cloud/gcp/node/gpu.go index e851b4cd79d..c0c5c7bf5c0 100644 --- a/test/e2e/cloud/gcp/node/gpu.go +++ b/test/e2e/cloud/gcp/node/gpu.go @@ -1,3 +1,6 @@ +//go:build !providerless +// +build !providerless + /* Copyright 2021 The Kubernetes Authors. diff --git a/test/e2e/cloud/gcp/recreate_node.go b/test/e2e/cloud/gcp/recreate_node.go index 84ec76f143d..9114ca1732e 100644 --- a/test/e2e/cloud/gcp/recreate_node.go +++ b/test/e2e/cloud/gcp/recreate_node.go @@ -1,3 +1,6 @@ +//go:build !providerless +// +build !providerless + /* Copyright 2019 The Kubernetes Authors. diff --git a/test/e2e/framework/providers/azure/azure.go b/test/e2e/framework/providers/azure/azure.go index 926022b4310..127b3d3421f 100644 --- a/test/e2e/framework/providers/azure/azure.go +++ b/test/e2e/framework/providers/azure/azure.go @@ -1,3 +1,6 @@ +//go:build !providerless +// +build !providerless + /* Copyright 2018 The Kubernetes Authors. diff --git a/test/e2e/framework/providers/gce/firewall.go b/test/e2e/framework/providers/gce/firewall.go index 798ba9c71bb..4fe96e7e6a3 100644 --- a/test/e2e/framework/providers/gce/firewall.go +++ b/test/e2e/framework/providers/gce/firewall.go @@ -1,3 +1,6 @@ +//go:build !providerless +// +build !providerless + /* Copyright 2016 The Kubernetes Authors. diff --git a/test/e2e/framework/providers/gce/firewall_test.go b/test/e2e/framework/providers/gce/firewall_test.go index 647441dc962..8f6f4abfbc3 100644 --- a/test/e2e/framework/providers/gce/firewall_test.go +++ b/test/e2e/framework/providers/gce/firewall_test.go @@ -1,3 +1,6 @@ +//go:build !providerless +// +build !providerless + /* Copyright 2018 The Kubernetes Authors. diff --git a/test/e2e/framework/providers/gce/gce.go b/test/e2e/framework/providers/gce/gce.go index 71947851efd..163c5d2e989 100644 --- a/test/e2e/framework/providers/gce/gce.go +++ b/test/e2e/framework/providers/gce/gce.go @@ -1,3 +1,6 @@ +//go:build !providerless +// +build !providerless + /* Copyright 2018 The Kubernetes Authors. diff --git a/test/e2e/framework/providers/gce/ingress.go b/test/e2e/framework/providers/gce/ingress.go index 1b283e6762c..1e4a8e649bd 100644 --- a/test/e2e/framework/providers/gce/ingress.go +++ b/test/e2e/framework/providers/gce/ingress.go @@ -1,3 +1,6 @@ +//go:build !providerless +// +build !providerless + /* Copyright 2015 The Kubernetes Authors. diff --git a/test/e2e/framework/providers/gce/util.go b/test/e2e/framework/providers/gce/util.go index c518c703d97..88f4188403e 100644 --- a/test/e2e/framework/providers/gce/util.go +++ b/test/e2e/framework/providers/gce/util.go @@ -1,3 +1,6 @@ +//go:build !providerless +// +build !providerless + /* Copyright 2019 The Kubernetes Authors. diff --git a/test/e2e/instrumentation/monitoring/accelerator.go b/test/e2e/instrumentation/monitoring/accelerator.go index 201c07634e2..450945c5d1d 100644 --- a/test/e2e/instrumentation/monitoring/accelerator.go +++ b/test/e2e/instrumentation/monitoring/accelerator.go @@ -1,3 +1,6 @@ +//go:build !providerless +// +build !providerless + /* Copyright 2017 The Kubernetes Authors. diff --git a/test/e2e/network/firewall.go b/test/e2e/network/firewall.go index 26a07c5d501..a0846945b8c 100644 --- a/test/e2e/network/firewall.go +++ b/test/e2e/network/firewall.go @@ -1,3 +1,6 @@ +//go:build !providerless +// +build !providerless + /* Copyright 2016 The Kubernetes Authors. diff --git a/test/e2e/network/loadbalancer.go b/test/e2e/network/loadbalancer.go index 40eff56f4d7..4348ddd566c 100644 --- a/test/e2e/network/loadbalancer.go +++ b/test/e2e/network/loadbalancer.go @@ -1,3 +1,6 @@ +//go:build !providerless +// +build !providerless + /* Copyright 2016 The Kubernetes Authors. diff --git a/test/e2e/network/network_tiers.go b/test/e2e/network/network_tiers.go index ab1c63443db..cc8295c819e 100644 --- a/test/e2e/network/network_tiers.go +++ b/test/e2e/network/network_tiers.go @@ -1,3 +1,6 @@ +//go:build !providerless +// +build !providerless + /* Copyright 2017 The Kubernetes Authors. diff --git a/test/e2e/network/scale/ingress.go b/test/e2e/network/scale/ingress.go index 1a6077854da..24296e1411d 100644 --- a/test/e2e/network/scale/ingress.go +++ b/test/e2e/network/scale/ingress.go @@ -1,3 +1,6 @@ +//go:build !providerless +// +build !providerless + /* Copyright 2018 The Kubernetes Authors. diff --git a/test/e2e/network/scale/ingress_providerless.go b/test/e2e/network/scale/ingress_providerless.go new file mode 100644 index 00000000000..b33ae36b7bb --- /dev/null +++ b/test/e2e/network/scale/ingress_providerless.go @@ -0,0 +1,20 @@ +//go:build providerless +// +build providerless + +/* +Copyright 2018 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package scale diff --git a/test/e2e/network/scale/localrun/ingress_scale.go b/test/e2e/network/scale/localrun/ingress_scale.go index d2990e19b65..ab1ef7aae6b 100644 --- a/test/e2e/network/scale/localrun/ingress_scale.go +++ b/test/e2e/network/scale/localrun/ingress_scale.go @@ -1,3 +1,6 @@ +//go:build !providerless +// +build !providerless + /* Copyright 2018 The Kubernetes Authors. diff --git a/test/e2e/scheduling/nvidia-gpus.go b/test/e2e/scheduling/nvidia-gpus.go index 9dc4bc7316b..7ebe9dbb017 100644 --- a/test/e2e/scheduling/nvidia-gpus.go +++ b/test/e2e/scheduling/nvidia-gpus.go @@ -1,3 +1,6 @@ +//go:build !providerless +// +build !providerless + /* Copyright 2017 The Kubernetes Authors. diff --git a/test/e2e/storage/flexvolume_mounted_volume_resize.go b/test/e2e/storage/flexvolume_mounted_volume_resize.go index 6c373f01257..0095f420b23 100644 --- a/test/e2e/storage/flexvolume_mounted_volume_resize.go +++ b/test/e2e/storage/flexvolume_mounted_volume_resize.go @@ -1,3 +1,6 @@ +//go:build !providerless +// +build !providerless + /* Copyright 2018 The Kubernetes Authors. diff --git a/test/e2e/storage/flexvolume_online_resize.go b/test/e2e/storage/flexvolume_online_resize.go index a73f02bb5fd..9ba5eb420e2 100644 --- a/test/e2e/storage/flexvolume_online_resize.go +++ b/test/e2e/storage/flexvolume_online_resize.go @@ -1,3 +1,6 @@ +//go:build !providerless +// +build !providerless + /* Copyright 2018 The Kubernetes Authors. diff --git a/test/e2e/storage/generic_persistent_volume-disruptive.go b/test/e2e/storage/generic_persistent_volume-disruptive.go index 8ac6e1648a2..23f6dc8e3c8 100644 --- a/test/e2e/storage/generic_persistent_volume-disruptive.go +++ b/test/e2e/storage/generic_persistent_volume-disruptive.go @@ -1,3 +1,6 @@ +//go:build !providerless +// +build !providerless + /* Copyright 2018 The Kubernetes Authors. diff --git a/test/e2e/storage/mounted_volume_resize.go b/test/e2e/storage/mounted_volume_resize.go index 6f3cefd7944..fd8ce10e421 100644 --- a/test/e2e/storage/mounted_volume_resize.go +++ b/test/e2e/storage/mounted_volume_resize.go @@ -1,3 +1,6 @@ +//go:build !providerless +// +build !providerless + /* Copyright 2018 The Kubernetes Authors. diff --git a/test/e2e/storage/nfs_persistent_volume-disruptive.go b/test/e2e/storage/nfs_persistent_volume-disruptive.go index d5577b06c6a..8ba9d76d28a 100644 --- a/test/e2e/storage/nfs_persistent_volume-disruptive.go +++ b/test/e2e/storage/nfs_persistent_volume-disruptive.go @@ -1,3 +1,6 @@ +//go:build !providerless +// +build !providerless + /* Copyright 2016 The Kubernetes Authors. diff --git a/test/e2e/storage/pd.go b/test/e2e/storage/pd.go index 7a353a7a943..2a77cb2898b 100644 --- a/test/e2e/storage/pd.go +++ b/test/e2e/storage/pd.go @@ -1,3 +1,6 @@ +//go:build !providerless +// +build !providerless + /* Copyright 2015 The Kubernetes Authors. diff --git a/test/e2e/storage/persistent_volumes-gce.go b/test/e2e/storage/persistent_volumes-gce.go index c547cdaa6c3..5ae15fca4a0 100644 --- a/test/e2e/storage/persistent_volumes-gce.go +++ b/test/e2e/storage/persistent_volumes-gce.go @@ -1,3 +1,6 @@ +//go:build !providerless +// +build !providerless + /* Copyright 2017 The Kubernetes Authors. diff --git a/test/e2e/storage/regional_pd.go b/test/e2e/storage/regional_pd.go index 600896fe701..a488d9a22b4 100644 --- a/test/e2e/storage/regional_pd.go +++ b/test/e2e/storage/regional_pd.go @@ -1,3 +1,6 @@ +//go:build !providerless +// +build !providerless + /* Copyright 2016 The Kubernetes Authors. diff --git a/test/e2e/storage/volume_provisioning.go b/test/e2e/storage/volume_provisioning.go index a18bc995d0f..2b2259e9445 100644 --- a/test/e2e/storage/volume_provisioning.go +++ b/test/e2e/storage/volume_provisioning.go @@ -1,3 +1,6 @@ +//go:build !providerless +// +build !providerless + /* Copyright 2016 The Kubernetes Authors. diff --git a/test/e2e/upgrades/node/nvidia-gpu.go b/test/e2e/upgrades/node/nvidia-gpu.go index 33f978af7a4..c50c40da467 100644 --- a/test/e2e/upgrades/node/nvidia-gpu.go +++ b/test/e2e/upgrades/node/nvidia-gpu.go @@ -1,3 +1,6 @@ +//go:build !providerless +// +build !providerless + /* Copyright 2018 The Kubernetes Authors. diff --git a/test/integration/ipamperf/cloud.go b/test/integration/ipamperf/cloud.go index 63c4681ee1b..326ce41869e 100644 --- a/test/integration/ipamperf/cloud.go +++ b/test/integration/ipamperf/cloud.go @@ -1,3 +1,6 @@ +//go:build !providerless +// +build !providerless + /* Copyright 2018 The Kubernetes Authors. diff --git a/test/integration/ipamperf/ipam_test.go b/test/integration/ipamperf/ipam_test.go index 14e6826b5c1..889f81aafaf 100644 --- a/test/integration/ipamperf/ipam_test.go +++ b/test/integration/ipamperf/ipam_test.go @@ -1,3 +1,6 @@ +//go:build !providerless +// +build !providerless + /* Copyright 2018 The Kubernetes Authors. diff --git a/test/integration/util/cloud.go b/test/integration/util/cloud.go index 3c6fb84d312..e046f1f7419 100644 --- a/test/integration/util/cloud.go +++ b/test/integration/util/cloud.go @@ -1,3 +1,6 @@ +//go:build !providerless +// +build !providerless + /* Copyright 2018 The Kubernetes Authors.