Skip to content

Commit b7d9279

Browse files
author
Feroze Mohideen
authored
add new datastore kinds (#222)
* add new kinds * comments
1 parent 52fd183 commit b7d9279

File tree

4 files changed

+67
-34
lines changed

4 files changed

+67
-34
lines changed

Diff for: generated/go/porter/v1/datastore.pb.go

+47-34
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: generated/js/src/porter/v1/datastore_pb.d.ts

+14
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,20 @@ export declare enum EnumDatastoreKind {
2626
* @generated from enum value: ENUM_DATASTORE_KIND_AWS_ELASTICACHE = 2;
2727
*/
2828
AWS_ELASTICACHE = 2,
29+
30+
/**
31+
* ENUM_DATASTORE_KIND_MANAGED_POSTGRES refers to the postgres helm chart deployed on customer cluster
32+
*
33+
* @generated from enum value: ENUM_DATASTORE_KIND_MANAGED_POSTGRES = 3;
34+
*/
35+
MANAGED_POSTGRES = 3,
36+
37+
/**
38+
* ENUM_DATASTORE_KIND_MANAGED_REDIS refers to the redis helm chart deployed on customer cluster
39+
*
40+
* @generated from enum value: ENUM_DATASTORE_KIND_MANAGED_REDIS = 4;
41+
*/
42+
MANAGED_REDIS = 4,
2943
}
3044

3145
/**

Diff for: generated/js/src/porter/v1/datastore_pb.js

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ export const EnumDatastoreKind = /*@__PURE__*/ proto3.makeEnum(
1616
{no: 0, name: "ENUM_DATASTORE_KIND_UNSPECIFIED", localName: "UNSPECIFIED"},
1717
{no: 1, name: "ENUM_DATASTORE_KIND_AWS_RDS", localName: "AWS_RDS"},
1818
{no: 2, name: "ENUM_DATASTORE_KIND_AWS_ELASTICACHE", localName: "AWS_ELASTICACHE"},
19+
{no: 3, name: "ENUM_DATASTORE_KIND_MANAGED_POSTGRES", localName: "MANAGED_POSTGRES"},
20+
{no: 4, name: "ENUM_DATASTORE_KIND_MANAGED_REDIS", localName: "MANAGED_REDIS"},
1921
],
2022
);
2123

Diff for: porter/v1/datastore.proto

+4
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ enum EnumDatastoreKind {
3939
ENUM_DATASTORE_KIND_UNSPECIFIED = 0;
4040
ENUM_DATASTORE_KIND_AWS_RDS = 1;
4141
ENUM_DATASTORE_KIND_AWS_ELASTICACHE = 2;
42+
// ENUM_DATASTORE_KIND_MANAGED_POSTGRES refers to the postgres helm chart deployed on customer cluster
43+
ENUM_DATASTORE_KIND_MANAGED_POSTGRES = 3;
44+
// ENUM_DATASTORE_KIND_MANAGED_REDIS refers to the redis helm chart deployed on customer cluster
45+
ENUM_DATASTORE_KIND_MANAGED_REDIS = 4;
4246
}
4347

4448
message DatastorePasswordSecretRef {

0 commit comments

Comments
 (0)