Comments (5)
any news regarding this issue?
from client-go.
I suggest you try using the replace
functionality, similar to how they use it in this repo's go.mod file, ( i used the one for v0.39.1 since your log indicates that's what you're using) then retry the go mod tidy && go mod vendor
from client-go.
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close
.
/lifecycle stale
from client-go.
Hi @sunyuan300,
Did you manage to use the kubevirt client?
I can't install the client, could you publish an example of your go.mod file?
Below are the tests I did:
File go.mod
:
module xxxxxxxx
go 1.16
require (
github.com/onsi/ginkgo v1.16.4
github.com/onsi/gomega v1.13.0
k8s.io/apimachinery v0.21.2
k8s.io/client-go v0.21.2
sigs.k8s.io/controller-runtime v0.9.2
)
go get kubevirt.io/[email protected]
go get: kubevirt.io/[email protected] updating to
kubevirt.io/[email protected] requires
github.com/openshift/[email protected]: reading github.com/openshift/client-go/go.mod at revision v0.0.0: unknown revision v0.0.0
Adding client-go in replace :
go.mod
module xxxxxxxx
go 1.16
require (
github.com/onsi/ginkgo v1.16.4
github.com/onsi/gomega v1.13.0
k8s.io/apimachinery v0.21.2
k8s.io/client-go v0.21.2
sigs.k8s.io/controller-runtime v0.9.2
)
replace
(
github.com/openshift/client-go => github.com/openshift/client-go v0.0.0-20210112165513-ebc401615f47
)
The error message is then as follows:
go mod tidy
go: finding module for package kubevirt.io/client-go/kubecli
go: found kubevirt.io/client-go/kubecli in kubevirt.io/client-go v0.45.0
go: kubevirt.io/[email protected] requires
kubevirt.io/[email protected] requires
github.com/openshift/[email protected]: reading github.com/openshift/api/go.mod at revision v0.0.0: unknown revision v0.0.0
Add openshift/api in replace:
replace
(
github.com/openshift/api => github.com/openshift/api v0.0.0-20210105115604-44119421ec6b
github.com/openshift/client-go => github.com/openshift/client-go v0.0.0-20210112165513-ebc401615f47
)
Still a mistake:
go: finding module for package kubevirt.io/client-go/kubecli
go: found kubevirt.io/client-go/kubecli in kubevirt.io/client-go v0.45.0
go: kubevirt.io/[email protected] requires
kubevirt.io/[email protected] requires
k8s.io/[email protected]: reading k8s.io/cluster-bootstrap/go.mod at revision v0.0.0: unknown revision v0.0.0
And so on, I do not find a solution.
from client-go.
any news regarding this issue?
from client-go.
Related Issues (19)
- where is the documentation ? HOT 4
- Replace glog to klog HOT 4
- undefined: log.Context on go vet HOT 1
- GetKubevirtClientFromRESTConfig should not change the content of parameter HOT 2
- kubevirt.io/client-go/kubecli is not compatible with k8s.io/client-go v0.21.0 HOT 8
- how to watch vm status change HOT 5
- execute command:virtctl addvolume return:error adding volume, the server could not find the requested resource HOT 4
- Having issues pulling package HOT 5
- Add examples HOT 5
- Recommendation to use client-go with k8s.io v0.26.0 HOT 6
- Cannot use MockKubevirtClientInstance HOT 8
- k8s.io/client-go at latest version v0.27.4 but not at required version v12.0.0+incompatible HOT 16
- Incorrect version values from version.Get() HOT 6
- create datavolume err: v1.GetOptions is not suitable for converting to "kubevirt.io/v1" HOT 4
- run example failed HOT 2
- Project missing LICENSE file. HOT 1
- Not Compataible | kubevirt client-go in a code-base that uses Kubenetes 1.18.8 dependencies. HOT 2
- client-go support informer
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from client-go.