Update docker, swarmkit, containerd v1.2.2

Also update the tests to account for the new "Builder" field
in docker info.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2019-02-02 14:14:12 +01:00
parent 7df6bb51ab
commit d034df736b
33 changed files with 1202 additions and 1860 deletions

View File

@ -205,6 +205,7 @@
EncryptionKey
ManagerStatus
FileTarget
RuntimeTarget
SecretReference
ConfigReference
BlacklistedCertificate

File diff suppressed because it is too large Load Diff

View File

@ -246,6 +246,8 @@ message Mount {
// Propagation mode of mount.
Propagation propagation = 1;
// allows non-recursive bind-mount, i.e. mount(2) with "bind" rather than "rbind".
bool nonrecursive = 2 [(gogoproto.customname) = "NonRecursive"];
}
// VolumeOptions contains parameters for mounting the volume.
@ -976,6 +978,12 @@ message FileTarget {
uint32 mode = 4 [(gogoproto.customtype) = "os.FileMode", (gogoproto.nullable) = false];
}
// RuntimeTarget represents that this secret is _not_ mounted into the
// container, but is used for some other purpose by the container runtime.
//
// Currently, RuntimeTarget has no fields; it's just a placeholder.
message RuntimeTarget {}
// SecretReference is the linkage between a service and a secret that it uses.
message SecretReference {
// SecretID represents the ID of the specific Secret that we're
@ -1003,9 +1011,10 @@ message ConfigReference {
// lookup/display purposes. The config in the reference will be identified by its ID.
string config_name = 2;
// Target specifies how this secret should be exposed to the task.
// Target specifies how this config should be exposed to the task.
oneof target {
FileTarget file = 3;
RuntimeTarget runtime = 4;
}
}
@ -1075,6 +1084,10 @@ message Privileges {
oneof source {
string file = 1;
string registry = 2;
// Config represents a Config ID from which to get the CredentialSpec.
// The Config MUST be included in the SecretReferences with a RuntimeTarget
string config = 3;
}
}
CredentialSpec credential_spec = 1;