Skip to content
This repository has been archived by the owner on Mar 28, 2020. It is now read-only.

kubernetes/client-go incompatibility #2167

Open
ghost opened this issue Mar 26, 2020 · 0 comments
Open

kubernetes/client-go incompatibility #2167

ghost opened this issue Mar 26, 2020 · 0 comments

Comments

@ghost
Copy link

ghost commented Mar 26, 2020

I'm unable to use pkg/client to manipulate etcd-operator CRDs using go-client. I've encountered two problems:

  1. When the github.com/coreos/etcd-operator package has been installed:
[brad@x220 eoctest]$ go build
# github.com/coreos/etcd-operator/pkg/generated/clientset/versioned/typed/etcd/v1beta2
../../go/pkg/mod/github.com/coreos/[email protected]/pkg/generated/clientset/versioned/typed/etcd/v1beta2/etcd_client.go:84:32: undefined: serializer.DirectCodecFactory
  1. When the package is installing cleanly:
[brad@x220 eoctest]$ go get                                                                                                                           
# k8s.io/client-go/rest                                                                                                                               
../go/pkg/mod/k8s.io/[email protected]+incompatible/rest/request.go:598:31: not enough arguments in call to watch.NewStreamWatcher
        have (*versioned.Decoder)
        want (watch.Decoder, watch.Reporter)

Attached is a minimal test main.go

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants