Skip to content

Commit

Permalink
Merge pull request cri-o#8832 from saschagrunert/build-tags
Browse files Browse the repository at this point in the history
Remove old golang build tags
  • Loading branch information
openshift-merge-bot[bot] authored Dec 10, 2024
2 parents b959793 + 31b86eb commit 413d2f6
Show file tree
Hide file tree
Showing 69 changed files with 0 additions and 69 deletions.
1 change: 0 additions & 1 deletion cmd/crio/daemon_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

package main

Expand Down
1 change: 0 additions & 1 deletion internal/config/apparmor/apparmor_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

package apparmor

Expand Down
1 change: 0 additions & 1 deletion internal/config/capabilities/capabilities_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

package capabilities

Expand Down
1 change: 0 additions & 1 deletion internal/config/cgmgr/cgmgr_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

package cgmgr

Expand Down
1 change: 0 additions & 1 deletion internal/config/cgmgr/cgmgr_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

package cgmgr

Expand Down
1 change: 0 additions & 1 deletion internal/config/cgmgr/cgroupfs_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

package cgmgr

Expand Down
1 change: 0 additions & 1 deletion internal/config/cgmgr/stats_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

package cgmgr

Expand Down
1 change: 0 additions & 1 deletion internal/config/cgmgr/systemd_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

package cgmgr

Expand Down
1 change: 0 additions & 1 deletion internal/config/cnimgr/cnimgr_test_inject.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build test
// +build test

// All *_inject.go files are meant to be used by tests only. Purpose of this
// files is to provide a way to inject mocked data into the current setup.
Expand Down
1 change: 0 additions & 1 deletion internal/config/device/device_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

package device

Expand Down
1 change: 0 additions & 1 deletion internal/config/node/cgroups_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

package node

Expand Down
1 change: 0 additions & 1 deletion internal/config/node/cgroups_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

package node

Expand Down
1 change: 0 additions & 1 deletion internal/config/node/node_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

package node

Expand Down
1 change: 0 additions & 1 deletion internal/config/node/node_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux && !freebsd
// +build !linux,!freebsd

package node

Expand Down
1 change: 0 additions & 1 deletion internal/config/node/systemd_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

package node

Expand Down
1 change: 0 additions & 1 deletion internal/config/node/systemd_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

package node

Expand Down
1 change: 0 additions & 1 deletion internal/config/nsmgr/nsmgr_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux && !freebsd
// +build !linux,!freebsd

package nsmgr

Expand Down
1 change: 0 additions & 1 deletion internal/config/nsmgr/types_freebsd.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build freebsd
// +build freebsd

package nsmgr

Expand Down
1 change: 0 additions & 1 deletion internal/config/nsmgr/types_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

package nsmgr

Expand Down
1 change: 0 additions & 1 deletion internal/config/ociartifact/ociartifact_test_inject.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build test
// +build test

// All *_inject.go files are meant to be used by tests only. Purpose of this
// files is to provide a way to inject mocked data into the current setup.
Expand Down
1 change: 0 additions & 1 deletion internal/config/seccomp/notifier.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build seccomp && linux && cgo
// +build seccomp,linux,cgo

package seccomp

Expand Down
1 change: 0 additions & 1 deletion internal/config/seccomp/seccomp.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build seccomp && linux && cgo
// +build seccomp,linux,cgo

package seccomp

Expand Down
1 change: 0 additions & 1 deletion internal/config/seccomp/seccomp_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !(seccomp && linux && cgo)
// +build !seccomp !linux !cgo

package seccomp

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build test
// +build test

// All *_inject.go files are meant to be used by tests only. Purpose of this
// files is to provide a way to inject mocked data into the current setup.
Expand Down
1 change: 0 additions & 1 deletion internal/dbusmgr/dbusmgr.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

// Code in this package is heavily adapted from https://github.com/opencontainers/runc/blob/7362fa2d282feffb9b19911150e01e390a23899d/libcontainer/cgroups/systemd
// Credit goes to the runc authors.
Expand Down
1 change: 0 additions & 1 deletion internal/factory/container/device_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

package container

Expand Down
1 change: 0 additions & 1 deletion internal/hostport/hostport_manager_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

package hostport

Expand Down
1 change: 0 additions & 1 deletion internal/iptables/iptables_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

package iptables

Expand Down
1 change: 0 additions & 1 deletion internal/lib/container_server_test_inject.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build test
// +build test

// All *_inject.go files are meant to be used by tests only. Purpose of this
// files is to provide a way to inject mocked data into the current setup.
Expand Down
1 change: 0 additions & 1 deletion internal/lib/container_server_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

package lib

Expand Down
1 change: 0 additions & 1 deletion internal/lib/sandbox/sandbox_test_inject.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build test
// +build test

