I'm unable to use pkg/client to manipulate etcd-operator CRDs using go-client. I've encountered two problems:
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/etcd-operator@v0.9.4/pkg/generated/clientset/versioned/typed/etcd/v1beta2/etcd_client.go:84:32: undefined: serializer.DirectCodecFactory
When the package is installing cleanly:
[brad@x220 eoctest]$ go get
# k8s.io/client-go/rest
../go/pkg/mod/k8s.io/client-go@v11.0.0+incompatible/rest/request.go:598:31: not enough arguments in call to watch.NewStreamWatcher
have (*versioned.Decoder)
want (watch.Decoder, watch.Reporter)
I'm unable to use pkg/client to manipulate etcd-operator CRDs using go-client. I've encountered two problems:
Attached is a minimal test main.go