Skip to content
Open
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
2,592 changes: 1,384 additions & 1,208 deletions generated/go/porter/v1/cluster_control_plane.pb.go

Large diffs are not rendered by default.

638 changes: 565 additions & 73 deletions generated/go/porter/v1/notification.pb.go

Large diffs are not rendered by default.

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

77 changes: 76 additions & 1 deletion generated/js/src/porter/v1/cluster_control_plane_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import type { ContractComplianceCheckGroup, EnumComplianceProfile, EnumComplianc
import type { AppImage, Build, Deletions, DeploymentTarget, DeploymentTargetIdentifier, EnumAppRevisionStatus, EnvGroup, EnvGroupVariables, PorterApp } from "./porter_app_pb.js";
import type { Addon } from "./addons_pb.js";
import type { EnumEnvGroupProviderType } from "./env_group_pb.js";
import type { NotificationConfig } from "./notification_pb.js";
import type { Notification, NotificationConfig } from "./notification_pb.js";
import type { DatastoreCredential } from "./datastore_pb.js";
import type { AssumeRoleChainLink } from "./aws_assume_role_pb.js";

Expand Down Expand Up @@ -5170,6 +5170,81 @@ export declare class NotificationConfigResponse extends Message<NotificationConf
static equals(a: NotificationConfigResponse | PlainMessage<NotificationConfigResponse> | undefined, b: NotificationConfigResponse | PlainMessage<NotificationConfigResponse> | undefined): boolean;
}

/**
* NotificationsRequest is the request object for Notification.
*
* @generated from message porter.v1.NotificationsRequest
*/
export declare class NotificationsRequest extends Message<NotificationsRequest> {
/**
* project_id is the id of the project where the notification is created
*
* @generated from field: int64 project_id = 1;
*/
projectId: bigint;

/**
* notification_id is the id of the notification to get
*
* @generated from field: string notification_id = 2;
*/
notificationId: string;

/**
* app_revision_id is the id of the app revision to get notifications for
*
* @generated from field: string app_revision_id = 3;
*/
appRevisionId: string;

/**
* app_instance_id is the id of the app instance to get notifications for
*
* @generated from field: string app_instance_id = 4;
*/
appInstanceId: string;

constructor(data?: PartialMessage<NotificationsRequest>);

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

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

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

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

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

/**
* NotificationResponse is the response object for Notification
*
* @generated from message porter.v1.NotificationsResponse
*/
export declare class NotificationsResponse extends Message<NotificationsResponse> {
/**
* @generated from field: repeated porter.v1.Notification notification = 1;
*/
notification: Notification[];

constructor(data?: PartialMessage<NotificationsResponse>);

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

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

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

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

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

/**
* ConnectHostedProjectRequest is the request object for connecting a hosted project to a host cluster
*
Expand Down
29 changes: 28 additions & 1 deletion generated/js/src/porter/v1/cluster_control_plane_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { ContractComplianceCheckGroup, EnumComplianceProfile, EnumComplianceVend
import { AppImage, Build, Deletions, DeploymentTarget, DeploymentTargetIdentifier, EnumAppRevisionStatus, EnvGroup, EnvGroupVariables, PorterApp } from "./porter_app_pb.js";
import { Addon } from "./addons_pb.js";
import { EnumEnvGroupProviderType } from "./env_group_pb.js";
import { NotificationConfig } from "./notification_pb.js";
import { Notification, NotificationConfig } from "./notification_pb.js";
import { DatastoreCredential } from "./datastore_pb.js";
import { AssumeRoleChainLink } from "./aws_assume_role_pb.js";

Expand Down Expand Up @@ -1756,6 +1756,33 @@ export const NotificationConfigResponse = proto3.makeMessageType(
],
);

/**
* NotificationsRequest is the request object for Notification.
*
* @generated from message porter.v1.NotificationsRequest
*/
export const NotificationsRequest = proto3.makeMessageType(
"porter.v1.NotificationsRequest",
() => [
{ no: 1, name: "project_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 2, name: "notification_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 3, name: "app_revision_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 4, name: "app_instance_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
],
);

/**
* NotificationResponse is the response object for Notification
*
* @generated from message porter.v1.NotificationsResponse
*/
export const NotificationsResponse = proto3.makeMessageType(
"porter.v1.NotificationsResponse",
() => [
{ no: 1, name: "notification", kind: "message", T: Notification, repeated: true },
],
);

/**
* ConnectHostedProjectRequest is the request object for connecting a hosted project to a host cluster
*
Expand Down
Loading