2018-12-05 16:03:56 +00:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
2018-12-07 02:22:02 +00:00
|
|
|
// source: drivers/shared/executor/proto/executor.proto
|
2018-12-05 16:03:56 +00:00
|
|
|
|
|
|
|
package proto
|
|
|
|
|
|
|
|
import proto "github.com/golang/protobuf/proto"
|
|
|
|
import fmt "fmt"
|
|
|
|
import math "math"
|
|
|
|
import timestamp "github.com/golang/protobuf/ptypes/timestamp"
|
|
|
|
import proto1 "github.com/hashicorp/nomad/plugins/drivers/proto"
|
|
|
|
|
|
|
|
import (
|
|
|
|
context "golang.org/x/net/context"
|
|
|
|
grpc "google.golang.org/grpc"
|
|
|
|
)
|
|
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
var _ = proto.Marshal
|
|
|
|
var _ = fmt.Errorf
|
|
|
|
var _ = math.Inf
|
|
|
|
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
|
|
// is compatible with the proto package it is being compiled against.
|
|
|
|
// A compilation error at this line likely means your copy of the
|
|
|
|
// proto package needs to be updated.
|
|
|
|
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
|
|
|
|
|
|
|
type LaunchRequest struct {
|
2018-12-07 02:22:02 +00:00
|
|
|
Cmd string `protobuf:"bytes,1,opt,name=cmd,proto3" json:"cmd,omitempty"`
|
|
|
|
Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
|
|
|
|
Resources *proto1.Resources `protobuf:"bytes,3,opt,name=resources,proto3" json:"resources,omitempty"`
|
|
|
|
StdoutPath string `protobuf:"bytes,4,opt,name=stdout_path,json=stdoutPath,proto3" json:"stdout_path,omitempty"`
|
|
|
|
StderrPath string `protobuf:"bytes,5,opt,name=stderr_path,json=stderrPath,proto3" json:"stderr_path,omitempty"`
|
|
|
|
Env []string `protobuf:"bytes,6,rep,name=env,proto3" json:"env,omitempty"`
|
|
|
|
User string `protobuf:"bytes,7,opt,name=user,proto3" json:"user,omitempty"`
|
|
|
|
TaskDir string `protobuf:"bytes,8,opt,name=task_dir,json=taskDir,proto3" json:"task_dir,omitempty"`
|
|
|
|
ResourceLimits bool `protobuf:"varint,9,opt,name=resource_limits,json=resourceLimits,proto3" json:"resource_limits,omitempty"`
|
|
|
|
BasicProcessCgroup bool `protobuf:"varint,10,opt,name=basic_process_cgroup,json=basicProcessCgroup,proto3" json:"basic_process_cgroup,omitempty"`
|
2018-12-15 05:08:23 +00:00
|
|
|
Mounts []*proto1.Mount `protobuf:"bytes,11,rep,name=mounts,proto3" json:"mounts,omitempty"`
|
|
|
|
Devices []*proto1.Device `protobuf:"bytes,12,rep,name=devices,proto3" json:"devices,omitempty"`
|
2018-12-07 02:22:02 +00:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2018-12-05 16:03:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LaunchRequest) Reset() { *m = LaunchRequest{} }
|
|
|
|
func (m *LaunchRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*LaunchRequest) ProtoMessage() {}
|
|
|
|
func (*LaunchRequest) Descriptor() ([]byte, []int) {
|
2019-04-28 21:27:23 +00:00
|
|
|
return fileDescriptor_executor_5ea6ca9df3b0f07e, []int{0}
|
2018-12-05 16:03:56 +00:00
|
|
|
}
|
|
|
|
func (m *LaunchRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_LaunchRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *LaunchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_LaunchRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *LaunchRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_LaunchRequest.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *LaunchRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_LaunchRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *LaunchRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_LaunchRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_LaunchRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *LaunchRequest) GetCmd() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Cmd
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LaunchRequest) GetArgs() []string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Args
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2018-12-07 02:22:02 +00:00
|
|
|
func (m *LaunchRequest) GetResources() *proto1.Resources {
|
2018-12-05 16:03:56 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.Resources
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LaunchRequest) GetStdoutPath() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.StdoutPath
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LaunchRequest) GetStderrPath() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.StderrPath
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LaunchRequest) GetEnv() []string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Env
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LaunchRequest) GetUser() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.User
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LaunchRequest) GetTaskDir() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.TaskDir
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LaunchRequest) GetResourceLimits() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.ResourceLimits
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LaunchRequest) GetBasicProcessCgroup() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.BasicProcessCgroup
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2018-12-15 05:08:23 +00:00
|
|
|
func (m *LaunchRequest) GetMounts() []*proto1.Mount {
|
|
|
|
if m != nil {
|
|
|
|
return m.Mounts
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LaunchRequest) GetDevices() []*proto1.Device {
|
|
|
|
if m != nil {
|
|
|
|
return m.Devices
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2018-12-05 16:03:56 +00:00
|
|
|
type LaunchResponse struct {
|
|
|
|
Process *ProcessState `protobuf:"bytes,1,opt,name=process,proto3" json:"process,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LaunchResponse) Reset() { *m = LaunchResponse{} }
|
|
|
|
func (m *LaunchResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*LaunchResponse) ProtoMessage() {}
|
|
|
|
func (*LaunchResponse) Descriptor() ([]byte, []int) {
|
2019-04-28 21:27:23 +00:00
|
|
|
return fileDescriptor_executor_5ea6ca9df3b0f07e, []int{1}
|
2018-12-05 16:03:56 +00:00
|
|
|
}
|
|
|
|
func (m *LaunchResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_LaunchResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *LaunchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_LaunchResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *LaunchResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_LaunchResponse.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *LaunchResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_LaunchResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *LaunchResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_LaunchResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_LaunchResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *LaunchResponse) GetProcess() *ProcessState {
|
|
|
|
if m != nil {
|
|
|
|
return m.Process
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type WaitRequest struct {
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *WaitRequest) Reset() { *m = WaitRequest{} }
|
|
|
|
func (m *WaitRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*WaitRequest) ProtoMessage() {}
|
|
|
|
func (*WaitRequest) Descriptor() ([]byte, []int) {
|
2019-04-28 21:27:23 +00:00
|
|
|
return fileDescriptor_executor_5ea6ca9df3b0f07e, []int{2}
|
2018-12-05 16:03:56 +00:00
|
|
|
}
|
|
|
|
func (m *WaitRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_WaitRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *WaitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_WaitRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *WaitRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_WaitRequest.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *WaitRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_WaitRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *WaitRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_WaitRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_WaitRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
type WaitResponse struct {
|
|
|
|
Process *ProcessState `protobuf:"bytes,1,opt,name=process,proto3" json:"process,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *WaitResponse) Reset() { *m = WaitResponse{} }
|
|
|
|
func (m *WaitResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*WaitResponse) ProtoMessage() {}
|
|
|
|
func (*WaitResponse) Descriptor() ([]byte, []int) {
|
2019-04-28 21:27:23 +00:00
|
|
|
return fileDescriptor_executor_5ea6ca9df3b0f07e, []int{3}
|
2018-12-05 16:03:56 +00:00
|
|
|
}
|
|
|
|
func (m *WaitResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_WaitResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *WaitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_WaitResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *WaitResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_WaitResponse.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *WaitResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_WaitResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *WaitResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_WaitResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_WaitResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *WaitResponse) GetProcess() *ProcessState {
|
|
|
|
if m != nil {
|
|
|
|
return m.Process
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type ShutdownRequest struct {
|
|
|
|
Signal string `protobuf:"bytes,1,opt,name=signal,proto3" json:"signal,omitempty"`
|
|
|
|
GracePeriod int64 `protobuf:"varint,2,opt,name=grace_period,json=gracePeriod,proto3" json:"grace_period,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ShutdownRequest) Reset() { *m = ShutdownRequest{} }
|
|
|
|
func (m *ShutdownRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ShutdownRequest) ProtoMessage() {}
|
|
|
|
func (*ShutdownRequest) Descriptor() ([]byte, []int) {
|
2019-04-28 21:27:23 +00:00
|
|
|
return fileDescriptor_executor_5ea6ca9df3b0f07e, []int{4}
|
2018-12-05 16:03:56 +00:00
|
|
|
}
|
|
|
|
func (m *ShutdownRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ShutdownRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *ShutdownRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ShutdownRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *ShutdownRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ShutdownRequest.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *ShutdownRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ShutdownRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *ShutdownRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ShutdownRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ShutdownRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *ShutdownRequest) GetSignal() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Signal
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ShutdownRequest) GetGracePeriod() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.GracePeriod
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type ShutdownResponse struct {
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ShutdownResponse) Reset() { *m = ShutdownResponse{} }
|
|
|
|
func (m *ShutdownResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ShutdownResponse) ProtoMessage() {}
|
|
|
|
func (*ShutdownResponse) Descriptor() ([]byte, []int) {
|
2019-04-28 21:27:23 +00:00
|
|
|
return fileDescriptor_executor_5ea6ca9df3b0f07e, []int{5}
|
2018-12-05 16:03:56 +00:00
|
|
|
}
|
|
|
|
func (m *ShutdownResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ShutdownResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *ShutdownResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ShutdownResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *ShutdownResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ShutdownResponse.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *ShutdownResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ShutdownResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *ShutdownResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ShutdownResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ShutdownResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
type UpdateResourcesRequest struct {
|
2018-12-07 02:22:02 +00:00
|
|
|
Resources *proto1.Resources `protobuf:"bytes,1,opt,name=resources,proto3" json:"resources,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2018-12-05 16:03:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *UpdateResourcesRequest) Reset() { *m = UpdateResourcesRequest{} }
|
|
|
|
func (m *UpdateResourcesRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*UpdateResourcesRequest) ProtoMessage() {}
|
|
|
|
func (*UpdateResourcesRequest) Descriptor() ([]byte, []int) {
|
2019-04-28 21:27:23 +00:00
|
|
|
return fileDescriptor_executor_5ea6ca9df3b0f07e, []int{6}
|
2018-12-05 16:03:56 +00:00
|
|
|
}
|
|
|
|
func (m *UpdateResourcesRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_UpdateResourcesRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *UpdateResourcesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_UpdateResourcesRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *UpdateResourcesRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_UpdateResourcesRequest.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *UpdateResourcesRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_UpdateResourcesRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *UpdateResourcesRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_UpdateResourcesRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_UpdateResourcesRequest proto.InternalMessageInfo
|
|
|
|
|
2018-12-07 02:22:02 +00:00
|
|
|
func (m *UpdateResourcesRequest) GetResources() *proto1.Resources {
|
2018-12-05 16:03:56 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.Resources
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type UpdateResourcesResponse struct {
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *UpdateResourcesResponse) Reset() { *m = UpdateResourcesResponse{} }
|
|
|
|
func (m *UpdateResourcesResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*UpdateResourcesResponse) ProtoMessage() {}
|
|
|
|
func (*UpdateResourcesResponse) Descriptor() ([]byte, []int) {
|
2019-04-28 21:27:23 +00:00
|
|
|
return fileDescriptor_executor_5ea6ca9df3b0f07e, []int{7}
|
2018-12-05 16:03:56 +00:00
|
|
|
}
|
|
|
|
func (m *UpdateResourcesResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_UpdateResourcesResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *UpdateResourcesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_UpdateResourcesResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *UpdateResourcesResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_UpdateResourcesResponse.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *UpdateResourcesResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_UpdateResourcesResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *UpdateResourcesResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_UpdateResourcesResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_UpdateResourcesResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
type VersionRequest struct {
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *VersionRequest) Reset() { *m = VersionRequest{} }
|
|
|
|
func (m *VersionRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*VersionRequest) ProtoMessage() {}
|
|
|
|
func (*VersionRequest) Descriptor() ([]byte, []int) {
|
2019-04-28 21:27:23 +00:00
|
|
|
return fileDescriptor_executor_5ea6ca9df3b0f07e, []int{8}
|
2018-12-05 16:03:56 +00:00
|
|
|
}
|
|
|
|
func (m *VersionRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_VersionRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *VersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_VersionRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *VersionRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_VersionRequest.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *VersionRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_VersionRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *VersionRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_VersionRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_VersionRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
type VersionResponse struct {
|
|
|
|
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *VersionResponse) Reset() { *m = VersionResponse{} }
|
|
|
|
func (m *VersionResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*VersionResponse) ProtoMessage() {}
|
|
|
|
func (*VersionResponse) Descriptor() ([]byte, []int) {
|
2019-04-28 21:27:23 +00:00
|
|
|
return fileDescriptor_executor_5ea6ca9df3b0f07e, []int{9}
|
2018-12-05 16:03:56 +00:00
|
|
|
}
|
|
|
|
func (m *VersionResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_VersionResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *VersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_VersionResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *VersionResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_VersionResponse.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *VersionResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_VersionResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *VersionResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_VersionResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_VersionResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *VersionResponse) GetVersion() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Version
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type StatsRequest struct {
|
2018-12-11 20:27:50 +00:00
|
|
|
Interval int64 `protobuf:"varint,1,opt,name=interval,proto3" json:"interval,omitempty"`
|
2018-12-05 16:03:56 +00:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *StatsRequest) Reset() { *m = StatsRequest{} }
|
|
|
|
func (m *StatsRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*StatsRequest) ProtoMessage() {}
|
|
|
|
func (*StatsRequest) Descriptor() ([]byte, []int) {
|
2019-04-28 21:27:23 +00:00
|
|
|
return fileDescriptor_executor_5ea6ca9df3b0f07e, []int{10}
|
2018-12-05 16:03:56 +00:00
|
|
|
}
|
|
|
|
func (m *StatsRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_StatsRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *StatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_StatsRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *StatsRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_StatsRequest.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *StatsRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_StatsRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *StatsRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_StatsRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_StatsRequest proto.InternalMessageInfo
|
|
|
|
|
2018-12-11 20:27:50 +00:00
|
|
|
func (m *StatsRequest) GetInterval() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Interval
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2018-12-05 16:03:56 +00:00
|
|
|
type StatsResponse struct {
|
|
|
|
Stats *proto1.TaskStats `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *StatsResponse) Reset() { *m = StatsResponse{} }
|
|
|
|
func (m *StatsResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*StatsResponse) ProtoMessage() {}
|
|
|
|
func (*StatsResponse) Descriptor() ([]byte, []int) {
|
2019-04-28 21:27:23 +00:00
|
|
|
return fileDescriptor_executor_5ea6ca9df3b0f07e, []int{11}
|
2018-12-05 16:03:56 +00:00
|
|
|
}
|
|
|
|
func (m *StatsResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_StatsResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *StatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_StatsResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *StatsResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_StatsResponse.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *StatsResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_StatsResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *StatsResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_StatsResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_StatsResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *StatsResponse) GetStats() *proto1.TaskStats {
|
|
|
|
if m != nil {
|
|
|
|
return m.Stats
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type SignalRequest struct {
|
2018-12-15 03:20:01 +00:00
|
|
|
Signal int32 `protobuf:"varint,1,opt,name=signal,proto3" json:"signal,omitempty"`
|
2018-12-05 16:03:56 +00:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SignalRequest) Reset() { *m = SignalRequest{} }
|
|
|
|
func (m *SignalRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SignalRequest) ProtoMessage() {}
|
|
|
|
func (*SignalRequest) Descriptor() ([]byte, []int) {
|
2019-04-28 21:27:23 +00:00
|
|
|
return fileDescriptor_executor_5ea6ca9df3b0f07e, []int{12}
|
2018-12-05 16:03:56 +00:00
|
|
|
}
|
|
|
|
func (m *SignalRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SignalRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *SignalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SignalRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *SignalRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SignalRequest.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *SignalRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SignalRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *SignalRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SignalRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_SignalRequest proto.InternalMessageInfo
|
|
|
|
|
2018-12-15 03:20:01 +00:00
|
|
|
func (m *SignalRequest) GetSignal() int32 {
|
2018-12-05 16:03:56 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.Signal
|
|
|
|
}
|
2018-12-15 03:20:01 +00:00
|
|
|
return 0
|
2018-12-05 16:03:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type SignalResponse struct {
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SignalResponse) Reset() { *m = SignalResponse{} }
|
|
|
|
func (m *SignalResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SignalResponse) ProtoMessage() {}
|
|
|
|
func (*SignalResponse) Descriptor() ([]byte, []int) {
|
2019-04-28 21:27:23 +00:00
|
|
|
return fileDescriptor_executor_5ea6ca9df3b0f07e, []int{13}
|
2018-12-05 16:03:56 +00:00
|
|
|
}
|
|
|
|
func (m *SignalResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SignalResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *SignalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SignalResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *SignalResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SignalResponse.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *SignalResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SignalResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *SignalResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SignalResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_SignalResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
type ExecRequest struct {
|
|
|
|
Deadline *timestamp.Timestamp `protobuf:"bytes,1,opt,name=deadline,proto3" json:"deadline,omitempty"`
|
|
|
|
Cmd string `protobuf:"bytes,2,opt,name=cmd,proto3" json:"cmd,omitempty"`
|
|
|
|
Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ExecRequest) Reset() { *m = ExecRequest{} }
|
|
|
|
func (m *ExecRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ExecRequest) ProtoMessage() {}
|
|
|
|
func (*ExecRequest) Descriptor() ([]byte, []int) {
|
2019-04-28 21:27:23 +00:00
|
|
|
return fileDescriptor_executor_5ea6ca9df3b0f07e, []int{14}
|
2018-12-05 16:03:56 +00:00
|
|
|
}
|
|
|
|
func (m *ExecRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ExecRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *ExecRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ExecRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *ExecRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ExecRequest.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *ExecRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ExecRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *ExecRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ExecRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ExecRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *ExecRequest) GetDeadline() *timestamp.Timestamp {
|
|
|
|
if m != nil {
|
|
|
|
return m.Deadline
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ExecRequest) GetCmd() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Cmd
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ExecRequest) GetArgs() []string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Args
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type ExecResponse struct {
|
|
|
|
Output []byte `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
|
|
|
|
ExitCode int32 `protobuf:"varint,2,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ExecResponse) Reset() { *m = ExecResponse{} }
|
|
|
|
func (m *ExecResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ExecResponse) ProtoMessage() {}
|
|
|
|
func (*ExecResponse) Descriptor() ([]byte, []int) {
|
2019-04-28 21:27:23 +00:00
|
|
|
return fileDescriptor_executor_5ea6ca9df3b0f07e, []int{15}
|
2018-12-05 16:03:56 +00:00
|
|
|
}
|
|
|
|
func (m *ExecResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ExecResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *ExecResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ExecResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *ExecResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ExecResponse.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *ExecResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ExecResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *ExecResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ExecResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ExecResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *ExecResponse) GetOutput() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Output
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ExecResponse) GetExitCode() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.ExitCode
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type ProcessState struct {
|
|
|
|
Pid int32 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"`
|
|
|
|
ExitCode int32 `protobuf:"varint,2,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
|
|
|
|
Signal int32 `protobuf:"varint,3,opt,name=signal,proto3" json:"signal,omitempty"`
|
|
|
|
Time *timestamp.Timestamp `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ProcessState) Reset() { *m = ProcessState{} }
|
|
|
|
func (m *ProcessState) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ProcessState) ProtoMessage() {}
|
|
|
|
func (*ProcessState) Descriptor() ([]byte, []int) {
|
2019-04-28 21:27:23 +00:00
|
|
|
return fileDescriptor_executor_5ea6ca9df3b0f07e, []int{16}
|
2018-12-05 16:03:56 +00:00
|
|
|
}
|
|
|
|
func (m *ProcessState) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ProcessState.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *ProcessState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ProcessState.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *ProcessState) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ProcessState.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *ProcessState) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ProcessState.Size(m)
|
|
|
|
}
|
|
|
|
func (m *ProcessState) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ProcessState.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ProcessState proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *ProcessState) GetPid() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Pid
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ProcessState) GetExitCode() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.ExitCode
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ProcessState) GetSignal() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Signal
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ProcessState) GetTime() *timestamp.Timestamp {
|
|
|
|
if m != nil {
|
|
|
|
return m.Time
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
proto.RegisterType((*LaunchRequest)(nil), "hashicorp.nomad.plugins.executor.proto.LaunchRequest")
|
|
|
|
proto.RegisterType((*LaunchResponse)(nil), "hashicorp.nomad.plugins.executor.proto.LaunchResponse")
|
|
|
|
proto.RegisterType((*WaitRequest)(nil), "hashicorp.nomad.plugins.executor.proto.WaitRequest")
|
|
|
|
proto.RegisterType((*WaitResponse)(nil), "hashicorp.nomad.plugins.executor.proto.WaitResponse")
|
|
|
|
proto.RegisterType((*ShutdownRequest)(nil), "hashicorp.nomad.plugins.executor.proto.ShutdownRequest")
|
|
|
|
proto.RegisterType((*ShutdownResponse)(nil), "hashicorp.nomad.plugins.executor.proto.ShutdownResponse")
|
|
|
|
proto.RegisterType((*UpdateResourcesRequest)(nil), "hashicorp.nomad.plugins.executor.proto.UpdateResourcesRequest")
|
|
|
|
proto.RegisterType((*UpdateResourcesResponse)(nil), "hashicorp.nomad.plugins.executor.proto.UpdateResourcesResponse")
|
|
|
|
proto.RegisterType((*VersionRequest)(nil), "hashicorp.nomad.plugins.executor.proto.VersionRequest")
|
|
|
|
proto.RegisterType((*VersionResponse)(nil), "hashicorp.nomad.plugins.executor.proto.VersionResponse")
|
|
|
|
proto.RegisterType((*StatsRequest)(nil), "hashicorp.nomad.plugins.executor.proto.StatsRequest")
|
|
|
|
proto.RegisterType((*StatsResponse)(nil), "hashicorp.nomad.plugins.executor.proto.StatsResponse")
|
|
|
|
proto.RegisterType((*SignalRequest)(nil), "hashicorp.nomad.plugins.executor.proto.SignalRequest")
|
|
|
|
proto.RegisterType((*SignalResponse)(nil), "hashicorp.nomad.plugins.executor.proto.SignalResponse")
|
|
|
|
proto.RegisterType((*ExecRequest)(nil), "hashicorp.nomad.plugins.executor.proto.ExecRequest")
|
|
|
|
proto.RegisterType((*ExecResponse)(nil), "hashicorp.nomad.plugins.executor.proto.ExecResponse")
|
|
|
|
proto.RegisterType((*ProcessState)(nil), "hashicorp.nomad.plugins.executor.proto.ProcessState")
|
|
|
|
}
|
|
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
var _ context.Context
|
|
|
|
var _ grpc.ClientConn
|
|
|
|
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
|
|
// is compatible with the grpc package it is being compiled against.
|
|
|
|
const _ = grpc.SupportPackageIsVersion4
|
|
|
|
|
|
|
|
// ExecutorClient is the client API for Executor service.
|
|
|
|
//
|
|
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
|
|
type ExecutorClient interface {
|
|
|
|
Launch(ctx context.Context, in *LaunchRequest, opts ...grpc.CallOption) (*LaunchResponse, error)
|
|
|
|
Wait(ctx context.Context, in *WaitRequest, opts ...grpc.CallOption) (*WaitResponse, error)
|
|
|
|
Shutdown(ctx context.Context, in *ShutdownRequest, opts ...grpc.CallOption) (*ShutdownResponse, error)
|
|
|
|
UpdateResources(ctx context.Context, in *UpdateResourcesRequest, opts ...grpc.CallOption) (*UpdateResourcesResponse, error)
|
|
|
|
Version(ctx context.Context, in *VersionRequest, opts ...grpc.CallOption) (*VersionResponse, error)
|
2018-12-11 20:27:50 +00:00
|
|
|
Stats(ctx context.Context, in *StatsRequest, opts ...grpc.CallOption) (Executor_StatsClient, error)
|
2018-12-05 16:03:56 +00:00
|
|
|
Signal(ctx context.Context, in *SignalRequest, opts ...grpc.CallOption) (*SignalResponse, error)
|
|
|
|
Exec(ctx context.Context, in *ExecRequest, opts ...grpc.CallOption) (*ExecResponse, error)
|
2019-04-28 21:27:23 +00:00
|
|
|
ExecStreaming(ctx context.Context, opts ...grpc.CallOption) (Executor_ExecStreamingClient, error)
|
2018-12-05 16:03:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type executorClient struct {
|
|
|
|
cc *grpc.ClientConn
|
|
|
|
}
|
|
|
|
|
|
|
|
func NewExecutorClient(cc *grpc.ClientConn) ExecutorClient {
|
|
|
|
return &executorClient{cc}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *executorClient) Launch(ctx context.Context, in *LaunchRequest, opts ...grpc.CallOption) (*LaunchResponse, error) {
|
|
|
|
out := new(LaunchResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/hashicorp.nomad.plugins.executor.proto.Executor/Launch", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *executorClient) Wait(ctx context.Context, in *WaitRequest, opts ...grpc.CallOption) (*WaitResponse, error) {
|
|
|
|
out := new(WaitResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/hashicorp.nomad.plugins.executor.proto.Executor/Wait", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *executorClient) Shutdown(ctx context.Context, in *ShutdownRequest, opts ...grpc.CallOption) (*ShutdownResponse, error) {
|
|
|
|
out := new(ShutdownResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/hashicorp.nomad.plugins.executor.proto.Executor/Shutdown", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *executorClient) UpdateResources(ctx context.Context, in *UpdateResourcesRequest, opts ...grpc.CallOption) (*UpdateResourcesResponse, error) {
|
|
|
|
out := new(UpdateResourcesResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/hashicorp.nomad.plugins.executor.proto.Executor/UpdateResources", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *executorClient) Version(ctx context.Context, in *VersionRequest, opts ...grpc.CallOption) (*VersionResponse, error) {
|
|
|
|
out := new(VersionResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/hashicorp.nomad.plugins.executor.proto.Executor/Version", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2018-12-11 20:27:50 +00:00
|
|
|
func (c *executorClient) Stats(ctx context.Context, in *StatsRequest, opts ...grpc.CallOption) (Executor_StatsClient, error) {
|
|
|
|
stream, err := c.cc.NewStream(ctx, &_Executor_serviceDesc.Streams[0], "/hashicorp.nomad.plugins.executor.proto.Executor/Stats", opts...)
|
2018-12-05 16:03:56 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2018-12-11 20:27:50 +00:00
|
|
|
x := &executorStatsClient{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 Executor_StatsClient interface {
|
|
|
|
Recv() (*StatsResponse, error)
|
|
|
|
grpc.ClientStream
|
|
|
|
}
|
|
|
|
|
|
|
|
type executorStatsClient struct {
|
|
|
|
grpc.ClientStream
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *executorStatsClient) Recv() (*StatsResponse, error) {
|
|
|
|
m := new(StatsResponse)
|
|
|
|
if err := x.ClientStream.RecvMsg(m); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return m, nil
|
2018-12-05 16:03:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (c *executorClient) Signal(ctx context.Context, in *SignalRequest, opts ...grpc.CallOption) (*SignalResponse, error) {
|
|
|
|
out := new(SignalResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/hashicorp.nomad.plugins.executor.proto.Executor/Signal", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *executorClient) Exec(ctx context.Context, in *ExecRequest, opts ...grpc.CallOption) (*ExecResponse, error) {
|
|
|
|
out := new(ExecResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/hashicorp.nomad.plugins.executor.proto.Executor/Exec", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2019-04-28 21:27:23 +00:00
|
|
|
func (c *executorClient) ExecStreaming(ctx context.Context, opts ...grpc.CallOption) (Executor_ExecStreamingClient, error) {
|
|
|
|
stream, err := c.cc.NewStream(ctx, &_Executor_serviceDesc.Streams[1], "/hashicorp.nomad.plugins.executor.proto.Executor/ExecStreaming", opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
x := &executorExecStreamingClient{stream}
|
|
|
|
return x, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type Executor_ExecStreamingClient interface {
|
|
|
|
Send(*proto1.ExecTaskStreamingRequest) error
|
|
|
|
Recv() (*proto1.ExecTaskStreamingResponse, error)
|
|
|
|
grpc.ClientStream
|
|
|
|
}
|
|
|
|
|
|
|
|
type executorExecStreamingClient struct {
|
|
|
|
grpc.ClientStream
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *executorExecStreamingClient) Send(m *proto1.ExecTaskStreamingRequest) error {
|
|
|
|
return x.ClientStream.SendMsg(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *executorExecStreamingClient) Recv() (*proto1.ExecTaskStreamingResponse, error) {
|
|
|
|
m := new(proto1.ExecTaskStreamingResponse)
|
|
|
|
if err := x.ClientStream.RecvMsg(m); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return m, nil
|
|
|
|
}
|
|
|
|
|
2018-12-05 16:03:56 +00:00
|
|
|
// ExecutorServer is the server API for Executor service.
|
|
|
|
type ExecutorServer interface {
|
|
|
|
Launch(context.Context, *LaunchRequest) (*LaunchResponse, error)
|
|
|
|
Wait(context.Context, *WaitRequest) (*WaitResponse, error)
|
|
|
|
Shutdown(context.Context, *ShutdownRequest) (*ShutdownResponse, error)
|
|
|
|
UpdateResources(context.Context, *UpdateResourcesRequest) (*UpdateResourcesResponse, error)
|
|
|
|
Version(context.Context, *VersionRequest) (*VersionResponse, error)
|
2018-12-11 20:27:50 +00:00
|
|
|
Stats(*StatsRequest, Executor_StatsServer) error
|
2018-12-05 16:03:56 +00:00
|
|
|
Signal(context.Context, *SignalRequest) (*SignalResponse, error)
|
|
|
|
Exec(context.Context, *ExecRequest) (*ExecResponse, error)
|
2019-04-28 21:27:23 +00:00
|
|
|
ExecStreaming(Executor_ExecStreamingServer) error
|
2018-12-05 16:03:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func RegisterExecutorServer(s *grpc.Server, srv ExecutorServer) {
|
|
|
|
s.RegisterService(&_Executor_serviceDesc, srv)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _Executor_Launch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(LaunchRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(ExecutorServer).Launch(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/hashicorp.nomad.plugins.executor.proto.Executor/Launch",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ExecutorServer).Launch(ctx, req.(*LaunchRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _Executor_Wait_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(WaitRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(ExecutorServer).Wait(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/hashicorp.nomad.plugins.executor.proto.Executor/Wait",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ExecutorServer).Wait(ctx, req.(*WaitRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _Executor_Shutdown_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(ShutdownRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(ExecutorServer).Shutdown(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/hashicorp.nomad.plugins.executor.proto.Executor/Shutdown",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ExecutorServer).Shutdown(ctx, req.(*ShutdownRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _Executor_UpdateResources_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(UpdateResourcesRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(ExecutorServer).UpdateResources(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/hashicorp.nomad.plugins.executor.proto.Executor/UpdateResources",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ExecutorServer).UpdateResources(ctx, req.(*UpdateResourcesRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _Executor_Version_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(VersionRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(ExecutorServer).Version(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/hashicorp.nomad.plugins.executor.proto.Executor/Version",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ExecutorServer).Version(ctx, req.(*VersionRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2018-12-11 20:27:50 +00:00
|
|
|
func _Executor_Stats_Handler(srv interface{}, stream grpc.ServerStream) error {
|
|
|
|
m := new(StatsRequest)
|
|
|
|
if err := stream.RecvMsg(m); err != nil {
|
|
|
|
return err
|
2018-12-05 16:03:56 +00:00
|
|
|
}
|
2018-12-11 20:27:50 +00:00
|
|
|
return srv.(ExecutorServer).Stats(m, &executorStatsServer{stream})
|
|
|
|
}
|
|
|
|
|
|
|
|
type Executor_StatsServer interface {
|
|
|
|
Send(*StatsResponse) error
|
|
|
|
grpc.ServerStream
|
|
|
|
}
|
|
|
|
|
|
|
|
type executorStatsServer struct {
|
|
|
|
grpc.ServerStream
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *executorStatsServer) Send(m *StatsResponse) error {
|
|
|
|
return x.ServerStream.SendMsg(m)
|
2018-12-05 16:03:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func _Executor_Signal_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(SignalRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(ExecutorServer).Signal(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/hashicorp.nomad.plugins.executor.proto.Executor/Signal",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ExecutorServer).Signal(ctx, req.(*SignalRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _Executor_Exec_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(ExecRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(ExecutorServer).Exec(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/hashicorp.nomad.plugins.executor.proto.Executor/Exec",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ExecutorServer).Exec(ctx, req.(*ExecRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2019-04-28 21:27:23 +00:00
|
|
|
func _Executor_ExecStreaming_Handler(srv interface{}, stream grpc.ServerStream) error {
|
|
|
|
return srv.(ExecutorServer).ExecStreaming(&executorExecStreamingServer{stream})
|
|
|
|
}
|
|
|
|
|
|
|
|
type Executor_ExecStreamingServer interface {
|
|
|
|
Send(*proto1.ExecTaskStreamingResponse) error
|
|
|
|
Recv() (*proto1.ExecTaskStreamingRequest, error)
|
|
|
|
grpc.ServerStream
|
|
|
|
}
|
|
|
|
|
|
|
|
type executorExecStreamingServer struct {
|
|
|
|
grpc.ServerStream
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *executorExecStreamingServer) Send(m *proto1.ExecTaskStreamingResponse) error {
|
|
|
|
return x.ServerStream.SendMsg(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *executorExecStreamingServer) Recv() (*proto1.ExecTaskStreamingRequest, error) {
|
|
|
|
m := new(proto1.ExecTaskStreamingRequest)
|
|
|
|
if err := x.ServerStream.RecvMsg(m); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return m, nil
|
|
|
|
}
|
|
|
|
|
2018-12-05 16:03:56 +00:00
|
|
|
var _Executor_serviceDesc = grpc.ServiceDesc{
|
|
|
|
ServiceName: "hashicorp.nomad.plugins.executor.proto.Executor",
|
|
|
|
HandlerType: (*ExecutorServer)(nil),
|
|
|
|
Methods: []grpc.MethodDesc{
|
|
|
|
{
|
|
|
|
MethodName: "Launch",
|
|
|
|
Handler: _Executor_Launch_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "Wait",
|
|
|
|
Handler: _Executor_Wait_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "Shutdown",
|
|
|
|
Handler: _Executor_Shutdown_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "UpdateResources",
|
|
|
|
Handler: _Executor_UpdateResources_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "Version",
|
|
|
|
Handler: _Executor_Version_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "Signal",
|
|
|
|
Handler: _Executor_Signal_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "Exec",
|
|
|
|
Handler: _Executor_Exec_Handler,
|
|
|
|
},
|
|
|
|
},
|
2018-12-11 20:27:50 +00:00
|
|
|
Streams: []grpc.StreamDesc{
|
|
|
|
{
|
|
|
|
StreamName: "Stats",
|
|
|
|
Handler: _Executor_Stats_Handler,
|
|
|
|
ServerStreams: true,
|
|
|
|
},
|
2019-04-28 21:27:23 +00:00
|
|
|
{
|
|
|
|
StreamName: "ExecStreaming",
|
|
|
|
Handler: _Executor_ExecStreaming_Handler,
|
|
|
|
ServerStreams: true,
|
|
|
|
ClientStreams: true,
|
|
|
|
},
|
2018-12-11 20:27:50 +00:00
|
|
|
},
|
2018-12-07 02:22:02 +00:00
|
|
|
Metadata: "drivers/shared/executor/proto/executor.proto",
|
2018-12-05 16:03:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func init() {
|
2019-04-28 21:27:23 +00:00
|
|
|
proto.RegisterFile("drivers/shared/executor/proto/executor.proto", fileDescriptor_executor_5ea6ca9df3b0f07e)
|
|
|
|
}
|
|
|
|
|
|
|
|
var fileDescriptor_executor_5ea6ca9df3b0f07e = []byte{
|
|
|
|
// 919 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0x5f, 0x6f, 0xdc, 0x44,
|
|
|
|
0x10, 0xaf, 0xeb, 0xdc, 0xbf, 0xb9, 0xbb, 0x24, 0x5a, 0xa1, 0xe0, 0x9a, 0x87, 0x1e, 0x7e, 0xa0,
|
|
|
|
0x27, 0x28, 0xbe, 0x28, 0xfd, 0xc7, 0x0b, 0x14, 0x91, 0x14, 0x5e, 0x42, 0x15, 0x39, 0x85, 0x4a,
|
|
|
|
0x3c, 0x70, 0x6c, 0xec, 0xc5, 0x5e, 0xe5, 0xce, 0x6b, 0x76, 0xd7, 0x47, 0x90, 0x90, 0x78, 0xe2,
|
|
|
|
0x1b, 0x80, 0xc4, 0xe7, 0xe4, 0x13, 0xa0, 0xfd, 0xe7, 0xdc, 0xa5, 0xa5, 0xf2, 0x15, 0xf1, 0x74,
|
|
|
|
0x3b, 0xe3, 0xf9, 0xfd, 0x66, 0x66, 0x77, 0xe6, 0x77, 0x70, 0x3f, 0xe3, 0x74, 0x45, 0xb8, 0x98,
|
|
|
|
0x89, 0x02, 0x73, 0x92, 0xcd, 0xc8, 0x15, 0x49, 0x6b, 0xc9, 0xf8, 0xac, 0xe2, 0x4c, 0xb2, 0xc6,
|
|
|
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