mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-09 18:05:40 +02:00
* somehow now the only thing that doesnt work is devices.Device Signed-off-by: Joe Kimmel <jkimmel@vmware.com> * this gets rid of all the compiler errors in the vendored code Signed-off-by: Joe Kimmel <jkimmel@vmware.com> * fixed some things but a bunch of tests and maybe some compiler steps are still failing Signed-off-by: Joe Kimmel <jkimmel@vmware.com> * all the things i figured out how to fix so far Signed-off-by: Joe Kimmel <jkimmel@vmware.com> * guess i had to redo go mods after rebasing again Signed-off-by: Joe Kimmel <jkimmel@vmware.com> * update docker constants to be SHOUTY CASE now Signed-off-by: Joe Kimmel <jkimmel@vmware.com> * include DestPath in resolveEnv Signed-off-by: Joe Kimmel <jkimmel@vmware.com> * fix one mistake in Docker lib upgrade and some typos/deprecations in the file Signed-off-by: Joe Kimmel <jkimmel@vmware.com> * last changes (hopefully) to update to new docker libs Signed-off-by: Joe Kimmel <jkimmel@vmware.com> --------- Signed-off-by: Joe Kimmel <jkimmel@vmware.com>
46 lines
1.3 KiB
Protocol Buffer
46 lines
1.3 KiB
Protocol Buffer
syntax = "proto3";
|
|
|
|
package docker.swarmkit.v1;
|
|
|
|
import "github.com/docker/swarmkit/api/objects.proto";
|
|
import "github.com/docker/swarmkit/api/raft.proto";
|
|
import weak "gogoproto/gogo.proto";
|
|
|
|
// StoreSnapshot is used to store snapshots of the store.
|
|
message StoreSnapshot {
|
|
// TODO(aaronl): The current method of assembling a StoreSnapshot
|
|
// structure and marshalling it is not optimal. It may be better to
|
|
// write out nodes, networks, tasks, etc. one at a time to an io.Writer
|
|
// using gogo-protobuf's io.DelimitedWriter. A new value of the version
|
|
// field could support this approach.
|
|
|
|
repeated Node nodes = 1;
|
|
repeated Service services = 2;
|
|
repeated Network networks = 3;
|
|
repeated Task tasks = 4;
|
|
repeated Cluster clusters = 5;
|
|
repeated Secret secrets = 6;
|
|
repeated Resource resources = 7;
|
|
repeated Extension extensions = 8;
|
|
repeated Config configs = 9;
|
|
repeated Volume volumes = 10;
|
|
}
|
|
|
|
// ClusterSnapshot stores cluster membership information in snapshots.
|
|
message ClusterSnapshot {
|
|
repeated RaftMember members = 1;
|
|
repeated uint64 removed = 2 [packed=false];
|
|
}
|
|
|
|
message Snapshot {
|
|
enum Version {
|
|
// V0 is the initial version of the StoreSnapshot message.
|
|
V0 = 0;
|
|
}
|
|
|
|
Version version = 1;
|
|
|
|
ClusterSnapshot membership = 2 [(gogoproto.nullable) = false];
|
|
StoreSnapshot store = 3 [(gogoproto.nullable) = false];
|
|
}
|