shoebill/proto/shoebill.proto
2023-11-07 03:28:13 +01:00

54 lines
726 B
Protocol Buffer

syntax = "proto3";
package shoebill;
service Repo {
rpc Download (Bundle) returns (Bundle);
}
message Bundle {
BundleDefinition Definition = 1;
BundleType Type = 2;
}
message BundleDefinition {
Metadata Metadata = 1;
Spec Spec = 2;
}
message Metadata {
string Name = 1;
string Version = 2;
repeated Maintainer Maintainers = 3;
}
message Spec {
string Type = 1;
Image Image = 2;
}
message Image {
string Repository = 1;
string Tag = 2;
}
enum BundleType {
TYPE_UNSPECIFIED = 0;
TYPE_PACKAGE = 1;
TYPE_LIBRARY = 2;
}
message Maintainer {
string Name = 1;
string Email = 2;
string Website = 3;
}
message Workload {
string Kind = 1;
int32 Replicas = 2;
}
message Container {
}