mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-06 00:52:33 +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>
35 lines
1.0 KiB
Protocol Buffer
35 lines
1.0 KiB
Protocol Buffer
syntax = "proto3";
|
|
|
|
package docker.swarmkit.v1;
|
|
|
|
import "github.com/docker/swarmkit/api/types.proto";
|
|
import "gogoproto/gogo.proto";
|
|
import "github.com/docker/swarmkit/protobuf/plugin/plugin.proto";
|
|
|
|
// Allocator is the API provided by a manager group for agents to control the allocation of certain entities.
|
|
//
|
|
// API methods on this service are used only by agent nodes.
|
|
service ResourceAllocator {
|
|
rpc AttachNetwork(AttachNetworkRequest) returns (AttachNetworkResponse) {
|
|
option (docker.protobuf.plugin.tls_authorization) = { roles: "swarm-worker" roles: "swarm-manager" };
|
|
};
|
|
rpc DetachNetwork(DetachNetworkRequest) returns (DetachNetworkResponse) {
|
|
option (docker.protobuf.plugin.tls_authorization) = { roles: "swarm-worker" roles: "swarm-manager" };
|
|
};
|
|
}
|
|
|
|
message AttachNetworkRequest {
|
|
NetworkAttachmentConfig config = 1;
|
|
string container_id = 2;
|
|
}
|
|
|
|
message AttachNetworkResponse {
|
|
string attachment_id = 1;
|
|
}
|
|
|
|
message DetachNetworkRequest {
|
|
string attachment_id = 1;
|
|
}
|
|
|
|
message DetachNetworkResponse {}
|