Skip to content
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

Update proto to include artifact type and digest for helm metadata #7088

Merged
merged 1 commit into from
Nov 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions cmd/kubeapps-apis/docs/kubeapps-apis.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -5453,6 +5453,16 @@
"description": "Media type of this metadata",
"title": "Media type"
},
"artifactType": {
"type": "string",
"description": "Artifact type of this metadata",
"title": "Artifact type"
},
"digest": {
"type": "string",
"description": "Digest of this metadata",
"title": "Digest"
},
"name": {
"type": "string",
"description": "Human readable name for this metadata.",
Expand Down
520 changes: 273 additions & 247 deletions cmd/kubeapps-apis/gen/core/packages/v1alpha1/packages.pb.go

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -966,20 +966,30 @@ message PackageMetadata {
// Media type of this metadata
string media_type = 1;

// Artifact type
//
// Artifact type of this metadata
string artifact_type = 2;

// Digest
//
// Digest of this metadata
string digest = 3;

// Name
//
// Human readable name for this metadata.
string name = 2;
string name = 4;

// Description
//
// Human readable description for this metadata.
string description = 3;
string description = 5;

// URL
//
// The url reference for this metadata.
string url = 4;
string url = 6;
}

// Resource reference
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2021-2023 the Kubeapps contributors.
// SPDX-License-Identifier: Apache-2.0

// @generated by protoc-gen-connect-es v0.13.2 with parameter "target=ts,import_extension=none"
// @generated by protoc-gen-connect-es v1.1.3 with parameter "target=ts,import_extension=none"
// @generated from file kubeappsapis/core/packages/v1alpha1/packages.proto (package kubeappsapis.core.packages.v1alpha1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2965,12 +2965,30 @@ export class PackageMetadata extends Message<PackageMetadata> {
*/
mediaType = "";

/**
* Artifact type
*
* Artifact type of this metadata
*
* @generated from field: string artifact_type = 2;
*/
artifactType = "";

/**
* Digest
*
* Digest of this metadata
*
* @generated from field: string digest = 3;
*/
digest = "";

/**
* Name
*
* Human readable name for this metadata.
*
* @generated from field: string name = 2;
* @generated from field: string name = 4;
*/
name = "";

Expand All @@ -2979,7 +2997,7 @@ export class PackageMetadata extends Message<PackageMetadata> {
*
* Human readable description for this metadata.
*
* @generated from field: string description = 3;
* @generated from field: string description = 5;
*/
description = "";

Expand All @@ -2988,7 +3006,7 @@ export class PackageMetadata extends Message<PackageMetadata> {
*
* The url reference for this metadata.
*
* @generated from field: string url = 4;
* @generated from field: string url = 6;
*/
url = "";

Expand All @@ -3001,9 +3019,11 @@ export class PackageMetadata extends Message<PackageMetadata> {
static readonly typeName = "kubeappsapis.core.packages.v1alpha1.PackageMetadata";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "media_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 3, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 4, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 2, name: "artifact_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 3, name: "digest", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 4, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 5, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 6, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
]);

static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PackageMetadata {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2021-2023 the Kubeapps contributors.
// SPDX-License-Identifier: Apache-2.0

// @generated by protoc-gen-connect-es v0.13.2 with parameter "target=ts,import_extension=none"
// @generated by protoc-gen-connect-es v1.1.3 with parameter "target=ts,import_extension=none"
// @generated from file kubeappsapis/core/packages/v1alpha1/repositories.proto (package kubeappsapis.core.packages.v1alpha1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2021-2023 the Kubeapps contributors.
// SPDX-License-Identifier: Apache-2.0

// @generated by protoc-gen-connect-es v0.13.2 with parameter "target=ts,import_extension=none"
// @generated by protoc-gen-connect-es v1.1.3 with parameter "target=ts,import_extension=none"
// @generated from file kubeappsapis/core/plugins/v1alpha1/plugins.proto (package kubeappsapis.core.plugins.v1alpha1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2021-2023 the Kubeapps contributors.
// SPDX-License-Identifier: Apache-2.0

// @generated by protoc-gen-connect-es v0.13.2 with parameter "target=ts,import_extension=none"
// @generated by protoc-gen-connect-es v1.1.3 with parameter "target=ts,import_extension=none"
// @generated from file kubeappsapis/plugins/fluxv2/packages/v1alpha1/fluxv2.proto (package kubeappsapis.plugins.fluxv2.packages.v1alpha1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2021-2023 the Kubeapps contributors.
// SPDX-License-Identifier: Apache-2.0

// @generated by protoc-gen-connect-es v0.13.2 with parameter "target=ts,import_extension=none"
// @generated by protoc-gen-connect-es v1.1.3 with parameter "target=ts,import_extension=none"
// @generated from file kubeappsapis/plugins/helm/packages/v1alpha1/helm.proto (package kubeappsapis.plugins.helm.packages.v1alpha1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2021-2023 the Kubeapps contributors.
// SPDX-License-Identifier: Apache-2.0

// @generated by protoc-gen-connect-es v0.13.2 with parameter "target=ts,import_extension=none"
// @generated by protoc-gen-connect-es v1.1.3 with parameter "target=ts,import_extension=none"
// @generated from file kubeappsapis/plugins/kapp_controller/packages/v1alpha1/kapp_controller.proto (package kubeappsapis.plugins.kapp_controller.packages.v1alpha1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2021-2023 the Kubeapps contributors.
// SPDX-License-Identifier: Apache-2.0

// @generated by protoc-gen-connect-es v0.13.2 with parameter "target=ts,import_extension=none"
// @generated by protoc-gen-connect-es v1.1.3 with parameter "target=ts,import_extension=none"
// @generated from file kubeappsapis/plugins/resources/v1alpha1/resources.proto (package kubeappsapis.plugins.resources.v1alpha1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
Loading