-
Notifications
You must be signed in to change notification settings - Fork 706
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds generated go client for oci-catalog that we'll use from syncer. (#…
…6618) ### Description of the change Follows on from #6595, updates the proto service files according to buf's lint, and generates the go client for use in the asset-syncer. Note: I added a separate `buf.yaml` and `buf.gen.yaml` for the oci-catalog service as buf doesn't let you refer to a proto outside of the `buf.yaml` root, so the other option would have been to move our existing `buf.yaml` and `buf.generate` into the Kubeapps root directory. I don't mind either way, but it made more sense to me for the oci-catalog service to have its own so that it is independent (it may be useful outside of Kubeapps, theoretically). ### Benefits The next PR can use the client without being cluttered by the extra diff. ### Applicable issues <!-- Enter any applicable Issues here (You can reference an issue using #) --> - ref: #6263 --------- Signed-off-by: Michael Nelson <minelson@vmware.com>
- Loading branch information
1 parent
eabf59c
commit aab5a8c
Showing
12 changed files
with
825 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Copyright 2021-2023 the Kubeapps contributors. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
--- | ||
version: v1beta1 | ||
plugins: | ||
- name: go | ||
out: gen | ||
opt: | ||
- module=github.com/vmware-tanzu/kubeapps/cmd/oci-catalog/gen | ||
- name: go-grpc | ||
out: gen | ||
opt: | ||
- module=github.com/vmware-tanzu/kubeapps/cmd/oci-catalog/gen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Generated by buf. DO NOT EDIT. | ||
version: v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Copyright 2023 the Kubeapps contributors. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
--- | ||
version: v1beta1 | ||
name: "buf.build/kubeapps/oci-catalog" | ||
build: | ||
roots: | ||
- proto | ||
lint: | ||
use: | ||
- DEFAULT | ||
ignore_only: | ||
RPC_RESPONSE_STANDARD_NAME: | ||
- ocicatalog/v1alpha1/ocicatalog.proto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.