Skip to content

Commit

Permalink
push latest version of APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
rig-bot committed Jun 3, 2024
1 parent 3b5569e commit b57c293
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions api/v1/capsule/status_pb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { Message, proto3, protoInt64, Timestamp } from "@bufbuild/protobuf";
import { ObjectState, ObjectStatus } from "../../../operator/api/v1/pipeline/object_status_pb.js";
import { StageInfo, State, StepInfo } from "./rollout/status_pb.js";
import { Author } from "../../../model/author_pb.js";
import { HorizontalScale, HostRoute } from "./change_pb.js";
import { HorizontalScale, HostRoute, Resources } from "./change_pb.js";

/**
* @generated from enum api.v1.capsule.Transition
Expand Down Expand Up @@ -177,13 +177,6 @@ export class RolloutStatus extends Message<RolloutStatus> {
*/
stages?: RolloutStages;

/**
* The error message if the rollout failed
*
* @generated from field: string error_message = 4;
*/
errorMessage = "";

/**
* The hash of the commit containing the changes
*
Expand Down Expand Up @@ -219,7 +212,6 @@ export class RolloutStatus extends Message<RolloutStatus> {
{ no: 1, name: "rollout_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
{ no: 2, name: "current_stage", kind: "enum", T: proto3.getEnumType(State) },
{ no: 3, name: "stages", kind: "message", T: RolloutStages },
{ no: 4, name: "error_message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 5, name: "commit_hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 6, name: "commit_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 7, name: "created_at", kind: "message", T: Timestamp },
Expand Down Expand Up @@ -427,6 +419,11 @@ export class ContainerConfig extends Message<ContainerConfig> {
*/
scale?: HorizontalScale;

/**
* @generated from field: api.v1.capsule.Resources resources = 6;
*/
resources?: Resources;

constructor(data?: PartialMessage<ContainerConfig>) {
super();
proto3.util.initPartial(data, this);
Expand All @@ -440,6 +437,7 @@ export class ContainerConfig extends Message<ContainerConfig> {
{ no: 3, name: "args", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
{ no: 4, name: "environment_variables", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
{ no: 5, name: "scale", kind: "message", T: HorizontalScale },
{ no: 6, name: "resources", kind: "message", T: Resources },
]);

static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ContainerConfig {
Expand Down

0 comments on commit b57c293

Please sign in to comment.