summaryrefslogtreecommitdiff
path: root/cluster.proto
blob: f81b89b3a1898d4d901e13986740556435f8a4b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
syntax = "proto3";
package virtpb;

import "google/protobuf/timestamp.proto";

message Cluster {
        string                      uuid         = 1;  // `autogenpb:unique`
        string                      URL          = 2;  // `autogenpb:unique`
        google.protobuf.Timestamp   ctime        = 3;  // when the cluster was created
}

message Clusters {                                     // `autogenpb:marshal`
        string                      uuid         = 1;  // `autogenpb:uuid:57ddd763-75f6-4003-bf0e-8dd0f8a44044`
        string                      version      = 2;  // `autogenpb:version:v0.0.1`
        repeated Cluster            clusters     = 3;
}