From 0656d042bf12c9a79be8932c7d35597a9f61db9f Mon Sep 17 00:00:00 2001 From: timfeirg Date: Tue, 21 Nov 2017 17:38:24 +0800 Subject: [PATCH] ExtraHosts made global rather than entrypoint-wise --- cluster/calcium/create_container.go | 2 +- rpc/gen/core.pb.go | 325 ++++---- rpc/gen/core.proto | 18 +- rpc/gen/core_pb2.py | 1088 ++++++--------------------- rpc/transform.go | 2 +- types/options.go | 1 + types/specs.go | 1 - 7 files changed, 422 insertions(+), 1015 deletions(-) diff --git a/cluster/calcium/create_container.go b/cluster/calcium/create_container.go index a6131deff..5c774b5db 100644 --- a/cluster/calcium/create_container.go +++ b/cluster/calcium/create_container.go @@ -311,7 +311,7 @@ func (c *calcium) makeContainerOptions(index int, quota types.CPUMap, opts *type NetworkMode: engineNetworkMode, RestartPolicy: enginecontainer.RestartPolicy{Name: restartPolicy, MaximumRetryCount: maximumRetryCount}, CapAdd: engineslice.StrSlice(capAdd), - ExtraHosts: entry.ExtraHosts, + ExtraHosts: opts.ExtraHosts, Privileged: entry.Privileged, Resources: resource, } diff --git a/rpc/gen/core.pb.go b/rpc/gen/core.pb.go index fc9597938..59e6c0796 100644 --- a/rpc/gen/core.pb.go +++ b/rpc/gen/core.pb.go @@ -1,5 +1,6 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. +// Code generated by protoc-gen-go. // source: core.proto +// DO NOT EDIT! /* Package pb is a generated protocol buffer package. @@ -1053,7 +1054,6 @@ type EntrypointOptions struct { Healcheck *HealthCheckOptions `protobuf:"bytes,7,opt,name=healcheck" json:"healcheck,omitempty"` Hook *HookOptions `protobuf:"bytes,8,opt,name=hook" json:"hook,omitempty"` RestartPolicy string `protobuf:"bytes,9,opt,name=restart_policy,json=restartPolicy" json:"restart_policy,omitempty"` - ExtraHosts []string `protobuf:"bytes,10,rep,name=extra_hosts,json=extraHosts" json:"extra_hosts,omitempty"` } func (m *EntrypointOptions) Reset() { *m = EntrypointOptions{} } @@ -1124,13 +1124,6 @@ func (m *EntrypointOptions) GetRestartPolicy() string { return "" } -func (m *EntrypointOptions) GetExtraHosts() []string { - if m != nil { - return m.ExtraHosts - } - return nil -} - type DeployOptions struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Entrypoint *EntrypointOptions `protobuf:"bytes,2,opt,name=entrypoint" json:"entrypoint,omitempty"` @@ -1143,14 +1136,15 @@ type DeployOptions struct { Count int32 `protobuf:"varint,9,opt,name=count" json:"count,omitempty"` Env []string `protobuf:"bytes,10,rep,name=env" json:"env,omitempty"` Dns []string `protobuf:"bytes,11,rep,name=dns" json:"dns,omitempty"` - Volumes []string `protobuf:"bytes,12,rep,name=volumes" json:"volumes,omitempty"` - Networks map[string]string `protobuf:"bytes,13,rep,name=networks" json:"networks,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - Networkmode string `protobuf:"bytes,14,opt,name=networkmode" json:"networkmode,omitempty"` - User string `protobuf:"bytes,15,opt,name=user" json:"user,omitempty"` - Debug bool `protobuf:"varint,16,opt,name=debug" json:"debug,omitempty"` - OpenStdin bool `protobuf:"varint,17,opt,name=openStdin" json:"openStdin,omitempty"` - Meta map[string]string `protobuf:"bytes,18,rep,name=meta" json:"meta,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - Nodelabels map[string]string `protobuf:"bytes,19,rep,name=nodelabels" json:"nodelabels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + ExtraHosts []string `protobuf:"bytes,12,rep,name=extra_hosts,json=extraHosts" json:"extra_hosts,omitempty"` + Volumes []string `protobuf:"bytes,13,rep,name=volumes" json:"volumes,omitempty"` + Networks map[string]string `protobuf:"bytes,14,rep,name=networks" json:"networks,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + Networkmode string `protobuf:"bytes,15,opt,name=networkmode" json:"networkmode,omitempty"` + User string `protobuf:"bytes,16,opt,name=user" json:"user,omitempty"` + Debug bool `protobuf:"varint,17,opt,name=debug" json:"debug,omitempty"` + OpenStdin bool `protobuf:"varint,18,opt,name=openStdin" json:"openStdin,omitempty"` + Meta map[string]string `protobuf:"bytes,19,rep,name=meta" json:"meta,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + Nodelabels map[string]string `protobuf:"bytes,20,rep,name=nodelabels" json:"nodelabels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` } func (m *DeployOptions) Reset() { *m = DeployOptions{} } @@ -1235,6 +1229,13 @@ func (m *DeployOptions) GetDns() []string { return nil } +func (m *DeployOptions) GetExtraHosts() []string { + if m != nil { + return m.ExtraHosts + } + return nil +} + func (m *DeployOptions) GetVolumes() []string { if m != nil { return m.Volumes @@ -2734,150 +2735,150 @@ func init() { proto.RegisterFile("core.proto", fileDescriptor0) } var fileDescriptor0 = []byte{ // 2323 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x19, 0x5d, 0x73, 0xdc, 0x48, - 0x31, 0xbb, 0x5a, 0xad, 0x77, 0x7b, 0xfd, 0x39, 0xe7, 0x0b, 0x42, 0xb9, 0x4b, 0x1c, 0xa5, 0xb8, - 0x04, 0x8a, 0xf8, 0x82, 0xc3, 0x25, 0x47, 0x02, 0xa9, 0x73, 0x6c, 0x5f, 0x12, 0xea, 0x12, 0x8c, - 0xf2, 0xc0, 0x0b, 0x85, 0x99, 0x95, 0xc6, 0x6b, 0x55, 0x76, 0x35, 0x42, 0xa3, 0x5d, 0x30, 0x6f, - 0x14, 0x7f, 0x81, 0xe2, 0x91, 0x57, 0x7e, 0x03, 0x55, 0xfc, 0x03, 0x1e, 0xf8, 0x0b, 0xfc, 0x12, - 0x8a, 0x9a, 0x9e, 0xd1, 0x68, 0xa4, 0xfd, 0x08, 0x0e, 0xc5, 0xd3, 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0xa5, 0x7c, 0x73, 0x08, 0xec, 0x2f, 0xfa, 0x66, 0xb3, 0x3b, 0x91, - 0xec, 0x6a, 0x45, 0x5c, 0xc5, 0x53, 0x7d, 0x22, 0x5c, 0xb2, 0x59, 0x54, 0xed, 0x25, 0x9b, 0x61, - 0x17, 0xff, 0x3b, 0x7c, 0xf8, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x0b, 0x82, 0xf4, 0x44, 0x49, + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x19, 0x5d, 0x73, 0x1b, 0x49, + 0x31, 0xd2, 0x4a, 0xb2, 0xd4, 0xf2, 0xe7, 0x9c, 0x2f, 0x2c, 0x9b, 0xbb, 0xc4, 0xd9, 0x14, 0x97, + 0x40, 0x11, 0x5f, 0x70, 0xb8, 0xe4, 0x48, 0x20, 0x75, 0x8e, 0xed, 0x4b, 0x42, 0x5d, 0x82, 0xd9, + 0x3c, 0xf0, 0x42, 0x61, 0x46, 0xbb, 0x63, 0x79, 0x2b, 0xd2, 0xce, 0xb2, 0x33, 0x32, 0x98, 0x37, + 0x8a, 0xbf, 0x40, 0xf1, 0x17, 0x78, 0xe3, 0x9d, 0x2a, 0xaa, 0xf8, 0x01, 0xfc, 0x09, 0x7e, 0x09, + 0x45, 0x4d, 0xcf, 0xec, 0xec, 0xec, 0x4a, 0x72, 0x70, 0x28, 0x9e, 0x34, 0xdd, 0xdb, 0xd3, 0xd3, + 0xdf, 0x3d, 0xd3, 0x02, 0x88, 0x79, 0xc1, 0x76, 0xf3, 0x82, 0x4b, 0x4e, 0xda, 0xf9, 0x28, 0x5c, + 0x81, 0xee, 0xd1, 0x34, 0x97, 0x17, 0xe1, 0x3b, 0xf8, 0xe8, 0x90, 0xe5, 0x13, 0x7e, 0xf1, 0x56, + 0x52, 0x39, 0x13, 0x3f, 0xcb, 0x65, 0xca, 0x33, 0x41, 0x7c, 0x58, 0xa1, 0x79, 0x9e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0x9e, 0x4e, 0x00, + 0x4d, 0x58, 0x6b, 0xa8, 0x81, 0x83, 0x32, 0xf9, 0x11, 0x5e, 0x23, 0x9f, 0xa3, 0x46, 0x6a, 0xfb, + 0xf3, 0x8b, 0x37, 0xf8, 0xe6, 0x7a, 0x8f, 0x9d, 0x9f, 0xc1, 0xd6, 0xdc, 0xd4, 0x94, 0x7c, 0x52, + 0x53, 0xba, 0x31, 0x4c, 0xad, 0x47, 0xd5, 0x53, 0x58, 0x57, 0xba, 0x3b, 0x36, 0xfc, 0x56, 0x95, + 0x22, 0xb5, 0xff, 0x85, 0x16, 0x98, 0xf2, 0x19, 0x40, 0xd5, 0xaa, 0x49, 0x35, 0x89, 0x70, 0xef, + 0x25, 0x41, 0x03, 0x6d, 0x75, 0x7d, 0xd0, 0x22, 0xfb, 0x30, 0x74, 0x8a, 0xa4, 0xf6, 0xc4, 0xfc, + 0xcd, 0x26, 0x68, 0xe2, 0x5d, 0x16, 0x87, 0xb0, 0xea, 0xca, 0xba, 0x5c, 0xfa, 0xb9, 0x0f, 0x2e, + 0x97, 0xaf, 0x00, 0xaa, 0x12, 0x62, 0x12, 0xa1, 0x59, 0x52, 0x82, 0x06, 0xda, 0xee, 0xbf, 0xd7, + 0x42, 0x39, 0x36, 0x1a, 0x3d, 0x8f, 0xcc, 0xd7, 0x9a, 0x20, 0x58, 0xde, 0x1b, 0x51, 0x8e, 0xd7, + 0xb0, 0xd1, 0xa8, 0xe9, 0x24, 0xa8, 0x94, 0x6f, 0x0e, 0x81, 0x83, 0x45, 0xdf, 0x5c, 0x76, 0x47, + 0x8a, 0x5d, 0xad, 0x88, 0xeb, 0x78, 0xaa, 0x4f, 0x84, 0x4b, 0x36, 0x8b, 0xaa, 0xbd, 0x62, 0x33, + 0xea, 0xe1, 0x7f, 0x87, 0x0f, 0xff, 0x13, 0x00, 0x00, 0xff, 0xff, 0xf6, 0xd9, 0x28, 0xb7, 0x49, 0x1c, 0x00, 0x00, } diff --git a/rpc/gen/core.proto b/rpc/gen/core.proto index c72700877..75e8abfbf 100644 --- a/rpc/gen/core.proto +++ b/rpc/gen/core.proto @@ -221,7 +221,6 @@ message EntrypointOptions { HealthCheckOptions healcheck = 7; HookOptions hook = 8; string restart_policy = 9; - repeated string extra_hosts = 10; } message DeployOptions { @@ -236,14 +235,15 @@ message DeployOptions { int32 count = 9; repeated string env = 10; repeated string dns = 11; - repeated string volumes = 12; - map networks = 13; - string networkmode = 14; - string user = 15; - bool debug = 16; - bool openStdin = 17; - map meta = 18; - map nodelabels = 19; + repeated string extra_hosts = 12; + repeated string volumes = 13; + map networks = 14; + string networkmode = 15; + string user = 16; + bool debug = 17; + bool openStdin = 18; + map meta = 19; + map nodelabels = 20; } message RemoveImageOptions { diff --git a/rpc/gen/core_pb2.py b/rpc/gen/core_pb2.py index 34b844050..6cfdf5494 100644 --- a/rpc/gen/core_pb2.py +++ b/rpc/gen/core_pb2.py @@ -19,7 +19,7 @@ name='core.proto', package='pb', syntax='proto3', - serialized_pb=_b('\n\ncore.proto\x12\x02pb\"\x07\n\x05\x45mpty\"L\n\x13\x44\x65ployStatusOptions\x12\x0f\n\x07\x61ppname\x18\x01 \x01(\t\x12\x12\n\nentrypoint\x18\x02 \x01(\t\x12\x10\n\x08nodename\x18\x03 \x01(\t\"v\n\x13\x44\x65ployStatusMessage\x12\x0e\n\x06\x61\x63tion\x18\x01 \x01(\t\x12\x0f\n\x07\x61ppname\x18\x02 \x01(\t\x12\x12\n\nentrypoint\x18\x03 \x01(\t\x12\x10\n\x08nodename\x18\x04 \x01(\t\x12\n\n\x02id\x18\x05 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x06 \x01(\x0c\"!\n\x03Pod\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x65sc\x18\x02 \x01(\t\"\x1d\n\x04Pods\x12\x15\n\x04pods\x18\x01 \x03(\x0b\x32\x07.pb.Pod\"5\n\x12ListNetworkOptions\x12\x0f\n\x07podname\x18\x01 \x01(\t\x12\x0e\n\x06\x64river\x18\x02 \x01(\t\"(\n\x07Network\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07subnets\x18\x02 \x03(\t\")\n\x08Networks\x12\x1d\n\x08networks\x18\x01 \x03(\x0b\x32\x0b.pb.Network\"\x89\x02\n\x04Node\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08\x65ndpoint\x18\x02 \x01(\t\x12\x0f\n\x07podname\x18\x03 \x01(\t\x12\x1e\n\x03\x63pu\x18\x04 \x03(\x0b\x32\x11.pb.Node.CpuEntry\x12\x0e\n\x06memory\x18\x05 \x01(\x03\x12\x0c\n\x04info\x18\x06 \x01(\t\x12\x11\n\tavailable\x18\x07 \x01(\x08\x12$\n\x06labels\x18\x08 \x03(\x0b\x32\x14.pb.Node.LabelsEntry\x1a*\n\x08\x43puEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\" \n\x05Nodes\x12\x17\n\x05nodes\x18\x01 \x03(\x0b\x32\x08.pb.Node\"E\n\rNodeAvailable\x12\x10\n\x08nodename\x18\x01 \x01(\t\x12\x0f\n\x07podname\x18\x02 \x01(\t\x12\x11\n\tavailable\x18\x03 \x01(\x08\"V\n\tContainer\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07podname\x18\x02 \x01(\t\x12\x10\n\x08nodename\x18\x03 \x01(\t\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x0c\n\x04info\x18\x05 \x01(\t\"k\n\x18\x43ontainerDeployedOptions\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07\x61ppname\x18\x02 \x01(\t\x12\x12\n\nentrypoint\x18\x03 \x01(\t\x12\x10\n\x08nodename\x18\x04 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x05 \x01(\x0c\"/\n\nContainers\x12!\n\ncontainers\x18\x01 \x03(\x0b\x32\r.pb.Container\"\x19\n\x0b\x43ontainerID\x12\n\n\x02id\x18\x01 \x01(\t\"\x1b\n\x0c\x43ontainerIDs\x12\x0b\n\x03ids\x18\x01 \x03(\t\"4\n\x16RemoveContainerOptions\x12\x0b\n\x03ids\x18\x01 \x03(\t\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\"7\n\x0eReallocOptions\x12\x0b\n\x03ids\x18\x01 \x03(\t\x12\x0b\n\x03\x63pu\x18\x02 \x01(\x01\x12\x0b\n\x03mem\x18\x03 \x01(\x03\":\n\rAddPodOptions\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05\x66\x61vor\x18\x02 \x01(\t\x12\x0c\n\x04\x64\x65sc\x18\x03 \x01(\t\" \n\x10RemovePodOptions\x12\x0c\n\x04name\x18\x01 \x01(\t\"\x1d\n\rGetPodOptions\x12\x0c\n\x04name\x18\x01 \x01(\t\"\xf7\x01\n\x0e\x41\x64\x64NodeOptions\x12\x10\n\x08nodename\x18\x01 \x01(\t\x12\x10\n\x08\x65ndpoint\x18\x02 \x01(\t\x12\x0f\n\x07podname\x18\x03 \x01(\t\x12\n\n\x02\x63\x61\x18\x04 \x01(\t\x12\x0c\n\x04\x63\x65rt\x18\x05 \x01(\t\x12\x0b\n\x03key\x18\x06 \x01(\t\x12\x0b\n\x03\x63pu\x18\x07 \x01(\x05\x12\r\n\x05share\x18\x08 \x01(\x03\x12\x0e\n\x06memory\x18\t \x01(\x03\x12.\n\x06labels\x18\n \x03(\x0b\x32\x1e.pb.AddNodeOptions.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"6\n\x11RemoveNodeOptions\x12\x10\n\x08nodename\x18\x01 \x01(\t\x12\x0f\n\x07podname\x18\x02 \x01(\t\"3\n\x0eGetNodeOptions\x12\x0f\n\x07podname\x18\x01 \x01(\t\x12\x10\n\x08nodename\x18\x02 \x01(\t\"0\n\x10ListNodesOptions\x12\x0f\n\x07podname\x18\x01 \x01(\t\x12\x0b\n\x03\x61ll\x18\x02 \x01(\x08\"\xfb\x03\n\x05\x42uild\x12\x0c\n\x04\x62\x61se\x18\x01 \x01(\t\x12\x0c\n\x04repo\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\t\x12\x0b\n\x03\x64ir\x18\x04 \x01(\t\x12\x10\n\x08\x63ommands\x18\x05 \x03(\t\x12!\n\x04\x65nvs\x18\x06 \x03(\x0b\x32\x13.pb.Build.EnvsEntry\x12!\n\x04\x61rgs\x18\x07 \x03(\x0b\x32\x13.pb.Build.ArgsEntry\x12%\n\x06labels\x18\x08 \x03(\x0b\x32\x15.pb.Build.LabelsEntry\x12+\n\tartifacts\x18\t \x03(\x0b\x32\x18.pb.Build.ArtifactsEntry\x12#\n\x05\x63\x61\x63he\x18\n \x03(\x0b\x32\x14.pb.Build.CacheEntry\x1a+\n\tEnvsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a+\n\tArgsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x30\n\x0e\x41rtifactsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a,\n\nCacheEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"z\n\x06\x42uilds\x12\x0e\n\x06stages\x18\x01 \x03(\t\x12&\n\x06\x62uilds\x18\x02 \x03(\x0b\x32\x16.pb.Builds.BuildsEntry\x1a\x38\n\x0b\x42uildsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x18\n\x05value\x18\x02 \x01(\x0b\x32\t.pb.Build:\x02\x38\x01\"e\n\x11\x42uildImageOptions\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04user\x18\x02 \x01(\t\x12\x0b\n\x03uid\x18\x03 \x01(\x05\x12\x0b\n\x03tag\x18\x04 \x01(\t\x12\x1a\n\x06\x62uilds\x18\x05 \x01(\x0b\x32\n.pb.Builds\"F\n\x0bHookOptions\x12\x13\n\x0b\x61\x66ter_start\x18\x01 \x03(\t\x12\x13\n\x0b\x62\x65\x66ore_stop\x18\x02 \x03(\t\x12\r\n\x05\x66orce\x18\x03 \x01(\x08\">\n\x12HealthCheckOptions\x12\r\n\x05ports\x18\x01 \x03(\t\x12\x0b\n\x03url\x18\x02 \x01(\t\x12\x0c\n\x04\x63ode\x18\x03 \x01(\x05\"\xef\x01\n\x11\x45ntrypointOptions\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x63ommand\x18\x02 \x01(\t\x12\x12\n\nprivileged\x18\x03 \x01(\x08\x12\x0b\n\x03\x64ir\x18\x04 \x01(\t\x12\x12\n\nlog_config\x18\x05 \x01(\t\x12\x0f\n\x07publish\x18\x06 \x03(\t\x12)\n\thealcheck\x18\x07 \x01(\x0b\x32\x16.pb.HealthCheckOptions\x12\x1d\n\x04hook\x18\x08 \x01(\x0b\x32\x0f.pb.HookOptions\x12\x16\n\x0erestart_policy\x18\t \x01(\t\x12\x13\n\x0b\x65xtra_hosts\x18\n \x03(\t\"\xd6\x04\n\rDeployOptions\x12\x0c\n\x04name\x18\x01 \x01(\t\x12)\n\nentrypoint\x18\x02 \x01(\x0b\x32\x15.pb.EntrypointOptions\x12\x0f\n\x07podname\x18\x03 \x01(\t\x12\x10\n\x08nodename\x18\x04 \x01(\t\x12\r\n\x05image\x18\x05 \x01(\t\x12\x12\n\nextra_args\x18\x06 \x01(\t\x12\x11\n\tcpu_quota\x18\x07 \x01(\x01\x12\x0e\n\x06memory\x18\x08 \x01(\x03\x12\r\n\x05\x63ount\x18\t \x01(\x05\x12\x0b\n\x03\x65nv\x18\n \x03(\t\x12\x0b\n\x03\x64ns\x18\x0b \x03(\t\x12\x0f\n\x07volumes\x18\x0c \x03(\t\x12\x31\n\x08networks\x18\r \x03(\x0b\x32\x1f.pb.DeployOptions.NetworksEntry\x12\x13\n\x0bnetworkmode\x18\x0e \x01(\t\x12\x0c\n\x04user\x18\x0f \x01(\t\x12\r\n\x05\x64\x65\x62ug\x18\x10 \x01(\x08\x12\x11\n\topenStdin\x18\x11 \x01(\x08\x12)\n\x04meta\x18\x12 \x03(\x0b\x32\x1b.pb.DeployOptions.MetaEntry\x12\x35\n\nnodelabels\x18\x13 \x03(\x0b\x32!.pb.DeployOptions.NodelabelsEntry\x1a/\n\rNetworksEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a+\n\tMetaEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x31\n\x0fNodelabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"G\n\x12RemoveImageOptions\x12\x0f\n\x07podname\x18\x01 \x01(\t\x12\x10\n\x08nodename\x18\x02 \x01(\t\x12\x0e\n\x06images\x18\x03 \x03(\t\"-\n\rBackupOptions\x12\n\n\x02id\x18\x01 \x01(\t\x12\x10\n\x08src_path\x18\x02 \x01(\t\",\n\x0b\x45rrorDetail\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x03\x12\x0f\n\x07message\x18\x02 \x01(\t\"\x87\x01\n\x11\x42uildImageMessage\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0e\n\x06status\x18\x02 \x01(\t\x12\x10\n\x08progress\x18\x03 \x01(\t\x12\r\n\x05\x65rror\x18\x04 \x01(\t\x12\x0e\n\x06stream\x18\x05 \x01(\t\x12%\n\x0c\x65rror_detail\x18\x06 \x01(\x0b\x32\x0f.pb.ErrorDetail\"\xdb\x02\n\x16\x43reateContainerMessage\x12\x0f\n\x07podname\x18\x01 \x01(\t\x12\x10\n\x08nodename\x18\x02 \x01(\t\x12\n\n\x02id\x18\x03 \x01(\t\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\r\n\x05\x65rror\x18\x05 \x01(\t\x12\x0f\n\x07success\x18\x06 \x01(\x08\x12\x30\n\x03\x63pu\x18\x07 \x03(\x0b\x32#.pb.CreateContainerMessage.CpuEntry\x12\x0e\n\x06memory\x18\x08 \x01(\x03\x12\x38\n\x07publish\x18\t \x03(\x0b\x32\'.pb.CreateContainerMessage.PublishEntry\x12\x0c\n\x04hook\x18\n \x01(\x0c\x1a*\n\x08\x43puEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01\x1a.\n\x0cPublishEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"7\n\x11RunAndWaitMessage\x12\x14\n\x0c\x63ontainer_id\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"F\n\x12RemoveImageMessage\x12\r\n\x05image\x18\x01 \x01(\t\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12\x10\n\x08messages\x18\x03 \x03(\t\"F\n\x16RemoveContainerMessage\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12\x0f\n\x07message\x18\x03 \x01(\t\"5\n\x16ReallocResourceMessage\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07success\x18\x02 \x01(\x08\"J\n\rBackupMessage\x12\x0e\n\x06status\x18\x01 \x01(\t\x12\x0c\n\x04size\x18\x02 \x01(\x03\x12\r\n\x05\x65rror\x18\x03 \x01(\t\x12\x0c\n\x04path\x18\x04 \x01(\t\"J\n\x11RunAndWaitOptions\x12(\n\rDeployOptions\x18\x01 \x01(\x0b\x32\x11.pb.DeployOptions\x12\x0b\n\x03\x43md\x18\x02 \x01(\x0c\x32\xfe\t\n\x07\x43oreRPC\x12!\n\x08ListPods\x12\t.pb.Empty\x1a\x08.pb.Pods\"\x00\x12&\n\x06\x41\x64\x64Pod\x12\x11.pb.AddPodOptions\x1a\x07.pb.Pod\"\x00\x12.\n\tRemovePod\x12\x14.pb.RemovePodOptions\x1a\t.pb.Empty\"\x00\x12&\n\x06GetPod\x12\x11.pb.GetPodOptions\x1a\x07.pb.Pod\"\x00\x12)\n\x07\x41\x64\x64Node\x12\x12.pb.AddNodeOptions\x1a\x08.pb.Node\"\x00\x12.\n\nRemoveNode\x12\x15.pb.RemoveNodeOptions\x1a\x07.pb.Pod\"\x00\x12)\n\x07GetNode\x12\x12.pb.GetNodeOptions\x1a\x08.pb.Node\"\x00\x12\x31\n\x0cListPodNodes\x12\x14.pb.ListNodesOptions\x1a\t.pb.Nodes\"\x00\x12\x30\n\x0cGetContainer\x12\x0f.pb.ContainerID\x1a\r.pb.Container\"\x00\x12\x33\n\rGetContainers\x12\x10.pb.ContainerIDs\x1a\x0e.pb.Containers\"\x00\x12\x36\n\x0cListNetworks\x12\x16.pb.ListNetworkOptions\x1a\x0c.pb.Networks\"\x00\x12\x31\n\x10SetNodeAvailable\x12\x11.pb.NodeAvailable\x1a\x08.pb.Node\"\x00\x12\x30\n\x06\x42\x61\x63kup\x12\x11.pb.BackupOptions\x1a\x11.pb.BackupMessage\"\x00\x12/\n\rGetNodeByName\x12\x12.pb.GetNodeOptions\x1a\x08.pb.Node\"\x00\x12>\n\x11\x43ontainerDeployed\x12\x1c.pb.ContainerDeployedOptions\x1a\t.pb.Empty\"\x00\x12;\n\x0eListContainers\x12\x17.pb.DeployStatusOptions\x1a\x0e.pb.Containers\"\x00\x12>\n\nBuildImage\x12\x15.pb.BuildImageOptions\x1a\x15.pb.BuildImageMessage\"\x00\x30\x01\x12\x41\n\x0bRemoveImage\x12\x16.pb.RemoveImageOptions\x1a\x16.pb.RemoveImageMessage\"\x00\x30\x01\x12\x44\n\x0c\x44\x65ployStatus\x12\x17.pb.DeployStatusOptions\x1a\x17.pb.DeployStatusMessage\"\x00\x30\x01\x12@\n\nRunAndWait\x12\x15.pb.RunAndWaitOptions\x1a\x15.pb.RunAndWaitMessage\"\x00(\x01\x30\x01\x12\x44\n\x0f\x43reateContainer\x12\x11.pb.DeployOptions\x1a\x1a.pb.CreateContainerMessage\"\x00\x30\x01\x12M\n\x0fRemoveContainer\x12\x1a.pb.RemoveContainerOptions\x1a\x1a.pb.RemoveContainerMessage\"\x00\x30\x01\x12\x45\n\x0fReallocResource\x12\x12.pb.ReallocOptions\x1a\x1a.pb.ReallocResourceMessage\"\x00\x30\x01\x62\x06proto3') + serialized_pb=_b('\n\ncore.proto\x12\x02pb\"\x07\n\x05\x45mpty\"L\n\x13\x44\x65ployStatusOptions\x12\x0f\n\x07\x61ppname\x18\x01 \x01(\t\x12\x12\n\nentrypoint\x18\x02 \x01(\t\x12\x10\n\x08nodename\x18\x03 \x01(\t\"v\n\x13\x44\x65ployStatusMessage\x12\x0e\n\x06\x61\x63tion\x18\x01 \x01(\t\x12\x0f\n\x07\x61ppname\x18\x02 \x01(\t\x12\x12\n\nentrypoint\x18\x03 \x01(\t\x12\x10\n\x08nodename\x18\x04 \x01(\t\x12\n\n\x02id\x18\x05 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x06 \x01(\x0c\"!\n\x03Pod\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x65sc\x18\x02 \x01(\t\"\x1d\n\x04Pods\x12\x15\n\x04pods\x18\x01 \x03(\x0b\x32\x07.pb.Pod\"5\n\x12ListNetworkOptions\x12\x0f\n\x07podname\x18\x01 \x01(\t\x12\x0e\n\x06\x64river\x18\x02 \x01(\t\"(\n\x07Network\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07subnets\x18\x02 \x03(\t\")\n\x08Networks\x12\x1d\n\x08networks\x18\x01 \x03(\x0b\x32\x0b.pb.Network\"\x89\x02\n\x04Node\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08\x65ndpoint\x18\x02 \x01(\t\x12\x0f\n\x07podname\x18\x03 \x01(\t\x12\x1e\n\x03\x63pu\x18\x04 \x03(\x0b\x32\x11.pb.Node.CpuEntry\x12\x0e\n\x06memory\x18\x05 \x01(\x03\x12\x0c\n\x04info\x18\x06 \x01(\t\x12\x11\n\tavailable\x18\x07 \x01(\x08\x12$\n\x06labels\x18\x08 \x03(\x0b\x32\x14.pb.Node.LabelsEntry\x1a*\n\x08\x43puEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\" \n\x05Nodes\x12\x17\n\x05nodes\x18\x01 \x03(\x0b\x32\x08.pb.Node\"E\n\rNodeAvailable\x12\x10\n\x08nodename\x18\x01 \x01(\t\x12\x0f\n\x07podname\x18\x02 \x01(\t\x12\x11\n\tavailable\x18\x03 \x01(\x08\"V\n\tContainer\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07podname\x18\x02 \x01(\t\x12\x10\n\x08nodename\x18\x03 \x01(\t\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x0c\n\x04info\x18\x05 \x01(\t\"k\n\x18\x43ontainerDeployedOptions\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07\x61ppname\x18\x02 \x01(\t\x12\x12\n\nentrypoint\x18\x03 \x01(\t\x12\x10\n\x08nodename\x18\x04 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x05 \x01(\x0c\"/\n\nContainers\x12!\n\ncontainers\x18\x01 \x03(\x0b\x32\r.pb.Container\"\x19\n\x0b\x43ontainerID\x12\n\n\x02id\x18\x01 \x01(\t\"\x1b\n\x0c\x43ontainerIDs\x12\x0b\n\x03ids\x18\x01 \x03(\t\"4\n\x16RemoveContainerOptions\x12\x0b\n\x03ids\x18\x01 \x03(\t\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\"7\n\x0eReallocOptions\x12\x0b\n\x03ids\x18\x01 \x03(\t\x12\x0b\n\x03\x63pu\x18\x02 \x01(\x01\x12\x0b\n\x03mem\x18\x03 \x01(\x03\":\n\rAddPodOptions\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05\x66\x61vor\x18\x02 \x01(\t\x12\x0c\n\x04\x64\x65sc\x18\x03 \x01(\t\" \n\x10RemovePodOptions\x12\x0c\n\x04name\x18\x01 \x01(\t\"\x1d\n\rGetPodOptions\x12\x0c\n\x04name\x18\x01 \x01(\t\"\xf7\x01\n\x0e\x41\x64\x64NodeOptions\x12\x10\n\x08nodename\x18\x01 \x01(\t\x12\x10\n\x08\x65ndpoint\x18\x02 \x01(\t\x12\x0f\n\x07podname\x18\x03 \x01(\t\x12\n\n\x02\x63\x61\x18\x04 \x01(\t\x12\x0c\n\x04\x63\x65rt\x18\x05 \x01(\t\x12\x0b\n\x03key\x18\x06 \x01(\t\x12\x0b\n\x03\x63pu\x18\x07 \x01(\x05\x12\r\n\x05share\x18\x08 \x01(\x03\x12\x0e\n\x06memory\x18\t \x01(\x03\x12.\n\x06labels\x18\n \x03(\x0b\x32\x1e.pb.AddNodeOptions.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"6\n\x11RemoveNodeOptions\x12\x10\n\x08nodename\x18\x01 \x01(\t\x12\x0f\n\x07podname\x18\x02 \x01(\t\"3\n\x0eGetNodeOptions\x12\x0f\n\x07podname\x18\x01 \x01(\t\x12\x10\n\x08nodename\x18\x02 \x01(\t\"0\n\x10ListNodesOptions\x12\x0f\n\x07podname\x18\x01 \x01(\t\x12\x0b\n\x03\x61ll\x18\x02 \x01(\x08\"\xfb\x03\n\x05\x42uild\x12\x0c\n\x04\x62\x61se\x18\x01 \x01(\t\x12\x0c\n\x04repo\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\t\x12\x0b\n\x03\x64ir\x18\x04 \x01(\t\x12\x10\n\x08\x63ommands\x18\x05 \x03(\t\x12!\n\x04\x65nvs\x18\x06 \x03(\x0b\x32\x13.pb.Build.EnvsEntry\x12!\n\x04\x61rgs\x18\x07 \x03(\x0b\x32\x13.pb.Build.ArgsEntry\x12%\n\x06labels\x18\x08 \x03(\x0b\x32\x15.pb.Build.LabelsEntry\x12+\n\tartifacts\x18\t \x03(\x0b\x32\x18.pb.Build.ArtifactsEntry\x12#\n\x05\x63\x61\x63he\x18\n \x03(\x0b\x32\x14.pb.Build.CacheEntry\x1a+\n\tEnvsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a+\n\tArgsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x30\n\x0e\x41rtifactsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a,\n\nCacheEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"z\n\x06\x42uilds\x12\x0e\n\x06stages\x18\x01 \x03(\t\x12&\n\x06\x62uilds\x18\x02 \x03(\x0b\x32\x16.pb.Builds.BuildsEntry\x1a\x38\n\x0b\x42uildsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x18\n\x05value\x18\x02 \x01(\x0b\x32\t.pb.Build:\x02\x38\x01\"e\n\x11\x42uildImageOptions\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04user\x18\x02 \x01(\t\x12\x0b\n\x03uid\x18\x03 \x01(\x05\x12\x0b\n\x03tag\x18\x04 \x01(\t\x12\x1a\n\x06\x62uilds\x18\x05 \x01(\x0b\x32\n.pb.Builds\"F\n\x0bHookOptions\x12\x13\n\x0b\x61\x66ter_start\x18\x01 \x03(\t\x12\x13\n\x0b\x62\x65\x66ore_stop\x18\x02 \x03(\t\x12\r\n\x05\x66orce\x18\x03 \x01(\x08\">\n\x12HealthCheckOptions\x12\r\n\x05ports\x18\x01 \x03(\t\x12\x0b\n\x03url\x18\x02 \x01(\t\x12\x0c\n\x04\x63ode\x18\x03 \x01(\x05\"\xda\x01\n\x11\x45ntrypointOptions\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x63ommand\x18\x02 \x01(\t\x12\x12\n\nprivileged\x18\x03 \x01(\x08\x12\x0b\n\x03\x64ir\x18\x04 \x01(\t\x12\x12\n\nlog_config\x18\x05 \x01(\t\x12\x0f\n\x07publish\x18\x06 \x03(\t\x12)\n\thealcheck\x18\x07 \x01(\x0b\x32\x16.pb.HealthCheckOptions\x12\x1d\n\x04hook\x18\x08 \x01(\x0b\x32\x0f.pb.HookOptions\x12\x16\n\x0erestart_policy\x18\t \x01(\t\"\xeb\x04\n\rDeployOptions\x12\x0c\n\x04name\x18\x01 \x01(\t\x12)\n\nentrypoint\x18\x02 \x01(\x0b\x32\x15.pb.EntrypointOptions\x12\x0f\n\x07podname\x18\x03 \x01(\t\x12\x10\n\x08nodename\x18\x04 \x01(\t\x12\r\n\x05image\x18\x05 \x01(\t\x12\x12\n\nextra_args\x18\x06 \x01(\t\x12\x11\n\tcpu_quota\x18\x07 \x01(\x01\x12\x0e\n\x06memory\x18\x08 \x01(\x03\x12\r\n\x05\x63ount\x18\t \x01(\x05\x12\x0b\n\x03\x65nv\x18\n \x03(\t\x12\x0b\n\x03\x64ns\x18\x0b \x03(\t\x12\x13\n\x0b\x65xtra_hosts\x18\x0c \x03(\t\x12\x0f\n\x07volumes\x18\r \x03(\t\x12\x31\n\x08networks\x18\x0e \x03(\x0b\x32\x1f.pb.DeployOptions.NetworksEntry\x12\x13\n\x0bnetworkmode\x18\x0f \x01(\t\x12\x0c\n\x04user\x18\x10 \x01(\t\x12\r\n\x05\x64\x65\x62ug\x18\x11 \x01(\x08\x12\x11\n\topenStdin\x18\x12 \x01(\x08\x12)\n\x04meta\x18\x13 \x03(\x0b\x32\x1b.pb.DeployOptions.MetaEntry\x12\x35\n\nnodelabels\x18\x14 \x03(\x0b\x32!.pb.DeployOptions.NodelabelsEntry\x1a/\n\rNetworksEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a+\n\tMetaEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x31\n\x0fNodelabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"G\n\x12RemoveImageOptions\x12\x0f\n\x07podname\x18\x01 \x01(\t\x12\x10\n\x08nodename\x18\x02 \x01(\t\x12\x0e\n\x06images\x18\x03 \x03(\t\"-\n\rBackupOptions\x12\n\n\x02id\x18\x01 \x01(\t\x12\x10\n\x08src_path\x18\x02 \x01(\t\",\n\x0b\x45rrorDetail\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x03\x12\x0f\n\x07message\x18\x02 \x01(\t\"\x87\x01\n\x11\x42uildImageMessage\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0e\n\x06status\x18\x02 \x01(\t\x12\x10\n\x08progress\x18\x03 \x01(\t\x12\r\n\x05\x65rror\x18\x04 \x01(\t\x12\x0e\n\x06stream\x18\x05 \x01(\t\x12%\n\x0c\x65rror_detail\x18\x06 \x01(\x0b\x32\x0f.pb.ErrorDetail\"\xdb\x02\n\x16\x43reateContainerMessage\x12\x0f\n\x07podname\x18\x01 \x01(\t\x12\x10\n\x08nodename\x18\x02 \x01(\t\x12\n\n\x02id\x18\x03 \x01(\t\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\r\n\x05\x65rror\x18\x05 \x01(\t\x12\x0f\n\x07success\x18\x06 \x01(\x08\x12\x30\n\x03\x63pu\x18\x07 \x03(\x0b\x32#.pb.CreateContainerMessage.CpuEntry\x12\x0e\n\x06memory\x18\x08 \x01(\x03\x12\x38\n\x07publish\x18\t \x03(\x0b\x32\'.pb.CreateContainerMessage.PublishEntry\x12\x0c\n\x04hook\x18\n \x01(\x0c\x1a*\n\x08\x43puEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01\x1a.\n\x0cPublishEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"7\n\x11RunAndWaitMessage\x12\x14\n\x0c\x63ontainer_id\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"F\n\x12RemoveImageMessage\x12\r\n\x05image\x18\x01 \x01(\t\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12\x10\n\x08messages\x18\x03 \x03(\t\"F\n\x16RemoveContainerMessage\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12\x0f\n\x07message\x18\x03 \x01(\t\"5\n\x16ReallocResourceMessage\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07success\x18\x02 \x01(\x08\"J\n\rBackupMessage\x12\x0e\n\x06status\x18\x01 \x01(\t\x12\x0c\n\x04size\x18\x02 \x01(\x03\x12\r\n\x05\x65rror\x18\x03 \x01(\t\x12\x0c\n\x04path\x18\x04 \x01(\t\"J\n\x11RunAndWaitOptions\x12(\n\rDeployOptions\x18\x01 \x01(\x0b\x32\x11.pb.DeployOptions\x12\x0b\n\x03\x43md\x18\x02 \x01(\x0c\x32\xfe\t\n\x07\x43oreRPC\x12!\n\x08ListPods\x12\t.pb.Empty\x1a\x08.pb.Pods\"\x00\x12&\n\x06\x41\x64\x64Pod\x12\x11.pb.AddPodOptions\x1a\x07.pb.Pod\"\x00\x12.\n\tRemovePod\x12\x14.pb.RemovePodOptions\x1a\t.pb.Empty\"\x00\x12&\n\x06GetPod\x12\x11.pb.GetPodOptions\x1a\x07.pb.Pod\"\x00\x12)\n\x07\x41\x64\x64Node\x12\x12.pb.AddNodeOptions\x1a\x08.pb.Node\"\x00\x12.\n\nRemoveNode\x12\x15.pb.RemoveNodeOptions\x1a\x07.pb.Pod\"\x00\x12)\n\x07GetNode\x12\x12.pb.GetNodeOptions\x1a\x08.pb.Node\"\x00\x12\x31\n\x0cListPodNodes\x12\x14.pb.ListNodesOptions\x1a\t.pb.Nodes\"\x00\x12\x30\n\x0cGetContainer\x12\x0f.pb.ContainerID\x1a\r.pb.Container\"\x00\x12\x33\n\rGetContainers\x12\x10.pb.ContainerIDs\x1a\x0e.pb.Containers\"\x00\x12\x36\n\x0cListNetworks\x12\x16.pb.ListNetworkOptions\x1a\x0c.pb.Networks\"\x00\x12\x31\n\x10SetNodeAvailable\x12\x11.pb.NodeAvailable\x1a\x08.pb.Node\"\x00\x12\x30\n\x06\x42\x61\x63kup\x12\x11.pb.BackupOptions\x1a\x11.pb.BackupMessage\"\x00\x12/\n\rGetNodeByName\x12\x12.pb.GetNodeOptions\x1a\x08.pb.Node\"\x00\x12>\n\x11\x43ontainerDeployed\x12\x1c.pb.ContainerDeployedOptions\x1a\t.pb.Empty\"\x00\x12;\n\x0eListContainers\x12\x17.pb.DeployStatusOptions\x1a\x0e.pb.Containers\"\x00\x12>\n\nBuildImage\x12\x15.pb.BuildImageOptions\x1a\x15.pb.BuildImageMessage\"\x00\x30\x01\x12\x41\n\x0bRemoveImage\x12\x16.pb.RemoveImageOptions\x1a\x16.pb.RemoveImageMessage\"\x00\x30\x01\x12\x44\n\x0c\x44\x65ployStatus\x12\x17.pb.DeployStatusOptions\x1a\x17.pb.DeployStatusMessage\"\x00\x30\x01\x12@\n\nRunAndWait\x12\x15.pb.RunAndWaitOptions\x1a\x15.pb.RunAndWaitMessage\"\x00(\x01\x30\x01\x12\x44\n\x0f\x43reateContainer\x12\x11.pb.DeployOptions\x1a\x1a.pb.CreateContainerMessage\"\x00\x30\x01\x12M\n\x0fRemoveContainer\x12\x1a.pb.RemoveContainerOptions\x1a\x1a.pb.RemoveContainerMessage\"\x00\x30\x01\x12\x45\n\x0fReallocResource\x12\x12.pb.ReallocOptions\x1a\x1a.pb.ReallocResourceMessage\"\x00\x30\x01\x62\x06proto3') ) @@ -1785,13 +1785,6 @@ message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), - _descriptor.FieldDescriptor( - name='extra_hosts', full_name='pb.EntrypointOptions.extra_hosts', index=9, - number=10, type=9, cpp_type=9, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), ], extensions=[ ], @@ -1805,7 +1798,7 @@ oneofs=[ ], serialized_start=2625, - serialized_end=2864, + serialized_end=2843, ) @@ -2005,61 +1998,68 @@ is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( - name='volumes', full_name='pb.DeployOptions.volumes', index=11, + name='extra_hosts', full_name='pb.DeployOptions.extra_hosts', index=11, number=12, type=9, cpp_type=9, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( - name='networks', full_name='pb.DeployOptions.networks', index=12, - number=13, type=11, cpp_type=10, label=3, + name='volumes', full_name='pb.DeployOptions.volumes', index=12, + number=13, type=9, cpp_type=9, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( - name='networkmode', full_name='pb.DeployOptions.networkmode', index=13, - number=14, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + name='networks', full_name='pb.DeployOptions.networks', index=13, + number=14, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( - name='user', full_name='pb.DeployOptions.user', index=14, + name='networkmode', full_name='pb.DeployOptions.networkmode', index=14, number=15, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( - name='debug', full_name='pb.DeployOptions.debug', index=15, - number=16, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, + name='user', full_name='pb.DeployOptions.user', index=15, + number=16, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( - name='openStdin', full_name='pb.DeployOptions.openStdin', index=16, + name='debug', full_name='pb.DeployOptions.debug', index=16, number=17, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( - name='meta', full_name='pb.DeployOptions.meta', index=17, - number=18, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], + name='openStdin', full_name='pb.DeployOptions.openStdin', index=17, + number=18, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( - name='nodelabels', full_name='pb.DeployOptions.nodelabels', index=18, + name='meta', full_name='pb.DeployOptions.meta', index=18, number=19, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), + _descriptor.FieldDescriptor( + name='nodelabels', full_name='pb.DeployOptions.nodelabels', index=19, + number=20, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), ], extensions=[ ], @@ -2072,7 +2072,7 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2867, + serialized_start=2846, serialized_end=3465, ) @@ -3213,820 +3213,226 @@ _CREATECONTAINERMESSAGE_CPUENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')) _CREATECONTAINERMESSAGE_PUBLISHENTRY.has_options = True _CREATECONTAINERMESSAGE_PUBLISHENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')) -try: - # THESE ELEMENTS WILL BE DEPRECATED. - # Please use the generated *_pb2_grpc.py files instead. - import grpc - from grpc.beta import implementations as beta_implementations - from grpc.beta import interfaces as beta_interfaces - from grpc.framework.common import cardinality - from grpc.framework.interfaces.face import utilities as face_utilities - - - class CoreRPCStub(object): - # missing associated documentation comment in .proto file - pass - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.ListPods = channel.unary_unary( - '/pb.CoreRPC/ListPods', - request_serializer=Empty.SerializeToString, - response_deserializer=Pods.FromString, - ) - self.AddPod = channel.unary_unary( - '/pb.CoreRPC/AddPod', - request_serializer=AddPodOptions.SerializeToString, - response_deserializer=Pod.FromString, - ) - self.RemovePod = channel.unary_unary( - '/pb.CoreRPC/RemovePod', - request_serializer=RemovePodOptions.SerializeToString, - response_deserializer=Empty.FromString, - ) - self.GetPod = channel.unary_unary( - '/pb.CoreRPC/GetPod', - request_serializer=GetPodOptions.SerializeToString, - response_deserializer=Pod.FromString, - ) - self.AddNode = channel.unary_unary( - '/pb.CoreRPC/AddNode', - request_serializer=AddNodeOptions.SerializeToString, - response_deserializer=Node.FromString, - ) - self.RemoveNode = channel.unary_unary( - '/pb.CoreRPC/RemoveNode', - request_serializer=RemoveNodeOptions.SerializeToString, - response_deserializer=Pod.FromString, - ) - self.GetNode = channel.unary_unary( - '/pb.CoreRPC/GetNode', - request_serializer=GetNodeOptions.SerializeToString, - response_deserializer=Node.FromString, - ) - self.ListPodNodes = channel.unary_unary( - '/pb.CoreRPC/ListPodNodes', - request_serializer=ListNodesOptions.SerializeToString, - response_deserializer=Nodes.FromString, - ) - self.GetContainer = channel.unary_unary( - '/pb.CoreRPC/GetContainer', - request_serializer=ContainerID.SerializeToString, - response_deserializer=Container.FromString, - ) - self.GetContainers = channel.unary_unary( - '/pb.CoreRPC/GetContainers', - request_serializer=ContainerIDs.SerializeToString, - response_deserializer=Containers.FromString, - ) - self.ListNetworks = channel.unary_unary( - '/pb.CoreRPC/ListNetworks', - request_serializer=ListNetworkOptions.SerializeToString, - response_deserializer=Networks.FromString, - ) - self.SetNodeAvailable = channel.unary_unary( - '/pb.CoreRPC/SetNodeAvailable', - request_serializer=NodeAvailable.SerializeToString, - response_deserializer=Node.FromString, - ) - self.Backup = channel.unary_unary( - '/pb.CoreRPC/Backup', - request_serializer=BackupOptions.SerializeToString, - response_deserializer=BackupMessage.FromString, - ) - self.GetNodeByName = channel.unary_unary( - '/pb.CoreRPC/GetNodeByName', - request_serializer=GetNodeOptions.SerializeToString, - response_deserializer=Node.FromString, - ) - self.ContainerDeployed = channel.unary_unary( - '/pb.CoreRPC/ContainerDeployed', - request_serializer=ContainerDeployedOptions.SerializeToString, - response_deserializer=Empty.FromString, - ) - self.ListContainers = channel.unary_unary( - '/pb.CoreRPC/ListContainers', - request_serializer=DeployStatusOptions.SerializeToString, - response_deserializer=Containers.FromString, - ) - self.BuildImage = channel.unary_stream( - '/pb.CoreRPC/BuildImage', - request_serializer=BuildImageOptions.SerializeToString, - response_deserializer=BuildImageMessage.FromString, - ) - self.RemoveImage = channel.unary_stream( - '/pb.CoreRPC/RemoveImage', - request_serializer=RemoveImageOptions.SerializeToString, - response_deserializer=RemoveImageMessage.FromString, - ) - self.DeployStatus = channel.unary_stream( - '/pb.CoreRPC/DeployStatus', - request_serializer=DeployStatusOptions.SerializeToString, - response_deserializer=DeployStatusMessage.FromString, - ) - self.RunAndWait = channel.stream_stream( - '/pb.CoreRPC/RunAndWait', - request_serializer=RunAndWaitOptions.SerializeToString, - response_deserializer=RunAndWaitMessage.FromString, - ) - self.CreateContainer = channel.unary_stream( - '/pb.CoreRPC/CreateContainer', - request_serializer=DeployOptions.SerializeToString, - response_deserializer=CreateContainerMessage.FromString, - ) - self.RemoveContainer = channel.unary_stream( - '/pb.CoreRPC/RemoveContainer', - request_serializer=RemoveContainerOptions.SerializeToString, - response_deserializer=RemoveContainerMessage.FromString, - ) - self.ReallocResource = channel.unary_stream( - '/pb.CoreRPC/ReallocResource', - request_serializer=ReallocOptions.SerializeToString, - response_deserializer=ReallocResourceMessage.FromString, - ) - - - class CoreRPCServicer(object): - # missing associated documentation comment in .proto file - pass - - def ListPods(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def AddPod(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def RemovePod(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetPod(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def AddNode(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def RemoveNode(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetNode(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ListPodNodes(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetContainer(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetContainers(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ListNetworks(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SetNodeAvailable(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Backup(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetNodeByName(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ContainerDeployed(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ListContainers(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def BuildImage(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def RemoveImage(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DeployStatus(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def RunAndWait(self, request_iterator, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def CreateContainer(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def RemoveContainer(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ReallocResource(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - - def add_CoreRPCServicer_to_server(servicer, server): - rpc_method_handlers = { - 'ListPods': grpc.unary_unary_rpc_method_handler( - servicer.ListPods, - request_deserializer=Empty.FromString, - response_serializer=Pods.SerializeToString, - ), - 'AddPod': grpc.unary_unary_rpc_method_handler( - servicer.AddPod, - request_deserializer=AddPodOptions.FromString, - response_serializer=Pod.SerializeToString, - ), - 'RemovePod': grpc.unary_unary_rpc_method_handler( - servicer.RemovePod, - request_deserializer=RemovePodOptions.FromString, - response_serializer=Empty.SerializeToString, - ), - 'GetPod': grpc.unary_unary_rpc_method_handler( - servicer.GetPod, - request_deserializer=GetPodOptions.FromString, - response_serializer=Pod.SerializeToString, - ), - 'AddNode': grpc.unary_unary_rpc_method_handler( - servicer.AddNode, - request_deserializer=AddNodeOptions.FromString, - response_serializer=Node.SerializeToString, - ), - 'RemoveNode': grpc.unary_unary_rpc_method_handler( - servicer.RemoveNode, - request_deserializer=RemoveNodeOptions.FromString, - response_serializer=Pod.SerializeToString, - ), - 'GetNode': grpc.unary_unary_rpc_method_handler( - servicer.GetNode, - request_deserializer=GetNodeOptions.FromString, - response_serializer=Node.SerializeToString, - ), - 'ListPodNodes': grpc.unary_unary_rpc_method_handler( - servicer.ListPodNodes, - request_deserializer=ListNodesOptions.FromString, - response_serializer=Nodes.SerializeToString, - ), - 'GetContainer': grpc.unary_unary_rpc_method_handler( - servicer.GetContainer, - request_deserializer=ContainerID.FromString, - response_serializer=Container.SerializeToString, - ), - 'GetContainers': grpc.unary_unary_rpc_method_handler( - servicer.GetContainers, - request_deserializer=ContainerIDs.FromString, - response_serializer=Containers.SerializeToString, - ), - 'ListNetworks': grpc.unary_unary_rpc_method_handler( - servicer.ListNetworks, - request_deserializer=ListNetworkOptions.FromString, - response_serializer=Networks.SerializeToString, - ), - 'SetNodeAvailable': grpc.unary_unary_rpc_method_handler( - servicer.SetNodeAvailable, - request_deserializer=NodeAvailable.FromString, - response_serializer=Node.SerializeToString, - ), - 'Backup': grpc.unary_unary_rpc_method_handler( - servicer.Backup, - request_deserializer=BackupOptions.FromString, - response_serializer=BackupMessage.SerializeToString, - ), - 'GetNodeByName': grpc.unary_unary_rpc_method_handler( - servicer.GetNodeByName, - request_deserializer=GetNodeOptions.FromString, - response_serializer=Node.SerializeToString, - ), - 'ContainerDeployed': grpc.unary_unary_rpc_method_handler( - servicer.ContainerDeployed, - request_deserializer=ContainerDeployedOptions.FromString, - response_serializer=Empty.SerializeToString, - ), - 'ListContainers': grpc.unary_unary_rpc_method_handler( - servicer.ListContainers, - request_deserializer=DeployStatusOptions.FromString, - response_serializer=Containers.SerializeToString, - ), - 'BuildImage': grpc.unary_stream_rpc_method_handler( - servicer.BuildImage, - request_deserializer=BuildImageOptions.FromString, - response_serializer=BuildImageMessage.SerializeToString, - ), - 'RemoveImage': grpc.unary_stream_rpc_method_handler( - servicer.RemoveImage, - request_deserializer=RemoveImageOptions.FromString, - response_serializer=RemoveImageMessage.SerializeToString, - ), - 'DeployStatus': grpc.unary_stream_rpc_method_handler( - servicer.DeployStatus, - request_deserializer=DeployStatusOptions.FromString, - response_serializer=DeployStatusMessage.SerializeToString, - ), - 'RunAndWait': grpc.stream_stream_rpc_method_handler( - servicer.RunAndWait, - request_deserializer=RunAndWaitOptions.FromString, - response_serializer=RunAndWaitMessage.SerializeToString, - ), - 'CreateContainer': grpc.unary_stream_rpc_method_handler( - servicer.CreateContainer, - request_deserializer=DeployOptions.FromString, - response_serializer=CreateContainerMessage.SerializeToString, - ), - 'RemoveContainer': grpc.unary_stream_rpc_method_handler( - servicer.RemoveContainer, - request_deserializer=RemoveContainerOptions.FromString, - response_serializer=RemoveContainerMessage.SerializeToString, - ), - 'ReallocResource': grpc.unary_stream_rpc_method_handler( - servicer.ReallocResource, - request_deserializer=ReallocOptions.FromString, - response_serializer=ReallocResourceMessage.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'pb.CoreRPC', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - class BetaCoreRPCServicer(object): - """The Beta API is deprecated for 0.15.0 and later. - - It is recommended to use the GA API (classes and functions in this - file not marked beta) for all further purposes. This class was generated - only to ease transition from grpcio<0.15.0 to grpcio>=0.15.0.""" - # missing associated documentation comment in .proto file - pass - def ListPods(self, request, context): - # missing associated documentation comment in .proto file - pass - context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) - def AddPod(self, request, context): - # missing associated documentation comment in .proto file - pass - context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) - def RemovePod(self, request, context): - # missing associated documentation comment in .proto file - pass - context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) - def GetPod(self, request, context): - # missing associated documentation comment in .proto file - pass - context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) - def AddNode(self, request, context): - # missing associated documentation comment in .proto file - pass - context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) - def RemoveNode(self, request, context): - # missing associated documentation comment in .proto file - pass - context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) - def GetNode(self, request, context): - # missing associated documentation comment in .proto file - pass - context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) - def ListPodNodes(self, request, context): - # missing associated documentation comment in .proto file - pass - context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) - def GetContainer(self, request, context): - # missing associated documentation comment in .proto file - pass - context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) - def GetContainers(self, request, context): - # missing associated documentation comment in .proto file - pass - context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) - def ListNetworks(self, request, context): - # missing associated documentation comment in .proto file - pass - context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) - def SetNodeAvailable(self, request, context): - # missing associated documentation comment in .proto file - pass - context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) - def Backup(self, request, context): - # missing associated documentation comment in .proto file - pass - context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) - def GetNodeByName(self, request, context): - # missing associated documentation comment in .proto file - pass - context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) - def ContainerDeployed(self, request, context): - # missing associated documentation comment in .proto file - pass - context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) - def ListContainers(self, request, context): - # missing associated documentation comment in .proto file - pass - context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) - def BuildImage(self, request, context): - # missing associated documentation comment in .proto file - pass - context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) - def RemoveImage(self, request, context): - # missing associated documentation comment in .proto file - pass - context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) - def DeployStatus(self, request, context): - # missing associated documentation comment in .proto file - pass - context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) - def RunAndWait(self, request_iterator, context): - # missing associated documentation comment in .proto file - pass - context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) - def CreateContainer(self, request, context): - # missing associated documentation comment in .proto file - pass - context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) - def RemoveContainer(self, request, context): - # missing associated documentation comment in .proto file - pass - context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) - def ReallocResource(self, request, context): - # missing associated documentation comment in .proto file - pass - context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) - - - class BetaCoreRPCStub(object): - """The Beta API is deprecated for 0.15.0 and later. - - It is recommended to use the GA API (classes and functions in this - file not marked beta) for all further purposes. This class was generated - only to ease transition from grpcio<0.15.0 to grpcio>=0.15.0.""" - # missing associated documentation comment in .proto file - pass - def ListPods(self, request, timeout, metadata=None, with_call=False, protocol_options=None): - # missing associated documentation comment in .proto file - pass - raise NotImplementedError() - ListPods.future = None - def AddPod(self, request, timeout, metadata=None, with_call=False, protocol_options=None): - # missing associated documentation comment in .proto file - pass - raise NotImplementedError() - AddPod.future = None - def RemovePod(self, request, timeout, metadata=None, with_call=False, protocol_options=None): - # missing associated documentation comment in .proto file - pass - raise NotImplementedError() - RemovePod.future = None - def GetPod(self, request, timeout, metadata=None, with_call=False, protocol_options=None): - # missing associated documentation comment in .proto file - pass - raise NotImplementedError() - GetPod.future = None - def AddNode(self, request, timeout, metadata=None, with_call=False, protocol_options=None): - # missing associated documentation comment in .proto file - pass - raise NotImplementedError() - AddNode.future = None - def RemoveNode(self, request, timeout, metadata=None, with_call=False, protocol_options=None): - # missing associated documentation comment in .proto file - pass - raise NotImplementedError() - RemoveNode.future = None - def GetNode(self, request, timeout, metadata=None, with_call=False, protocol_options=None): - # missing associated documentation comment in .proto file - pass - raise NotImplementedError() - GetNode.future = None - def ListPodNodes(self, request, timeout, metadata=None, with_call=False, protocol_options=None): - # missing associated documentation comment in .proto file - pass - raise NotImplementedError() - ListPodNodes.future = None - def GetContainer(self, request, timeout, metadata=None, with_call=False, protocol_options=None): - # missing associated documentation comment in .proto file - pass - raise NotImplementedError() - GetContainer.future = None - def GetContainers(self, request, timeout, metadata=None, with_call=False, protocol_options=None): - # missing associated documentation comment in .proto file - pass - raise NotImplementedError() - GetContainers.future = None - def ListNetworks(self, request, timeout, metadata=None, with_call=False, protocol_options=None): - # missing associated documentation comment in .proto file - pass - raise NotImplementedError() - ListNetworks.future = None - def SetNodeAvailable(self, request, timeout, metadata=None, with_call=False, protocol_options=None): - # missing associated documentation comment in .proto file - pass - raise NotImplementedError() - SetNodeAvailable.future = None - def Backup(self, request, timeout, metadata=None, with_call=False, protocol_options=None): - # missing associated documentation comment in .proto file - pass - raise NotImplementedError() - Backup.future = None - def GetNodeByName(self, request, timeout, metadata=None, with_call=False, protocol_options=None): - # missing associated documentation comment in .proto file - pass - raise NotImplementedError() - GetNodeByName.future = None - def ContainerDeployed(self, request, timeout, metadata=None, with_call=False, protocol_options=None): - # missing associated documentation comment in .proto file - pass - raise NotImplementedError() - ContainerDeployed.future = None - def ListContainers(self, request, timeout, metadata=None, with_call=False, protocol_options=None): - # missing associated documentation comment in .proto file - pass - raise NotImplementedError() - ListContainers.future = None - def BuildImage(self, request, timeout, metadata=None, with_call=False, protocol_options=None): - # missing associated documentation comment in .proto file - pass - raise NotImplementedError() - def RemoveImage(self, request, timeout, metadata=None, with_call=False, protocol_options=None): - # missing associated documentation comment in .proto file - pass - raise NotImplementedError() - def DeployStatus(self, request, timeout, metadata=None, with_call=False, protocol_options=None): - # missing associated documentation comment in .proto file - pass - raise NotImplementedError() - def RunAndWait(self, request_iterator, timeout, metadata=None, with_call=False, protocol_options=None): - # missing associated documentation comment in .proto file - pass - raise NotImplementedError() - def CreateContainer(self, request, timeout, metadata=None, with_call=False, protocol_options=None): - # missing associated documentation comment in .proto file - pass - raise NotImplementedError() - def RemoveContainer(self, request, timeout, metadata=None, with_call=False, protocol_options=None): - # missing associated documentation comment in .proto file - pass - raise NotImplementedError() - def ReallocResource(self, request, timeout, metadata=None, with_call=False, protocol_options=None): - # missing associated documentation comment in .proto file - pass - raise NotImplementedError() - - - def beta_create_CoreRPC_server(servicer, pool=None, pool_size=None, default_timeout=None, maximum_timeout=None): - """The Beta API is deprecated for 0.15.0 and later. - - It is recommended to use the GA API (classes and functions in this - file not marked beta) for all further purposes. This function was - generated only to ease transition from grpcio<0.15.0 to grpcio>=0.15.0""" - request_deserializers = { - ('pb.CoreRPC', 'AddNode'): AddNodeOptions.FromString, - ('pb.CoreRPC', 'AddPod'): AddPodOptions.FromString, - ('pb.CoreRPC', 'Backup'): BackupOptions.FromString, - ('pb.CoreRPC', 'BuildImage'): BuildImageOptions.FromString, - ('pb.CoreRPC', 'ContainerDeployed'): ContainerDeployedOptions.FromString, - ('pb.CoreRPC', 'CreateContainer'): DeployOptions.FromString, - ('pb.CoreRPC', 'DeployStatus'): DeployStatusOptions.FromString, - ('pb.CoreRPC', 'GetContainer'): ContainerID.FromString, - ('pb.CoreRPC', 'GetContainers'): ContainerIDs.FromString, - ('pb.CoreRPC', 'GetNode'): GetNodeOptions.FromString, - ('pb.CoreRPC', 'GetNodeByName'): GetNodeOptions.FromString, - ('pb.CoreRPC', 'GetPod'): GetPodOptions.FromString, - ('pb.CoreRPC', 'ListContainers'): DeployStatusOptions.FromString, - ('pb.CoreRPC', 'ListNetworks'): ListNetworkOptions.FromString, - ('pb.CoreRPC', 'ListPodNodes'): ListNodesOptions.FromString, - ('pb.CoreRPC', 'ListPods'): Empty.FromString, - ('pb.CoreRPC', 'ReallocResource'): ReallocOptions.FromString, - ('pb.CoreRPC', 'RemoveContainer'): RemoveContainerOptions.FromString, - ('pb.CoreRPC', 'RemoveImage'): RemoveImageOptions.FromString, - ('pb.CoreRPC', 'RemoveNode'): RemoveNodeOptions.FromString, - ('pb.CoreRPC', 'RemovePod'): RemovePodOptions.FromString, - ('pb.CoreRPC', 'RunAndWait'): RunAndWaitOptions.FromString, - ('pb.CoreRPC', 'SetNodeAvailable'): NodeAvailable.FromString, - } - response_serializers = { - ('pb.CoreRPC', 'AddNode'): Node.SerializeToString, - ('pb.CoreRPC', 'AddPod'): Pod.SerializeToString, - ('pb.CoreRPC', 'Backup'): BackupMessage.SerializeToString, - ('pb.CoreRPC', 'BuildImage'): BuildImageMessage.SerializeToString, - ('pb.CoreRPC', 'ContainerDeployed'): Empty.SerializeToString, - ('pb.CoreRPC', 'CreateContainer'): CreateContainerMessage.SerializeToString, - ('pb.CoreRPC', 'DeployStatus'): DeployStatusMessage.SerializeToString, - ('pb.CoreRPC', 'GetContainer'): Container.SerializeToString, - ('pb.CoreRPC', 'GetContainers'): Containers.SerializeToString, - ('pb.CoreRPC', 'GetNode'): Node.SerializeToString, - ('pb.CoreRPC', 'GetNodeByName'): Node.SerializeToString, - ('pb.CoreRPC', 'GetPod'): Pod.SerializeToString, - ('pb.CoreRPC', 'ListContainers'): Containers.SerializeToString, - ('pb.CoreRPC', 'ListNetworks'): Networks.SerializeToString, - ('pb.CoreRPC', 'ListPodNodes'): Nodes.SerializeToString, - ('pb.CoreRPC', 'ListPods'): Pods.SerializeToString, - ('pb.CoreRPC', 'ReallocResource'): ReallocResourceMessage.SerializeToString, - ('pb.CoreRPC', 'RemoveContainer'): RemoveContainerMessage.SerializeToString, - ('pb.CoreRPC', 'RemoveImage'): RemoveImageMessage.SerializeToString, - ('pb.CoreRPC', 'RemoveNode'): Pod.SerializeToString, - ('pb.CoreRPC', 'RemovePod'): Empty.SerializeToString, - ('pb.CoreRPC', 'RunAndWait'): RunAndWaitMessage.SerializeToString, - ('pb.CoreRPC', 'SetNodeAvailable'): Node.SerializeToString, - } - method_implementations = { - ('pb.CoreRPC', 'AddNode'): face_utilities.unary_unary_inline(servicer.AddNode), - ('pb.CoreRPC', 'AddPod'): face_utilities.unary_unary_inline(servicer.AddPod), - ('pb.CoreRPC', 'Backup'): face_utilities.unary_unary_inline(servicer.Backup), - ('pb.CoreRPC', 'BuildImage'): face_utilities.unary_stream_inline(servicer.BuildImage), - ('pb.CoreRPC', 'ContainerDeployed'): face_utilities.unary_unary_inline(servicer.ContainerDeployed), - ('pb.CoreRPC', 'CreateContainer'): face_utilities.unary_stream_inline(servicer.CreateContainer), - ('pb.CoreRPC', 'DeployStatus'): face_utilities.unary_stream_inline(servicer.DeployStatus), - ('pb.CoreRPC', 'GetContainer'): face_utilities.unary_unary_inline(servicer.GetContainer), - ('pb.CoreRPC', 'GetContainers'): face_utilities.unary_unary_inline(servicer.GetContainers), - ('pb.CoreRPC', 'GetNode'): face_utilities.unary_unary_inline(servicer.GetNode), - ('pb.CoreRPC', 'GetNodeByName'): face_utilities.unary_unary_inline(servicer.GetNodeByName), - ('pb.CoreRPC', 'GetPod'): face_utilities.unary_unary_inline(servicer.GetPod), - ('pb.CoreRPC', 'ListContainers'): face_utilities.unary_unary_inline(servicer.ListContainers), - ('pb.CoreRPC', 'ListNetworks'): face_utilities.unary_unary_inline(servicer.ListNetworks), - ('pb.CoreRPC', 'ListPodNodes'): face_utilities.unary_unary_inline(servicer.ListPodNodes), - ('pb.CoreRPC', 'ListPods'): face_utilities.unary_unary_inline(servicer.ListPods), - ('pb.CoreRPC', 'ReallocResource'): face_utilities.unary_stream_inline(servicer.ReallocResource), - ('pb.CoreRPC', 'RemoveContainer'): face_utilities.unary_stream_inline(servicer.RemoveContainer), - ('pb.CoreRPC', 'RemoveImage'): face_utilities.unary_stream_inline(servicer.RemoveImage), - ('pb.CoreRPC', 'RemoveNode'): face_utilities.unary_unary_inline(servicer.RemoveNode), - ('pb.CoreRPC', 'RemovePod'): face_utilities.unary_unary_inline(servicer.RemovePod), - ('pb.CoreRPC', 'RunAndWait'): face_utilities.stream_stream_inline(servicer.RunAndWait), - ('pb.CoreRPC', 'SetNodeAvailable'): face_utilities.unary_unary_inline(servicer.SetNodeAvailable), - } - server_options = beta_implementations.server_options(request_deserializers=request_deserializers, response_serializers=response_serializers, thread_pool=pool, thread_pool_size=pool_size, default_timeout=default_timeout, maximum_timeout=maximum_timeout) - return beta_implementations.server(method_implementations, options=server_options) - - - def beta_create_CoreRPC_stub(channel, host=None, metadata_transformer=None, pool=None, pool_size=None): - """The Beta API is deprecated for 0.15.0 and later. - - It is recommended to use the GA API (classes and functions in this - file not marked beta) for all further purposes. This function was - generated only to ease transition from grpcio<0.15.0 to grpcio>=0.15.0""" - request_serializers = { - ('pb.CoreRPC', 'AddNode'): AddNodeOptions.SerializeToString, - ('pb.CoreRPC', 'AddPod'): AddPodOptions.SerializeToString, - ('pb.CoreRPC', 'Backup'): BackupOptions.SerializeToString, - ('pb.CoreRPC', 'BuildImage'): BuildImageOptions.SerializeToString, - ('pb.CoreRPC', 'ContainerDeployed'): ContainerDeployedOptions.SerializeToString, - ('pb.CoreRPC', 'CreateContainer'): DeployOptions.SerializeToString, - ('pb.CoreRPC', 'DeployStatus'): DeployStatusOptions.SerializeToString, - ('pb.CoreRPC', 'GetContainer'): ContainerID.SerializeToString, - ('pb.CoreRPC', 'GetContainers'): ContainerIDs.SerializeToString, - ('pb.CoreRPC', 'GetNode'): GetNodeOptions.SerializeToString, - ('pb.CoreRPC', 'GetNodeByName'): GetNodeOptions.SerializeToString, - ('pb.CoreRPC', 'GetPod'): GetPodOptions.SerializeToString, - ('pb.CoreRPC', 'ListContainers'): DeployStatusOptions.SerializeToString, - ('pb.CoreRPC', 'ListNetworks'): ListNetworkOptions.SerializeToString, - ('pb.CoreRPC', 'ListPodNodes'): ListNodesOptions.SerializeToString, - ('pb.CoreRPC', 'ListPods'): Empty.SerializeToString, - ('pb.CoreRPC', 'ReallocResource'): ReallocOptions.SerializeToString, - ('pb.CoreRPC', 'RemoveContainer'): RemoveContainerOptions.SerializeToString, - ('pb.CoreRPC', 'RemoveImage'): RemoveImageOptions.SerializeToString, - ('pb.CoreRPC', 'RemoveNode'): RemoveNodeOptions.SerializeToString, - ('pb.CoreRPC', 'RemovePod'): RemovePodOptions.SerializeToString, - ('pb.CoreRPC', 'RunAndWait'): RunAndWaitOptions.SerializeToString, - ('pb.CoreRPC', 'SetNodeAvailable'): NodeAvailable.SerializeToString, - } - response_deserializers = { - ('pb.CoreRPC', 'AddNode'): Node.FromString, - ('pb.CoreRPC', 'AddPod'): Pod.FromString, - ('pb.CoreRPC', 'Backup'): BackupMessage.FromString, - ('pb.CoreRPC', 'BuildImage'): BuildImageMessage.FromString, - ('pb.CoreRPC', 'ContainerDeployed'): Empty.FromString, - ('pb.CoreRPC', 'CreateContainer'): CreateContainerMessage.FromString, - ('pb.CoreRPC', 'DeployStatus'): DeployStatusMessage.FromString, - ('pb.CoreRPC', 'GetContainer'): Container.FromString, - ('pb.CoreRPC', 'GetContainers'): Containers.FromString, - ('pb.CoreRPC', 'GetNode'): Node.FromString, - ('pb.CoreRPC', 'GetNodeByName'): Node.FromString, - ('pb.CoreRPC', 'GetPod'): Pod.FromString, - ('pb.CoreRPC', 'ListContainers'): Containers.FromString, - ('pb.CoreRPC', 'ListNetworks'): Networks.FromString, - ('pb.CoreRPC', 'ListPodNodes'): Nodes.FromString, - ('pb.CoreRPC', 'ListPods'): Pods.FromString, - ('pb.CoreRPC', 'ReallocResource'): ReallocResourceMessage.FromString, - ('pb.CoreRPC', 'RemoveContainer'): RemoveContainerMessage.FromString, - ('pb.CoreRPC', 'RemoveImage'): RemoveImageMessage.FromString, - ('pb.CoreRPC', 'RemoveNode'): Pod.FromString, - ('pb.CoreRPC', 'RemovePod'): Empty.FromString, - ('pb.CoreRPC', 'RunAndWait'): RunAndWaitMessage.FromString, - ('pb.CoreRPC', 'SetNodeAvailable'): Node.FromString, - } - cardinalities = { - 'AddNode': cardinality.Cardinality.UNARY_UNARY, - 'AddPod': cardinality.Cardinality.UNARY_UNARY, - 'Backup': cardinality.Cardinality.UNARY_UNARY, - 'BuildImage': cardinality.Cardinality.UNARY_STREAM, - 'ContainerDeployed': cardinality.Cardinality.UNARY_UNARY, - 'CreateContainer': cardinality.Cardinality.UNARY_STREAM, - 'DeployStatus': cardinality.Cardinality.UNARY_STREAM, - 'GetContainer': cardinality.Cardinality.UNARY_UNARY, - 'GetContainers': cardinality.Cardinality.UNARY_UNARY, - 'GetNode': cardinality.Cardinality.UNARY_UNARY, - 'GetNodeByName': cardinality.Cardinality.UNARY_UNARY, - 'GetPod': cardinality.Cardinality.UNARY_UNARY, - 'ListContainers': cardinality.Cardinality.UNARY_UNARY, - 'ListNetworks': cardinality.Cardinality.UNARY_UNARY, - 'ListPodNodes': cardinality.Cardinality.UNARY_UNARY, - 'ListPods': cardinality.Cardinality.UNARY_UNARY, - 'ReallocResource': cardinality.Cardinality.UNARY_STREAM, - 'RemoveContainer': cardinality.Cardinality.UNARY_STREAM, - 'RemoveImage': cardinality.Cardinality.UNARY_STREAM, - 'RemoveNode': cardinality.Cardinality.UNARY_UNARY, - 'RemovePod': cardinality.Cardinality.UNARY_UNARY, - 'RunAndWait': cardinality.Cardinality.STREAM_STREAM, - 'SetNodeAvailable': cardinality.Cardinality.UNARY_UNARY, - } - stub_options = beta_implementations.stub_options(host=host, metadata_transformer=metadata_transformer, request_serializers=request_serializers, response_deserializers=response_deserializers, thread_pool=pool, thread_pool_size=pool_size) - return beta_implementations.dynamic_stub(channel, 'pb.CoreRPC', cardinalities, options=stub_options) -except ImportError: - pass + +_CORERPC = _descriptor.ServiceDescriptor( + name='CoreRPC', + full_name='pb.CoreRPC', + file=DESCRIPTOR, + index=0, + options=None, + serialized_start=4530, + serialized_end=5808, + methods=[ + _descriptor.MethodDescriptor( + name='ListPods', + full_name='pb.CoreRPC.ListPods', + index=0, + containing_service=None, + input_type=_EMPTY, + output_type=_PODS, + options=None, + ), + _descriptor.MethodDescriptor( + name='AddPod', + full_name='pb.CoreRPC.AddPod', + index=1, + containing_service=None, + input_type=_ADDPODOPTIONS, + output_type=_POD, + options=None, + ), + _descriptor.MethodDescriptor( + name='RemovePod', + full_name='pb.CoreRPC.RemovePod', + index=2, + containing_service=None, + input_type=_REMOVEPODOPTIONS, + output_type=_EMPTY, + options=None, + ), + _descriptor.MethodDescriptor( + name='GetPod', + full_name='pb.CoreRPC.GetPod', + index=3, + containing_service=None, + input_type=_GETPODOPTIONS, + output_type=_POD, + options=None, + ), + _descriptor.MethodDescriptor( + name='AddNode', + full_name='pb.CoreRPC.AddNode', + index=4, + containing_service=None, + input_type=_ADDNODEOPTIONS, + output_type=_NODE, + options=None, + ), + _descriptor.MethodDescriptor( + name='RemoveNode', + full_name='pb.CoreRPC.RemoveNode', + index=5, + containing_service=None, + input_type=_REMOVENODEOPTIONS, + output_type=_POD, + options=None, + ), + _descriptor.MethodDescriptor( + name='GetNode', + full_name='pb.CoreRPC.GetNode', + index=6, + containing_service=None, + input_type=_GETNODEOPTIONS, + output_type=_NODE, + options=None, + ), + _descriptor.MethodDescriptor( + name='ListPodNodes', + full_name='pb.CoreRPC.ListPodNodes', + index=7, + containing_service=None, + input_type=_LISTNODESOPTIONS, + output_type=_NODES, + options=None, + ), + _descriptor.MethodDescriptor( + name='GetContainer', + full_name='pb.CoreRPC.GetContainer', + index=8, + containing_service=None, + input_type=_CONTAINERID, + output_type=_CONTAINER, + options=None, + ), + _descriptor.MethodDescriptor( + name='GetContainers', + full_name='pb.CoreRPC.GetContainers', + index=9, + containing_service=None, + input_type=_CONTAINERIDS, + output_type=_CONTAINERS, + options=None, + ), + _descriptor.MethodDescriptor( + name='ListNetworks', + full_name='pb.CoreRPC.ListNetworks', + index=10, + containing_service=None, + input_type=_LISTNETWORKOPTIONS, + output_type=_NETWORKS, + options=None, + ), + _descriptor.MethodDescriptor( + name='SetNodeAvailable', + full_name='pb.CoreRPC.SetNodeAvailable', + index=11, + containing_service=None, + input_type=_NODEAVAILABLE, + output_type=_NODE, + options=None, + ), + _descriptor.MethodDescriptor( + name='Backup', + full_name='pb.CoreRPC.Backup', + index=12, + containing_service=None, + input_type=_BACKUPOPTIONS, + output_type=_BACKUPMESSAGE, + options=None, + ), + _descriptor.MethodDescriptor( + name='GetNodeByName', + full_name='pb.CoreRPC.GetNodeByName', + index=13, + containing_service=None, + input_type=_GETNODEOPTIONS, + output_type=_NODE, + options=None, + ), + _descriptor.MethodDescriptor( + name='ContainerDeployed', + full_name='pb.CoreRPC.ContainerDeployed', + index=14, + containing_service=None, + input_type=_CONTAINERDEPLOYEDOPTIONS, + output_type=_EMPTY, + options=None, + ), + _descriptor.MethodDescriptor( + name='ListContainers', + full_name='pb.CoreRPC.ListContainers', + index=15, + containing_service=None, + input_type=_DEPLOYSTATUSOPTIONS, + output_type=_CONTAINERS, + options=None, + ), + _descriptor.MethodDescriptor( + name='BuildImage', + full_name='pb.CoreRPC.BuildImage', + index=16, + containing_service=None, + input_type=_BUILDIMAGEOPTIONS, + output_type=_BUILDIMAGEMESSAGE, + options=None, + ), + _descriptor.MethodDescriptor( + name='RemoveImage', + full_name='pb.CoreRPC.RemoveImage', + index=17, + containing_service=None, + input_type=_REMOVEIMAGEOPTIONS, + output_type=_REMOVEIMAGEMESSAGE, + options=None, + ), + _descriptor.MethodDescriptor( + name='DeployStatus', + full_name='pb.CoreRPC.DeployStatus', + index=18, + containing_service=None, + input_type=_DEPLOYSTATUSOPTIONS, + output_type=_DEPLOYSTATUSMESSAGE, + options=None, + ), + _descriptor.MethodDescriptor( + name='RunAndWait', + full_name='pb.CoreRPC.RunAndWait', + index=19, + containing_service=None, + input_type=_RUNANDWAITOPTIONS, + output_type=_RUNANDWAITMESSAGE, + options=None, + ), + _descriptor.MethodDescriptor( + name='CreateContainer', + full_name='pb.CoreRPC.CreateContainer', + index=20, + containing_service=None, + input_type=_DEPLOYOPTIONS, + output_type=_CREATECONTAINERMESSAGE, + options=None, + ), + _descriptor.MethodDescriptor( + name='RemoveContainer', + full_name='pb.CoreRPC.RemoveContainer', + index=21, + containing_service=None, + input_type=_REMOVECONTAINEROPTIONS, + output_type=_REMOVECONTAINERMESSAGE, + options=None, + ), + _descriptor.MethodDescriptor( + name='ReallocResource', + full_name='pb.CoreRPC.ReallocResource', + index=22, + containing_service=None, + input_type=_REALLOCOPTIONS, + output_type=_REALLOCRESOURCEMESSAGE, + options=None, + ), +]) +_sym_db.RegisterServiceDescriptor(_CORERPC) + +DESCRIPTOR.services_by_name['CoreRPC'] = _CORERPC + # @@protoc_insertion_point(module_scope) diff --git a/rpc/transform.go b/rpc/transform.go index 5aeee057c..445db07b5 100644 --- a/rpc/transform.go +++ b/rpc/transform.go @@ -132,7 +132,6 @@ func toCoreDeployOptions(d *pb.DeployOptions) (*types.DeployOptions, error) { HealthCheck: healthcheck, Hook: hook, RestartPolicy: entrypoint.RestartPolicy, - ExtraHosts: entrypoint.ExtraHosts, } return &types.DeployOptions{ Name: d.Name, @@ -146,6 +145,7 @@ func toCoreDeployOptions(d *pb.DeployOptions) (*types.DeployOptions, error) { Count: int(d.Count), Env: d.Env, DNS: d.Dns, + ExtraHosts: d.ExtraHosts, Volumes: d.Volumes, Networks: d.Networks, NetworkMode: d.Networkmode, diff --git a/types/options.go b/types/options.go index 76f24567e..42917c1fc 100644 --- a/types/options.go +++ b/types/options.go @@ -22,6 +22,7 @@ type DeployOptions struct { Count int // How many containers needed, e.g. 4 Env []string // Env for container DNS []string // DNS for container + ExtraHosts []string // Extra hosts for container Volumes []string // Volumes for container Networks map[string]string // Network names and specified IPs NetworkMode string // Network mode diff --git a/types/specs.go b/types/specs.go index 54603e5c7..4934f4033 100644 --- a/types/specs.go +++ b/types/specs.go @@ -46,7 +46,6 @@ type Entrypoint struct { HealthCheck *HealthCheck `yaml:"healthcheck,omitempty,flow"` Hook *Hook `yaml:"hook,omitempty,flow"` RestartPolicy string `yaml:"restart,omitempty"` - ExtraHosts []string `yaml:"hosts,omitempty,flow"` } // single bind