Skip to content

Commit

Permalink
Cleanup build constraints
Browse files Browse the repository at this point in the history
Signed-off-by: Maksym Pavlenko <[email protected]>
  • Loading branch information
mxpv committed Dec 8, 2022
1 parent d39ee7b commit 3bc8fc4
Show file tree
Hide file tree
Showing 99 changed files with 0 additions and 99 deletions.
1 change: 0 additions & 1 deletion archive/tar_mostunix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows && !freebsd
// +build !windows,!freebsd

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion archive/tar_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows && !darwin
// +build !windows,!darwin

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion archive/tar_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion archive/time_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion cio/io_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion cio/io_unix_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion cmd/containerd-shim-runc-v1/main.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion cmd/containerd-shim-runc-v2/main.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion cmd/containerd-shim/main_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion cmd/containerd-stress/rlimit_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows && !freebsd
// +build !windows,!freebsd

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion cmd/containerd/builtins/aufs_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !no_aufs
// +build !no_aufs

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion cmd/containerd/builtins/btrfs_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !no_btrfs && cgo
// +build !no_btrfs,cgo

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion cmd/containerd/builtins/builtins_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build darwin || freebsd || solaris
// +build darwin freebsd solaris

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion cmd/containerd/builtins/devmapper_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !no_devmapper
// +build !no_devmapper

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion cmd/containerd/builtins/tracing.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !no_tracing
// +build !no_tracing

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion cmd/containerd/builtins/zfs_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !no_zfs
// +build !no_zfs

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion cmd/containerd/command/main_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux || darwin || freebsd || solaris
// +build linux darwin freebsd solaris

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion cmd/containerd/command/notify_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion cmd/containerd/command/service_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion cmd/ctr/app/main_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion cmd/ctr/commands/commands_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion cmd/ctr/commands/namespaces/namespaces_other.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion cmd/ctr/commands/pprof/pprof_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion cmd/ctr/commands/run/run_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion cmd/ctr/commands/shim/io_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion cmd/ctr/commands/shim/shim.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion cmd/ctr/commands/signals_notlinux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion cmd/ctr/commands/tasks/tasks_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion container_opts_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion defaults/defaults_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows && !darwin
// +build !windows,!darwin

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion diff/stream_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion integration/addition_gids_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion integration/container_update_resources_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion integration/sandbox_clean_remove_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion integration/sandbox_clean_remove_windows_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows
// +build windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion integration/sandbox_run_rollback_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion integration/shim_dial_unix_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion integration/volume_copy_up_unix_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion integration/volume_copy_up_windows_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows
// +build windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion integration/windows_hostprocess_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows
// +build windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion integration/windows_rootfs_size_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows
// +build windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion mount/lookup_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion mount/lookup_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows
// +build windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion mount/mount_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build darwin || openbsd
// +build darwin openbsd

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion mount/temp_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows && !darwin
// +build !windows,!darwin

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion mount/temp_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows || darwin
// +build windows darwin

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion oci/mounts.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !freebsd
// +build !freebsd

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion oci/spec_opts_nonlinux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion oci/spec_opts_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux && !windows
// +build !linux,!windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion oci/spec_opts_unix_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion oci/utils_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion oci/utils_unix_go116_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !go1.17 && !windows && !darwin
// +build !go1.17,!windows,!darwin

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion oci/utils_unix_go117_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build go1.17 && !windows && !darwin
// +build go1.17,!windows,!darwin

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion oci/utils_unix_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows && !darwin
// +build !windows,!darwin

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion oss_fuzz.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build gofuzz
// +build gofuzz

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion pkg/cri/config/config_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion pkg/cri/io/helpers_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion pkg/cri/server/bandwidth/linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion pkg/cri/server/blockio_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion pkg/cri/server/blockio_stub_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion pkg/cri/server/container_create_other.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows && !linux
// +build !windows,!linux

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion pkg/cri/server/container_create_other_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows && !linux
// +build !windows,!linux

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion pkg/cri/server/container_stats_list_other.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows && !linux
// +build !windows,!linux

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion pkg/cri/server/container_update_resources.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !darwin && !freebsd
// +build !darwin,!freebsd

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion pkg/cri/server/container_update_resources_other.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows && !linux
// +build !windows,!linux

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion pkg/cri/server/fuzz.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build gofuzz
// +build gofuzz

/*
Copyright The containerd Authors.
Expand Down
Loading

0 comments on commit 3bc8fc4

Please sign in to comment.