From e2ec551d8427e506d228785bceedd6fdc4e2b773 Mon Sep 17 00:00:00 2001 From: CMGS Date: Tue, 14 May 2019 15:09:51 +0800 Subject: [PATCH] support send files to containers --- cluster/calcium/calcium_test.go | 9 +- cluster/calcium/create.go | 14 +- cluster/calcium/send.go | 49 +++ cluster/cluster.go | 1 + rpc/gen/core.pb.go | 693 ++++++++++++++++++++------------ rpc/gen/core.proto | 14 +- rpc/gen/core_pb2.py | 235 +++++++++-- rpc/gen/core_pb2_grpc.py | 17 + rpc/rpc.go | 48 ++- rpc/transform.go | 45 ++- types/message.go | 7 + types/options.go | 6 + 12 files changed, 801 insertions(+), 337 deletions(-) create mode 100644 cluster/calcium/send.go diff --git a/cluster/calcium/calcium_test.go b/cluster/calcium/calcium_test.go index 82086f8f6..8bbb2507b 100644 --- a/cluster/calcium/calcium_test.go +++ b/cluster/calcium/calcium_test.go @@ -42,11 +42,14 @@ func NewTestCluster() *Calcium { func TestNewCluster(t *testing.T) { _, err := New(types.Config{}, false) assert.Error(t, err) - _, err = New(types.Config{}, true) + c, err := New(types.Config{}, true) assert.NoError(t, err) - _, err = New(types.Config{Git: types.GitConfig{SCMType: "gitlab"}}, true) + c.Finalizer() + c, err = New(types.Config{Git: types.GitConfig{SCMType: "gitlab"}}, true) assert.NoError(t, err) - _, err = New(types.Config{Git: types.GitConfig{SCMType: "github"}}, true) + c.Finalizer() + c, err = New(types.Config{Git: types.GitConfig{SCMType: "github"}}, true) + c.Finalizer() assert.NoError(t, err) } diff --git a/cluster/calcium/create.go b/cluster/calcium/create.go index 3842e0fcf..d7ab855cd 100644 --- a/cluster/calcium/create.go +++ b/cluster/calcium/create.go @@ -3,8 +3,6 @@ package calcium import ( "context" "fmt" - "os" - "path/filepath" "sync" "github.com/projecteru2/core/cluster" @@ -198,20 +196,10 @@ func (c *Calcium) doCreateAndStartContainer( // Copy data to container if len(opts.Data) > 0 { for dst, src := range opts.Data { - path := filepath.Dir(dst) - filename := filepath.Base(dst) - log.Infof("[doCreateAndStartContainer] Copy file %s to dir %s", filename, path) - log.Debugf("[doCreateAndStartContainer] Local file %s, remote path %s", src, dst) - f, err := os.Open(src) - if err != nil { + if err := c.doSendFileToContainer(ctx, node.Engine, containerCreated.ID, dst, src, true, true); err != nil { createContainerMessage.Error = err return createContainerMessage } - if err = node.Engine.VirtualizationCopyTo(ctx, containerCreated.ID, path, f, true, true); err != nil { - createContainerMessage.Error = err - return createContainerMessage - } - f.Close() } } diff --git a/cluster/calcium/send.go b/cluster/calcium/send.go new file mode 100644 index 000000000..081922910 --- /dev/null +++ b/cluster/calcium/send.go @@ -0,0 +1,49 @@ +package calcium + +import ( + "context" + "os" + "path/filepath" + + "github.com/projecteru2/core/engine" + "github.com/projecteru2/core/types" + log "github.com/sirupsen/logrus" +) + +// Send send files to container +func (c *Calcium) Send(ctx context.Context, opts *types.SendOptions) (chan *types.SendMessage, error) { + ch := make(chan *types.SendMessage) + go func() { + defer close(ch) + // TODO use wait group, do it concurrently + for dst, src := range opts.Data { + log.Infof("[Send] Send files to containers' %s", dst) + for _, ID := range opts.IDs { + container, err := c.GetContainer(ctx, ID) + if err != nil { + ch <- &types.SendMessage{ID: ID, Path: dst, Error: err} + continue + } + if err := c.doSendFileToContainer(ctx, container.Engine, container.ID, dst, src, true, true); err != nil { + ch <- &types.SendMessage{ID: ID, Path: dst, Error: err} + continue + } + ch <- &types.SendMessage{ID: ID, Path: dst} + } + } + }() + return ch, nil +} + +func (c *Calcium) doSendFileToContainer(ctx context.Context, engine engine.API, ID, dst, src string, AllowOverwriteDirWithFile bool, CopyUIDGID bool) error { + path := filepath.Dir(dst) + filename := filepath.Base(dst) + log.Infof("[doSendFileToContainer] Send file %s to dir %s", filename, path) + log.Debugf("[doSendFileToContainer] Local file %s, remote path %s", src, dst) + f, err := os.Open(src) + if err != nil { + return err + } + defer f.Close() + return engine.VirtualizationCopyTo(ctx, ID, path, f, AllowOverwriteDirWithFile, CopyUIDGID) +} diff --git a/cluster/cluster.go b/cluster/cluster.go index 1ad9b4728..63d89793c 100644 --- a/cluster/cluster.go +++ b/cluster/cluster.go @@ -67,6 +67,7 @@ type Cluster interface { PodResource(ctx context.Context, podname string) (*types.PodResource, error) ControlContainer(ctx context.Context, IDs []string, t string) (chan *types.ControlContainerMessage, error) Copy(ctx context.Context, opts *types.CopyOptions) (chan *types.CopyMessage, error) + Send(ctx context.Context, opts *types.SendOptions) (chan *types.SendMessage, error) CacheImage(ctx context.Context, podname, nodenmae string, images []string, step int) (chan *types.CacheImageMessage, error) RemoveImage(ctx context.Context, podname, nodename string, images []string, step int, prune bool) (chan *types.RemoveImageMessage, error) RunAndWait(ctx context.Context, opts *types.DeployOptions, stdin io.ReadCloser) (chan *types.RunAndWaitMessage, error) diff --git a/rpc/gen/core.pb.go b/rpc/gen/core.pb.go index 16535ef64..723c59243 100644 --- a/rpc/gen/core.pb.go +++ b/rpc/gen/core.pb.go @@ -33,7 +33,7 @@ func (m *Empty) Reset() { *m = Empty{} } func (m *Empty) String() string { return proto.CompactTextString(m) } func (*Empty) ProtoMessage() {} func (*Empty) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{0} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{0} } func (m *Empty) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Empty.Unmarshal(m, b) @@ -67,7 +67,7 @@ func (m *ListContainersOptions) Reset() { *m = ListContainersOptions{} } func (m *ListContainersOptions) String() string { return proto.CompactTextString(m) } func (*ListContainersOptions) ProtoMessage() {} func (*ListContainersOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{1} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{1} } func (m *ListContainersOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListContainersOptions.Unmarshal(m, b) @@ -128,7 +128,7 @@ func (m *DeployStatusOptions) Reset() { *m = DeployStatusOptions{} } func (m *DeployStatusOptions) String() string { return proto.CompactTextString(m) } func (*DeployStatusOptions) ProtoMessage() {} func (*DeployStatusOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{2} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{2} } func (m *DeployStatusOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeployStatusOptions.Unmarshal(m, b) @@ -185,7 +185,7 @@ func (m *DeployStatusMessage) Reset() { *m = DeployStatusMessage{} } func (m *DeployStatusMessage) String() string { return proto.CompactTextString(m) } func (*DeployStatusMessage) ProtoMessage() {} func (*DeployStatusMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{3} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{3} } func (m *DeployStatusMessage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeployStatusMessage.Unmarshal(m, b) @@ -261,7 +261,7 @@ func (m *Pod) Reset() { *m = Pod{} } func (m *Pod) String() string { return proto.CompactTextString(m) } func (*Pod) ProtoMessage() {} func (*Pod) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{4} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{4} } func (m *Pod) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Pod.Unmarshal(m, b) @@ -313,7 +313,7 @@ func (m *Pods) Reset() { *m = Pods{} } func (m *Pods) String() string { return proto.CompactTextString(m) } func (*Pods) ProtoMessage() {} func (*Pods) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{5} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{5} } func (m *Pods) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Pods.Unmarshal(m, b) @@ -355,7 +355,7 @@ func (m *PodResource) Reset() { *m = PodResource{} } func (m *PodResource) String() string { return proto.CompactTextString(m) } func (*PodResource) ProtoMessage() {} func (*PodResource) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{6} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{6} } func (m *PodResource) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PodResource.Unmarshal(m, b) @@ -422,7 +422,7 @@ func (m *ListNetworkOptions) Reset() { *m = ListNetworkOptions{} } func (m *ListNetworkOptions) String() string { return proto.CompactTextString(m) } func (*ListNetworkOptions) ProtoMessage() {} func (*ListNetworkOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{7} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{7} } func (m *ListNetworkOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListNetworkOptions.Unmarshal(m, b) @@ -468,7 +468,7 @@ func (m *Network) Reset() { *m = Network{} } func (m *Network) String() string { return proto.CompactTextString(m) } func (*Network) ProtoMessage() {} func (*Network) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{8} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{8} } func (m *Network) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Network.Unmarshal(m, b) @@ -513,7 +513,7 @@ func (m *Networks) Reset() { *m = Networks{} } func (m *Networks) String() string { return proto.CompactTextString(m) } func (*Networks) ProtoMessage() {} func (*Networks) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{9} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{9} } func (m *Networks) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Networks.Unmarshal(m, b) @@ -562,7 +562,7 @@ func (m *Node) Reset() { *m = Node{} } func (m *Node) String() string { return proto.CompactTextString(m) } func (*Node) ProtoMessage() {} func (*Node) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{10} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{10} } func (m *Node) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Node.Unmarshal(m, b) @@ -677,7 +677,7 @@ func (m *Nodes) Reset() { *m = Nodes{} } func (m *Nodes) String() string { return proto.CompactTextString(m) } func (*Nodes) ProtoMessage() {} func (*Nodes) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{11} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{11} } func (m *Nodes) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Nodes.Unmarshal(m, b) @@ -717,7 +717,7 @@ func (m *NodeAvailable) Reset() { *m = NodeAvailable{} } func (m *NodeAvailable) String() string { return proto.CompactTextString(m) } func (*NodeAvailable) ProtoMessage() {} func (*NodeAvailable) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{12} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{12} } func (m *NodeAvailable) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NodeAvailable.Unmarshal(m, b) @@ -781,7 +781,7 @@ func (m *Container) Reset() { *m = Container{} } func (m *Container) String() string { return proto.CompactTextString(m) } func (*Container) ProtoMessage() {} func (*Container) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{13} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{13} } func (m *Container) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Container.Unmarshal(m, b) @@ -907,7 +907,7 @@ func (m *ContainerDeployedOptions) Reset() { *m = ContainerDeployedOptio func (m *ContainerDeployedOptions) String() string { return proto.CompactTextString(m) } func (*ContainerDeployedOptions) ProtoMessage() {} func (*ContainerDeployedOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{14} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{14} } func (m *ContainerDeployedOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ContainerDeployedOptions.Unmarshal(m, b) @@ -973,7 +973,7 @@ func (m *Containers) Reset() { *m = Containers{} } func (m *Containers) String() string { return proto.CompactTextString(m) } func (*Containers) ProtoMessage() {} func (*Containers) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{15} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{15} } func (m *Containers) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Containers.Unmarshal(m, b) @@ -1011,7 +1011,7 @@ func (m *ContainerID) Reset() { *m = ContainerID{} } func (m *ContainerID) String() string { return proto.CompactTextString(m) } func (*ContainerID) ProtoMessage() {} func (*ContainerID) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{16} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{16} } func (m *ContainerID) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ContainerID.Unmarshal(m, b) @@ -1049,7 +1049,7 @@ func (m *ContainerIDs) Reset() { *m = ContainerIDs{} } func (m *ContainerIDs) String() string { return proto.CompactTextString(m) } func (*ContainerIDs) ProtoMessage() {} func (*ContainerIDs) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{17} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{17} } func (m *ContainerIDs) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ContainerIDs.Unmarshal(m, b) @@ -1088,7 +1088,7 @@ func (m *RemoveContainerOptions) Reset() { *m = RemoveContainerOptions{} func (m *RemoveContainerOptions) String() string { return proto.CompactTextString(m) } func (*RemoveContainerOptions) ProtoMessage() {} func (*RemoveContainerOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{18} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{18} } func (m *RemoveContainerOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RemoveContainerOptions.Unmarshal(m, b) @@ -1135,7 +1135,7 @@ func (m *ReallocOptions) Reset() { *m = ReallocOptions{} } func (m *ReallocOptions) String() string { return proto.CompactTextString(m) } func (*ReallocOptions) ProtoMessage() {} func (*ReallocOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{19} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{19} } func (m *ReallocOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReallocOptions.Unmarshal(m, b) @@ -1189,7 +1189,7 @@ func (m *AddPodOptions) Reset() { *m = AddPodOptions{} } func (m *AddPodOptions) String() string { return proto.CompactTextString(m) } func (*AddPodOptions) ProtoMessage() {} func (*AddPodOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{20} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{20} } func (m *AddPodOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AddPodOptions.Unmarshal(m, b) @@ -1241,7 +1241,7 @@ func (m *RemovePodOptions) Reset() { *m = RemovePodOptions{} } func (m *RemovePodOptions) String() string { return proto.CompactTextString(m) } func (*RemovePodOptions) ProtoMessage() {} func (*RemovePodOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{21} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{21} } func (m *RemovePodOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RemovePodOptions.Unmarshal(m, b) @@ -1279,7 +1279,7 @@ func (m *GetPodOptions) Reset() { *m = GetPodOptions{} } func (m *GetPodOptions) String() string { return proto.CompactTextString(m) } func (*GetPodOptions) ProtoMessage() {} func (*GetPodOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{22} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{22} } func (m *GetPodOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetPodOptions.Unmarshal(m, b) @@ -1326,7 +1326,7 @@ func (m *AddNodeOptions) Reset() { *m = AddNodeOptions{} } func (m *AddNodeOptions) String() string { return proto.CompactTextString(m) } func (*AddNodeOptions) ProtoMessage() {} func (*AddNodeOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{23} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{23} } func (m *AddNodeOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AddNodeOptions.Unmarshal(m, b) @@ -1428,7 +1428,7 @@ func (m *RemoveNodeOptions) Reset() { *m = RemoveNodeOptions{} } func (m *RemoveNodeOptions) String() string { return proto.CompactTextString(m) } func (*RemoveNodeOptions) ProtoMessage() {} func (*RemoveNodeOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{24} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{24} } func (m *RemoveNodeOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RemoveNodeOptions.Unmarshal(m, b) @@ -1474,7 +1474,7 @@ func (m *GetNodeOptions) Reset() { *m = GetNodeOptions{} } func (m *GetNodeOptions) String() string { return proto.CompactTextString(m) } func (*GetNodeOptions) ProtoMessage() {} func (*GetNodeOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{25} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{25} } func (m *GetNodeOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetNodeOptions.Unmarshal(m, b) @@ -1520,7 +1520,7 @@ func (m *ListNodesOptions) Reset() { *m = ListNodesOptions{} } func (m *ListNodesOptions) String() string { return proto.CompactTextString(m) } func (*ListNodesOptions) ProtoMessage() {} func (*ListNodesOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{26} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{26} } func (m *ListNodesOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListNodesOptions.Unmarshal(m, b) @@ -1575,7 +1575,7 @@ func (m *Build) Reset() { *m = Build{} } func (m *Build) String() string { return proto.CompactTextString(m) } func (*Build) ProtoMessage() {} func (*Build) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{27} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{27} } func (m *Build) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Build.Unmarshal(m, b) @@ -1684,7 +1684,7 @@ func (m *Builds) Reset() { *m = Builds{} } func (m *Builds) String() string { return proto.CompactTextString(m) } func (*Builds) ProtoMessage() {} func (*Builds) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{28} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{28} } func (m *Builds) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Builds.Unmarshal(m, b) @@ -1734,7 +1734,7 @@ func (m *BuildImageOptions) Reset() { *m = BuildImageOptions{} } func (m *BuildImageOptions) String() string { return proto.CompactTextString(m) } func (*BuildImageOptions) ProtoMessage() {} func (*BuildImageOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{29} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{29} } func (m *BuildImageOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BuildImageOptions.Unmarshal(m, b) @@ -1809,7 +1809,7 @@ func (m *HookOptions) Reset() { *m = HookOptions{} } func (m *HookOptions) String() string { return proto.CompactTextString(m) } func (*HookOptions) ProtoMessage() {} func (*HookOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{30} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{30} } func (m *HookOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_HookOptions.Unmarshal(m, b) @@ -1864,7 +1864,7 @@ func (m *HealthCheckOptions) Reset() { *m = HealthCheckOptions{} } func (m *HealthCheckOptions) String() string { return proto.CompactTextString(m) } func (*HealthCheckOptions) ProtoMessage() {} func (*HealthCheckOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{31} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{31} } func (m *HealthCheckOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_HealthCheckOptions.Unmarshal(m, b) @@ -1924,7 +1924,7 @@ func (m *LogOptions) Reset() { *m = LogOptions{} } func (m *LogOptions) String() string { return proto.CompactTextString(m) } func (*LogOptions) ProtoMessage() {} func (*LogOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{32} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{32} } func (m *LogOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LogOptions.Unmarshal(m, b) @@ -1978,7 +1978,7 @@ func (m *EntrypointOptions) Reset() { *m = EntrypointOptions{} } func (m *EntrypointOptions) String() string { return proto.CompactTextString(m) } func (*EntrypointOptions) ProtoMessage() {} func (*EntrypointOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{33} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{33} } func (m *EntrypointOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EntrypointOptions.Unmarshal(m, b) @@ -2102,7 +2102,7 @@ func (m *DeployOptions) Reset() { *m = DeployOptions{} } func (m *DeployOptions) String() string { return proto.CompactTextString(m) } func (*DeployOptions) ProtoMessage() {} func (*DeployOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{34} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{34} } func (m *DeployOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeployOptions.Unmarshal(m, b) @@ -2306,7 +2306,7 @@ func (m *ReplaceOptions) Reset() { *m = ReplaceOptions{} } func (m *ReplaceOptions) String() string { return proto.CompactTextString(m) } func (*ReplaceOptions) ProtoMessage() {} func (*ReplaceOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{35} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{35} } func (m *ReplaceOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReplaceOptions.Unmarshal(m, b) @@ -2382,7 +2382,7 @@ func (m *CacheImageOptions) Reset() { *m = CacheImageOptions{} } func (m *CacheImageOptions) String() string { return proto.CompactTextString(m) } func (*CacheImageOptions) ProtoMessage() {} func (*CacheImageOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{36} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{36} } func (m *CacheImageOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CacheImageOptions.Unmarshal(m, b) @@ -2445,7 +2445,7 @@ func (m *RemoveImageOptions) Reset() { *m = RemoveImageOptions{} } func (m *RemoveImageOptions) String() string { return proto.CompactTextString(m) } func (*RemoveImageOptions) ProtoMessage() {} func (*RemoveImageOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{37} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{37} } func (m *RemoveImageOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RemoveImageOptions.Unmarshal(m, b) @@ -2511,7 +2511,7 @@ func (m *CopyPaths) Reset() { *m = CopyPaths{} } func (m *CopyPaths) String() string { return proto.CompactTextString(m) } func (*CopyPaths) ProtoMessage() {} func (*CopyPaths) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{38} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{38} } func (m *CopyPaths) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CopyPaths.Unmarshal(m, b) @@ -2549,7 +2549,7 @@ func (m *CopyOptions) Reset() { *m = CopyOptions{} } func (m *CopyOptions) String() string { return proto.CompactTextString(m) } func (*CopyOptions) ProtoMessage() {} func (*CopyOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{39} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{39} } func (m *CopyOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CopyOptions.Unmarshal(m, b) @@ -2576,6 +2576,52 @@ func (m *CopyOptions) GetTargets() map[string]*CopyPaths { return nil } +type SendOptions struct { + Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` + Data map[string][]byte `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SendOptions) Reset() { *m = SendOptions{} } +func (m *SendOptions) String() string { return proto.CompactTextString(m) } +func (*SendOptions) ProtoMessage() {} +func (*SendOptions) Descriptor() ([]byte, []int) { + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{40} +} +func (m *SendOptions) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SendOptions.Unmarshal(m, b) +} +func (m *SendOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SendOptions.Marshal(b, m, deterministic) +} +func (dst *SendOptions) XXX_Merge(src proto.Message) { + xxx_messageInfo_SendOptions.Merge(dst, src) +} +func (m *SendOptions) XXX_Size() int { + return xxx_messageInfo_SendOptions.Size(m) +} +func (m *SendOptions) XXX_DiscardUnknown() { + xxx_messageInfo_SendOptions.DiscardUnknown(m) +} + +var xxx_messageInfo_SendOptions proto.InternalMessageInfo + +func (m *SendOptions) GetIds() []string { + if m != nil { + return m.Ids + } + return nil +} + +func (m *SendOptions) GetData() map[string][]byte { + if m != nil { + return m.Data + } + return nil +} + type ErrorDetail struct { Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` @@ -2588,7 +2634,7 @@ func (m *ErrorDetail) Reset() { *m = ErrorDetail{} } func (m *ErrorDetail) String() string { return proto.CompactTextString(m) } func (*ErrorDetail) ProtoMessage() {} func (*ErrorDetail) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{40} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{41} } func (m *ErrorDetail) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ErrorDetail.Unmarshal(m, b) @@ -2638,7 +2684,7 @@ func (m *BuildImageMessage) Reset() { *m = BuildImageMessage{} } func (m *BuildImageMessage) String() string { return proto.CompactTextString(m) } func (*BuildImageMessage) ProtoMessage() {} func (*BuildImageMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{41} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{42} } func (m *BuildImageMessage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BuildImageMessage.Unmarshal(m, b) @@ -2721,7 +2767,7 @@ func (m *CreateContainerMessage) Reset() { *m = CreateContainerMessage{} func (m *CreateContainerMessage) String() string { return proto.CompactTextString(m) } func (*CreateContainerMessage) ProtoMessage() {} func (*CreateContainerMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{42} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{43} } func (m *CreateContainerMessage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateContainerMessage.Unmarshal(m, b) @@ -2831,7 +2877,7 @@ func (m *ReplaceContainerMessage) Reset() { *m = ReplaceContainerMessage func (m *ReplaceContainerMessage) String() string { return proto.CompactTextString(m) } func (*ReplaceContainerMessage) ProtoMessage() {} func (*ReplaceContainerMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{43} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{44} } func (m *ReplaceContainerMessage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReplaceContainerMessage.Unmarshal(m, b) @@ -2884,7 +2930,7 @@ func (m *RunAndWaitMessage) Reset() { *m = RunAndWaitMessage{} } func (m *RunAndWaitMessage) String() string { return proto.CompactTextString(m) } func (*RunAndWaitMessage) ProtoMessage() {} func (*RunAndWaitMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{44} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{45} } func (m *RunAndWaitMessage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RunAndWaitMessage.Unmarshal(m, b) @@ -2932,7 +2978,7 @@ func (m *CacheImageMessage) Reset() { *m = CacheImageMessage{} } func (m *CacheImageMessage) String() string { return proto.CompactTextString(m) } func (*CacheImageMessage) ProtoMessage() {} func (*CacheImageMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{45} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{46} } func (m *CacheImageMessage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CacheImageMessage.Unmarshal(m, b) @@ -2993,7 +3039,7 @@ func (m *RemoveImageMessage) Reset() { *m = RemoveImageMessage{} } func (m *RemoveImageMessage) String() string { return proto.CompactTextString(m) } func (*RemoveImageMessage) ProtoMessage() {} func (*RemoveImageMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{46} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{47} } func (m *RemoveImageMessage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RemoveImageMessage.Unmarshal(m, b) @@ -3047,7 +3093,7 @@ func (m *RemoveContainerMessage) Reset() { *m = RemoveContainerMessage{} func (m *RemoveContainerMessage) String() string { return proto.CompactTextString(m) } func (*RemoveContainerMessage) ProtoMessage() {} func (*RemoveContainerMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{47} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{48} } func (m *RemoveContainerMessage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RemoveContainerMessage.Unmarshal(m, b) @@ -3100,7 +3146,7 @@ func (m *ReallocResourceMessage) Reset() { *m = ReallocResourceMessage{} func (m *ReallocResourceMessage) String() string { return proto.CompactTextString(m) } func (*ReallocResourceMessage) ProtoMessage() {} func (*ReallocResourceMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{48} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{49} } func (m *ReallocResourceMessage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReallocResourceMessage.Unmarshal(m, b) @@ -3150,7 +3196,7 @@ func (m *CopyMessage) Reset() { *m = CopyMessage{} } func (m *CopyMessage) String() string { return proto.CompactTextString(m) } func (*CopyMessage) ProtoMessage() {} func (*CopyMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{49} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{50} } func (m *CopyMessage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CopyMessage.Unmarshal(m, b) @@ -3212,6 +3258,60 @@ func (m *CopyMessage) GetData() []byte { return nil } +type SendMessage struct { + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` + Err string `protobuf:"bytes,3,opt,name=err,proto3" json:"err,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SendMessage) Reset() { *m = SendMessage{} } +func (m *SendMessage) String() string { return proto.CompactTextString(m) } +func (*SendMessage) ProtoMessage() {} +func (*SendMessage) Descriptor() ([]byte, []int) { + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{51} +} +func (m *SendMessage) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SendMessage.Unmarshal(m, b) +} +func (m *SendMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SendMessage.Marshal(b, m, deterministic) +} +func (dst *SendMessage) XXX_Merge(src proto.Message) { + xxx_messageInfo_SendMessage.Merge(dst, src) +} +func (m *SendMessage) XXX_Size() int { + return xxx_messageInfo_SendMessage.Size(m) +} +func (m *SendMessage) XXX_DiscardUnknown() { + xxx_messageInfo_SendMessage.DiscardUnknown(m) +} + +var xxx_messageInfo_SendMessage proto.InternalMessageInfo + +func (m *SendMessage) GetId() string { + if m != nil { + return m.Id + } + return "" +} + +func (m *SendMessage) GetPath() string { + if m != nil { + return m.Path + } + return "" +} + +func (m *SendMessage) GetErr() string { + if m != nil { + return m.Err + } + return "" +} + type RunAndWaitOptions struct { DeployOptions *DeployOptions `protobuf:"bytes,1,opt,name=DeployOptions,proto3" json:"DeployOptions,omitempty"` Cmd []byte `protobuf:"bytes,2,opt,name=Cmd,proto3" json:"Cmd,omitempty"` @@ -3224,7 +3324,7 @@ func (m *RunAndWaitOptions) Reset() { *m = RunAndWaitOptions{} } func (m *RunAndWaitOptions) String() string { return proto.CompactTextString(m) } func (*RunAndWaitOptions) ProtoMessage() {} func (*RunAndWaitOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{50} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{52} } func (m *RunAndWaitOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RunAndWaitOptions.Unmarshal(m, b) @@ -3270,7 +3370,7 @@ func (m *ControlContainerOptions) Reset() { *m = ControlContainerOptions func (m *ControlContainerOptions) String() string { return proto.CompactTextString(m) } func (*ControlContainerOptions) ProtoMessage() {} func (*ControlContainerOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{51} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{53} } func (m *ControlContainerOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ControlContainerOptions.Unmarshal(m, b) @@ -3317,7 +3417,7 @@ func (m *ControlContainerMessage) Reset() { *m = ControlContainerMessage func (m *ControlContainerMessage) String() string { return proto.CompactTextString(m) } func (*ControlContainerMessage) ProtoMessage() {} func (*ControlContainerMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_core_6592ec376c758e51, []int{52} + return fileDescriptor_core_a9f47d9e6d3a6e1a, []int{54} } func (m *ControlContainerMessage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ControlContainerMessage.Unmarshal(m, b) @@ -3426,6 +3526,8 @@ func init() { proto.RegisterType((*CopyPaths)(nil), "pb.CopyPaths") proto.RegisterType((*CopyOptions)(nil), "pb.CopyOptions") proto.RegisterMapType((map[string]*CopyPaths)(nil), "pb.CopyOptions.TargetsEntry") + proto.RegisterType((*SendOptions)(nil), "pb.SendOptions") + proto.RegisterMapType((map[string][]byte)(nil), "pb.SendOptions.DataEntry") proto.RegisterType((*ErrorDetail)(nil), "pb.ErrorDetail") proto.RegisterType((*BuildImageMessage)(nil), "pb.BuildImageMessage") proto.RegisterType((*CreateContainerMessage)(nil), "pb.CreateContainerMessage") @@ -3438,6 +3540,7 @@ func init() { proto.RegisterType((*RemoveContainerMessage)(nil), "pb.RemoveContainerMessage") proto.RegisterType((*ReallocResourceMessage)(nil), "pb.ReallocResourceMessage") proto.RegisterType((*CopyMessage)(nil), "pb.CopyMessage") + proto.RegisterType((*SendMessage)(nil), "pb.SendMessage") proto.RegisterType((*RunAndWaitOptions)(nil), "pb.RunAndWaitOptions") proto.RegisterType((*ControlContainerOptions)(nil), "pb.ControlContainerOptions") proto.RegisterType((*ControlContainerMessage)(nil), "pb.ControlContainerMessage") @@ -3473,6 +3576,7 @@ type CoreRPCClient interface { ListNodeContainers(ctx context.Context, in *GetNodeOptions, opts ...grpc.CallOption) (*Containers, error) ContainerDeployed(ctx context.Context, in *ContainerDeployedOptions, opts ...grpc.CallOption) (*Empty, error) Copy(ctx context.Context, in *CopyOptions, opts ...grpc.CallOption) (CoreRPC_CopyClient, error) + Send(ctx context.Context, in *SendOptions, opts ...grpc.CallOption) (CoreRPC_SendClient, error) BuildImage(ctx context.Context, in *BuildImageOptions, opts ...grpc.CallOption) (CoreRPC_BuildImageClient, error) CacheImage(ctx context.Context, in *CacheImageOptions, opts ...grpc.CallOption) (CoreRPC_CacheImageClient, error) RemoveImage(ctx context.Context, in *RemoveImageOptions, opts ...grpc.CallOption) (CoreRPC_RemoveImageClient, error) @@ -3678,8 +3782,40 @@ func (x *coreRPCCopyClient) Recv() (*CopyMessage, error) { return m, nil } +func (c *coreRPCClient) Send(ctx context.Context, in *SendOptions, opts ...grpc.CallOption) (CoreRPC_SendClient, error) { + stream, err := c.cc.NewStream(ctx, &_CoreRPC_serviceDesc.Streams[1], "/pb.CoreRPC/Send", opts...) + if err != nil { + return nil, err + } + x := &coreRPCSendClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type CoreRPC_SendClient interface { + Recv() (*SendMessage, error) + grpc.ClientStream +} + +type coreRPCSendClient struct { + grpc.ClientStream +} + +func (x *coreRPCSendClient) Recv() (*SendMessage, error) { + m := new(SendMessage) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + func (c *coreRPCClient) BuildImage(ctx context.Context, in *BuildImageOptions, opts ...grpc.CallOption) (CoreRPC_BuildImageClient, error) { - stream, err := c.cc.NewStream(ctx, &_CoreRPC_serviceDesc.Streams[1], "/pb.CoreRPC/BuildImage", opts...) + stream, err := c.cc.NewStream(ctx, &_CoreRPC_serviceDesc.Streams[2], "/pb.CoreRPC/BuildImage", opts...) if err != nil { return nil, err } @@ -3711,7 +3847,7 @@ func (x *coreRPCBuildImageClient) Recv() (*BuildImageMessage, error) { } func (c *coreRPCClient) CacheImage(ctx context.Context, in *CacheImageOptions, opts ...grpc.CallOption) (CoreRPC_CacheImageClient, error) { - stream, err := c.cc.NewStream(ctx, &_CoreRPC_serviceDesc.Streams[2], "/pb.CoreRPC/CacheImage", opts...) + stream, err := c.cc.NewStream(ctx, &_CoreRPC_serviceDesc.Streams[3], "/pb.CoreRPC/CacheImage", opts...) if err != nil { return nil, err } @@ -3743,7 +3879,7 @@ func (x *coreRPCCacheImageClient) Recv() (*CacheImageMessage, error) { } func (c *coreRPCClient) RemoveImage(ctx context.Context, in *RemoveImageOptions, opts ...grpc.CallOption) (CoreRPC_RemoveImageClient, error) { - stream, err := c.cc.NewStream(ctx, &_CoreRPC_serviceDesc.Streams[3], "/pb.CoreRPC/RemoveImage", opts...) + stream, err := c.cc.NewStream(ctx, &_CoreRPC_serviceDesc.Streams[4], "/pb.CoreRPC/RemoveImage", opts...) if err != nil { return nil, err } @@ -3775,7 +3911,7 @@ func (x *coreRPCRemoveImageClient) Recv() (*RemoveImageMessage, error) { } func (c *coreRPCClient) DeployStatus(ctx context.Context, in *DeployStatusOptions, opts ...grpc.CallOption) (CoreRPC_DeployStatusClient, error) { - stream, err := c.cc.NewStream(ctx, &_CoreRPC_serviceDesc.Streams[4], "/pb.CoreRPC/DeployStatus", opts...) + stream, err := c.cc.NewStream(ctx, &_CoreRPC_serviceDesc.Streams[5], "/pb.CoreRPC/DeployStatus", opts...) if err != nil { return nil, err } @@ -3807,7 +3943,7 @@ func (x *coreRPCDeployStatusClient) Recv() (*DeployStatusMessage, error) { } func (c *coreRPCClient) RunAndWait(ctx context.Context, opts ...grpc.CallOption) (CoreRPC_RunAndWaitClient, error) { - stream, err := c.cc.NewStream(ctx, &_CoreRPC_serviceDesc.Streams[5], "/pb.CoreRPC/RunAndWait", opts...) + stream, err := c.cc.NewStream(ctx, &_CoreRPC_serviceDesc.Streams[6], "/pb.CoreRPC/RunAndWait", opts...) if err != nil { return nil, err } @@ -3838,7 +3974,7 @@ func (x *coreRPCRunAndWaitClient) Recv() (*RunAndWaitMessage, error) { } func (c *coreRPCClient) CreateContainer(ctx context.Context, in *DeployOptions, opts ...grpc.CallOption) (CoreRPC_CreateContainerClient, error) { - stream, err := c.cc.NewStream(ctx, &_CoreRPC_serviceDesc.Streams[6], "/pb.CoreRPC/CreateContainer", opts...) + stream, err := c.cc.NewStream(ctx, &_CoreRPC_serviceDesc.Streams[7], "/pb.CoreRPC/CreateContainer", opts...) if err != nil { return nil, err } @@ -3870,7 +4006,7 @@ func (x *coreRPCCreateContainerClient) Recv() (*CreateContainerMessage, error) { } func (c *coreRPCClient) ReplaceContainer(ctx context.Context, in *ReplaceOptions, opts ...grpc.CallOption) (CoreRPC_ReplaceContainerClient, error) { - stream, err := c.cc.NewStream(ctx, &_CoreRPC_serviceDesc.Streams[7], "/pb.CoreRPC/ReplaceContainer", opts...) + stream, err := c.cc.NewStream(ctx, &_CoreRPC_serviceDesc.Streams[8], "/pb.CoreRPC/ReplaceContainer", opts...) if err != nil { return nil, err } @@ -3902,7 +4038,7 @@ func (x *coreRPCReplaceContainerClient) Recv() (*ReplaceContainerMessage, error) } func (c *coreRPCClient) RemoveContainer(ctx context.Context, in *RemoveContainerOptions, opts ...grpc.CallOption) (CoreRPC_RemoveContainerClient, error) { - stream, err := c.cc.NewStream(ctx, &_CoreRPC_serviceDesc.Streams[8], "/pb.CoreRPC/RemoveContainer", opts...) + stream, err := c.cc.NewStream(ctx, &_CoreRPC_serviceDesc.Streams[9], "/pb.CoreRPC/RemoveContainer", opts...) if err != nil { return nil, err } @@ -3934,7 +4070,7 @@ func (x *coreRPCRemoveContainerClient) Recv() (*RemoveContainerMessage, error) { } func (c *coreRPCClient) ControlContainer(ctx context.Context, in *ControlContainerOptions, opts ...grpc.CallOption) (CoreRPC_ControlContainerClient, error) { - stream, err := c.cc.NewStream(ctx, &_CoreRPC_serviceDesc.Streams[9], "/pb.CoreRPC/ControlContainer", opts...) + stream, err := c.cc.NewStream(ctx, &_CoreRPC_serviceDesc.Streams[10], "/pb.CoreRPC/ControlContainer", opts...) if err != nil { return nil, err } @@ -3966,7 +4102,7 @@ func (x *coreRPCControlContainerClient) Recv() (*ControlContainerMessage, error) } func (c *coreRPCClient) ReallocResource(ctx context.Context, in *ReallocOptions, opts ...grpc.CallOption) (CoreRPC_ReallocResourceClient, error) { - stream, err := c.cc.NewStream(ctx, &_CoreRPC_serviceDesc.Streams[10], "/pb.CoreRPC/ReallocResource", opts...) + stream, err := c.cc.NewStream(ctx, &_CoreRPC_serviceDesc.Streams[11], "/pb.CoreRPC/ReallocResource", opts...) if err != nil { return nil, err } @@ -4017,6 +4153,7 @@ type CoreRPCServer interface { ListNodeContainers(context.Context, *GetNodeOptions) (*Containers, error) ContainerDeployed(context.Context, *ContainerDeployedOptions) (*Empty, error) Copy(*CopyOptions, CoreRPC_CopyServer) error + Send(*SendOptions, CoreRPC_SendServer) error BuildImage(*BuildImageOptions, CoreRPC_BuildImageServer) error CacheImage(*CacheImageOptions, CoreRPC_CacheImageServer) error RemoveImage(*RemoveImageOptions, CoreRPC_RemoveImageServer) error @@ -4360,6 +4497,27 @@ func (x *coreRPCCopyServer) Send(m *CopyMessage) error { return x.ServerStream.SendMsg(m) } +func _CoreRPC_Send_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(SendOptions) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(CoreRPCServer).Send(m, &coreRPCSendServer{stream}) +} + +type CoreRPC_SendServer interface { + Send(*SendMessage) error + grpc.ServerStream +} + +type coreRPCSendServer struct { + grpc.ServerStream +} + +func (x *coreRPCSendServer) Send(m *SendMessage) error { + return x.ServerStream.SendMsg(m) +} + func _CoreRPC_BuildImage_Handler(srv interface{}, stream grpc.ServerStream) error { m := new(BuildImageOptions) if err := stream.RecvMsg(m); err != nil { @@ -4654,6 +4812,11 @@ var _CoreRPC_serviceDesc = grpc.ServiceDesc{ Handler: _CoreRPC_Copy_Handler, ServerStreams: true, }, + { + StreamName: "Send", + Handler: _CoreRPC_Send_Handler, + ServerStreams: true, + }, { StreamName: "BuildImage", Handler: _CoreRPC_BuildImage_Handler, @@ -4709,204 +4872,208 @@ var _CoreRPC_serviceDesc = grpc.ServiceDesc{ Metadata: "core.proto", } -func init() { proto.RegisterFile("core.proto", fileDescriptor_core_6592ec376c758e51) } - -var fileDescriptor_core_6592ec376c758e51 = []byte{ - // 3136 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x3a, 0xcb, 0x76, 0xdc, 0xc6, - 0xb1, 0x9a, 0x17, 0x67, 0xa6, 0x66, 0x48, 0x91, 0x6d, 0x8a, 0x82, 0x46,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 0xd7, 0x4f, 0x45, 0x34, 0xf4, 0x03, 0xa1, 0x2d, 0xcc, 0xb1, 0x07, - 0x57, 0x5d, 0x92, 0x29, 0x27, 0x65, 0x6f, 0x42, 0x2b, 0xf0, 0x83, 0x63, 0xae, 0xb2, 0xae, 0xf5, - 0x9c, 0x67, 0x07, 0xd1, 0x92, 0x5e, 0x92, 0xe0, 0x3d, 0xc0, 0x2c, 0x67, 0xa1, 0x68, 0xf2, 0x10, - 0xba, 0x66, 0x79, 0x0b, 0x31, 0x7e, 0x8b, 0x08, 0xf6, 0x21, 0xac, 0x14, 0x57, 0xbd, 0x10, 0xf7, - 0xfb, 0x00, 0xf9, 0xfa, 0x17, 0x3a, 0x74, 0x7f, 0xa8, 0xc1, 0x12, 0x6d, 0x60, 0x86, 0xae, 0x20, - 0x13, 0xfe, 0x88, 0x6b, 0x17, 0xad, 0x20, 0xb6, 0x05, 0x4b, 0x47, 0x44, 0xa1, 0xae, 0xa2, 0x1b, - 0x66, 0xd3, 0x33, 0xf5, 0x51, 0xba, 0x95, 0x54, 0x83, 0x5d, 0xe8, 0x59, 0xe8, 0x0a, 0x69, 0x6e, - 0xd8, 0xd2, 0xf4, 0xee, 0x75, 0xcd, 0x78, 0xb6, 0x60, 0x5f, 0xd5, 0x60, 0x8d, 0x90, 0x7b, 0x98, - 0x8f, 0x9c, 0xe7, 0xfc, 0x19, 0x34, 0x67, 0x99, 0xb9, 0x49, 0x51, 0x1b, 0x27, 0x9d, 0x45, 0x21, - 0x1d, 0xa1, 0x96, 0x87, 0x4d, 0xa4, 0x12, 0xfe, 0x48, 0x96, 0x5a, 0xba, 0x1e, 0xb5, 0x99, 0x6b, - 0x56, 0xd6, 0x22, 0x49, 0x20, 0x5f, 0x99, 0x5e, 0x0d, 0x8e, 0x24, 0xfc, 0x54, 0x95, 0x09, 0xb0, - 0xe9, 0x72, 0xe8, 0x7d, 0x11, 0xc7, 0xe6, 0x92, 0x77, 0x03, 0x7a, 0xfe, 0x50, 0xf0, 0xf4, 0x30, - 0x13, 0x7e, 0x2a, 0xd4, 0xde, 0x01, 0xa1, 0x0e, 0x10, 0x83, 0x04, 0x47, 0x7c, 0x18, 0xa7, 0xfc, - 0x30, 0x13, 0x71, 0xa2, 0x2e, 0x6e, 0x20, 0x51, 0x07, 0x22, 0x4e, 0xf2, 0x00, 0xda, 0xb0, 0x03, - 0xa8, 0x00, 0xf6, 0x05, 0xf7, 0xc7, 0xe2, 0x78, 0xe7, 0x98, 0x07, 0x66, 0xb6, 0xab, 0xd0, 0x15, - 0x41, 0x72, 0x98, 0xc4, 0xa9, 0xd0, 0x7a, 0xea, 0x88, 0x20, 0xd9, 0x47, 0x18, 0x3b, 0x8f, 0x85, - 0x90, 0xbd, 0xda, 0x97, 0x21, 0x02, 0x7b, 0x69, 0x4b, 0xd2, 0xb1, 0xf2, 0x2a, 0xd8, 0xa4, 0x48, - 0x12, 0x87, 0x32, 0x1d, 0x69, 0x79, 0xd4, 0x76, 0x7f, 0x53, 0x03, 0x78, 0x1a, 0x8f, 0xac, 0xfd, - 0x16, 0xa7, 0x89, 0xd9, 0x6f, 0x6c, 0xb3, 0x7b, 0xb0, 0x14, 0xc4, 0xd3, 0x61, 0x34, 0x52, 0xf6, - 0x40, 0x59, 0x66, 0xce, 0x83, 0x29, 0xc9, 0x30, 0x1a, 0x29, 0x9b, 0x90, 0x94, 0x78, 0x32, 0x2c, - 0xf4, 0x42, 0x16, 0xfa, 0x97, 0x06, 0xac, 0x3d, 0x36, 0x79, 0xd4, 0x79, 0x86, 0xe0, 0x40, 0x5b, - 0x79, 0x38, 0x1d, 0x0f, 0x14, 0x58, 0x4a, 0xb6, 0x1b, 0x73, 0xc9, 0xf6, 0xbc, 0x6f, 0xbd, 0x09, - 0x8d, 0x71, 0x3c, 0x52, 0x76, 0xb1, 0x52, 0x5c, 0xa1, 0x87, 0x5d, 0x14, 0x07, 0x54, 0xb6, 0x2d, - 0xdd, 0xab, 0xc9, 0xa8, 0xdf, 0x87, 0x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a2, 0x59, 0xbf, 0x05, 0x4d, 0x74, 0x6e, 0x5a, 0x6b, 0x26, 0x09, 0x1d, 0x18, 0x84, 0x3a, 0xc1, - 0xee, 0x85, 0xbb, 0x35, 0xf6, 0x31, 0x40, 0x9e, 0xfa, 0xb1, 0xbc, 0x42, 0x6f, 0xe7, 0xe2, 0x83, - 0x12, 0xba, 0xc4, 0x9f, 0x07, 0x31, 0xc9, 0x3f, 0x77, 0x89, 0x18, 0x94, 0xd0, 0x36, 0xff, 0x36, - 0xf4, 0xac, 0x48, 0x24, 0xf5, 0x33, 0x7f, 0x1b, 0x18, 0x94, 0xf1, 0xf6, 0x10, 0xbb, 0xd0, 0xb7, - 0x7f, 0x25, 0x63, 0x97, 0x73, 0x47, 0x59, 0xf8, 0x95, 0x6d, 0x30, 0xd7, 0x61, 0x8f, 0xf2, 0x29, - 0x40, 0xee, 0x8a, 0xd5, 0x11, 0x2c, 0xbb, 0xe6, 0x41, 0x09, 0x6d, 0xf8, 0xef, 0xd4, 0x48, 0x8e, - 0x8b, 0xa5, 0x3c, 0x84, 0xcd, 0xfb, 0xec, 0xc1, 0x39, 0xf9, 0x0a, 0xc9, 0xf1, 0x04, 0x56, 0xcb, - 0xa9, 0x8f, 0x34, 0x9c, 0xe2, 0x8d, 0x73, 0x70, 0xd5, 0xc2, 0x55, 0x0e, 0xf4, 0x0c, 0x2e, 0x96, - 0x22, 0x30, 0xab, 0xca, 0x7b, 0x0a, 0x72, 0x55, 0x87, 0x6c, 0x1a, 0x6e, 0x1f, 0x56, 0xcb, 0x91, - 0x80, 0x5d, 0xd5, 0x56, 0x59, 0x11, 0x60, 0x06, 0x95, 0x9d, 0xf6, 0x88, 0x8f, 0x51, 0xc0, 0x42, - 0x28, 0xd7, 0x0b, 0xb5, 0x9f, 0x88, 0xb5, 0x60, 0x55, 0x31, 0x1f, 0x87, 0x39, 0x5a, 0xa2, 0xbf, - 0x36, 0xef, 0xff, 0x2b, 0x00, 0x00, 0xff, 0xff, 0xcd, 0xf9, 0x1a, 0x2f, 0xc3, 0x29, 0x00, 0x00, +func init() { proto.RegisterFile("core.proto", fileDescriptor_core_a9f47d9e6d3a6e1a) } + +var fileDescriptor_core_a9f47d9e6d3a6e1a = []byte{ + // 3191 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x3a, 0x4b, 0x73, 0xdc, 0xc6, + 0xd1, 0xda, 0x17, 0x77, 0xb7, 0x77, 0x49, 0x91, 0x63, 0x4a, 0x82, 0x56, 0xb2, 0x1e, 0xe0, 0x67, + 0x4b, 0x76, 0x59, 0xb4, 0x2c, 0x7d, 0x96, 0x1c, 0xcb, 0x2f, 0x9a, 0x94, 0x65, 0xa6, 0x24, 0x87, + 0x01, 0xf3, 0xb8, 0x85, 0x01, 0x81, 0xe1, 0x12, 0xa5, 0xdd, 0x05, 0x02, 0xcc, 0x32, 0xe1, 0x2f, + 0x48, 0x0e, 0xa9, 0x4a, 0x0e, 0x49, 0x7c, 0xcc, 0x31, 0x87, 0x1c, 0x72, 0xce, 0x1f, 0xc8, 0x25, + 0x95, 0x4b, 0xfe, 0x44, 0x7e, 0x43, 0x6e, 0xa9, 0xee, 0x79, 0x60, 0x80, 0xc5, 0x52, 0x5e, 0x39, + 0x76, 0x4e, 0x98, 0xe9, 0xe9, 0xee, 0xe9, 0x99, 0xee, 0xe9, 0xee, 0xe9, 0x01, 0x40, 0x10, 0xa7, + 0x7c, 0x33, 0x49, 0x63, 0x11, 0xb3, 0x7a, 0x72, 0xe8, 0xb6, 0xa1, 0xf5, 0x78, 0x9c, 0x88, 0x53, + 0xf7, 0x5f, 0x35, 0xb8, 0xf0, 0x34, 0xca, 0xc4, 0x76, 0x3c, 0x11, 0x7e, 0x34, 0xe1, 0x69, 0xf6, + 0xbd, 0x44, 0x44, 0xf1, 0x24, 0x63, 0x0e, 0xb4, 0xfd, 0x24, 0x99, 0xf8, 0x63, 0xee, 0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 0x10, 0xda, 0x8a, 0x47, 0xa5, + 0x49, 0x38, 0xd0, 0xce, 0xa6, 0x87, 0x13, 0x2e, 0x32, 0x32, 0x8b, 0xae, 0xa7, 0xbb, 0xee, 0x7d, + 0xe8, 0x28, 0xc2, 0x8c, 0xdd, 0x82, 0xce, 0x44, 0xb5, 0x95, 0xf5, 0xf5, 0x50, 0x55, 0x6a, 0xdc, + 0x33, 0x83, 0xee, 0x9f, 0x9b, 0xd0, 0xfc, 0x22, 0x0e, 0xab, 0xcd, 0x6f, 0x00, 0x1d, 0x3e, 0x09, + 0xed, 0x03, 0x6f, 0xfa, 0xf6, 0xc2, 0x1a, 0xc5, 0x85, 0x6d, 0x48, 0xa3, 0x95, 0x26, 0xb5, 0x46, + 0xd3, 0xc6, 0x61, 0xd9, 0x5a, 0x2f, 0x43, 0x27, 0x48, 0xa6, 0x07, 0xd3, 0x8c, 0xcb, 0x13, 0x59, + 0xf3, 0xda, 0x41, 0x32, 0xfd, 0x61, 0xc6, 0x43, 0xdc, 0x18, 0x65, 0xc8, 0x78, 0x30, 0x1b, 0xc6, + 0x56, 0xaf, 0x43, 0x4f, 0xb6, 0x24, 0x55, 0x9b, 0x06, 0x41, 0x82, 0x88, 0xf0, 0x2a, 0x74, 0xfd, + 0x13, 0x3f, 0x1a, 0xf9, 0x87, 0x23, 0xee, 0x74, 0x48, 0xb5, 0x39, 0x80, 0xbd, 0x65, 0x5c, 0x6d, + 0x97, 0x24, 0x5b, 0x37, 0x92, 0x55, 0x78, 0x56, 0x9c, 0x2c, 0x9a, 0x44, 0xe2, 0x40, 0x49, 0x02, + 0x72, 0x32, 0x04, 0x49, 0x9b, 0x64, 0x77, 0xa1, 0x43, 0x08, 0xb8, 0xd4, 0x1e, 0x31, 0xbc, 0x60, + 0x18, 0xee, 0x4e, 0x22, 0x61, 0x96, 0xdb, 0x8e, 0x64, 0x0f, 0x77, 0x38, 0x9a, 0x1c, 0xc5, 0x4e, + 0x5f, 0xee, 0x30, 0xb6,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, 0x16, 0xfa, 0x97, 0x06, 0xac, 0x3d, 0x36, 0x79, 0xd4, 0x59, 0x86, 0xe0, + 0x40, 0x5b, 0x79, 0x38, 0x1d, 0x0f, 0x54, 0xb7, 0x94, 0x6c, 0x37, 0x66, 0x92, 0xed, 0x59, 0xdf, + 0x7a, 0x03, 0x1a, 0xa3, 0x78, 0xa8, 0xec, 0x62, 0xa5, 0xb8, 0x42, 0x0f, 0x87, 0x28, 0x0e, 0xa8, + 0x6c, 0x5b, 0xba, 0x57, 0x93, 0x51, 0xbf, 0x07, 0xbd, 0x63, 0xd2, 0x5c, 0x80, 0x9a, 0xa3, 0x18, + 0xac, 0x4e, 0xcd, 0xac, 0x42, 0x3d, 0x1b, 0x95, 0x6d, 0x40, 0xf3, 0x38, 0x8e, 0x9f, 0x53, 0x88, + 0xee, 0xdd, 0x3b, 0x4f, 0x24, 0xb9, 0xa9, 0x79, 0x34, 0xc8, 0x5e, 0x83, 0x95, 0x94, 0x93, 0xb1, + 0x1d, 0x24, 0xf1, 0x28, 0x0a, 0x64, 0xe8, 0xee, 0x7a, 0xcb, 0x0a, 0xba, 0x47, 0x40, 0xf6, 0x01, + 0xb4, 0xb3, 0xd3, 0x2c, 0x10, 0x26, 0x84, 0xbb, 0xc8, 0x6e, 0x66, 0x27, 0x37, 0xf7, 0x25, 0x92, + 0xba, 0x15, 0x28, 0x12, 0xcc, 0xa8, 0xed, 0x81, 0x85, 0x34, 0xf6, 0xfb, 0x0e, 0x2c, 0xcb, 0x44, + 0xfa, 0x2c, 0x6d, 0xbd, 0x3b, 0x53, 0x52, 0x54, 0x51, 0x63, 0x46, 0xc4, 0x42, 0x1e, 0x3d, 0x3f, + 0x51, 0x3a, 0x2b, 0xc3, 0x36, 0x97, 0x9c, 0x96, 0x7d, 0xc9, 0x79, 0x15, 0x80, 0xff, 0x42, 0xa4, + 0xfe, 0x01, 0xc5, 0x38, 0x99, 0x3d, 0x75, 0x09, 0x82, 0xfe, 0x1f, 0x8f, 0x53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 0x52, 0xfa, 0x12, 0xf8, 0x8c, 0x60, 0xec, 0x6d, 0x75, 0x0d, 0xbb, 0x98, + 0x97, 0x37, 0x8b, 0x33, 0xe0, 0xf5, 0x56, 0x57, 0x44, 0x7d, 0xe1, 0x53, 0x02, 0x16, 0x1f, 0x89, + 0x51, 0x34, 0x8e, 0x84, 0x73, 0x49, 0x25, 0x60, 0x1a, 0x80, 0xfa, 0xa4, 0x7a, 0xc8, 0x81, 0x1c, + 0x77, 0xc8, 0x1e, 0x48, 0xa8, 0xec, 0x29, 0x42, 0x06, 0x8f, 0x60, 0xb9, 0xa0, 0x93, 0x6f, 0x2b, + 0xd7, 0xf8, 0x10, 0xce, 0x97, 0xf6, 0x6a, 0xd1, 0xf4, 0xc8, 0x6c, 0xc4, 0x8b, 0x08, 0xfb, 0xb6, + 0x5f, 0xf8, 0x55, 0x03, 0xef, 0x84, 0xc9, 0xc8, 0x0f, 0x4c, 0x3c, 0x7f, 0x1b, 0xba, 0xa1, 0xde, + 0x62, 0x62, 0xa2, 0x8a, 0x86, 0x85, 0x7d, 0xf7, 0x72, 0x9c, 0xea, 0xcb, 0x26, 0xdb, 0x85, 0xe5, + 0xa3, 0x68, 0x84, 0x41, 0x58, 0x19, 0x89, 0xac, 0x82, 0xff, 0x1f, 0xb2, 0x2a, 0xce, 0xb8, 0xf9, + 0x19, 0xe1, 0xd9, 0x66, 0xd6, 0x3f, 0xb2, 0x40, 0xec, 0x2e, 0x06, 0xc5, 0xe4, 0x54, 0x55, 0x30, + 0xaf, 0x56, 0x70, 0xd8, 0x8e, 0x13, 0x55, 0x48, 0x27, 0x4c, 0x7d, 0xaf, 0x6d, 0xe5, 0xf7, 0xda, + 0xd7, 0x61, 0x45, 0x1d, 0x9f, 0x68, 0x72, 0xcc, 0xd3, 0x48, 0x90, 0x6f, 0xe9, 0x78, 0x25, 0xe8, + 0xe0, 0x63, 0x58, 0x9b, 0x11, 0x67, 0x51, 0x55, 0x18, 0x69, 0x16, 0x72, 0x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 0xe4, 0x8e, 0x5b, 0x1d, 0xd8, 0xb2, 0x23, 0x1f, 0x94, + 0xc0, 0x86, 0xfe, 0x76, 0x8d, 0xe4, 0x38, 0x5f, 0x4a, 0x7d, 0xd8, 0xac, 0x87, 0x1f, 0x9c, 0x91, + 0x22, 0x91, 0x1c, 0x4f, 0x60, 0xb5, 0x9c, 0x6d, 0x49, 0x33, 0x2b, 0x5e, 0xb7, 0x07, 0x57, 0x2c, + 0x58, 0x25, 0xa3, 0x67, 0x70, 0xbe, 0x14, 0xf4, 0x59, 0x55, 0xaa, 0x55, 0x90, 0xab, 0x3a, 0x4b, + 0x20, 0x76, 0x7b, 0xb0, 0x5a, 0x8e, 0x1b, 0xec, 0x8a, 0xb6, 0xe1, 0x8a, 0x70, 0x34, 0xa8, 0x1c, + 0xb4, 0x39, 0x3e, 0x46, 0x01, 0x0b, 0xd9, 0x83, 0x5e, 0xa8, 0xfd, 0x3e, 0xae, 0x05, 0xab, 0x4a, + 0x33, 0x90, 0xcd, 0xe1, 0x12, 0xfd, 0xb2, 0x7a, 0xff, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xb5, + 0x09, 0x2e, 0x04, 0xc0, 0x2a, 0x00, 0x00, } diff --git a/rpc/gen/core.proto b/rpc/gen/core.proto index a8d47659d..8fbce43e3 100644 --- a/rpc/gen/core.proto +++ b/rpc/gen/core.proto @@ -23,6 +23,7 @@ service CoreRPC { rpc ContainerDeployed(ContainerDeployedOptions) returns (Empty) {}; rpc Copy(CopyOptions) returns (stream CopyMessage) {}; + rpc Send(SendOptions) returns (stream SendMessage) {}; rpc BuildImage(BuildImageOptions) returns (stream BuildImageMessage) {}; rpc CacheImage(CacheImageOptions) returns (stream CacheImageMessage) {}; rpc RemoveImage(RemoveImageOptions) returns (stream RemoveImageMessage) {}; @@ -324,6 +325,11 @@ message CopyOptions { map targets = 1; } +message SendOptions { + repeated string ids = 1; + map data = 2; +} + message ErrorDetail { int64 code = 1; string message = 2; @@ -388,7 +394,7 @@ message ReallocResourceMessage { } message CopyMessage { - string id =1; + string id = 1; string status = 2; string name = 3; string path = 4; @@ -396,6 +402,12 @@ message CopyMessage { bytes data = 6; } +message SendMessage { + string id = 1; + string path = 2; + string err = 3; +} + message RunAndWaitOptions{ DeployOptions DeployOptions = 1; bytes Cmd = 2; diff --git a/rpc/gen/core_pb2.py b/rpc/gen/core_pb2.py index b9a4cbf54..d6f2fc8bb 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\"\xb4\x01\n\x15ListContainersOptions\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\x12\x35\n\x06labels\x18\x04 \x03(\x0b\x32%.pb.ListContainersOptions.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"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\"0\n\x03Pod\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x65sc\x18\x02 \x01(\t\x12\r\n\x05\x66\x61vor\x18\x03 \x01(\t\"\x1d\n\x04Pods\x12\x15\n\x04pods\x18\x01 \x03(\x0b\x32\x07.pb.Pod\"\xfc\x02\n\x0bPodResource\x12\x0c\n\x04name\x18\x01 \x01(\t\x12%\n\x03\x63pu\x18\x02 \x03(\x0b\x32\x18.pb.PodResource.CpuEntry\x12+\n\x06memory\x18\x03 \x03(\x0b\x32\x1b.pb.PodResource.MemoryEntry\x12\'\n\x04\x64iff\x18\x04 \x03(\x0b\x32\x19.pb.PodResource.DiffEntry\x12+\n\x06\x64\x65tail\x18\x05 \x03(\x0b\x32\x1b.pb.PodResource.DetailEntry\x1a*\n\x08\x43puEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x01:\x02\x38\x01\x1a-\n\x0bMemoryEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x01:\x02\x38\x01\x1a+\n\tDiffEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a-\n\x0b\x44\x65tailEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"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\"\x9e\x03\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\x10\n\x08\x63pu_used\x18\x05 \x01(\x01\x12\x0e\n\x06memory\x18\x06 \x01(\x03\x12\x13\n\x0bmemory_used\x18\x07 \x01(\x03\x12\x11\n\tavailable\x18\x08 \x01(\x08\x12$\n\x06labels\x18\t \x03(\x0b\x32\x14.pb.Node.LabelsEntry\x12\x13\n\x0binit_memory\x18\n \x01(\x03\x12\'\n\x08init_cpu\x18\x0b \x03(\x0b\x32\x15.pb.Node.InitCpuEntry\x12\x0c\n\x04info\x18\x0c \x01(\t\x1a*\n\x08\x43puEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\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.\n\x0cInitCpuEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\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\"\xb8\x03\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#\n\x03\x63pu\x18\x05 \x03(\x0b\x32\x16.pb.Container.CpuEntry\x12\r\n\x05quota\x18\x06 \x01(\x01\x12\x0e\n\x06memory\x18\x07 \x01(\x03\x12\x12\n\nprivileged\x18\x08 \x01(\x08\x12)\n\x06labels\x18\t \x03(\x0b\x32\x19.pb.Container.LabelsEntry\x12+\n\x07publish\x18\n \x03(\x0b\x32\x1a.pb.Container.PublishEntry\x12\r\n\x05image\x18\x0b \x01(\t\x12\x0f\n\x07inspect\x18\x0c \x01(\x0c\x12\x13\n\x0bstatus_data\x18\r \x01(\x0c\x1a*\n\x08\x43puEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\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.\n\x0cPublishEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"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(\x05\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\"\x8e\x04\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\x11\n\tsubmodule\x18\x05 \x01(\x08\x12\x10\n\x08\x63ommands\x18\x06 \x03(\t\x12!\n\x04\x65nvs\x18\x07 \x03(\x0b\x32\x13.pb.Build.EnvsEntry\x12!\n\x04\x61rgs\x18\x08 \x03(\x0b\x32\x13.pb.Build.ArgsEntry\x12%\n\x06labels\x18\t \x03(\x0b\x32\x15.pb.Build.LabelsEntry\x12+\n\tartifacts\x18\n \x03(\x0b\x32\x18.pb.Build.ArtifactsEntry\x12#\n\x05\x63\x61\x63he\x18\x0b \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\"s\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\x0c\n\x04tags\x18\x04 \x03(\t\x12\x1a\n\x06\x62uilds\x18\x05 \x01(\x0b\x32\n.pb.Builds\x12\x0b\n\x03tar\x18\x06 \x01(\x0c\"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\"U\n\x12HealthCheckOptions\x12\x11\n\ttcp_ports\x18\x01 \x03(\t\x12\x11\n\thttp_port\x18\x02 \x01(\t\x12\x0b\n\x03url\x18\x03 \x01(\t\x12\x0c\n\x04\x63ode\x18\x04 \x01(\x05\"u\n\nLogOptions\x12\x0c\n\x04type\x18\x01 \x01(\t\x12*\n\x06\x63onfig\x18\x02 \x03(\x0b\x32\x1a.pb.LogOptions.ConfigEntry\x1a-\n\x0b\x43onfigEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xca\x02\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\x1b\n\x03log\x18\x05 \x01(\x0b\x32\x0e.pb.LogOptions\x12\x0f\n\x07publish\x18\x06 \x03(\t\x12+\n\x0bhealthcheck\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\x33\n\x07sysctls\x18\n \x03(\x0b\x32\".pb.EntrypointOptions.SysctlsEntry\x1a.\n\x0cSysctlsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x88\x06\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\x06labels\x18\x13 \x03(\x0b\x32\x1d.pb.DeployOptions.LabelsEntry\x12\x35\n\nnodelabels\x18\x14 \x03(\x0b\x32!.pb.DeployOptions.NodelabelsEntry\x12\x15\n\rdeploy_method\x18\x15 \x01(\t\x12)\n\x04\x64\x61ta\x18\x16 \x03(\x0b\x32\x1b.pb.DeployOptions.DataEntry\x12\x11\n\tsoftlimit\x18\x17 \x01(\x08\x12\x13\n\x0bnodes_limit\x18\x18 \x01(\x05\x1a/\n\rNetworksEntry\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\x31\n\x0fNodelabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\"\xb5\x02\n\x0eReplaceOptions\x12$\n\tdeployOpt\x18\x01 \x01(\x0b\x32\x11.pb.DeployOptions\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\x12;\n\rfilter_labels\x18\x03 \x03(\x0b\x32$.pb.ReplaceOptions.FilterLabelsEntry\x12*\n\x04\x63opy\x18\x04 \x03(\x0b\x32\x1c.pb.ReplaceOptions.CopyEntry\x12\x0b\n\x03ids\x18\x05 \x03(\t\x12\x16\n\x0enetworkinherit\x18\x06 \x01(\x08\x1a\x33\n\x11\x46ilterLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a+\n\tCopyEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"T\n\x11\x43\x61\x63heImageOptions\x12\x0f\n\x07podname\x18\x01 \x01(\t\x12\x10\n\x08nodename\x18\x02 \x01(\t\x12\x0e\n\x06images\x18\x03 \x03(\t\x12\x0c\n\x04step\x18\x04 \x01(\x05\"d\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\x12\x0c\n\x04step\x18\x04 \x01(\x05\x12\r\n\x05prune\x18\x05 \x01(\x08\"\x1a\n\tCopyPaths\x12\r\n\x05paths\x18\x01 \x03(\t\"{\n\x0b\x43opyOptions\x12-\n\x07targets\x18\x01 \x03(\x0b\x32\x1c.pb.CopyOptions.TargetsEntry\x1a=\n\x0cTargetsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1c\n\x05value\x18\x02 \x01(\x0b\x32\r.pb.CopyPaths:\x02\x38\x01\",\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\"\xea\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\r\n\x05quota\x18\x08 \x01(\x01\x12\x0e\n\x06memory\x18\t \x01(\x03\x12\x38\n\x07publish\x18\n \x03(\x0b\x32\'.pb.CreateContainerMessage.PublishEntry\x12\x0c\n\x04hook\x18\x0b \x01(\x0c\x1a*\n\x08\x43puEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\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\"\x80\x01\n\x17ReplaceContainerMessage\x12*\n\x06\x63reate\x18\x01 \x01(\x0b\x32\x1a.pb.CreateContainerMessage\x12*\n\x06remove\x18\x02 \x01(\x0b\x32\x1a.pb.RemoveContainerMessage\x12\r\n\x05\x65rror\x18\x03 \x01(\t\"7\n\x11RunAndWaitMessage\x12\x14\n\x0c\x63ontainer_id\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"V\n\x11\x43\x61\x63heImageMessage\x12\r\n\x05image\x18\x01 \x01(\t\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12\x10\n\x08nodename\x18\x03 \x01(\t\x12\x0f\n\x07message\x18\x04 \x01(\t\"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\"C\n\x16RemoveContainerMessage\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12\x0c\n\x04hook\x18\x03 \x01(\t\"5\n\x16ReallocResourceMessage\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07success\x18\x02 \x01(\x08\"b\n\x0b\x43opyMessage\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0e\n\x06status\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x0c\n\x04path\x18\x04 \x01(\t\x12\r\n\x05\x65rror\x18\x05 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x06 \x01(\x0c\"J\n\x11RunAndWaitOptions\x12(\n\rDeployOptions\x18\x01 \x01(\x0b\x32\x11.pb.DeployOptions\x12\x0b\n\x03\x43md\x18\x02 \x01(\x0c\"4\n\x17\x43ontrolContainerOptions\x12\x0b\n\x03ids\x18\x01 \x03(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\"B\n\x17\x43ontrolContainerMessage\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05\x65rror\x18\x02 \x01(\t\x12\x0c\n\x04hook\x18\x03 \x01(\x0c\x32\xcb\x0c\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\x36\n\x0eGetPodResource\x12\x11.pb.GetPodOptions\x1a\x0f.pb.PodResource\"\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\x31\n\x10SetNodeAvailable\x12\x11.pb.NodeAvailable\x1a\x08.pb.Node\"\x00\x12)\n\x07GetNode\x12\x12.pb.GetNodeOptions\x1a\x08.pb.Node\"\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/\n\rGetNodeByName\x12\x12.pb.GetNodeOptions\x1a\x08.pb.Node\"\x00\x12\x31\n\x0cListPodNodes\x12\x14.pb.ListNodesOptions\x1a\t.pb.Nodes\"\x00\x12\x36\n\x0cListNetworks\x12\x16.pb.ListNetworkOptions\x1a\x0c.pb.Networks\"\x00\x12=\n\x0eListContainers\x12\x19.pb.ListContainersOptions\x1a\x0e.pb.Containers\"\x00\x12:\n\x12ListNodeContainers\x12\x12.pb.GetNodeOptions\x1a\x0e.pb.Containers\"\x00\x12>\n\x11\x43ontainerDeployed\x12\x1c.pb.ContainerDeployedOptions\x1a\t.pb.Empty\"\x00\x12,\n\x04\x43opy\x12\x0f.pb.CopyOptions\x1a\x0f.pb.CopyMessage\"\x00\x30\x01\x12>\n\nBuildImage\x12\x15.pb.BuildImageOptions\x1a\x15.pb.BuildImageMessage\"\x00\x30\x01\x12>\n\nCacheImage\x12\x15.pb.CacheImageOptions\x1a\x15.pb.CacheImageMessage\"\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\x12G\n\x10ReplaceContainer\x12\x12.pb.ReplaceOptions\x1a\x1b.pb.ReplaceContainerMessage\"\x00\x30\x01\x12M\n\x0fRemoveContainer\x12\x1a.pb.RemoveContainerOptions\x1a\x1a.pb.RemoveContainerMessage\"\x00\x30\x01\x12P\n\x10\x43ontrolContainer\x12\x1b.pb.ControlContainerOptions\x1a\x1b.pb.ControlContainerMessage\"\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\"\xb4\x01\n\x15ListContainersOptions\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\x12\x35\n\x06labels\x18\x04 \x03(\x0b\x32%.pb.ListContainersOptions.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"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\"0\n\x03Pod\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x65sc\x18\x02 \x01(\t\x12\r\n\x05\x66\x61vor\x18\x03 \x01(\t\"\x1d\n\x04Pods\x12\x15\n\x04pods\x18\x01 \x03(\x0b\x32\x07.pb.Pod\"\xfc\x02\n\x0bPodResource\x12\x0c\n\x04name\x18\x01 \x01(\t\x12%\n\x03\x63pu\x18\x02 \x03(\x0b\x32\x18.pb.PodResource.CpuEntry\x12+\n\x06memory\x18\x03 \x03(\x0b\x32\x1b.pb.PodResource.MemoryEntry\x12\'\n\x04\x64iff\x18\x04 \x03(\x0b\x32\x19.pb.PodResource.DiffEntry\x12+\n\x06\x64\x65tail\x18\x05 \x03(\x0b\x32\x1b.pb.PodResource.DetailEntry\x1a*\n\x08\x43puEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x01:\x02\x38\x01\x1a-\n\x0bMemoryEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x01:\x02\x38\x01\x1a+\n\tDiffEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a-\n\x0b\x44\x65tailEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"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\"\x9e\x03\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\x10\n\x08\x63pu_used\x18\x05 \x01(\x01\x12\x0e\n\x06memory\x18\x06 \x01(\x03\x12\x13\n\x0bmemory_used\x18\x07 \x01(\x03\x12\x11\n\tavailable\x18\x08 \x01(\x08\x12$\n\x06labels\x18\t \x03(\x0b\x32\x14.pb.Node.LabelsEntry\x12\x13\n\x0binit_memory\x18\n \x01(\x03\x12\'\n\x08init_cpu\x18\x0b \x03(\x0b\x32\x15.pb.Node.InitCpuEntry\x12\x0c\n\x04info\x18\x0c \x01(\t\x1a*\n\x08\x43puEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\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.\n\x0cInitCpuEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\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\"\xb8\x03\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#\n\x03\x63pu\x18\x05 \x03(\x0b\x32\x16.pb.Container.CpuEntry\x12\r\n\x05quota\x18\x06 \x01(\x01\x12\x0e\n\x06memory\x18\x07 \x01(\x03\x12\x12\n\nprivileged\x18\x08 \x01(\x08\x12)\n\x06labels\x18\t \x03(\x0b\x32\x19.pb.Container.LabelsEntry\x12+\n\x07publish\x18\n \x03(\x0b\x32\x1a.pb.Container.PublishEntry\x12\r\n\x05image\x18\x0b \x01(\t\x12\x0f\n\x07inspect\x18\x0c \x01(\x0c\x12\x13\n\x0bstatus_data\x18\r \x01(\x0c\x1a*\n\x08\x43puEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\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.\n\x0cPublishEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"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(\x05\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\"\x8e\x04\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\x11\n\tsubmodule\x18\x05 \x01(\x08\x12\x10\n\x08\x63ommands\x18\x06 \x03(\t\x12!\n\x04\x65nvs\x18\x07 \x03(\x0b\x32\x13.pb.Build.EnvsEntry\x12!\n\x04\x61rgs\x18\x08 \x03(\x0b\x32\x13.pb.Build.ArgsEntry\x12%\n\x06labels\x18\t \x03(\x0b\x32\x15.pb.Build.LabelsEntry\x12+\n\tartifacts\x18\n \x03(\x0b\x32\x18.pb.Build.ArtifactsEntry\x12#\n\x05\x63\x61\x63he\x18\x0b \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\"s\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\x0c\n\x04tags\x18\x04 \x03(\t\x12\x1a\n\x06\x62uilds\x18\x05 \x01(\x0b\x32\n.pb.Builds\x12\x0b\n\x03tar\x18\x06 \x01(\x0c\"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\"U\n\x12HealthCheckOptions\x12\x11\n\ttcp_ports\x18\x01 \x03(\t\x12\x11\n\thttp_port\x18\x02 \x01(\t\x12\x0b\n\x03url\x18\x03 \x01(\t\x12\x0c\n\x04\x63ode\x18\x04 \x01(\x05\"u\n\nLogOptions\x12\x0c\n\x04type\x18\x01 \x01(\t\x12*\n\x06\x63onfig\x18\x02 \x03(\x0b\x32\x1a.pb.LogOptions.ConfigEntry\x1a-\n\x0b\x43onfigEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xca\x02\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\x1b\n\x03log\x18\x05 \x01(\x0b\x32\x0e.pb.LogOptions\x12\x0f\n\x07publish\x18\x06 \x03(\t\x12+\n\x0bhealthcheck\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\x33\n\x07sysctls\x18\n \x03(\x0b\x32\".pb.EntrypointOptions.SysctlsEntry\x1a.\n\x0cSysctlsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x88\x06\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\x06labels\x18\x13 \x03(\x0b\x32\x1d.pb.DeployOptions.LabelsEntry\x12\x35\n\nnodelabels\x18\x14 \x03(\x0b\x32!.pb.DeployOptions.NodelabelsEntry\x12\x15\n\rdeploy_method\x18\x15 \x01(\t\x12)\n\x04\x64\x61ta\x18\x16 \x03(\x0b\x32\x1b.pb.DeployOptions.DataEntry\x12\x11\n\tsoftlimit\x18\x17 \x01(\x08\x12\x13\n\x0bnodes_limit\x18\x18 \x01(\x05\x1a/\n\rNetworksEntry\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\x31\n\x0fNodelabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\"\xb5\x02\n\x0eReplaceOptions\x12$\n\tdeployOpt\x18\x01 \x01(\x0b\x32\x11.pb.DeployOptions\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\x12;\n\rfilter_labels\x18\x03 \x03(\x0b\x32$.pb.ReplaceOptions.FilterLabelsEntry\x12*\n\x04\x63opy\x18\x04 \x03(\x0b\x32\x1c.pb.ReplaceOptions.CopyEntry\x12\x0b\n\x03ids\x18\x05 \x03(\t\x12\x16\n\x0enetworkinherit\x18\x06 \x01(\x08\x1a\x33\n\x11\x46ilterLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a+\n\tCopyEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"T\n\x11\x43\x61\x63heImageOptions\x12\x0f\n\x07podname\x18\x01 \x01(\t\x12\x10\n\x08nodename\x18\x02 \x01(\t\x12\x0e\n\x06images\x18\x03 \x03(\t\x12\x0c\n\x04step\x18\x04 \x01(\x05\"d\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\x12\x0c\n\x04step\x18\x04 \x01(\x05\x12\r\n\x05prune\x18\x05 \x01(\x08\"\x1a\n\tCopyPaths\x12\r\n\x05paths\x18\x01 \x03(\t\"{\n\x0b\x43opyOptions\x12-\n\x07targets\x18\x01 \x03(\x0b\x32\x1c.pb.CopyOptions.TargetsEntry\x1a=\n\x0cTargetsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1c\n\x05value\x18\x02 \x01(\x0b\x32\r.pb.CopyPaths:\x02\x38\x01\"p\n\x0bSendOptions\x12\x0b\n\x03ids\x18\x01 \x03(\t\x12\'\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32\x19.pb.SendOptions.DataEntry\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\",\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\"\xea\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\r\n\x05quota\x18\x08 \x01(\x01\x12\x0e\n\x06memory\x18\t \x01(\x03\x12\x38\n\x07publish\x18\n \x03(\x0b\x32\'.pb.CreateContainerMessage.PublishEntry\x12\x0c\n\x04hook\x18\x0b \x01(\x0c\x1a*\n\x08\x43puEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\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\"\x80\x01\n\x17ReplaceContainerMessage\x12*\n\x06\x63reate\x18\x01 \x01(\x0b\x32\x1a.pb.CreateContainerMessage\x12*\n\x06remove\x18\x02 \x01(\x0b\x32\x1a.pb.RemoveContainerMessage\x12\r\n\x05\x65rror\x18\x03 \x01(\t\"7\n\x11RunAndWaitMessage\x12\x14\n\x0c\x63ontainer_id\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"V\n\x11\x43\x61\x63heImageMessage\x12\r\n\x05image\x18\x01 \x01(\t\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12\x10\n\x08nodename\x18\x03 \x01(\t\x12\x0f\n\x07message\x18\x04 \x01(\t\"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\"C\n\x16RemoveContainerMessage\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12\x0c\n\x04hook\x18\x03 \x01(\t\"5\n\x16ReallocResourceMessage\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07success\x18\x02 \x01(\x08\"b\n\x0b\x43opyMessage\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0e\n\x06status\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x0c\n\x04path\x18\x04 \x01(\t\x12\r\n\x05\x65rror\x18\x05 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x06 \x01(\x0c\"4\n\x0bSendMessage\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x0b\n\x03\x65rr\x18\x03 \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\"4\n\x17\x43ontrolContainerOptions\x12\x0b\n\x03ids\x18\x01 \x03(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\"B\n\x17\x43ontrolContainerMessage\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05\x65rror\x18\x02 \x01(\t\x12\x0c\n\x04hook\x18\x03 \x01(\x0c\x32\xf9\x0c\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\x36\n\x0eGetPodResource\x12\x11.pb.GetPodOptions\x1a\x0f.pb.PodResource\"\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\x31\n\x10SetNodeAvailable\x12\x11.pb.NodeAvailable\x1a\x08.pb.Node\"\x00\x12)\n\x07GetNode\x12\x12.pb.GetNodeOptions\x1a\x08.pb.Node\"\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/\n\rGetNodeByName\x12\x12.pb.GetNodeOptions\x1a\x08.pb.Node\"\x00\x12\x31\n\x0cListPodNodes\x12\x14.pb.ListNodesOptions\x1a\t.pb.Nodes\"\x00\x12\x36\n\x0cListNetworks\x12\x16.pb.ListNetworkOptions\x1a\x0c.pb.Networks\"\x00\x12=\n\x0eListContainers\x12\x19.pb.ListContainersOptions\x1a\x0e.pb.Containers\"\x00\x12:\n\x12ListNodeContainers\x12\x12.pb.GetNodeOptions\x1a\x0e.pb.Containers\"\x00\x12>\n\x11\x43ontainerDeployed\x12\x1c.pb.ContainerDeployedOptions\x1a\t.pb.Empty\"\x00\x12,\n\x04\x43opy\x12\x0f.pb.CopyOptions\x1a\x0f.pb.CopyMessage\"\x00\x30\x01\x12,\n\x04Send\x12\x0f.pb.SendOptions\x1a\x0f.pb.SendMessage\"\x00\x30\x01\x12>\n\nBuildImage\x12\x15.pb.BuildImageOptions\x1a\x15.pb.BuildImageMessage\"\x00\x30\x01\x12>\n\nCacheImage\x12\x15.pb.CacheImageOptions\x1a\x15.pb.CacheImageMessage\"\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\x12G\n\x10ReplaceContainer\x12\x12.pb.ReplaceOptions\x1a\x1b.pb.ReplaceContainerMessage\"\x00\x30\x01\x12M\n\x0fRemoveContainer\x12\x1a.pb.RemoveContainerOptions\x1a\x1a.pb.RemoveContainerMessage\"\x00\x30\x01\x12P\n\x10\x43ontrolContainer\x12\x1b.pb.ControlContainerOptions\x1a\x1b.pb.ControlContainerMessage\"\x00\x30\x01\x12\x45\n\x0fReallocResource\x12\x12.pb.ReallocOptions\x1a\x1a.pb.ReallocResourceMessage\"\x00\x30\x01\x62\x06proto3') ) @@ -3167,6 +3167,81 @@ ) +_SENDOPTIONS_DATAENTRY = _descriptor.Descriptor( + name='DataEntry', + full_name='pb.SendOptions.DataEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='pb.SendOptions.DataEntry.key', index=0, + number=1, 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, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='value', full_name='pb.SendOptions.DataEntry.value', index=1, + number=2, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=_b(""), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=4951, + serialized_end=4994, +) + +_SENDOPTIONS = _descriptor.Descriptor( + name='SendOptions', + full_name='pb.SendOptions', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='ids', full_name='pb.SendOptions.ids', index=0, + number=1, 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, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='data', full_name='pb.SendOptions.data', index=1, + number=2, 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, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[_SENDOPTIONS_DATAENTRY, ], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=5649, + serialized_end=5761, +) + + _ERRORDETAIL = _descriptor.Descriptor( name='ErrorDetail', full_name='pb.ErrorDetail', @@ -3200,8 +3275,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5649, - serialized_end=5693, + serialized_start=5763, + serialized_end=5807, ) @@ -3266,8 +3341,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5696, - serialized_end=5831, + serialized_start=5810, + serialized_end=5945, ) @@ -3441,8 +3516,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5834, - serialized_end=6196, + serialized_start=5948, + serialized_end=6310, ) @@ -3486,8 +3561,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=6199, - serialized_end=6327, + serialized_start=6313, + serialized_end=6441, ) @@ -3524,8 +3599,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=6329, - serialized_end=6384, + serialized_start=6443, + serialized_end=6498, ) @@ -3576,8 +3651,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=6386, - serialized_end=6472, + serialized_start=6500, + serialized_end=6586, ) @@ -3621,8 +3696,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=6474, - serialized_end=6544, + serialized_start=6588, + serialized_end=6658, ) @@ -3666,8 +3741,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=6546, - serialized_end=6613, + serialized_start=6660, + serialized_end=6727, ) @@ -3704,8 +3779,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=6615, - serialized_end=6668, + serialized_start=6729, + serialized_end=6782, ) @@ -3770,8 +3845,53 @@ extension_ranges=[], oneofs=[ ], - serialized_start=6670, - serialized_end=6768, + serialized_start=6784, + serialized_end=6882, +) + + +_SENDMESSAGE = _descriptor.Descriptor( + name='SendMessage', + full_name='pb.SendMessage', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='id', full_name='pb.SendMessage.id', index=0, + number=1, 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, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='path', full_name='pb.SendMessage.path', index=1, + number=2, 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, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='err', full_name='pb.SendMessage.err', index=2, + number=3, 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, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=6884, + serialized_end=6936, ) @@ -3808,8 +3928,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=6770, - serialized_end=6844, + serialized_start=6938, + serialized_end=7012, ) @@ -3846,8 +3966,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=6846, - serialized_end=6898, + serialized_start=7014, + serialized_end=7066, ) @@ -3891,8 +4011,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=6900, - serialized_end=6966, + serialized_start=7068, + serialized_end=7134, ) _LISTCONTAINERSOPTIONS_LABELSENTRY.containing_type = _LISTCONTAINERSOPTIONS @@ -3961,6 +4081,8 @@ _COPYOPTIONS_TARGETSENTRY.fields_by_name['value'].message_type = _COPYPATHS _COPYOPTIONS_TARGETSENTRY.containing_type = _COPYOPTIONS _COPYOPTIONS.fields_by_name['targets'].message_type = _COPYOPTIONS_TARGETSENTRY +_SENDOPTIONS_DATAENTRY.containing_type = _SENDOPTIONS +_SENDOPTIONS.fields_by_name['data'].message_type = _SENDOPTIONS_DATAENTRY _BUILDIMAGEMESSAGE.fields_by_name['error_detail'].message_type = _ERRORDETAIL _CREATECONTAINERMESSAGE_CPUENTRY.containing_type = _CREATECONTAINERMESSAGE _CREATECONTAINERMESSAGE_PUBLISHENTRY.containing_type = _CREATECONTAINERMESSAGE @@ -4009,6 +4131,7 @@ DESCRIPTOR.message_types_by_name['RemoveImageOptions'] = _REMOVEIMAGEOPTIONS DESCRIPTOR.message_types_by_name['CopyPaths'] = _COPYPATHS DESCRIPTOR.message_types_by_name['CopyOptions'] = _COPYOPTIONS +DESCRIPTOR.message_types_by_name['SendOptions'] = _SENDOPTIONS DESCRIPTOR.message_types_by_name['ErrorDetail'] = _ERRORDETAIL DESCRIPTOR.message_types_by_name['BuildImageMessage'] = _BUILDIMAGEMESSAGE DESCRIPTOR.message_types_by_name['CreateContainerMessage'] = _CREATECONTAINERMESSAGE @@ -4019,6 +4142,7 @@ DESCRIPTOR.message_types_by_name['RemoveContainerMessage'] = _REMOVECONTAINERMESSAGE DESCRIPTOR.message_types_by_name['ReallocResourceMessage'] = _REALLOCRESOURCEMESSAGE DESCRIPTOR.message_types_by_name['CopyMessage'] = _COPYMESSAGE +DESCRIPTOR.message_types_by_name['SendMessage'] = _SENDMESSAGE DESCRIPTOR.message_types_by_name['RunAndWaitOptions'] = _RUNANDWAITOPTIONS DESCRIPTOR.message_types_by_name['ControlContainerOptions'] = _CONTROLCONTAINEROPTIONS DESCRIPTOR.message_types_by_name['ControlContainerMessage'] = _CONTROLCONTAINERMESSAGE @@ -4520,6 +4644,21 @@ _sym_db.RegisterMessage(CopyOptions) _sym_db.RegisterMessage(CopyOptions.TargetsEntry) +SendOptions = _reflection.GeneratedProtocolMessageType('SendOptions', (_message.Message,), dict( + + DataEntry = _reflection.GeneratedProtocolMessageType('DataEntry', (_message.Message,), dict( + DESCRIPTOR = _SENDOPTIONS_DATAENTRY, + __module__ = 'core_pb2' + # @@protoc_insertion_point(class_scope:pb.SendOptions.DataEntry) + )) + , + DESCRIPTOR = _SENDOPTIONS, + __module__ = 'core_pb2' + # @@protoc_insertion_point(class_scope:pb.SendOptions) + )) +_sym_db.RegisterMessage(SendOptions) +_sym_db.RegisterMessage(SendOptions.DataEntry) + ErrorDetail = _reflection.GeneratedProtocolMessageType('ErrorDetail', (_message.Message,), dict( DESCRIPTOR = _ERRORDETAIL, __module__ = 'core_pb2' @@ -4606,6 +4745,13 @@ )) _sym_db.RegisterMessage(CopyMessage) +SendMessage = _reflection.GeneratedProtocolMessageType('SendMessage', (_message.Message,), dict( + DESCRIPTOR = _SENDMESSAGE, + __module__ = 'core_pb2' + # @@protoc_insertion_point(class_scope:pb.SendMessage) + )) +_sym_db.RegisterMessage(SendMessage) + RunAndWaitOptions = _reflection.GeneratedProtocolMessageType('RunAndWaitOptions', (_message.Message,), dict( DESCRIPTOR = _RUNANDWAITOPTIONS, __module__ = 'core_pb2' @@ -4682,6 +4828,8 @@ _REPLACEOPTIONS_COPYENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')) _COPYOPTIONS_TARGETSENTRY.has_options = True _COPYOPTIONS_TARGETSENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')) +_SENDOPTIONS_DATAENTRY.has_options = True +_SENDOPTIONS_DATAENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')) _CREATECONTAINERMESSAGE_CPUENTRY.has_options = True _CREATECONTAINERMESSAGE_CPUENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')) _CREATECONTAINERMESSAGE_PUBLISHENTRY.has_options = True @@ -4693,8 +4841,8 @@ file=DESCRIPTOR, index=0, options=None, - serialized_start=6969, - serialized_end=8580, + serialized_start=7137, + serialized_end=8794, methods=[ _descriptor.MethodDescriptor( name='ListPods', @@ -4858,10 +5006,19 @@ output_type=_COPYMESSAGE, options=None, ), + _descriptor.MethodDescriptor( + name='Send', + full_name='pb.CoreRPC.Send', + index=18, + containing_service=None, + input_type=_SENDOPTIONS, + output_type=_SENDMESSAGE, + options=None, + ), _descriptor.MethodDescriptor( name='BuildImage', full_name='pb.CoreRPC.BuildImage', - index=18, + index=19, containing_service=None, input_type=_BUILDIMAGEOPTIONS, output_type=_BUILDIMAGEMESSAGE, @@ -4870,7 +5027,7 @@ _descriptor.MethodDescriptor( name='CacheImage', full_name='pb.CoreRPC.CacheImage', - index=19, + index=20, containing_service=None, input_type=_CACHEIMAGEOPTIONS, output_type=_CACHEIMAGEMESSAGE, @@ -4879,7 +5036,7 @@ _descriptor.MethodDescriptor( name='RemoveImage', full_name='pb.CoreRPC.RemoveImage', - index=20, + index=21, containing_service=None, input_type=_REMOVEIMAGEOPTIONS, output_type=_REMOVEIMAGEMESSAGE, @@ -4888,7 +5045,7 @@ _descriptor.MethodDescriptor( name='DeployStatus', full_name='pb.CoreRPC.DeployStatus', - index=21, + index=22, containing_service=None, input_type=_DEPLOYSTATUSOPTIONS, output_type=_DEPLOYSTATUSMESSAGE, @@ -4897,7 +5054,7 @@ _descriptor.MethodDescriptor( name='RunAndWait', full_name='pb.CoreRPC.RunAndWait', - index=22, + index=23, containing_service=None, input_type=_RUNANDWAITOPTIONS, output_type=_RUNANDWAITMESSAGE, @@ -4906,7 +5063,7 @@ _descriptor.MethodDescriptor( name='CreateContainer', full_name='pb.CoreRPC.CreateContainer', - index=23, + index=24, containing_service=None, input_type=_DEPLOYOPTIONS, output_type=_CREATECONTAINERMESSAGE, @@ -4915,7 +5072,7 @@ _descriptor.MethodDescriptor( name='ReplaceContainer', full_name='pb.CoreRPC.ReplaceContainer', - index=24, + index=25, containing_service=None, input_type=_REPLACEOPTIONS, output_type=_REPLACECONTAINERMESSAGE, @@ -4924,7 +5081,7 @@ _descriptor.MethodDescriptor( name='RemoveContainer', full_name='pb.CoreRPC.RemoveContainer', - index=25, + index=26, containing_service=None, input_type=_REMOVECONTAINEROPTIONS, output_type=_REMOVECONTAINERMESSAGE, @@ -4933,7 +5090,7 @@ _descriptor.MethodDescriptor( name='ControlContainer', full_name='pb.CoreRPC.ControlContainer', - index=26, + index=27, containing_service=None, input_type=_CONTROLCONTAINEROPTIONS, output_type=_CONTROLCONTAINERMESSAGE, @@ -4942,7 +5099,7 @@ _descriptor.MethodDescriptor( name='ReallocResource', full_name='pb.CoreRPC.ReallocResource', - index=27, + index=28, containing_service=None, input_type=_REALLOCOPTIONS, output_type=_REALLOCRESOURCEMESSAGE, diff --git a/rpc/gen/core_pb2_grpc.py b/rpc/gen/core_pb2_grpc.py index e630997ba..3e96ec225 100644 --- a/rpc/gen/core_pb2_grpc.py +++ b/rpc/gen/core_pb2_grpc.py @@ -104,6 +104,11 @@ def __init__(self, channel): request_serializer=core__pb2.CopyOptions.SerializeToString, response_deserializer=core__pb2.CopyMessage.FromString, ) + self.Send = channel.unary_stream( + '/pb.CoreRPC/Send', + request_serializer=core__pb2.SendOptions.SerializeToString, + response_deserializer=core__pb2.SendMessage.FromString, + ) self.BuildImage = channel.unary_stream( '/pb.CoreRPC/BuildImage', request_serializer=core__pb2.BuildImageOptions.SerializeToString, @@ -286,6 +291,13 @@ def Copy(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def Send(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 @@ -449,6 +461,11 @@ def add_CoreRPCServicer_to_server(servicer, server): request_deserializer=core__pb2.CopyOptions.FromString, response_serializer=core__pb2.CopyMessage.SerializeToString, ), + 'Send': grpc.unary_stream_rpc_method_handler( + servicer.Send, + request_deserializer=core__pb2.SendOptions.FromString, + response_serializer=core__pb2.SendMessage.SerializeToString, + ), 'BuildImage': grpc.unary_stream_rpc_method_handler( servicer.BuildImage, request_deserializer=core__pb2.BuildImageOptions.FromString, diff --git a/rpc/rpc.go b/rpc/rpc.go index 37eed72db..894d1b045 100644 --- a/rpc/rpc.go +++ b/rpc/rpc.go @@ -274,6 +274,39 @@ func (v *Vibranium) Copy(opts *pb.CopyOptions, stream pb.CoreRPC_CopyServer) err return nil } +// Send send files to some contaienrs +func (v *Vibranium) Send(opts *pb.SendOptions, stream pb.CoreRPC_SendServer) error { + v.taskAdd("Send", true) + defer v.taskDone("Send", true) + + sendOpts, err := toCoreSendOptions(opts) + if err != nil { + return err + } + defer cleanTmpDataFile(sendOpts.Data) + + ch, err := v.cluster.Send(stream.Context(), sendOpts) + if err != nil { + return err + } + + for m := range ch { + msg := &pb.SendMessage{ + Id: m.ID, + Path: m.Path, + } + + if m.Error != nil { + msg.Err = m.Error.Error() + } + + if err := stream.Send(msg); err != nil { + v.logUnsentMessages("Send", m) + } + } + return nil +} + // BuildImage streamed returned functions func (v *Vibranium) BuildImage(opts *pb.BuildImageOptions, stream pb.CoreRPC_BuildImageServer) error { v.taskAdd("BuildImage", true) @@ -386,6 +419,8 @@ func (v *Vibranium) RunAndWait(stream pb.CoreRPC_RunAndWaitServer) error { if err != nil { return err } + defer cleanTmpDataFile(deployOpts.Data) + ch, err := v.cluster.RunAndWait(stream.Context(), deployOpts, stdinReader) if err != nil { // `ch` is nil now @@ -421,7 +456,7 @@ func (v *Vibranium) RunAndWait(stream pb.CoreRPC_RunAndWaitServer) error { } } - return cleanDeployOptionsDataFile(deployOpts) + return nil } // CreateContainer create containers @@ -433,7 +468,9 @@ func (v *Vibranium) CreateContainer(opts *pb.DeployOptions, stream pb.CoreRPC_Cr if err != nil { return nil } - //这里考虑用全局 Background + defer cleanTmpDataFile(deployOpts.Data) + + // 这里考虑用全局 Background ch, err := v.cluster.CreateContainer(context.Background(), deployOpts) if err != nil { return err @@ -445,7 +482,7 @@ func (v *Vibranium) CreateContainer(opts *pb.DeployOptions, stream pb.CoreRPC_Cr } } - return cleanDeployOptionsDataFile(deployOpts) + return nil } // ReplaceContainer replace containers @@ -457,8 +494,9 @@ func (v *Vibranium) ReplaceContainer(opts *pb.ReplaceOptions, stream pb.CoreRPC_ if err != nil { return err } + defer cleanTmpDataFile(replaceOpts.DeployOptions.Data) - //这里考虑用全局 Background + // 这里考虑用全局 Background ch, err := v.cluster.ReplaceContainer(context.Background(), replaceOpts) if err != nil { return err @@ -470,7 +508,7 @@ func (v *Vibranium) ReplaceContainer(opts *pb.ReplaceOptions, stream pb.CoreRPC_ } } - return cleanDeployOptionsDataFile(&replaceOpts.DeployOptions) + return nil } // RemoveContainer remove containers diff --git a/rpc/transform.go b/rpc/transform.go index d795698ae..1b1c71c2b 100644 --- a/rpc/transform.go +++ b/rpc/transform.go @@ -89,6 +89,17 @@ func toCoreCopyOptions(b *pb.CopyOptions) *types.CopyOptions { return r } +func toCoreSendOptions(b *pb.SendOptions) (*types.SendOptions, error) { + tarFiles, err := makeTempTarFiles(b.Data) + if err != nil { + return nil, err + } + return &types.SendOptions{ + IDs: b.Ids, + Data: tarFiles, + }, nil +} + func toCoreBuildOptions(b *pb.BuildImageOptions) (*enginetypes.BuildOptions, error) { var builds *enginetypes.Builds if b.Builds != nil { @@ -181,16 +192,9 @@ func toCoreDeployOptions(d *pb.DeployOptions) (*types.DeployOptions, error) { entry.Hook.Force = entrypoint.Hook.Force } - tarFiles := map[string]string{} - for path, data := range d.Data { - fname, err := utils.TempTarFile(path, data) - if err != nil { - if fname != "" { - os.RemoveAll(fname) - } - return nil, err - } - tarFiles[path] = fname + tarFiles, err := makeTempTarFiles(d.Data) + if err != nil { + return nil, err } return &types.DeployOptions{ @@ -221,12 +225,12 @@ func toCoreDeployOptions(d *pb.DeployOptions) (*types.DeployOptions, error) { }, nil } -func cleanDeployOptionsDataFile(opts *types.DeployOptions) error { +func cleanTmpDataFile(data map[string]string) error { var err error - for _, src := range opts.Data { + for _, src := range data { err = os.RemoveAll(src) if err != nil { - log.Errorf("[cleanDeployOptionsDataFile] clean temp files failed %v", err) + log.Errorf("[cleanTmpDataFile] clean temp files failed %v", err) } } return err @@ -367,3 +371,18 @@ func toRPCContainer(ctx context.Context, c *types.Container) (*pb.Container, err StatusData: c.StatusData, }, nil } + +func makeTempTarFiles(data map[string][]byte) (map[string]string, error) { + tarFiles := map[string]string{} + for path, data := range data { + fname, err := utils.TempTarFile(path, data) + if err != nil { + if fname != "" { + os.RemoveAll(fname) + } + return nil, err + } + tarFiles[path] = fname + } + return tarFiles, nil +} diff --git a/types/message.go b/types/message.go index 2fb2a42c2..9f4f87599 100644 --- a/types/message.go +++ b/types/message.go @@ -37,6 +37,13 @@ type CopyMessage struct { Data io.ReadCloser `json:"-"` } +// SendMessage for send message +type SendMessage struct { + ID string `json:"id,omitempty"` + Path string `json:"path,omitempty"` + Error error `json:"error,omitempty"` +} + // CacheImageMessage for cache image on pod type CacheImageMessage struct { Image string diff --git a/types/options.go b/types/options.go index fd8223508..5652a2ca5 100644 --- a/types/options.go +++ b/types/options.go @@ -41,6 +41,12 @@ type CopyOptions struct { Targets map[string][]string } +// SendOptions for send files to multiple container +type SendOptions struct { + IDs []string + Data map[string]string +} + // ListContainersOptions for list containers type ListContainersOptions struct { Appname string