diff --git a/devtools/core_pb2.py b/devtools/core_pb2.py index d0f5ece11..679ca75b6 100644 --- a/devtools/core_pb2.py +++ b/devtools/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\"!\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\"(\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\"\xa1\x01\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\x0e\n\x06public\x18\x04 \x01(\x08\x12\x1e\n\x03\x63pu\x18\x05 \x03(\x0b\x32\x11.pb.Node.CpuEntry\x12\x0c\n\x04info\x18\x06 \x01(\t\x1a*\n\x08\x43puEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\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\"/\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\",\n\x0c\x43ontainerIDs\x12\x1c\n\x03ids\x18\x01 \x03(\x0b\x32\x0f.pb.ContainerID\"+\n\rAddPodOptions\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x65sc\x18\x02 \x01(\t\"\x1d\n\rGetPodOptions\x12\x0c\n\x04name\x18\x01 \x01(\t\"\x88\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\x0e\n\x06\x63\x61\x66ile\x18\x04 \x01(\t\x12\x10\n\x08\x63\x65rtfile\x18\x05 \x01(\t\x12\x0f\n\x07keyfile\x18\x06 \x01(\t\x12\x0e\n\x06public\x18\x07 \x01(\x08\"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\"Q\n\x11\x42uildImageOptions\x12\x0c\n\x04repo\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x0b\n\x03uid\x18\x03 \x01(\t\x12\x10\n\x08\x61rtifact\x18\x04 \x01(\t\"\xc8\x02\n\rDeployOptions\x12\r\n\x05specs\x18\x01 \x01(\t\x12\x0f\n\x07\x61ppname\x18\x02 \x01(\t\x12\r\n\x05image\x18\x03 \x01(\t\x12\x0f\n\x07podname\x18\x04 \x01(\t\x12\x10\n\x08nodename\x18\x05 \x01(\t\x12\x12\n\nentrypoint\x18\x06 \x01(\t\x12\x12\n\nextra_args\x18\x07 \x01(\t\x12\x11\n\tcpu_quota\x18\x08 \x01(\x01\x12\r\n\x05\x63ount\x18\t \x01(\x05\x12\x0e\n\x06memory\x18\n \x01(\x03\x12\x0b\n\x03\x65nv\x18\x0b \x03(\t\x12\x31\n\x08networks\x18\x0c \x03(\x0b\x32\x1f.pb.DeployOptions.NetworksEntry\x12\x0b\n\x03raw\x18\r \x01(\x08\x12\r\n\x05\x64\x65\x62ug\x18\x0e \x01(\x08\x1a/\n\rNetworksEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"=\n\x0eUpgradeOptions\x12\x1c\n\x03ids\x18\x01 \x03(\x0b\x32\x0f.pb.ContainerID\x12\r\n\x05image\x18\x02 \x01(\t\"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\x0b\x45rrorDetail\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x03\x12\x0f\n\x07message\x18\x02 \x01(\t\"{\n\x11\x42uildImageMessage\x12\x0e\n\x06status\x18\x01 \x01(\t\x12\x10\n\x08progress\x18\x02 \x01(\t\x12\r\n\x05\x65rror\x18\x03 \x01(\t\x12\x0e\n\x06stream\x18\x04 \x01(\t\x12%\n\x0c\x65rror_detail\x18\x05 \x01(\x0b\x32\x0f.pb.ErrorDetail\"\xd3\x01\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\x1a*\n\x08\x43puEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01\"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\"g\n\x17UpgradeContainerMessage\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0e\n\x06new_id\x18\x02 \x01(\t\x12\x10\n\x08new_name\x18\x03 \x01(\t\x12\r\n\x05\x65rror\x18\x04 \x01(\t\x12\x0f\n\x07success\x18\x05 \x01(\x08\x32\xd1\x06\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\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\x31\n\x0cListNetworks\x12\x11.pb.GetPodOptions\x1a\x0c.pb.Networks\"\x00\x12\x31\n\x10SetNodeAvailable\x12\x11.pb.NodeAvailable\x1a\x08.pb.Node\"\x00\x12>\n\nBuildImage\x12\x15.pb.BuildImageOptions\x1a\x15.pb.BuildImageMessage\"\x00\x30\x01\x12\x42\n\x0f\x43reateContainer\x12\x11.pb.DeployOptions\x1a\x1a.pb.CreateContainerMessage0\x01\x12\x45\n\x10UpgradeContainer\x12\x12.pb.UpgradeOptions\x1a\x1b.pb.UpgradeContainerMessage0\x01\x12\x41\n\x0fRemoveContainer\x12\x10.pb.ContainerIDs\x1a\x1a.pb.RemoveContainerMessage0\x01\x12?\n\x0bRemoveImage\x12\x16.pb.RemoveImageOptions\x1a\x16.pb.RemoveImageMessage0\x01\x62\x06proto3') + serialized_pb=_b('\n\ncore.proto\x12\x02pb\"\x07\n\x05\x45mpty\"!\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\"(\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\"\xb4\x01\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\x0e\n\x06public\x18\x04 \x01(\x08\x12\x1e\n\x03\x63pu\x18\x05 \x03(\x0b\x32\x11.pb.Node.CpuEntry\x12\x0c\n\x04info\x18\x06 \x01(\t\x12\x11\n\tavailable\x18\x07 \x01(\x08\x1a*\n\x08\x43puEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\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\"/\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\",\n\x0c\x43ontainerIDs\x12\x1c\n\x03ids\x18\x01 \x03(\x0b\x32\x0f.pb.ContainerID\"+\n\rAddPodOptions\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x65sc\x18\x02 \x01(\t\"\x1d\n\rGetPodOptions\x12\x0c\n\x04name\x18\x01 \x01(\t\"\x88\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\x0e\n\x06\x63\x61\x66ile\x18\x04 \x01(\t\x12\x10\n\x08\x63\x65rtfile\x18\x05 \x01(\t\x12\x0f\n\x07keyfile\x18\x06 \x01(\t\x12\x0e\n\x06public\x18\x07 \x01(\x08\"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\"Q\n\x11\x42uildImageOptions\x12\x0c\n\x04repo\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x0b\n\x03uid\x18\x03 \x01(\t\x12\x10\n\x08\x61rtifact\x18\x04 \x01(\t\"\xc8\x02\n\rDeployOptions\x12\r\n\x05specs\x18\x01 \x01(\t\x12\x0f\n\x07\x61ppname\x18\x02 \x01(\t\x12\r\n\x05image\x18\x03 \x01(\t\x12\x0f\n\x07podname\x18\x04 \x01(\t\x12\x10\n\x08nodename\x18\x05 \x01(\t\x12\x12\n\nentrypoint\x18\x06 \x01(\t\x12\x12\n\nextra_args\x18\x07 \x01(\t\x12\x11\n\tcpu_quota\x18\x08 \x01(\x01\x12\r\n\x05\x63ount\x18\t \x01(\x05\x12\x0e\n\x06memory\x18\n \x01(\x03\x12\x0b\n\x03\x65nv\x18\x0b \x03(\t\x12\x31\n\x08networks\x18\x0c \x03(\x0b\x32\x1f.pb.DeployOptions.NetworksEntry\x12\x0b\n\x03raw\x18\r \x01(\x08\x12\r\n\x05\x64\x65\x62ug\x18\x0e \x01(\x08\x1a/\n\rNetworksEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"=\n\x0eUpgradeOptions\x12\x1c\n\x03ids\x18\x01 \x03(\x0b\x32\x0f.pb.ContainerID\x12\r\n\x05image\x18\x02 \x01(\t\"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\x0b\x45rrorDetail\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x03\x12\x0f\n\x07message\x18\x02 \x01(\t\"{\n\x11\x42uildImageMessage\x12\x0e\n\x06status\x18\x01 \x01(\t\x12\x10\n\x08progress\x18\x02 \x01(\t\x12\r\n\x05\x65rror\x18\x03 \x01(\t\x12\x0e\n\x06stream\x18\x04 \x01(\t\x12%\n\x0c\x65rror_detail\x18\x05 \x01(\x0b\x32\x0f.pb.ErrorDetail\"\xd3\x01\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\x1a*\n\x08\x43puEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01\"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\"g\n\x17UpgradeContainerMessage\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0e\n\x06new_id\x18\x02 \x01(\t\x12\x10\n\x08new_name\x18\x03 \x01(\t\x12\r\n\x05\x65rror\x18\x04 \x01(\t\x12\x0f\n\x07success\x18\x05 \x01(\x08\x32\xd1\x06\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\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\x31\n\x0cListNetworks\x12\x11.pb.GetPodOptions\x1a\x0c.pb.Networks\"\x00\x12\x31\n\x10SetNodeAvailable\x12\x11.pb.NodeAvailable\x1a\x08.pb.Node\"\x00\x12>\n\nBuildImage\x12\x15.pb.BuildImageOptions\x1a\x15.pb.BuildImageMessage\"\x00\x30\x01\x12\x42\n\x0f\x43reateContainer\x12\x11.pb.DeployOptions\x1a\x1a.pb.CreateContainerMessage0\x01\x12\x45\n\x10UpgradeContainer\x12\x12.pb.UpgradeOptions\x1a\x1b.pb.UpgradeContainerMessage0\x01\x12\x41\n\x0fRemoveContainer\x12\x10.pb.ContainerIDs\x1a\x1a.pb.RemoveContainerMessage0\x01\x12?\n\x0bRemoveImage\x12\x16.pb.RemoveImageOptions\x1a\x16.pb.RemoveImageMessage0\x01\x62\x06proto3') ) _sym_db.RegisterFileDescriptor(DESCRIPTOR) @@ -221,8 +221,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=298, - serialized_end=340, + serialized_start=317, + serialized_end=359, ) _NODE = _descriptor.Descriptor( @@ -274,6 +274,13 @@ message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), + _descriptor.FieldDescriptor( + name='available', full_name='pb.Node.available', index=6, + number=7, 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), ], extensions=[ ], @@ -287,7 +294,7 @@ oneofs=[ ], serialized_start=179, - serialized_end=340, + serialized_end=359, ) @@ -317,8 +324,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=342, - serialized_end=374, + serialized_start=361, + serialized_end=393, ) @@ -362,8 +369,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=376, - serialized_end=445, + serialized_start=395, + serialized_end=464, ) @@ -421,8 +428,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=447, - serialized_end=533, + serialized_start=466, + serialized_end=552, ) @@ -452,8 +459,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=535, - serialized_end=582, + serialized_start=554, + serialized_end=601, ) @@ -483,8 +490,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=584, - serialized_end=609, + serialized_start=603, + serialized_end=628, ) @@ -514,8 +521,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=611, - serialized_end=655, + serialized_start=630, + serialized_end=674, ) @@ -552,8 +559,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=657, - serialized_end=700, + serialized_start=676, + serialized_end=719, ) @@ -583,8 +590,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=702, - serialized_end=731, + serialized_start=721, + serialized_end=750, ) @@ -656,8 +663,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=734, - serialized_end=870, + serialized_start=753, + serialized_end=889, ) @@ -694,8 +701,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=872, - serialized_end=926, + serialized_start=891, + serialized_end=945, ) @@ -732,8 +739,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=928, - serialized_end=979, + serialized_start=947, + serialized_end=998, ) @@ -770,8 +777,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=981, - serialized_end=1029, + serialized_start=1000, + serialized_end=1048, ) @@ -822,8 +829,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1031, - serialized_end=1112, + serialized_start=1050, + serialized_end=1131, ) @@ -860,8 +867,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1396, - serialized_end=1443, + serialized_start=1415, + serialized_end=1462, ) _DEPLOYOPTIONS = _descriptor.Descriptor( @@ -981,8 +988,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1115, - serialized_end=1443, + serialized_start=1134, + serialized_end=1462, ) @@ -1019,8 +1026,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1445, - serialized_end=1506, + serialized_start=1464, + serialized_end=1525, ) @@ -1064,8 +1071,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1508, - serialized_end=1579, + serialized_start=1527, + serialized_end=1598, ) @@ -1102,8 +1109,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1581, - serialized_end=1625, + serialized_start=1600, + serialized_end=1644, ) @@ -1161,8 +1168,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1627, - serialized_end=1750, + serialized_start=1646, + serialized_end=1769, ) @@ -1199,8 +1206,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=298, - serialized_end=340, + serialized_start=317, + serialized_end=359, ) _CREATECONTAINERMESSAGE = _descriptor.Descriptor( @@ -1271,8 +1278,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1753, - serialized_end=1964, + serialized_start=1772, + serialized_end=1983, ) @@ -1316,8 +1323,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1966, - serialized_end=2036, + serialized_start=1985, + serialized_end=2055, ) @@ -1361,8 +1368,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2038, - serialized_end=2108, + serialized_start=2057, + serialized_end=2127, ) @@ -1420,8 +1427,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2110, - serialized_end=2213, + serialized_start=2129, + serialized_end=2232, ) _PODS.fields_by_name['pods'].message_type = _POD diff --git a/rpc/gen/core.pb.go b/rpc/gen/core.pb.go index 8fc0a6fe3..1310f46ea 100644 --- a/rpc/gen/core.pb.go +++ b/rpc/gen/core.pb.go @@ -150,12 +150,13 @@ func (m *Networks) GetNetworks() []*Network { } type Node struct { - Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - Endpoint string `protobuf:"bytes,2,opt,name=endpoint" json:"endpoint,omitempty"` - Podname string `protobuf:"bytes,3,opt,name=podname" json:"podname,omitempty"` - Public bool `protobuf:"varint,4,opt,name=public" json:"public,omitempty"` - Cpu map[string]int64 `protobuf:"bytes,5,rep,name=cpu" json:"cpu,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` - Info string `protobuf:"bytes,6,opt,name=info" json:"info,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + Endpoint string `protobuf:"bytes,2,opt,name=endpoint" json:"endpoint,omitempty"` + Podname string `protobuf:"bytes,3,opt,name=podname" json:"podname,omitempty"` + Public bool `protobuf:"varint,4,opt,name=public" json:"public,omitempty"` + Cpu map[string]int64 `protobuf:"bytes,5,rep,name=cpu" json:"cpu,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + Info string `protobuf:"bytes,6,opt,name=info" json:"info,omitempty"` + Available bool `protobuf:"varint,7,opt,name=available" json:"available,omitempty"` } func (m *Node) Reset() { *m = Node{} } @@ -205,6 +206,13 @@ func (m *Node) GetInfo() string { return "" } +func (m *Node) GetAvailable() bool { + if m != nil { + return m.Available + } + return false +} + type Nodes struct { Nodes []*Node `protobuf:"bytes,1,rep,name=nodes" json:"nodes,omitempty"` } @@ -1728,88 +1736,89 @@ var _CoreRPC_serviceDesc = grpc.ServiceDesc{ func init() { proto.RegisterFile("core.proto", fileDescriptor0) } var fileDescriptor0 = []byte{ - // 1324 bytes of a gzipped FileDescriptorProto + // 1329 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x9c, 0x57, 0xdd, 0x6e, 0xdc, 0x44, - 0x14, 0x8e, 0xd7, 0xbb, 0x59, 0xef, 0xd9, 0x6c, 0x9a, 0x8e, 0xda, 0x60, 0x5c, 0x5a, 0xd2, 0xa9, - 0x44, 0xc3, 0x45, 0xa3, 0xfe, 0x08, 0x8a, 0x88, 0x54, 0x94, 0x26, 0xa1, 0x8a, 0x04, 0x25, 0x18, - 0x71, 0x87, 0x14, 0xbc, 0xf6, 0x34, 0xb2, 0xba, 0xeb, 0x31, 0x1e, 0x3b, 0xcb, 0x3e, 0x03, 0x57, - 0x3c, 0x06, 0x6f, 0x02, 0x97, 0x5c, 0xf2, 0x36, 0xe8, 0xcc, 0x8f, 0x3d, 0x76, 0x37, 0x0d, 0xe4, - 0x6e, 0x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 0x54, 0x18, 0xe3, 0xc8, 0x78, 0x2c, 0x3f, 0x71, 0xe5, 0x92, 0x81, 0x64, 0x07, + 0xfa, 0x59, 0x39, 0x9d, 0x25, 0x91, 0xd7, 0xdd, 0x75, 0xf6, 0x86, 0x81, 0x46, 0xe4, 0x01, 0xb8, + 0x51, 0x56, 0x7a, 0x3d, 0x19, 0xce, 0x4d, 0x19, 0x0e, 0x8f, 0xd9, 0xfe, 0x51, 0x56, 0x9e, 0xa4, + 0x45, 0xbe, 0x0c, 0x70, 0x15, 0xc3, 0x48, 0xd2, 0x37, 0xdc, 0xeb, 0xab, 0x30, 0x70, 0x4c, 0x3e, + 0x82, 0x51, 0x78, 0x19, 0x26, 0xb3, 0x70, 0x3a, 0x63, 0xde, 0x40, 0xda, 0xac, 0x27, 0xfc, 0xcf, + 0x61, 0x68, 0x4c, 0x90, 0x6d, 0x70, 0xdf, 0xb2, 0xa5, 0x3e, 0x03, 0x0e, 0xc9, 0x2d, 0xe8, 0x5d, + 0x86, 0xb3, 0x92, 0xc9, 0xf8, 0xdd, 0x40, 0x81, 0x2f, 0x3b, 0x5f, 0x38, 0xf4, 0x21, 0xf4, 0xd0, + 0xbf, 0x20, 0xf7, 0xa0, 0x97, 0xe2, 0x40, 0x13, 0x35, 0x34, 0x91, 0x05, 0x6a, 0x9a, 0x46, 0x30, + 0x41, 0x78, 0x68, 0x3c, 0x22, 0x2d, 0xb8, 0x62, 0xd1, 0x55, 0x61, 0x9b, 0x96, 0x4e, 0x93, 0x96, + 0xc6, 0x29, 0xdc, 0xd6, 0x29, 0xe8, 0x12, 0x46, 0x47, 0x3c, 0x2d, 0xc2, 0x24, 0x65, 0x39, 0xd9, + 0x82, 0x4e, 0x12, 0x6b, 0xd3, 0x9d, 0x24, 0x7e, 0x8f, 0x51, 0x3b, 0x14, 0xb7, 0x15, 0x8a, 0xc9, + 0x68, 0xb7, 0xa9, 0x4a, 0x49, 0x6f, 0xaf, 0xa6, 0x97, 0x1e, 0x00, 0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, 0x4a, 0xfc, 0x0e, 0x00, + 0x00, } diff --git a/rpc/gen/core.proto b/rpc/gen/core.proto index 312a3046e..4b906801a 100644 --- a/rpc/gen/core.proto +++ b/rpc/gen/core.proto @@ -51,6 +51,7 @@ message Node { bool public = 4; map cpu = 5; string info = 6; + bool available = 7; } message Nodes { diff --git a/rpc/transform.go b/rpc/transform.go index fc0488b41..18fbca271 100644 --- a/rpc/transform.go +++ b/rpc/transform.go @@ -30,12 +30,13 @@ func toRPCNode(n *types.Node) *pb.Node { } return &pb.Node{ - Name: n.Name, - Endpoint: n.Endpoint, - Podname: n.Podname, - Public: n.Public, - Cpu: toRPCCPUMap(n.CPU), - Info: string(bytes), + Name: n.Name, + Endpoint: n.Endpoint, + Podname: n.Podname, + Public: n.Public, + Cpu: toRPCCPUMap(n.CPU), + Info: string(bytes), + Available: n.Available, } }