Merge pull request #7087 from kzys/fuzz-less-hacks

Remove hacks around contrib/fuzz
This commit is contained in:
Kazuyoshi Kato
2022-06-28 09:24:37 -07:00
committed by GitHub
20 changed files with 657 additions and 94 deletions

View File

@@ -17,6 +17,6 @@
limitations under the License.
*/
package main
package builtins
import _ "github.com/containerd/aufs/plugin"

View File

@@ -17,6 +17,6 @@
limitations under the License.
*/
package main
package builtins
import _ "github.com/containerd/containerd/snapshots/btrfs/plugin"

View File

@@ -14,7 +14,7 @@
limitations under the License.
*/
package main
package builtins
// register containerd builtins here
import (

View File

@@ -14,6 +14,6 @@
limitations under the License.
*/
package main
package builtins
import _ "github.com/containerd/zfs/plugin"

View File

@@ -14,7 +14,7 @@
limitations under the License.
*/
package main
package builtins
import (
_ "github.com/containerd/containerd/metrics/cgroups"

View File

@@ -17,7 +17,7 @@
limitations under the License.
*/
package main
package builtins
import (
_ "github.com/containerd/containerd/snapshots/native/plugin"

View File

@@ -14,7 +14,7 @@
limitations under the License.
*/
package main
package builtins
import (
_ "github.com/containerd/containerd/diff/lcow"

View File

@@ -17,6 +17,6 @@
limitations under the License.
*/
package main
package builtins
import _ "github.com/containerd/containerd/snapshots/devmapper/plugin"

View File

@@ -17,7 +17,7 @@
limitations under the License.
*/
package main
package builtins
import (
_ "github.com/containerd/containerd/tracing/plugin"

View File

@@ -17,6 +17,6 @@
limitations under the License.
*/
package main
package builtins
import _ "github.com/containerd/zfs/plugin"

View File

@@ -1,22 +0,0 @@
//go:build (linux && !no_cri) || (windows && !no_cri) || (darwin && !no_cri)
// +build linux,!no_cri windows,!no_cri darwin,!no_cri
/*
Copyright The containerd 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 main
import _ "github.com/containerd/containerd/pkg/cri"

View File

@@ -22,6 +22,9 @@ import (
"github.com/containerd/containerd/cmd/containerd/command"
"github.com/containerd/containerd/pkg/seed"
_ "github.com/containerd/containerd/cmd/containerd/builtins"
_ "github.com/containerd/containerd/pkg/cri"
)
func init() {