|
| 1 | +// @generated by protoc-gen-es v1.9.0 |
| 2 | +// @generated from file porter/v1/deployment_target.proto (package porter.v1, syntax proto3) |
| 3 | +/* eslint-disable */ |
| 4 | +// @ts-nocheck |
| 5 | + |
| 6 | +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; |
| 7 | +import { Message, proto3 } from "@bufbuild/protobuf"; |
| 8 | + |
| 9 | +/** |
| 10 | + * DeploymentTargetIdentifier is the object that identifies a deployment target. One of id or name must be provided, with id taking precedence. |
| 11 | + * |
| 12 | + * @generated from message porter.v1.DeploymentTargetIdentifier |
| 13 | + */ |
| 14 | +export declare class DeploymentTargetIdentifier extends Message<DeploymentTargetIdentifier> { |
| 15 | + /** |
| 16 | + * id is the id of the deployment target |
| 17 | + * |
| 18 | + * @generated from field: string id = 1; |
| 19 | + */ |
| 20 | + id: string; |
| 21 | + |
| 22 | + /** |
| 23 | + * name is the name of the deployment target |
| 24 | + * |
| 25 | + * @generated from field: string name = 2; |
| 26 | + */ |
| 27 | + name: string; |
| 28 | + |
| 29 | + constructor(data?: PartialMessage<DeploymentTargetIdentifier>); |
| 30 | + |
| 31 | + static readonly runtime: typeof proto3; |
| 32 | + static readonly typeName = "porter.v1.DeploymentTargetIdentifier"; |
| 33 | + static readonly fields: FieldList; |
| 34 | + |
| 35 | + static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeploymentTargetIdentifier; |
| 36 | + |
| 37 | + static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeploymentTargetIdentifier; |
| 38 | + |
| 39 | + static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeploymentTargetIdentifier; |
| 40 | + |
| 41 | + static equals(a: DeploymentTargetIdentifier | PlainMessage<DeploymentTargetIdentifier> | undefined, b: DeploymentTargetIdentifier | PlainMessage<DeploymentTargetIdentifier> | undefined): boolean; |
| 42 | +} |
| 43 | + |
| 44 | +/** |
| 45 | + * @generated from message porter.v1.DeploymentTarget |
| 46 | + */ |
| 47 | +export declare class DeploymentTarget extends Message<DeploymentTarget> { |
| 48 | + /** |
| 49 | + * @generated from field: int64 project_id = 1; |
| 50 | + */ |
| 51 | + projectId: bigint; |
| 52 | + |
| 53 | + /** |
| 54 | + * name is the vanity name for the deployment target |
| 55 | + * |
| 56 | + * @generated from field: string name = 2; |
| 57 | + */ |
| 58 | + name: string; |
| 59 | + |
| 60 | + /** |
| 61 | + * namespace is the namespace that the deployment target points to |
| 62 | + * |
| 63 | + * @generated from field: string namespace = 3; |
| 64 | + */ |
| 65 | + namespace: string; |
| 66 | + |
| 67 | + /** |
| 68 | + * cluster_id is the id of the cluster that the deployment target points to |
| 69 | + * |
| 70 | + * @generated from field: int64 cluster_id = 4; |
| 71 | + */ |
| 72 | + clusterId: bigint; |
| 73 | + |
| 74 | + /** |
| 75 | + * is_preview indicates whether this is a preview deployment target or not |
| 76 | + * |
| 77 | + * @generated from field: bool is_preview = 5; |
| 78 | + */ |
| 79 | + isPreview: boolean; |
| 80 | + |
| 81 | + /** |
| 82 | + * is_default indicates whether this is the default deployment target for the cluster |
| 83 | + * |
| 84 | + * @generated from field: bool is_default = 6; |
| 85 | + */ |
| 86 | + isDefault: boolean; |
| 87 | + |
| 88 | + /** |
| 89 | + * id is the id of the deployment target |
| 90 | + * |
| 91 | + * @generated from field: string id = 7; |
| 92 | + */ |
| 93 | + id: string; |
| 94 | + |
| 95 | + /** |
| 96 | + * metadata is the metadata for the deployment target, if any |
| 97 | + * |
| 98 | + * @generated from field: porter.v1.DeploymentTargetMeta metadata = 8; |
| 99 | + */ |
| 100 | + metadata?: DeploymentTargetMeta; |
| 101 | + |
| 102 | + constructor(data?: PartialMessage<DeploymentTarget>); |
| 103 | + |
| 104 | + static readonly runtime: typeof proto3; |
| 105 | + static readonly typeName = "porter.v1.DeploymentTarget"; |
| 106 | + static readonly fields: FieldList; |
| 107 | + |
| 108 | + static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeploymentTarget; |
| 109 | + |
| 110 | + static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeploymentTarget; |
| 111 | + |
| 112 | + static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeploymentTarget; |
| 113 | + |
| 114 | + static equals(a: DeploymentTarget | PlainMessage<DeploymentTarget> | undefined, b: DeploymentTarget | PlainMessage<DeploymentTarget> | undefined): boolean; |
| 115 | +} |
| 116 | + |
| 117 | +/** |
| 118 | + * @generated from message porter.v1.DeploymentTargetMeta |
| 119 | + */ |
| 120 | +export declare class DeploymentTargetMeta extends Message<DeploymentTargetMeta> { |
| 121 | + /** |
| 122 | + * pull_request is information about the pull request that triggered the deployment, if applicable |
| 123 | + * |
| 124 | + * @generated from field: porter.v1.PullRequest pull_request = 1; |
| 125 | + */ |
| 126 | + pullRequest?: PullRequest; |
| 127 | + |
| 128 | + constructor(data?: PartialMessage<DeploymentTargetMeta>); |
| 129 | + |
| 130 | + static readonly runtime: typeof proto3; |
| 131 | + static readonly typeName = "porter.v1.DeploymentTargetMeta"; |
| 132 | + static readonly fields: FieldList; |
| 133 | + |
| 134 | + static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeploymentTargetMeta; |
| 135 | + |
| 136 | + static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeploymentTargetMeta; |
| 137 | + |
| 138 | + static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeploymentTargetMeta; |
| 139 | + |
| 140 | + static equals(a: DeploymentTargetMeta | PlainMessage<DeploymentTargetMeta> | undefined, b: DeploymentTargetMeta | PlainMessage<DeploymentTargetMeta> | undefined): boolean; |
| 141 | +} |
| 142 | + |
| 143 | +/** |
| 144 | + * @generated from message porter.v1.PullRequest |
| 145 | + */ |
| 146 | +export declare class PullRequest extends Message<PullRequest> { |
| 147 | + /** |
| 148 | + * repository is the repository that the pull request is in |
| 149 | + * |
| 150 | + * @generated from field: string repository = 1; |
| 151 | + */ |
| 152 | + repository: string; |
| 153 | + |
| 154 | + /** |
| 155 | + * number is the number of the pull request |
| 156 | + * |
| 157 | + * @generated from field: int64 number = 2; |
| 158 | + */ |
| 159 | + number: bigint; |
| 160 | + |
| 161 | + /** |
| 162 | + * head_ref is the head ref of the pull request |
| 163 | + * |
| 164 | + * @generated from field: string head_ref = 3; |
| 165 | + */ |
| 166 | + headRef: string; |
| 167 | + |
| 168 | + constructor(data?: PartialMessage<PullRequest>); |
| 169 | + |
| 170 | + static readonly runtime: typeof proto3; |
| 171 | + static readonly typeName = "porter.v1.PullRequest"; |
| 172 | + static readonly fields: FieldList; |
| 173 | + |
| 174 | + static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PullRequest; |
| 175 | + |
| 176 | + static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PullRequest; |
| 177 | + |
| 178 | + static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PullRequest; |
| 179 | + |
| 180 | + static equals(a: PullRequest | PlainMessage<PullRequest> | undefined, b: PullRequest | PlainMessage<PullRequest> | undefined): boolean; |
| 181 | +} |
| 182 | + |
0 commit comments