-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
go.mod file still causing issues #18925
Comments
@rhalar I'm building a custom harbor img and currently there are some minor quirks due to go-swagger codegen haven't been updated for quite a while. go install github.com/go-swagger/go-swagger/cmd/swagger@v0.30.5
$HOME/bin/swagger generate server \
--template-dir=tools/swagger/templates \
--spec=api/v2.0/swagger.yaml \
--exclude-main \
--additional-initialism=CVE \
--additional-initialism=GC \
--additional-initialism=OIDC \
--name=harbor \
--target=src/server/v2.0
cd src/
go get -u github.com/go-openapi/errors
go get -u github.com/go-openapi/validate
go mod tidy
go mod vendor Other than that - there are no major issues. I'd be more concerned regarding |
I'm less concerned about usability, this issue has more to do with how it isn't being indexed on the |
It's not only about cc: @wy65701436 |
Hi @rhalar, if you are trying to interact with a Harbor instance using GoLang, maybe you can use go-swagger to generate a copy of harbor client as local files. For example, if your use case is trying to create a Registry endpoint of a given Harbor instance for replication or proxycache in your GoLang project. You may need to create a file like
method.
|
This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days. |
Do as you wish, this was brought up a couple of times but no definitive answer or intention was given. |
This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days. |
This issue was closed because it has been stalled for 30 days with no activity. If this issue is still relevant, please re-open a new issue. |
This was noticed because some versions of harbor were not being indexed, see
golang/go#61312
This seems to have been brought up before but closed due to inactivity
#10251
The text was updated successfully, but these errors were encountered: