title: Conflicting type in golang compilation
body: <p>I am including a library </p>
  
  <p>"github.com/k8snetworkplumbingwg/network-attachment-definition-client/pkg/client/clientset/versioned/typed/k8s.cni.cncf.io/v1"</p>
  
  <p>in kubernetes source code, this is for internal purpose (kubernetes devs will not like it)</p>
  
  <p>while compiling it I am getting an issue:</p>
  
  <pre><code>+++ [0515 07:51:26] Building go targets for linux/amd64:
      test/e2e/e2e.test
  # k8s.io/kubernetes/test/e2e/framework
  test/e2e/framework/framework.go:239:44: cannot use config (type *"k8s.io/kubernetes/vendor/k8s.io/client-go/rest".Config) as type *"k8s.io/kubernetes/vendor/github.com/k8snetworkplumbingwg/network-attachment-definition-client/vendor/k8s.io/client-go/rest".Config in argument to "k8s.io/kubernetes/vendor/github.com/k8snetworkplumbingwg/network-attachment-definition-client/pkg/client/clientset/versioned/typed/k8s.cni.cncf.io/v1".NewForConfig
  test/e2e/framework/framework_multus.go:14:3: cannot use "k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/meta/v1".ObjectMeta literal (type "k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/meta/v1".ObjectMeta) as type "k8s.io/kubernetes/vendor/github.com/k8snetworkplumbingwg/network-attachment-definition-client/vendor/k8s.io/apimachinery/pkg/apis/meta/v1".ObjectMeta in field value
  !!! [0515 07:51:30] Call tree:
  !!! [0515 07:51:30]  1: /home/eccd/go/src/k8s.io/kubernetes/hack/lib/golang.sh:853 kube::golang::build_binaries_for_platform(...)
  !!! [0515 07:51:30]  2: hack/make-rules/build.sh:27 kube::golang::build_binaries(...)
  !!! [0515 07:51:30] Call tree:
  !!! [0515 07:51:30]  1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...)
  !!! [0515 07:51:30] Call tree:
  !!! [0515 07:51:30]  1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...)
  make: *** [Makefile:93: all] Error 1
  </code></pre>
  
  <p>In line 239 it says expected type "k8s.io/kubernetes/vendor/github.com/k8snetworkplumbingwg/network-attachment-definition-client/vendor/k8s.io/client-go/rest".Config but passed of type "k8s.io/kubernetes/vendor/k8s.io/client-go/rest".Config.</p>
  
  <p>But if you see what is after "vendor" both are same i.e. k8s.io/client-go/rest".Config</p>
  
  <p>How to solve this issue, any help or pointers?</p>