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

env group files #240

Merged
merged 1 commit into from
Apr 22, 2024
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
721 changes: 410 additions & 311 deletions generated/go/porter/v1/porter_app.pb.go

Large diffs are not rendered by default.

14 changes: 11 additions & 3 deletions generated/go/porter/v1/porterv1connect/auth_management.connect.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

637 changes: 456 additions & 181 deletions generated/go/porter/v1/porterv1connect/cluster_control_plane.connect.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion generated/js/src/porter/v1/addons_pb.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/addons.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
2 changes: 1 addition & 1 deletion generated/js/src/porter/v1/addons_pb.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/addons.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
2 changes: 1 addition & 1 deletion generated/js/src/porter/v1/agent_app_event_types_pb.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/agent_app_event_types.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
2 changes: 1 addition & 1 deletion generated/js/src/porter/v1/agent_app_event_types_pb.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/agent_app_event_types.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
2 changes: 1 addition & 1 deletion generated/js/src/porter/v1/aks_pb.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/aks.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
2 changes: 1 addition & 1 deletion generated/js/src/porter/v1/aks_pb.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/aks.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
2 changes: 1 addition & 1 deletion generated/js/src/porter/v1/app_event_webhook_pb.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/app_event_webhook.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
2 changes: 1 addition & 1 deletion generated/js/src/porter/v1/app_event_webhook_pb.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/app_event_webhook.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
2 changes: 1 addition & 1 deletion generated/js/src/porter/v1/auth_management_pb.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/auth_management.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
2 changes: 1 addition & 1 deletion generated/js/src/porter/v1/auth_management_pb.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/auth_management.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
2 changes: 1 addition & 1 deletion generated/js/src/porter/v1/aws_assume_role_pb.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/aws_assume_role.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
2 changes: 1 addition & 1 deletion generated/js/src/porter/v1/aws_assume_role_pb.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/aws_assume_role.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
2 changes: 1 addition & 1 deletion generated/js/src/porter/v1/cloud_contract_pb.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/cloud_contract.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
2 changes: 1 addition & 1 deletion generated/js/src/porter/v1/cloud_contract_pb.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/cloud_contract.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/cloud_provider_credentials.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/cloud_provider_credentials.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
2 changes: 1 addition & 1 deletion generated/js/src/porter/v1/cluster_control_plane_pb.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/cluster_control_plane.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
2 changes: 1 addition & 1 deletion generated/js/src/porter/v1/cluster_control_plane_pb.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/cluster_control_plane.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
2 changes: 1 addition & 1 deletion generated/js/src/porter/v1/cluster_pb.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/cluster.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
2 changes: 1 addition & 1 deletion generated/js/src/porter/v1/cluster_pb.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/cluster.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
2 changes: 1 addition & 1 deletion generated/js/src/porter/v1/compliance_pb.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/compliance.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
2 changes: 1 addition & 1 deletion generated/js/src/porter/v1/compliance_pb.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/compliance.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
2 changes: 1 addition & 1 deletion generated/js/src/porter/v1/contract_pb.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/contract.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
2 changes: 1 addition & 1 deletion generated/js/src/porter/v1/contract_pb.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/contract.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
2 changes: 1 addition & 1 deletion generated/js/src/porter/v1/datastore_pb.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/datastore.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
2 changes: 1 addition & 1 deletion generated/js/src/porter/v1/datastore_pb.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/datastore.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
2 changes: 1 addition & 1 deletion generated/js/src/porter/v1/dead_letter_pb.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/dead_letter.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
2 changes: 1 addition & 1 deletion generated/js/src/porter/v1/dead_letter_pb.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/dead_letter.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
2 changes: 1 addition & 1 deletion generated/js/src/porter/v1/eks_pb.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/eks.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
2 changes: 1 addition & 1 deletion generated/js/src/porter/v1/eks_pb.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/eks.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
2 changes: 1 addition & 1 deletion generated/js/src/porter/v1/env_group_pb.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/env_group.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
2 changes: 1 addition & 1 deletion generated/js/src/porter/v1/env_group_pb.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/env_group.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
2 changes: 1 addition & 1 deletion generated/js/src/porter/v1/errors_pb.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/errors.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
2 changes: 1 addition & 1 deletion generated/js/src/porter/v1/errors_pb.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/errors.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
2 changes: 1 addition & 1 deletion generated/js/src/porter/v1/gke_pb.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/gke.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
2 changes: 1 addition & 1 deletion generated/js/src/porter/v1/gke_pb.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/gke.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
2 changes: 1 addition & 1 deletion generated/js/src/porter/v1/notification_pb.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/notification.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
2 changes: 1 addition & 1 deletion generated/js/src/porter/v1/notification_pb.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/notification.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
47 changes: 46 additions & 1 deletion generated/js/src/porter/v1/porter_app_pb.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/porter_app.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down Expand Up @@ -452,6 +452,13 @@ export declare class EnvGroup extends Message<EnvGroup> {
*/
createdAt?: Timestamp;

/**
* files is a list of encoded files associated with the env group
*
* @generated from field: repeated porter.v1.EnvGroupFile files = 8;
*/
files: EnvGroupFile[];

constructor(data?: PartialMessage<EnvGroup>);

static readonly runtime: typeof proto3;
Expand All @@ -467,6 +474,37 @@ export declare class EnvGroup extends Message<EnvGroup> {
static equals(a: EnvGroup | PlainMessage<EnvGroup> | undefined, b: EnvGroup | PlainMessage<EnvGroup> | undefined): boolean;
}

/**
* EnvGroupFile is an object representing file data
*
* @generated from message porter.v1.EnvGroupFile
*/
export declare class EnvGroupFile extends Message<EnvGroupFile> {
/**
* @generated from field: string name = 1;
*/
name: string;

/**
* @generated from field: string b64_contents = 2;
*/
b64Contents: string;

constructor(data?: PartialMessage<EnvGroupFile>);

static readonly runtime: typeof proto3;
static readonly typeName = "porter.v1.EnvGroupFile";
static readonly fields: FieldList;

static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EnvGroupFile;

static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EnvGroupFile;

static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EnvGroupFile;

static equals(a: EnvGroupFile | PlainMessage<EnvGroupFile> | undefined, b: EnvGroupFile | PlainMessage<EnvGroupFile> | undefined): boolean;
}

/**
* EnvGroupVariables represents the variables for an env group.
*
Expand All @@ -487,6 +525,13 @@ export declare class EnvGroupVariables extends Message<EnvGroupVariables> {
*/
secret: { [key: string]: string };

/**
* files is a list of encoded files associated with the env group
*
* @generated from field: repeated porter.v1.EnvGroupFile files = 3;
*/
files: EnvGroupFile[];

constructor(data?: PartialMessage<EnvGroupVariables>);

static readonly runtime: typeof proto3;
Expand Down
17 changes: 16 additions & 1 deletion generated/js/src/porter/v1/porter_app_pb.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/porter_app.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down Expand Up @@ -161,6 +161,20 @@ export const EnvGroup = /*@__PURE__*/ proto3.makeMessageType(
{ no: 5, name: "secret_variables", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
{ no: 6, name: "type", kind: "enum", T: proto3.getEnumType(EnumEnvGroupProviderType) },
{ no: 7, name: "created_at", kind: "message", T: Timestamp },
{ no: 8, name: "files", kind: "message", T: EnvGroupFile, repeated: true },
],
);

/**
* EnvGroupFile is an object representing file data
*
* @generated from message porter.v1.EnvGroupFile
*/
export const EnvGroupFile = /*@__PURE__*/ proto3.makeMessageType(
"porter.v1.EnvGroupFile",
() => [
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 2, name: "b64_contents", kind: "scalar", T: 9 /* ScalarType.STRING */ },
],
);

Expand All @@ -174,6 +188,7 @@ export const EnvGroupVariables = /*@__PURE__*/ proto3.makeMessageType(
() => [
{ no: 1, name: "normal", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
{ no: 2, name: "secret", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
{ no: 3, name: "files", kind: "message", T: EnvGroupFile, repeated: true },
],
);

Expand Down
2 changes: 1 addition & 1 deletion generated/js/src/porter/v1/prometheus_alerts_pb.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/prometheus_alerts.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
2 changes: 1 addition & 1 deletion generated/js/src/porter/v1/prometheus_alerts_pb.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/prometheus_alerts.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
2 changes: 1 addition & 1 deletion generated/js/src/porter/v1/service_pb.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.8.0
// @generated by protoc-gen-es v1.9.0
// @generated from file porter/v1/service.proto (package porter.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
Loading
Loading