Skip to content

Commit

Permalink
delete cloud contract resources
Browse files Browse the repository at this point in the history
  • Loading branch information
Feroze Mohideen committed Mar 19, 2024
1 parent db1c056 commit 8e2724b
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 32 deletions.
53 changes: 27 additions & 26 deletions generated/go/porter/v1/cloud_contract.pb.go

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

6 changes: 3 additions & 3 deletions generated/js/src/porter/v1/cloud_contract_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ export declare class CloudContractDeletionRevision extends Message<CloudContract
projectId: number;

/**
* cloud_contract includes all resources that should be deleted
* cloud_contract_deletions includes all resources that should be deleted
*
* @generated from field: porter.v1.CloudContract cloud_contract = 2;
* @generated from field: porter.v1.CloudContract cloud_contract_deletions = 2;
*/
cloudContract?: CloudContract;
cloudContractDeletions?: CloudContract;

constructor(data?: PartialMessage<CloudContractDeletionRevision>);

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
Expand Up @@ -40,7 +40,7 @@ export const CloudContractDeletionRevision = proto3.makeMessageType(
"porter.v1.CloudContractDeletionRevision",
() => [
{ no: 1, name: "project_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
{ no: 2, name: "cloud_contract", kind: "message", T: CloudContract },
{ no: 2, name: "cloud_contract_deletions", kind: "message", T: CloudContract },
],
);

4 changes: 2 additions & 2 deletions porter/v1/cloud_contract.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ message CloudContractRevision {
// CloudContractDeletionRevision represents a collection of resources that should be deleted
message CloudContractDeletionRevision {
int32 project_id = 1;
// cloud_contract includes all resources that should be deleted
CloudContract cloud_contract = 2;
// cloud_contract_deletions includes all resources that should be deleted
CloudContract cloud_contract_deletions = 2;
}

0 comments on commit 8e2724b

Please sign in to comment.