Looks related to https://github.com/golang/go/issues/27457.

Perhaps a variation of
https://github.com/golang/go/issues/27457#issuecomment-419364867 helps
in this situation?
On Thu, 27 Sep 2018 at 00:51, Josh Harshman <joshgrey...@gmail.com> wrote:
>
> Using Go 1.11 and Go Modules to resolve package dependencies for my project.
> Unfortunately I am running into some vendoring issues and incompatibilities 
> that have me a little stumped.
>
> Here is my go.mod file, there are a few packages listed as incompatible etc...
> go.mod
> module github.ancestry.com/Ancestry/platform-haas
>
> require (
>         github.com/BurntSushi/toml v0.3.1 // indirect
>         github.com/Masterminds/semver v1.4.2 // indirect
>         github.com/Masterminds/sprig v2.16.0+incompatible // indirect
>         github.com/aokoli/goutils v1.0.1 // indirect
>         github.com/docker/distribution v2.6.2+incompatible // indirect
>         github.com/ghodss/yaml v1.0.0 // indirect
>         github.com/gobwas/glob v0.2.3 // indirect
>         github.com/gogo/protobuf v1.1.1 // indirect
>         github.com/golang/mock v1.1.1
>         github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db // 
> indirect
>         github.com/google/gofuzz v0.0.0-20170612174753-24818f796faf // 
> indirect
>         github.com/google/uuid v1.0.0 // indirect
>         github.com/gorilla/mux v1.6.2
>         github.com/hashicorp/errwrap v1.0.0 // indirect
>         github.com/hashicorp/go-cleanhttp v0.5.0
>         github.com/hashicorp/go-rootcerts v0.0.0-20160503143440-6bb64b370b90
>         github.com/hashicorp/go-sockaddr v0.0.0-20180320115054-6d291a969b86 
> // indirect
>         github.com/hashicorp/vault v0.11.1
>         github.com/huandu/xstrings v1.2.0 // indirect
>         github.com/imdario/mergo v0.3.6 // indirect
>         github.com/json-iterator/go v1.1.5 // indirect
>         github.com/mitchellh/go-homedir v1.0.0
>         github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // 
> indirect
>         github.com/modern-go/reflect2 v1.0.1 // indirect
>         github.com/ryanuber/go-glob v0.0.0-20170128012129-256dc444b735 // 
> indirect
>         github.com/sethgrid/pester v0.0.0-20180430140037-03e26c9abbbf
>         github.com/sirupsen/logrus v1.1.0
>         github.com/spf13/cobra v0.0.3
>         github.com/spf13/viper v1.2.0
>         golang.org/x/net v0.0.0-20180926154720-4dfa2610cdf3
>         golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2 // indirect
>         google.golang.org/grpc v1.15.0 // indirect
>         gopkg.in/inf.v0 v0.9.1 // indirect
>         gopkg.in/yaml.v2 v2.2.1
>         k8s.io/api v0.0.0-20180925152912-a191abe0b71e // indirect
>         k8s.io/apiextensions-apiserver v0.0.0-20180925155151-c0b566b8903b // 
> indirect
>         k8s.io/apimachinery v0.0.0-20180925152725-5ae511e0ed34 // indirect
>         k8s.io/apiserver v0.0.0-20180925200106-4eecb3917976 // indirect
>         k8s.io/client-go v8.0.0+incompatible // indirect
>         k8s.io/helm v2.11.0+incompatible
>         k8s.io/kubernetes v1.11.3 // indirect
> )
>
>
> and predicibly I suppose when running go build ./... I receive the following 
> errors.
>
> ...[snip]...
>
> # k8s.io/client-go/pkg/apis/clientauthentication/v1alpha1
> /go/pkg/mod/k8s.io/client-go@v8.0.0+incompatible/pkg/apis/clientauthentication/v1alpha1/zz_generated.conversion.go:39:15:
>  scheme.AddGeneratedConversionFuncs undefined (type *runtime.Scheme has no 
> field or method AddGeneratedConversionFuncs)
> # k8s.io/client-go/pkg/apis/clientauthentication/v1beta1
> /go/pkg/mod/k8s.io/client-go@v8.0.0+incompatible/pkg/apis/clientauthentication/v1beta1/zz_generated.conversion.go:39:15:
>  scheme.AddGeneratedConversionFuncs undefined (type *runtime.Scheme has no 
> field or method AddGeneratedConversionFuncs)
> # k8s.io/kubernetes/pkg/util/parsers
> /go/pkg/mod/k8s.io/kubernetes@v1.11.3/pkg/util/parsers/parsers.go:36:16: 
> undefined: reference.ParseNormalizedNamed
> # k8s.io/kubernetes/pkg/apis/admissionregistration/v1alpha1
> /go/pkg/mod/k8s.io/kubernetes@v1.11.3/pkg/apis/admissionregistration/v1alpha1/zz_generated.conversion.go:39:15:
>  scheme.AddGeneratedConversionFuncs undefined (type *runtime.Scheme has no 
> field or method AddGeneratedConversionFuncs)
> # k8s.io/kubernetes/pkg/apis/admissionregistration/v1beta1
> /go/pkg/mod/k8s.io/kubernetes@v1.11.3/pkg/apis/admissionregistration/v1beta1/zz_generated.conversion.go:40:15:
>  scheme.AddGeneratedConversionFuncs undefined (type *runtime.Scheme has no 
> field or method AddGeneratedConversionFuncs)
> # k8s.io/kubernetes/pkg/apis/authentication/v1
> /go/pkg/mod/k8s.io/kubernetes@v1.11.3/pkg/apis/authentication/v1/zz_generated.conversion.go:41:15:
>  scheme.AddGeneratedConversionFuncs undefined (type *runtime.Scheme has no 
> field or method AddGeneratedConversionFuncs)
> # k8s.io/kubernetes/pkg/apis/authentication/v1beta1
> /go/pkg/mod/k8s.io/kubernetes@v1.11.3/pkg/apis/authentication/v1beta1/zz_generated.conversion.go:39:15:
>  scheme.AddGeneratedConversionFuncs undefined (type *runtime.Scheme has no 
> field or method AddGeneratedConversionFuncs)
> # k8s.io/kubernetes/pkg/apis/authorization/v1
> /go/pkg/mod/k8s.io/kubernetes@v1.11.3/pkg/apis/authorization/v1/zz_generated.conversion.go:39:15:
>  scheme.AddGeneratedConversionFuncs undefined (type *runtime.Scheme has no 
> field or method AddGeneratedConversionFuncs)
> # k8s.io/kubernetes/pkg/apis/authorization/v1beta1
> /go/pkg/mod/k8s.io/kubernetes@v1.11.3/pkg/apis/authorization/v1beta1/zz_generated.conversion.go:39:15:
>  scheme.AddGeneratedConversionFuncs undefined (type *runtime.Scheme has no 
> field or method AddGeneratedConversionFuncs)
> # k8s.io/kubernetes/pkg/apis/autoscaling/v1
> /go/pkg/mod/k8s.io/kubernetes@v1.11.3/pkg/apis/autoscaling/v1/zz_generated.conversion.go:43:15:
>  scheme.AddGeneratedConversionFuncs undefined (type *runtime.Scheme has no 
> field or method AddGeneratedConversionFuncs)
> # k8s.io/kubernetes/pkg/apis/autoscaling/v2beta1
> /go/pkg/mod/k8s.io/kubernetes@v1.11.3/pkg/apis/autoscaling/v2beta1/zz_generated.conversion.go:43:15:
>  scheme.AddGeneratedConversionFuncs undefined (type *runtime.Scheme has no 
> field or method AddGeneratedConversionFuncs)
> # k8s.io/kubernetes/pkg/apis/certificates/v1beta1
> /go/pkg/mod/k8s.io/kubernetes@v1.11.3/pkg/apis/certificates/v1beta1/zz_generated.conversion.go:39:15:
>  scheme.AddGeneratedConversionFuncs undefined (type *runtime.Scheme has no 
> field or method AddGeneratedConversionFuncs)
> # k8s.io/kubernetes/pkg/apis/componentconfig/v1alpha1
> /go/pkg/mod/k8s.io/kubernetes@v1.11.3/pkg/apis/componentconfig/v1alpha1/zz_generated.conversion.go:39:15:
>  scheme.AddGeneratedConversionFuncs undefined (type *runtime.Scheme has no 
> field or method AddGeneratedConversionFuncs)
> # k8s.io/kubernetes/pkg/apis/policy/v1beta1
> /go/pkg/mod/k8s.io/kubernetes@v1.11.3/pkg/apis/policy/v1beta1/zz_generated.conversion.go:43:15:
>  scheme.AddGeneratedConversionFuncs undefined (type *runtime.Scheme has no 
> field or method AddGeneratedConversionFuncs)
> # k8s.io/kubernetes/pkg/apis/networking/v1
> /go/pkg/mod/k8s.io/kubernetes@v1.11.3/pkg/apis/networking/v1/zz_generated.conversion.go:43:15:
>  scheme.AddGeneratedConversionFuncs undefined (type *runtime.Scheme has no 
> field or method AddGeneratedConversionFuncs)
> # k8s.io/kubernetes/pkg/apis/rbac/v1beta1
> /go/pkg/mod/k8s.io/kubernetes@v1.11.3/pkg/apis/rbac/v1beta1/zz_generated.conversion.go:40:15:
>  scheme.AddGeneratedConversionFuncs undefined (type *runtime.Scheme has no 
> field or method AddGeneratedConversionFuncs)
> # k8s.io/kubernetes/pkg/apis/rbac/v1
> /go/pkg/mod/k8s.io/kubernetes@v1.11.3/pkg/apis/rbac/v1/zz_generated.conversion.go:40:15:
>  scheme.AddGeneratedConversionFuncs undefined (type *runtime.Scheme has no 
> field or method AddGeneratedConversionFuncs)
> # k8s.io/kubernetes/pkg/apis/rbac/v1alpha1
> /go/pkg/mod/k8s.io/kubernetes@v1.11.3/pkg/apis/rbac/v1alpha1/zz_generated.conversion.go:40:15:
>  scheme.AddGeneratedConversionFuncs undefined (type *runtime.Scheme has no 
> field or method AddGeneratedConversionFuncs)
> # k8s.io/kubernetes/pkg/apis/scheduling/v1alpha1
> /go/pkg/mod/k8s.io/kubernetes@v1.11.3/pkg/apis/scheduling/v1alpha1/zz_generated.conversion.go:39:15:
>  scheme.AddGeneratedConversionFuncs undefined (type *runtime.Scheme has no 
> field or method AddGeneratedConversionFuncs)
> # k8s.io/kubernetes/pkg/apis/scheduling/v1beta1
> /go/pkg/mod/k8s.io/kubernetes@v1.11.3/pkg/apis/scheduling/v1beta1/zz_generated.conversion.go:39:15:
>  scheme.AddGeneratedConversionFuncs undefined (type *runtime.Scheme has no 
> field or method AddGeneratedConversionFuncs)
> # k8s.io/kubernetes/pkg/apis/storage/v1
> /go/pkg/mod/k8s.io/kubernetes@v1.11.3/pkg/apis/storage/v1/zz_generated.conversion.go:41:15:
>  scheme.AddGeneratedConversionFuncs undefined (type *runtime.Scheme has no 
> field or method AddGeneratedConversionFuncs)
> # k8s.io/kubernetes/pkg/apis/storage/v1alpha1
> /go/pkg/mod/k8s.io/kubernetes@v1.11.3/pkg/apis/storage/v1alpha1/zz_generated.conversion.go:39:15:
>  scheme.AddGeneratedConversionFuncs undefined (type *runtime.Scheme has no 
> field or method AddGeneratedConversionFuncs)
> # k8s.io/kubernetes/pkg/apis/storage/v1beta1
> /go/pkg/mod/k8s.io/kubernetes@v1.11.3/pkg/apis/storage/v1beta1/zz_generated.conversion.go:41:15:
>  scheme.AddGeneratedConversionFuncs undefined (type *runtime.Scheme has no 
> field or method AddGeneratedConversionFuncs)
>
> I'm really interesting in figuring out what is going on here. It looks like 
> k8s.io/client-go is compatible with kubernetes v1.11.3.
> Anyways, any insight on this would be greatly appreciated
>
> Thanks in advance!
>
> - Josh
>
> --
> You received this message because you are subscribed to the Google Groups 
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to golang-nuts+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to