Thomas E Lackey
fc2987a5ca
``` message DnsRecord { string type = 1 [(gogoproto.moretags) = "json:\"type\" yaml:\"type\""]; string name = 2 [(gogoproto.moretags) = "json:\"name\" yaml:\"name\""]; string version = 3 [(gogoproto.moretags) = "json:\"version\" yaml:\"version\""]; 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\""]; repeated string tags = 21 [(gogoproto.moretags) = "json:\"tags\" yaml:\"tags\""]; } message ApplicationDeploymentRequest { string type = 1 [(gogoproto.moretags) = "json:\"type\" yaml:\"type\""]; string name = 2 [(gogoproto.moretags) = "json:\"name\" yaml:\"name\""]; string version = 3 [(gogoproto.moretags) = "json:\"version\" yaml:\"version\""]; string application = 4 [(gogoproto.moretags) = "json:\"application\" yaml:\"application\""]; string dns = 5 [(gogoproto.moretags) = "json:\"dns\" yaml:\"dns\""]; 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\""]; repeated string tags = 21 [(gogoproto.moretags) = "json:\"tags\" yaml:\"tags\""]; } ``` Also rename WebAppDeploymentRecord to ApplicationDeploymentRecord. Reviewed-on: cerc-io/laconic-sdk#48 Reviewed-by: David Boreham <dboreham@noreply.git.vdb.to> Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com> Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
99 lines
6.3 KiB
Protocol Buffer
99 lines
6.3 KiB
Protocol Buffer
syntax = "proto3";
|
|
package vulcanize.registry.v1beta1;
|
|
|
|
import "gogoproto/gogo.proto";
|
|
|
|
option go_package = "github.com/cerc-io/laconicd/x/registry/types";
|
|
|
|
message ServiceProviderRegistration {
|
|
string bond_id = 1 [(gogoproto.moretags) = "json:\"bondId\" yaml:\"bondId\""];
|
|
string laconic_id = 2 [(gogoproto.moretags) = "json:\"laconicId\" yaml:\"laconicId\""];
|
|
X500 x500 = 3 [(gogoproto.moretags) = "json:\"x500\" yaml:\"x500\""];
|
|
string type = 4 [(gogoproto.moretags) = "json:\"type\" yaml:\"type\""];
|
|
string version = 6 [(gogoproto.moretags) = "json:\"version\" yaml:\"version\""];
|
|
}
|
|
|
|
message X500 {
|
|
string common_name = 1 [(gogoproto.moretags) = "json:\"commonName\" yaml:\"commonName\""];
|
|
string organization_unit = 2 [(gogoproto.moretags) = "json:\"organizationUnit\" yaml:\"organizationUnit\""];
|
|
string organization_name = 3 [(gogoproto.moretags) = "json:\"organizationName\" yaml:\"organizationName\""];
|
|
string locality_name = 4 [(gogoproto.moretags) = "json:\"localityName\" yaml:\"localityName\""];
|
|
string state_name = 5 [(gogoproto.moretags) = "json:\"stateName\" yaml:\"stateName\""];
|
|
string country = 6 [(gogoproto.moretags) = "json:\"country\" yaml:\"country\""];
|
|
}
|
|
|
|
message WebsiteRegistrationRecord {
|
|
string url = 1 [(gogoproto.moretags) = "json:\"url\" yaml:\"url\""];
|
|
string repo_registration_record_cid = 2
|
|
[(gogoproto.moretags) = "json:\"repoRegistrationRecordCID\" yaml:\"repoRegistrationRecordCID\""];
|
|
string build_artifact_cid = 3 [(gogoproto.moretags) = "json:\"buildArtifactCID\" yaml:\"buildArtifactCID\""];
|
|
string tls_cert_cid = 4 [(gogoproto.moretags) = "json:\"TLSCertCID\" yaml:\"TLSCertCID\""];
|
|
string type = 5 [(gogoproto.moretags) = "json:\"type\" yaml:\"type\""];
|
|
string version = 6 [(gogoproto.moretags) = "json:\"version\" yaml:\"version\""];
|
|
}
|
|
|
|
message ApplicationRecord {
|
|
string type = 1 [(gogoproto.moretags) = "json:\"type\" yaml:\"type\""];
|
|
string name = 2 [(gogoproto.moretags) = "json:\"name\" yaml:\"name\""];
|
|
string description = 3 [(gogoproto.moretags) = "json:\"description\" yaml:\"description\""];
|
|
string version = 4 [(gogoproto.moretags) = "json:\"version\" yaml:\"version\""];
|
|
string homepage = 5 [(gogoproto.moretags) = "json:\"homepage\" yaml:\"homepage\""];
|
|
string license = 6 [(gogoproto.moretags) = "json:\"license\" yaml:\"license\""];
|
|
string author = 7 [(gogoproto.moretags) = "json:\"author\" yaml:\"author\""];
|
|
string repository = 8 [(gogoproto.moretags) = "json:\"repository\" yaml:\"repository\""];
|
|
string repository_ref = 9 [(gogoproto.moretags) = "json:\"repositoryRef\" yaml:\"repositoryRef\""];
|
|
string app_version = 10 [(gogoproto.moretags) = "json:\"appVersion\" yaml:\"appVersion\""];
|
|
string app_type = 11 [(gogoproto.moretags) = "json:\"appType\" yaml:\"appType\""];
|
|
string engines = 12 [(gogoproto.moretags) = "json:\"engines\" yaml:\"engines\""];
|
|
repeated string os = 13 [(gogoproto.moretags) = "json:\"os\" yaml:\"os\""];
|
|
repeated string cpu = 14 [(gogoproto.moretags) = "json:\"cpu\" yaml:\"cpu\""];
|
|
string meta = 20 [(gogoproto.moretags) = "json:\"meta\" yaml:\"meta\""];
|
|
repeated string tags = 21 [(gogoproto.moretags) = "json:\"tags\" yaml:\"tags\""];
|
|
}
|
|
|
|
message DnsRecord {
|
|
string type = 1 [(gogoproto.moretags) = "json:\"type\" yaml:\"type\""];
|
|
string name = 2 [(gogoproto.moretags) = "json:\"name\" yaml:\"name\""];
|
|
string version = 3 [(gogoproto.moretags) = "json:\"version\" yaml:\"version\""];
|
|
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\""];
|
|
repeated string tags = 21 [(gogoproto.moretags) = "json:\"tags\" yaml:\"tags\""];
|
|
}
|
|
|
|
message ApplicationDeploymentRequest {
|
|
string type = 1 [(gogoproto.moretags) = "json:\"type\" yaml:\"type\""];
|
|
string name = 2 [(gogoproto.moretags) = "json:\"name\" yaml:\"name\""];
|
|
string version = 3 [(gogoproto.moretags) = "json:\"version\" yaml:\"version\""];
|
|
string application = 4 [(gogoproto.moretags) = "json:\"application\" yaml:\"application\""];
|
|
string dns = 5 [(gogoproto.moretags) = "json:\"dns\" yaml:\"dns\""];
|
|
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\""];
|
|
repeated string tags = 21 [(gogoproto.moretags) = "json:\"tags\" yaml:\"tags\""];
|
|
}
|
|
|
|
message ApplicationDeploymentRecord {
|
|
string type = 1 [(gogoproto.moretags) = "json:\"type\" yaml:\"type\""];
|
|
string name = 2 [(gogoproto.moretags) = "json:\"name\" yaml:\"name\""];
|
|
string description = 3 [(gogoproto.moretags) = "json:\"description\" yaml:\"description\""];
|
|
string version = 4 [(gogoproto.moretags) = "json:\"version\" yaml:\"version\""];
|
|
string application = 5 [(gogoproto.moretags) = "json:\"application\" yaml:\"application\""];
|
|
string url = 6 [(gogoproto.moretags) = "json:\"url\" yaml:\"url\""];
|
|
string dns = 7 [(gogoproto.moretags) = "json:\"dns\" yaml:\"dns\""];
|
|
string request = 8 [(gogoproto.moretags) = "json:\"request\" yaml:\"request\""];
|
|
string meta = 20 [(gogoproto.moretags) = "json:\"meta\" yaml:\"meta\""];
|
|
repeated string tags = 21 [(gogoproto.moretags) = "json:\"tags\" yaml:\"tags\""];
|
|
}
|
|
|
|
message GeneralRecord {
|
|
string type = 1 [(gogoproto.moretags) = "json:\"type\" yaml:\"type\""];
|
|
string name = 2 [(gogoproto.moretags) = "json:\"name\" yaml:\"name\""];
|
|
string description = 3 [(gogoproto.moretags) = "json:\"description\" yaml:\"description\""];
|
|
string version = 4 [(gogoproto.moretags) = "json:\"version\" yaml:\"version\""];
|
|
string category = 5 [(gogoproto.moretags) = "json:\"category\" yaml:\"category\""];
|
|
string value = 6 [(gogoproto.moretags) = "json:\"value\" yaml:\"value\""];
|
|
string meta = 20 [(gogoproto.moretags) = "json:\"meta\" yaml:\"meta\""];
|
|
repeated string tags = 21 [(gogoproto.moretags) = "json:\"tags\" yaml:\"tags\""];
|
|
}
|