Add DnsRecord and ApplicationDeploymentRequest #48
@ -54,8 +54,9 @@ message ApplicationRecord {
|
|||||||
message DnsRecord {
|
message DnsRecord {
|
||||||
string type = 1 [(gogoproto.moretags) = "json:\"type\" yaml:\"type\""];
|
string type = 1 [(gogoproto.moretags) = "json:\"type\" yaml:\"type\""];
|
||||||
string name = 2 [(gogoproto.moretags) = "json:\"name\" yaml:\"name\""];
|
string name = 2 [(gogoproto.moretags) = "json:\"name\" yaml:\"name\""];
|
||||||
string resource_type = 3 [(gogoproto.moretags) = "json:\"resourceType\" yaml:\"resourceType\""];
|
string version = 3 [(gogoproto.moretags) = "json:\"version\" yaml:\"version\""];
|
||||||
string value = 4 [(gogoproto.moretags) = "json:\"value\" yaml:\"value\""];
|
string resource_type = 4 [(gogoproto.moretags) = "json:\"resourceType\" yaml:\"resourceType\""];
|
||||||
|
string value = 5 [(gogoproto.moretags) = "json:\"value\" yaml:\"value\""];
|
||||||
string meta = 20 [(gogoproto.moretags) = "json:\"meta\" yaml:\"meta\""];
|
string meta = 20 [(gogoproto.moretags) = "json:\"meta\" yaml:\"meta\""];
|
||||||
repeated string tags = 21 [(gogoproto.moretags) = "json:\"tags\" yaml:\"tags\""];
|
repeated string tags = 21 [(gogoproto.moretags) = "json:\"tags\" yaml:\"tags\""];
|
||||||
}
|
}
|
||||||
@ -63,15 +64,16 @@ message DnsRecord {
|
|||||||
message ApplicationDeploymentRequest {
|
message ApplicationDeploymentRequest {
|
||||||
string type = 1 [(gogoproto.moretags) = "json:\"type\" yaml:\"type\""];
|
string type = 1 [(gogoproto.moretags) = "json:\"type\" yaml:\"type\""];
|
||||||
string name = 2 [(gogoproto.moretags) = "json:\"name\" yaml:\"name\""];
|
string name = 2 [(gogoproto.moretags) = "json:\"name\" yaml:\"name\""];
|
||||||
string version = 4 [(gogoproto.moretags) = "json:\"version\" yaml:\"version\""];
|
string version = 3 [(gogoproto.moretags) = "json:\"version\" yaml:\"version\""];
|
||||||
string application = 5 [(gogoproto.moretags) = "json:\"application\" yaml:\"application\""];
|
string application = 4 [(gogoproto.moretags) = "json:\"application\" yaml:\"application\""];
|
||||||
string dns = 6 [(gogoproto.moretags) = "json:\"dns\" yaml:\"dns\""];
|
string dns = 5 [(gogoproto.moretags) = "json:\"dns\" yaml:\"dns\""];
|
||||||
string config = 7 [(gogoproto.moretags) = "json:\"config\" yaml:\"config\""];
|
string config = 6 [(gogoproto.moretags) = "json:\"config\" yaml:\"config\""];
|
||||||
|
repeated string crn = 7 [(gogoproto.moretags) = "json:\"crn\" yaml:\"crn\""];
|
||||||
string meta = 20 [(gogoproto.moretags) = "json:\"meta\" yaml:\"meta\""];
|
string meta = 20 [(gogoproto.moretags) = "json:\"meta\" yaml:\"meta\""];
|
||||||
repeated string tags = 21 [(gogoproto.moretags) = "json:\"tags\" yaml:\"tags\""];
|
repeated string tags = 21 [(gogoproto.moretags) = "json:\"tags\" yaml:\"tags\""];
|
||||||
}
|
}
|
||||||
|
|
||||||
message WebAppDeploymentRecord {
|
message ApplicationDeploymentRecord {
|
||||||
string type = 1 [(gogoproto.moretags) = "json:\"type\" yaml:\"type\""];
|
string type = 1 [(gogoproto.moretags) = "json:\"type\" yaml:\"type\""];
|
||||||
string name = 2 [(gogoproto.moretags) = "json:\"name\" yaml:\"name\""];
|
string name = 2 [(gogoproto.moretags) = "json:\"name\" yaml:\"name\""];
|
||||||
string description = 3 [(gogoproto.moretags) = "json:\"description\" yaml:\"description\""];
|
string description = 3 [(gogoproto.moretags) = "json:\"description\" yaml:\"description\""];
|
||||||
|
@ -951,6 +951,7 @@ export namespace vulcanize.registry.v1beta1 {
|
|||||||
constructor(data?: any[] | {
|
constructor(data?: any[] | {
|
||||||
type?: string;
|
type?: string;
|
||||||
name?: string;
|
name?: string;
|
||||||
|
version?: string;
|
||||||
resource_type?: string;
|
resource_type?: string;
|
||||||
value?: string;
|
value?: string;
|
||||||
meta?: string;
|
meta?: string;
|
||||||
@ -965,6 +966,9 @@ export namespace vulcanize.registry.v1beta1 {
|
|||||||
if ("name" in data && data.name != undefined) {
|
if ("name" in data && data.name != undefined) {
|
||||||
this.name = data.name;
|
this.name = data.name;
|
||||||
}
|
}
|
||||||
|
if ("version" in data && data.version != undefined) {
|
||||||
|
this.version = data.version;
|
||||||
|
}
|
||||||
if ("resource_type" in data && data.resource_type != undefined) {
|
if ("resource_type" in data && data.resource_type != undefined) {
|
||||||
this.resource_type = data.resource_type;
|
this.resource_type = data.resource_type;
|
||||||
}
|
}
|
||||||
@ -991,18 +995,24 @@ export namespace vulcanize.registry.v1beta1 {
|
|||||||
set name(value: string) {
|
set name(value: string) {
|
||||||
pb_1.Message.setField(this, 2, value);
|
pb_1.Message.setField(this, 2, value);
|
||||||
}
|
}
|
||||||
get resource_type() {
|
get version() {
|
||||||
return pb_1.Message.getFieldWithDefault(this, 3, "") as string;
|
return pb_1.Message.getFieldWithDefault(this, 3, "") as string;
|
||||||
}
|
}
|
||||||
set resource_type(value: string) {
|
set version(value: string) {
|
||||||
pb_1.Message.setField(this, 3, value);
|
pb_1.Message.setField(this, 3, value);
|
||||||
}
|
}
|
||||||
get value() {
|
get resource_type() {
|
||||||
return pb_1.Message.getFieldWithDefault(this, 4, "") as string;
|
return pb_1.Message.getFieldWithDefault(this, 4, "") as string;
|
||||||
}
|
}
|
||||||
set value(value: string) {
|
set resource_type(value: string) {
|
||||||
pb_1.Message.setField(this, 4, value);
|
pb_1.Message.setField(this, 4, value);
|
||||||
}
|
}
|
||||||
|
get value() {
|
||||||
|
return pb_1.Message.getFieldWithDefault(this, 5, "") as string;
|
||||||
|
}
|
||||||
|
set value(value: string) {
|
||||||
|
pb_1.Message.setField(this, 5, value);
|
||||||
|
}
|
||||||
get meta() {
|
get meta() {
|
||||||
return pb_1.Message.getFieldWithDefault(this, 20, "") as string;
|
return pb_1.Message.getFieldWithDefault(this, 20, "") as string;
|
||||||
}
|
}
|
||||||
@ -1018,6 +1028,7 @@ export namespace vulcanize.registry.v1beta1 {
|
|||||||
static fromObject(data: {
|
static fromObject(data: {
|
||||||
type?: string;
|
type?: string;
|
||||||
name?: string;
|
name?: string;
|
||||||
|
version?: string;
|
||||||
resource_type?: string;
|
resource_type?: string;
|
||||||
value?: string;
|
value?: string;
|
||||||
meta?: string;
|
meta?: string;
|
||||||
@ -1030,6 +1041,9 @@ export namespace vulcanize.registry.v1beta1 {
|
|||||||
if (data.name != null) {
|
if (data.name != null) {
|
||||||
message.name = data.name;
|
message.name = data.name;
|
||||||
}
|
}
|
||||||
|
if (data.version != null) {
|
||||||
|
message.version = data.version;
|
||||||
|
}
|
||||||
if (data.resource_type != null) {
|
if (data.resource_type != null) {
|
||||||
message.resource_type = data.resource_type;
|
message.resource_type = data.resource_type;
|
||||||
}
|
}
|
||||||
@ -1048,6 +1062,7 @@ export namespace vulcanize.registry.v1beta1 {
|
|||||||
const data: {
|
const data: {
|
||||||
type?: string;
|
type?: string;
|
||||||
name?: string;
|
name?: string;
|
||||||
|
version?: string;
|
||||||
resource_type?: string;
|
resource_type?: string;
|
||||||
value?: string;
|
value?: string;
|
||||||
meta?: string;
|
meta?: string;
|
||||||
@ -1059,6 +1074,9 @@ export namespace vulcanize.registry.v1beta1 {
|
|||||||
if (this.name != null) {
|
if (this.name != null) {
|
||||||
data.name = this.name;
|
data.name = this.name;
|
||||||
}
|
}
|
||||||
|
if (this.version != null) {
|
||||||
|
data.version = this.version;
|
||||||
|
}
|
||||||
if (this.resource_type != null) {
|
if (this.resource_type != null) {
|
||||||
data.resource_type = this.resource_type;
|
data.resource_type = this.resource_type;
|
||||||
}
|
}
|
||||||
@ -1081,10 +1099,12 @@ export namespace vulcanize.registry.v1beta1 {
|
|||||||
writer.writeString(1, this.type);
|
writer.writeString(1, this.type);
|
||||||
if (this.name.length)
|
if (this.name.length)
|
||||||
writer.writeString(2, this.name);
|
writer.writeString(2, this.name);
|
||||||
|
if (this.version.length)
|
||||||
|
writer.writeString(3, this.version);
|
||||||
if (this.resource_type.length)
|
if (this.resource_type.length)
|
||||||
writer.writeString(3, this.resource_type);
|
writer.writeString(4, this.resource_type);
|
||||||
if (this.value.length)
|
if (this.value.length)
|
||||||
writer.writeString(4, this.value);
|
writer.writeString(5, this.value);
|
||||||
if (this.meta.length)
|
if (this.meta.length)
|
||||||
writer.writeString(20, this.meta);
|
writer.writeString(20, this.meta);
|
||||||
if (this.tags.length)
|
if (this.tags.length)
|
||||||
@ -1105,9 +1125,12 @@ export namespace vulcanize.registry.v1beta1 {
|
|||||||
message.name = reader.readString();
|
message.name = reader.readString();
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
message.resource_type = reader.readString();
|
message.version = reader.readString();
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
|
message.resource_type = reader.readString();
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
message.value = reader.readString();
|
message.value = reader.readString();
|
||||||
break;
|
break;
|
||||||
case 20:
|
case 20:
|
||||||
@ -1137,11 +1160,12 @@ export namespace vulcanize.registry.v1beta1 {
|
|||||||
application?: string;
|
application?: string;
|
||||||
dns?: string;
|
dns?: string;
|
||||||
config?: string;
|
config?: string;
|
||||||
|
crn?: string[];
|
||||||
meta?: string;
|
meta?: string;
|
||||||
tags?: string[];
|
tags?: string[];
|
||||||
}) {
|
}) {
|
||||||
super();
|
super();
|
||||||
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [21], this.#one_of_decls);
|
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [7, 21], this.#one_of_decls);
|
||||||
if (!Array.isArray(data) && typeof data == "object") {
|
if (!Array.isArray(data) && typeof data == "object") {
|
||||||
if ("type" in data && data.type != undefined) {
|
if ("type" in data && data.type != undefined) {
|
||||||
this.type = data.type;
|
this.type = data.type;
|
||||||
@ -1161,6 +1185,9 @@ export namespace vulcanize.registry.v1beta1 {
|
|||||||
if ("config" in data && data.config != undefined) {
|
if ("config" in data && data.config != undefined) {
|
||||||
this.config = data.config;
|
this.config = data.config;
|
||||||
}
|
}
|
||||||
|
if ("crn" in data && data.crn != undefined) {
|
||||||
|
this.crn = data.crn;
|
||||||
|
}
|
||||||
if ("meta" in data && data.meta != undefined) {
|
if ("meta" in data && data.meta != undefined) {
|
||||||
this.meta = data.meta;
|
this.meta = data.meta;
|
||||||
}
|
}
|
||||||
@ -1182,27 +1209,33 @@ export namespace vulcanize.registry.v1beta1 {
|
|||||||
pb_1.Message.setField(this, 2, value);
|
pb_1.Message.setField(this, 2, value);
|
||||||
}
|
}
|
||||||
get version() {
|
get version() {
|
||||||
return pb_1.Message.getFieldWithDefault(this, 4, "") as string;
|
return pb_1.Message.getFieldWithDefault(this, 3, "") as string;
|
||||||
}
|
}
|
||||||
set version(value: string) {
|
set version(value: string) {
|
||||||
pb_1.Message.setField(this, 4, value);
|
pb_1.Message.setField(this, 3, value);
|
||||||
}
|
}
|
||||||
get application() {
|
get application() {
|
||||||
return pb_1.Message.getFieldWithDefault(this, 5, "") as string;
|
return pb_1.Message.getFieldWithDefault(this, 4, "") as string;
|
||||||
}
|
}
|
||||||
set application(value: string) {
|
set application(value: string) {
|
||||||
pb_1.Message.setField(this, 5, value);
|
pb_1.Message.setField(this, 4, value);
|
||||||
}
|
}
|
||||||
get dns() {
|
get dns() {
|
||||||
return pb_1.Message.getFieldWithDefault(this, 6, "") as string;
|
return pb_1.Message.getFieldWithDefault(this, 5, "") as string;
|
||||||
}
|
}
|
||||||
set dns(value: string) {
|
set dns(value: string) {
|
||||||
pb_1.Message.setField(this, 6, value);
|
pb_1.Message.setField(this, 5, value);
|
||||||
}
|
}
|
||||||
get config() {
|
get config() {
|
||||||
return pb_1.Message.getFieldWithDefault(this, 7, "") as string;
|
return pb_1.Message.getFieldWithDefault(this, 6, "") as string;
|
||||||
}
|
}
|
||||||
set config(value: string) {
|
set config(value: string) {
|
||||||
|
pb_1.Message.setField(this, 6, value);
|
||||||
|
}
|
||||||
|
get crn() {
|
||||||
|
return pb_1.Message.getFieldWithDefault(this, 7, []) as string[];
|
||||||
|
}
|
||||||
|
set crn(value: string[]) {
|
||||||
pb_1.Message.setField(this, 7, value);
|
pb_1.Message.setField(this, 7, value);
|
||||||
}
|
}
|
||||||
get meta() {
|
get meta() {
|
||||||
@ -1224,6 +1257,7 @@ export namespace vulcanize.registry.v1beta1 {
|
|||||||
application?: string;
|
application?: string;
|
||||||
dns?: string;
|
dns?: string;
|
||||||
config?: string;
|
config?: string;
|
||||||
|
crn?: string[];
|
||||||
meta?: string;
|
meta?: string;
|
||||||
tags?: string[];
|
tags?: string[];
|
||||||
}): ApplicationDeploymentRequest {
|
}): ApplicationDeploymentRequest {
|
||||||
@ -1246,6 +1280,9 @@ export namespace vulcanize.registry.v1beta1 {
|
|||||||
if (data.config != null) {
|
if (data.config != null) {
|
||||||
message.config = data.config;
|
message.config = data.config;
|
||||||
}
|
}
|
||||||
|
if (data.crn != null) {
|
||||||
|
message.crn = data.crn;
|
||||||
|
}
|
||||||
if (data.meta != null) {
|
if (data.meta != null) {
|
||||||
message.meta = data.meta;
|
message.meta = data.meta;
|
||||||
}
|
}
|
||||||
@ -1262,6 +1299,7 @@ export namespace vulcanize.registry.v1beta1 {
|
|||||||
application?: string;
|
application?: string;
|
||||||
dns?: string;
|
dns?: string;
|
||||||
config?: string;
|
config?: string;
|
||||||
|
crn?: string[];
|
||||||
meta?: string;
|
meta?: string;
|
||||||
tags?: string[];
|
tags?: string[];
|
||||||
} = {};
|
} = {};
|
||||||
@ -1283,6 +1321,9 @@ export namespace vulcanize.registry.v1beta1 {
|
|||||||
if (this.config != null) {
|
if (this.config != null) {
|
||||||
data.config = this.config;
|
data.config = this.config;
|
||||||
}
|
}
|
||||||
|
if (this.crn != null) {
|
||||||
|
data.crn = this.crn;
|
||||||
|
}
|
||||||
if (this.meta != null) {
|
if (this.meta != null) {
|
||||||
data.meta = this.meta;
|
data.meta = this.meta;
|
||||||
}
|
}
|
||||||
@ -1300,13 +1341,15 @@ export namespace vulcanize.registry.v1beta1 {
|
|||||||
if (this.name.length)
|
if (this.name.length)
|
||||||
writer.writeString(2, this.name);
|
writer.writeString(2, this.name);
|
||||||
if (this.version.length)
|
if (this.version.length)
|
||||||
writer.writeString(4, this.version);
|
writer.writeString(3, this.version);
|
||||||
if (this.application.length)
|
if (this.application.length)
|
||||||
writer.writeString(5, this.application);
|
writer.writeString(4, this.application);
|
||||||
if (this.dns.length)
|
if (this.dns.length)
|
||||||
writer.writeString(6, this.dns);
|
writer.writeString(5, this.dns);
|
||||||
if (this.config.length)
|
if (this.config.length)
|
||||||
writer.writeString(7, this.config);
|
writer.writeString(6, this.config);
|
||||||
|
if (this.crn.length)
|
||||||
|
writer.writeRepeatedString(7, this.crn);
|
||||||
if (this.meta.length)
|
if (this.meta.length)
|
||||||
writer.writeString(20, this.meta);
|
writer.writeString(20, this.meta);
|
||||||
if (this.tags.length)
|
if (this.tags.length)
|
||||||
@ -1326,18 +1369,21 @@ export namespace vulcanize.registry.v1beta1 {
|
|||||||
case 2:
|
case 2:
|
||||||
message.name = reader.readString();
|
message.name = reader.readString();
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 3:
|
||||||
message.version = reader.readString();
|
message.version = reader.readString();
|
||||||
break;
|
break;
|
||||||
case 5:
|
case 4:
|
||||||
message.application = reader.readString();
|
message.application = reader.readString();
|
||||||
break;
|
break;
|
||||||
case 6:
|
case 5:
|
||||||
message.dns = reader.readString();
|
message.dns = reader.readString();
|
||||||
break;
|
break;
|
||||||
case 7:
|
case 6:
|
||||||
message.config = reader.readString();
|
message.config = reader.readString();
|
||||||
break;
|
break;
|
||||||
|
case 7:
|
||||||
|
pb_1.Message.addToRepeatedField(message, 7, reader.readString());
|
||||||
|
break;
|
||||||
case 20:
|
case 20:
|
||||||
message.meta = reader.readString();
|
message.meta = reader.readString();
|
||||||
break;
|
break;
|
||||||
@ -1356,7 +1402,7 @@ export namespace vulcanize.registry.v1beta1 {
|
|||||||
return ApplicationDeploymentRequest.deserialize(bytes);
|
return ApplicationDeploymentRequest.deserialize(bytes);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
export class WebAppDeploymentRecord extends pb_1.Message {
|
export class ApplicationDeploymentRecord extends pb_1.Message {
|
||||||
#one_of_decls: number[][] = [];
|
#one_of_decls: number[][] = [];
|
||||||
constructor(data?: any[] | {
|
constructor(data?: any[] | {
|
||||||
type?: string;
|
type?: string;
|
||||||
@ -1476,8 +1522,8 @@ export namespace vulcanize.registry.v1beta1 {
|
|||||||
request?: string;
|
request?: string;
|
||||||
meta?: string;
|
meta?: string;
|
||||||
tags?: string[];
|
tags?: string[];
|
||||||
}): WebAppDeploymentRecord {
|
}): ApplicationDeploymentRecord {
|
||||||
const message = new WebAppDeploymentRecord({});
|
const message = new ApplicationDeploymentRecord({});
|
||||||
if (data.type != null) {
|
if (data.type != null) {
|
||||||
message.type = data.type;
|
message.type = data.type;
|
||||||
}
|
}
|
||||||
@ -1582,8 +1628,8 @@ export namespace vulcanize.registry.v1beta1 {
|
|||||||
if (!w)
|
if (!w)
|
||||||
return writer.getResultBuffer();
|
return writer.getResultBuffer();
|
||||||
}
|
}
|
||||||
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): WebAppDeploymentRecord {
|
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): ApplicationDeploymentRecord {
|
||||||
const reader = bytes instanceof pb_1.BinaryReader ? bytes : new pb_1.BinaryReader(bytes), message = new WebAppDeploymentRecord();
|
const reader = bytes instanceof pb_1.BinaryReader ? bytes : new pb_1.BinaryReader(bytes), message = new ApplicationDeploymentRecord();
|
||||||
while (reader.nextField()) {
|
while (reader.nextField()) {
|
||||||
if (reader.isEndGroup())
|
if (reader.isEndGroup())
|
||||||
break;
|
break;
|
||||||
@ -1626,8 +1672,8 @@ export namespace vulcanize.registry.v1beta1 {
|
|||||||
serializeBinary(): Uint8Array {
|
serializeBinary(): Uint8Array {
|
||||||
return this.serialize();
|
return this.serialize();
|
||||||
}
|
}
|
||||||
static deserializeBinary(bytes: Uint8Array): WebAppDeploymentRecord {
|
static deserializeBinary(bytes: Uint8Array): ApplicationDeploymentRecord {
|
||||||
return WebAppDeploymentRecord.deserialize(bytes);
|
return ApplicationDeploymentRecord.deserialize(bytes);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
export class GeneralRecord extends pb_1.Message {
|
export class GeneralRecord extends pb_1.Message {
|
||||||
|
Loading…
Reference in New Issue
Block a user