OLD | NEW |
(Empty) | |
| 1 // Code generated by protoc-gen-go. |
| 2 // source: jobsim.proto |
| 3 // DO NOT EDIT! |
| 4 |
| 5 /* |
| 6 Package jobsim is a generated protocol buffer package. |
| 7 |
| 8 It is generated from these files: |
| 9 jobsim.proto |
| 10 |
| 11 It has these top-level messages: |
| 12 Config |
| 13 */ |
| 14 package jobsim |
| 15 |
| 16 import proto "github.com/golang/protobuf/proto" |
| 17 import fmt "fmt" |
| 18 import math "math" |
| 19 |
| 20 // Reference imports to suppress errors if they are not otherwise used. |
| 21 var _ = proto.Marshal |
| 22 var _ = fmt.Errorf |
| 23 var _ = math.Inf |
| 24 |
| 25 // This is a compile-time assertion to ensure that this generated file |
| 26 // is compatible with the proto package it is being compiled against. |
| 27 const _ = proto.ProtoPackageIsVersion1 |
| 28 |
| 29 // Config is ONLY for testing purposes in dm/service. However, because of the |
| 30 // way that the distributor proto works it needs to be included in the main |
| 31 // distributor.proto file. For consistency, this jobsim proto lives here. |
| 32 type Config struct { |
| 33 // Pool specifies the unique 'pool' name for this jobsim configuration.
This |
| 34 // will be used to namespace jobsim objects in the datastore, and can be
used |
| 35 // to demonstrate cross-distributor dependencies (by having one pool's j
obs |
| 36 // depend on another pool's results). |
| 37 Pool string `protobuf:"bytes,1,opt,name=pool" json:"pool,omitempty"` |
| 38 // DoPollback controls whether or not this configuration will force DM t
o |
| 39 // poll back when recieving a HandleNotification. If this is true, then |
| 40 // HandleNotification will return (nil, nil), and DM will call GetStatus |
| 41 // at some later point. If this is false, then HandleNotification will |
| 42 // directly return the job's status. |
| 43 DoPollback bool `protobuf:"varint,2,opt,name=do_pollback" json:"do_pollb
ack,omitempty"` |
| 44 } |
| 45 |
| 46 func (m *Config) Reset() { *m = Config{} } |
| 47 func (m *Config) String() string { return proto.CompactTextString(m)
} |
| 48 func (*Config) ProtoMessage() {} |
| 49 func (*Config) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} } |
| 50 |
| 51 func init() { |
| 52 proto.RegisterType((*Config)(nil), "jobsim.Config") |
| 53 } |
| 54 |
| 55 var fileDescriptor0 = []byte{ |
| 56 // 91 bytes of a gzipped FileDescriptorProto |
| 57 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe2, 0xe2,
0xc9, 0xca, 0x4f, 0x2a, |
| 58 0xce, 0xcc, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x83, 0xf0,
0x94, 0xb4, 0xb9, 0xd8, |
| 59 0x9c, 0xf3, 0xf3, 0xd2, 0x32, 0xd3, 0x85, 0x78, 0xb8, 0x58, 0x0a, 0xf2,
0xf3, 0x73, 0x24, 0x18, |
| 60 0x15, 0x18, 0x35, 0x38, 0x85, 0x84, 0xb9, 0xb8, 0x53, 0xf2, 0xe3, 0x0b,
0xf2, 0x73, 0x72, 0x92, |
| 61 0x12, 0x93, 0xb3, 0x25, 0x98, 0x80, 0x82, 0x1c, 0x49, 0x6c, 0x60, 0xbd,
0xc6, 0x80, 0x00, 0x00, |
| 62 0x00, 0xff, 0xff, 0x50, 0x64, 0x31, 0xa3, 0x4b, 0x00, 0x00, 0x00, |
| 63 } |
OLD | NEW |