The project has been moved so internally we simply rename everything.
Consumers are recommended to update their vendored version of cni.
"os"
"strings"
- "github.com/appc/cni/pkg/types"
+ "github.com/containernetworking/cni/pkg/types"
)
func DelegateAdd(delegatePlugin string, netconf []byte) (*types.Result, error) {
"os"
"os/exec"
- "github.com/appc/cni/pkg/types"
+ "github.com/containernetworking/cni/pkg/types"
)
func pluginErr(err error, output []byte) error {
"io/ioutil"
"path/filepath"
- "github.com/appc/cni/pkg/invoke"
+ "github.com/containernetworking/cni/pkg/invoke"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
"net"
"os"
- "github.com/appc/cni/pkg/ns"
+ "github.com/containernetworking/cni/pkg/ns"
"github.com/vishvananda/netlink"
)
"fmt"
"os"
- "github.com/appc/cni/pkg/invoke"
- "github.com/appc/cni/pkg/ip"
- "github.com/appc/cni/pkg/types"
+ "github.com/containernetworking/cni/pkg/invoke"
+ "github.com/containernetworking/cni/pkg/ip"
+ "github.com/containernetworking/cni/pkg/types"
"github.com/vishvananda/netlink"
)
"os/exec"
"path/filepath"
- "github.com/appc/cni/pkg/ns"
- "github.com/appc/cni/pkg/testhelpers"
+ "github.com/containernetworking/cni/pkg/ns"
+ "github.com/containernetworking/cni/pkg/testhelpers"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
"log"
"os"
- "github.com/appc/cni/pkg/types"
+ "github.com/containernetworking/cni/pkg/types"
)
// CmdArgs captures all the arguments passed in to the plugin
"golang.org/x/sys/unix"
- "github.com/appc/cni/pkg/testhelpers"
+ "github.com/containernetworking/cni/pkg/testhelpers"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
import (
"reflect"
- . "github.com/appc/cni/pkg/types"
+ . "github.com/containernetworking/cni/pkg/types"
. "github.com/onsi/ginkgo"
. "github.com/onsi/ginkgo/extensions/table"