// All *_inject.go files are meant to be used by tests only. Purpose of this
// files is to provide a way to inject mocked data into the current setup.
Expand Down
1 change: 0 additions & 1 deletion internal/lib/sandbox/sandbox_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux && !freebsd
// +build !linux,!freebsd

package sandbox

Expand Down
1 change: 0 additions & 1 deletion internal/lib/stats/stats_server_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

package statsserver

Expand Down
1 change: 0 additions & 1 deletion internal/nri/container_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

package nri

Expand Down
1 change: 0 additions & 1 deletion internal/nri/container_other.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

package nri

Expand Down
1 change: 0 additions & 1 deletion internal/nri/sandbox_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

package nri

Expand Down
1 change: 0 additions & 1 deletion internal/nri/sandbox_other.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

package nri

Expand Down
1 change: 0 additions & 1 deletion internal/oci/container_freebsd.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build freebsd && cgo
// +build freebsd,cgo

package oci

Expand Down
1 change: 0 additions & 1 deletion internal/oci/container_freebsd_nocgo.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build freebsd && !cgo
// +build freebsd,!cgo

package oci

Expand Down
1 change: 0 additions & 1 deletion internal/oci/container_test_inject.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build test
// +build test

// All *_inject.go files are meant to be used by tests only. Purpose of this
// files is to provide a way to inject mocked data into the current setup.
Expand Down
1 change: 0 additions & 1 deletion internal/oci/container_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux && !freebsd
// +build !linux,!freebsd

package oci

Expand Down
1 change: 0 additions & 1 deletion internal/oci/finished.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux && !arm && !386
// +build linux,!arm,!386

package oci

Expand Down
1 change: 0 additions & 1 deletion internal/oci/finished_32.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build (linux && arm) || (linux && 386)
// +build linux,arm linux,386

package oci

Expand Down
1 change: 0 additions & 1 deletion internal/oci/finished_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

package oci

Expand Down
1 change: 0 additions & 1 deletion internal/oci/oci_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

package oci

Expand Down
1 change: 0 additions & 1 deletion internal/oci/oci_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

package oci

Expand Down
1 change: 0 additions & 1 deletion internal/resourcestore/resourcecleaner_defaults.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !test
// +build !test

package resourcestore

Expand Down
1 change: 0 additions & 1 deletion internal/resourcestore/resourcecleaner_test_inject.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build test
// +build test

// All *_inject.go files are meant to be used by tests only. Purpose of this
// files is to provide a way to inject mocked data into the current setup.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

package runtimehandlerhooks

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

package runtimehandlerhooks

Expand Down
1 change: 0 additions & 1 deletion internal/signals/signal_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

package signals

Expand Down
1 change: 0 additions & 1 deletion internal/storage/image_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

package storage

Expand Down
1 change: 0 additions & 1 deletion internal/tools/tools.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build tools
// +build tools

package tools

Expand Down
1 change: 0 additions & 1 deletion internal/version/linkmode_dynamic.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !static
// +build !static

package version

Expand Down
1 change: 0 additions & 1 deletion internal/version/linkmode_static.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build static
// +build static

package version

Expand Down
1 change: 0 additions & 1 deletion pkg/config/config_test_inject.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build test
// +build test

// All *_inject.go files are meant to be used by tests only. Purpose of this
// files is to provide a way to inject mocked data into the current setup.
Expand Down
1 change: 0 additions & 1 deletion pkg/config/config_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows && !freebsd
// +build !windows,!freebsd

package config

Expand Down
1 change: 0 additions & 1 deletion pkg/config/config_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux && !freebsd && !windows
// +build !linux,!freebsd,!windows

package config

Expand Down
1 change: 0 additions & 1 deletion server/container_create_generic.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows || darwin || freebsd
// +build windows darwin freebsd

package server

Expand Down
1 change: 0 additions & 1 deletion server/container_create_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

package server

Expand Down
1 change: 0 additions & 1 deletion server/container_remove_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

package server

Expand Down
1 change: 0 additions & 1 deletion server/label_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

package server

Expand Down
1 change: 0 additions & 1 deletion server/listen_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

package server

Expand Down
1 change: 0 additions & 1 deletion server/sandbox_run_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux && !freebsd
// +build !linux,!freebsd

package server

Expand Down
1 change: 0 additions & 1 deletion server/sandbox_stop_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux && !freebsd
// +build !linux,!freebsd

package server

Expand Down
1 change: 0 additions & 1 deletion server/server_test_inject.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build test
// +build test

// All *_inject.go files are meant to be used by tests only. Purpose of this
// files is to provide a way to inject mocked data into the current setup.
Expand Down
Loading

0 comments on commit 413d2f6

Please sign in to comment.