1 // Code generated by protoc-gen-go from "orchestra.proto"
6 import proto "goprotobuf.googlecode.com/hg/proto"
10 // Reference proto, math & os imports to suppress error if they are not otherwise used.
11 var _ = proto.GetString
16 type ProtoAcknowledgement_AckType int32
19 ProtoAcknowledgement_ACK_OK = 1
20 ProtoAcknowledgement_ACK_ERROR = 3
23 var ProtoAcknowledgement_AckType_name = map[int32]string{
27 var ProtoAcknowledgement_AckType_value = map[string]int32{
32 func NewProtoAcknowledgement_AckType(x int32) *ProtoAcknowledgement_AckType {
33 e := ProtoAcknowledgement_AckType(x)
36 func (x ProtoAcknowledgement_AckType) String() string {
37 return proto.EnumName(ProtoAcknowledgement_AckType_name, int32(x))
40 type ProtoTaskResponse_TaskStatus int32
43 ProtoTaskResponse_JOB_INPROGRESS = 2
44 ProtoTaskResponse_JOB_SUCCESS = 3
45 ProtoTaskResponse_JOB_FAILED = 4
46 ProtoTaskResponse_JOB_HOST_FAILURE = 5
47 ProtoTaskResponse_JOB_UNKNOWN = 6
48 ProtoTaskResponse_JOB_UNKNOWN_FAILURE = 7
51 var ProtoTaskResponse_TaskStatus_name = map[int32]string{
55 5: "JOB_HOST_FAILURE",
57 7: "JOB_UNKNOWN_FAILURE",
59 var ProtoTaskResponse_TaskStatus_value = map[string]int32{
63 "JOB_HOST_FAILURE": 5,
65 "JOB_UNKNOWN_FAILURE": 7,
68 func NewProtoTaskResponse_TaskStatus(x int32) *ProtoTaskResponse_TaskStatus {
69 e := ProtoTaskResponse_TaskStatus(x)
72 func (x ProtoTaskResponse_TaskStatus) String() string {
73 return proto.EnumName(ProtoTaskResponse_TaskStatus_name, int32(x))
76 type IdentifyClient struct {
77 Hostname *string `protobuf:"bytes,1,req,name=hostname"`
78 XXX_unrecognized []byte
81 func (this *IdentifyClient) Reset() { *this = IdentifyClient{} }
82 func (this *IdentifyClient) String() string { return proto.CompactTextString(this) }
84 type ProtoJobParameter struct {
85 Key *string `protobuf:"bytes,1,req,name=key"`
86 Value *string `protobuf:"bytes,2,req,name=value"`
87 XXX_unrecognized []byte
90 func (this *ProtoJobParameter) Reset() { *this = ProtoJobParameter{} }
91 func (this *ProtoJobParameter) String() string { return proto.CompactTextString(this) }
93 type ProtoTaskRequest struct {
94 Jobname *string `protobuf:"bytes,1,req,name=jobname"`
95 Id *uint64 `protobuf:"varint,2,req,name=id"`
96 Parameters []*ProtoJobParameter `protobuf:"bytes,3,rep,name=parameters"`
97 XXX_unrecognized []byte
100 func (this *ProtoTaskRequest) Reset() { *this = ProtoTaskRequest{} }
101 func (this *ProtoTaskRequest) String() string { return proto.CompactTextString(this) }
103 type ProtoAcknowledgement struct {
104 Id *uint64 `protobuf:"varint,1,req,name=id"`
105 Response *ProtoAcknowledgement_AckType `protobuf:"varint,2,req,name=response,enum=orchestra.ProtoAcknowledgement_AckType,def=1"`
106 XXX_unrecognized []byte
109 func (this *ProtoAcknowledgement) Reset() { *this = ProtoAcknowledgement{} }
110 func (this *ProtoAcknowledgement) String() string { return proto.CompactTextString(this) }
112 const Default_ProtoAcknowledgement_Response ProtoAcknowledgement_AckType = ProtoAcknowledgement_ACK_OK
114 type ProtoTaskResponse struct {
115 Id *uint64 `protobuf:"varint,1,req,name=id"`
116 Status *ProtoTaskResponse_TaskStatus `protobuf:"varint,3,req,name=status,enum=orchestra.ProtoTaskResponse_TaskStatus"`
117 Response []*ProtoJobParameter `protobuf:"bytes,4,rep,name=response"`
118 XXX_unrecognized []byte
121 func (this *ProtoTaskResponse) Reset() { *this = ProtoTaskResponse{} }
122 func (this *ProtoTaskResponse) String() string { return proto.CompactTextString(this) }
125 proto.RegisterEnum("orchestra.ProtoAcknowledgement_AckType", ProtoAcknowledgement_AckType_name, ProtoAcknowledgement_AckType_value)
126 proto.RegisterEnum("orchestra.ProtoTaskResponse_TaskStatus", ProtoTaskResponse_TaskStatus_name, ProtoTaskResponse_TaskStatus_value)