-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Golang API Client not working #1517
Comments
Try importing as voyagerClient "voyagermesh.dev/voyager/client/clientset/versioned" |
@hossainemruz Thank you for your answer. Import with your line results with the following error: go: finding voyagermesh.dev/voyager latest
go: voyagermesh.dev/[email protected] requires
github.com/Azure/go-autorest/autorest/azure/[email protected]: invalid version: unknown revision 000000000000 |
Try adding these in your replace github.com/Azure/go-autorest => github.com/Azure/go-autorest v13.0.0+incompatible
replace github.com/Azure/go-autorest/autorest => github.com/Azure/go-autorest/autorest v0.9.0
replace github.com/Azure/go-autorest/autorest/adal => github.com/Azure/go-autorest/autorest/adal v0.5.0
replace github.com/Azure/go-autorest/autorest/azure/auth => github.com/Azure/go-autorest/autorest/azure/auth v0.2.0
replace github.com/Azure/go-autorest/autorest/date => github.com/Azure/go-autorest/autorest/date v0.1.0
replace github.com/Azure/go-autorest/autorest/mocks => github.com/Azure/go-autorest/autorest/mocks v0.2.0
replace github.com/Azure/go-autorest/autorest/to => github.com/Azure/go-autorest/autorest/to v0.2.0
replace github.com/Azure/go-autorest/autorest/validation => github.com/Azure/go-autorest/autorest/validation v0.1.0
replace github.com/Azure/go-autorest/logger => github.com/Azure/go-autorest/logger v0.1.0
replace github.com/Azure/go-autorest/tracing => github.com/Azure/go-autorest/tracing v0.5.0 |
If I replace all the Azure dependencies, I get the following error: go: finding voyagermesh.dev/voyager latest
go: voyagermesh.dev/[email protected] requires
github.com/prometheus/[email protected]: invalid version: unknown revision 000000000000 |
Use the respective replace line in your go.mod file from here: Line 77 in d9c3886
Perhaps, you can copy all the replace line of the linked file in your go.mod . |
@henrikengelbrink Please close the issue if your problem has been fixed. |
Hello,
I'm currently trying to use the Golang API client for voyager to create a voyager ingress through my golang application.
I'm importing the golang client with the following line:
voyagerClient "github.com/appscode/voyager/client/clientset/versioned"
Unfortunately, I get the following error:
I'm not sure whether it is my fault or a bug with voyager.
Do you have a documentation about how to use the golang client somewhere ?
Best,
Henrik
The text was updated successfully, but these errors were encountered: