shoebill/proto/shoebill.proto

54 lines
726 B
Protocol Buffer
Raw Normal View History

2023-11-05 20:36:05 +00:00
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;
2023-11-06 20:45:48 +00:00
Image Image = 2;
}
message Image {
string Repository = 1;
string Tag = 2;
2023-11-05 20:36:05 +00:00
}
enum BundleType {
TYPE_UNSPECIFIED = 0;
TYPE_PACKAGE = 1;
TYPE_LIBRARY = 2;
}
message Maintainer {
string Name = 1;
string Email = 2;
string Website = 3;
}
2023-11-07 02:28:13 +00:00
message Workload {
string Kind = 1;
int32 Replicas = 2;
}
message Container {
}