| OLD | NEW |
| (Empty) | |
| 1 // Code generated by protoc-gen-go. |
| 2 // source: github.com/luci/luci-go/dm/api/distributor/swarming/v1/cipd.proto |
| 3 // DO NOT EDIT! |
| 4 |
| 5 /* |
| 6 Package swarmingV1 is a generated protocol buffer package. |
| 7 |
| 8 It is generated from these files: |
| 9 github.com/luci/luci-go/dm/api/distributor/swarming/v1/cipd.proto |
| 10 github.com/luci/luci-go/dm/api/distributor/swarming/v1/config.proto |
| 11 github.com/luci/luci-go/dm/api/distributor/swarming/v1/isolate_ref.proto |
| 12 github.com/luci/luci-go/dm/api/distributor/swarming/v1/params.proto |
| 13 github.com/luci/luci-go/dm/api/distributor/swarming/v1/result.proto |
| 14 |
| 15 It has these top-level messages: |
| 16 CipdPackage |
| 17 CipdSpec |
| 18 Config |
| 19 IsolatedRef |
| 20 Parameters |
| 21 Result |
| 22 */ |
| 23 package swarmingV1 |
| 24 |
| 25 import proto "github.com/golang/protobuf/proto" |
| 26 import fmt "fmt" |
| 27 import math "math" |
| 28 |
| 29 // Reference imports to suppress errors if they are not otherwise used. |
| 30 var _ = proto.Marshal |
| 31 var _ = fmt.Errorf |
| 32 var _ = math.Inf |
| 33 |
| 34 // This is a compile-time assertion to ensure that this generated file |
| 35 // is compatible with the proto package it is being compiled against. |
| 36 // A compilation error at this line likely means your copy of the |
| 37 // proto package needs to be updated. |
| 38 const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package |
| 39 |
| 40 type CipdPackage struct { |
| 41 Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` |
| 42 Version string `protobuf:"bytes,2,opt,name=version" json:"version,omitem
pty"` |
| 43 } |
| 44 |
| 45 func (m *CipdPackage) Reset() { *m = CipdPackage{} } |
| 46 func (m *CipdPackage) String() string { return proto.CompactTextStrin
g(m) } |
| 47 func (*CipdPackage) ProtoMessage() {} |
| 48 func (*CipdPackage) Descriptor() ([]byte, []int) { return fileDescriptor0, []int
{0} } |
| 49 |
| 50 type CipdSpec struct { |
| 51 // Server to use for cipd packages. Required (though it may be specified |
| 52 // by the quest's designated distributor config). This must be |
| 53 // scheme://<hostname>, e.g. "https://example.appspot.com". The only |
| 54 // supported schemes are http and https. |
| 55 Server string `protobuf:"bytes,1,opt,name=server" json:"server,omitempty
"` |
| 56 // Specifies the CIPD package to use for the job to obtain the actual CI
PD |
| 57 // client binary. You usually want to omit this. |
| 58 Client *CipdPackage `protobuf:"bytes,2,opt,name=client" json:"client,omi
tempty"` |
| 59 // A mapping from path-to-install to a list of cipd packages to install
at |
| 60 // that location. To install packages in the root of the job, use the pa
th |
| 61 // ''. |
| 62 ByPath map[string]*CipdSpec_CipdPackages `protobuf:"bytes,3,rep,name=by_
path,json=byPath" json:"by_path,omitempty" protobuf_key:"bytes,1,opt,name=key" p
rotobuf_val:"bytes,2,opt,name=value"` |
| 63 } |
| 64 |
| 65 func (m *CipdSpec) Reset() { *m = CipdSpec{} } |
| 66 func (m *CipdSpec) String() string { return proto.CompactTextString(m
) } |
| 67 func (*CipdSpec) ProtoMessage() {} |
| 68 func (*CipdSpec) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1}
} |
| 69 |
| 70 func (m *CipdSpec) GetClient() *CipdPackage { |
| 71 if m != nil { |
| 72 return m.Client |
| 73 } |
| 74 return nil |
| 75 } |
| 76 |
| 77 func (m *CipdSpec) GetByPath() map[string]*CipdSpec_CipdPackages { |
| 78 if m != nil { |
| 79 return m.ByPath |
| 80 } |
| 81 return nil |
| 82 } |
| 83 |
| 84 type CipdSpec_CipdPackages struct { |
| 85 Pkg []*CipdPackage `protobuf:"bytes,1,rep,name=pkg" json:"pkg,omitempty"
` |
| 86 } |
| 87 |
| 88 func (m *CipdSpec_CipdPackages) Reset() { *m = CipdSpec_CipdP
ackages{} } |
| 89 func (m *CipdSpec_CipdPackages) String() string { return proto.Compac
tTextString(m) } |
| 90 func (*CipdSpec_CipdPackages) ProtoMessage() {} |
| 91 func (*CipdSpec_CipdPackages) Descriptor() ([]byte, []int) { return fileDescript
or0, []int{1, 0} } |
| 92 |
| 93 func (m *CipdSpec_CipdPackages) GetPkg() []*CipdPackage { |
| 94 if m != nil { |
| 95 return m.Pkg |
| 96 } |
| 97 return nil |
| 98 } |
| 99 |
| 100 func init() { |
| 101 proto.RegisterType((*CipdPackage)(nil), "swarmingV1.CipdPackage") |
| 102 proto.RegisterType((*CipdSpec)(nil), "swarmingV1.CipdSpec") |
| 103 proto.RegisterType((*CipdSpec_CipdPackages)(nil), "swarmingV1.CipdSpec.C
ipdPackages") |
| 104 } |
| 105 |
| 106 func init() { |
| 107 proto.RegisterFile("github.com/luci/luci-go/dm/api/distributor/swarming/
v1/cipd.proto", fileDescriptor0) |
| 108 } |
| 109 |
| 110 var fileDescriptor0 = []byte{ |
| 111 // 286 bytes of a gzipped FileDescriptorProto |
| 112 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x7c, 0x90,
0x4d, 0x4f, 0x84, 0x30, |
| 113 0x10, 0x86, 0xb3, 0xa0, 0xac, 0x0e, 0x1e, 0xcc, 0x1c, 0x94, 0xec, 0x09,
0xf7, 0xa4, 0x07, 0x69, |
| 114 0x56, 0x0f, 0xba, 0x7a, 0x52, 0xe3, 0x7d, 0x83, 0x89, 0x27, 0x13, 0x53,
0x4a, 0xc3, 0x36, 0x7c, |
| 115 0xb4, 0x29, 0x05, 0xc3, 0x2f, 0xf2, 0x6f, 0x0a, 0x95, 0x8d, 0xc4, 0x18,
0x2f, 0xcd, 0x7c, 0xbc, |
| 116 0xef, 0x3c, 0x33, 0x85, 0x87, 0x4c, 0x98, 0x6d, 0x93, 0x44, 0x4c, 0x96,
0xa4, 0x68, 0x98, 0xb0, |
| 117 0xcf, 0x65, 0x26, 0x49, 0x5a, 0x12, 0xaa, 0x04, 0x49, 0x45, 0x6d, 0xb4,
0x48, 0x1a, 0x23, 0x35, |
| 118 0xa9, 0x3f, 0xa8, 0x2e, 0x45, 0x95, 0x91, 0x76, 0x45, 0x98, 0x50, 0x69,
0xa4, 0xb4, 0x34, 0x12, |
| 119 0x61, 0x57, 0x7f, 0x5d, 0x2d, 0xef, 0xc1, 0x7f, 0xea, 0x3b, 0x1b, 0xca,
0x72, 0x9a, 0x71, 0x44, |
| 120 0xd8, 0xab, 0x68, 0xc9, 0x83, 0x59, 0x38, 0x3b, 0x3f, 0x8c, 0x6d, 0x8c,
0x01, 0xcc, 0x5b, 0xae, |
| 121 0x6b, 0x21, 0xab, 0xc0, 0xb1, 0xe5, 0x5d, 0xba, 0xfc, 0x74, 0xe0, 0x60,
0x70, 0xbf, 0x28, 0xce, |
| 122 0xf0, 0x04, 0xbc, 0x9a, 0xeb, 0xbe, 0x35, 0x9a, 0xc7, 0x0c, 0x09, 0x78,
0xac, 0x10, 0xbc, 0x32, |
| 123 0xd6, 0xed, 0x5f, 0x9d, 0x46, 0x3f, 0xf8, 0x68, 0xc2, 0x8e, 0x47, 0x19,
0xae, 0x61, 0x9e, 0x74, |
| 124 0xef, 0x8a, 0x9a, 0x6d, 0xe0, 0x86, 0x6e, 0xef, 0x08, 0x7f, 0x3b, 0x06,
0x5e, 0xf4, 0xd8, 0x6d, |
| 125 0x7a, 0xc9, 0x73, 0x65, 0x74, 0x17, 0x7b, 0x89, 0x4d, 0x16, 0x6b, 0x38,
0x9a, 0x4c, 0xac, 0xf1, |
| 126 0x02, 0x5c, 0x95, 0x67, 0xfd, 0x42, 0xee, 0x7f, 0xe0, 0x41, 0xb3, 0x78,
0x03, 0x7f, 0x32, 0x11, |
| 127 0x8f, 0xc1, 0xcd, 0x79, 0x37, 0x9e, 0x32, 0x84, 0x78, 0x03, 0xfb, 0x2d,
0x2d, 0x1a, 0x3e, 0x9e, |
| 128 0x71, 0xf6, 0xe7, 0x52, 0x53, 0x7a, 0xfc, 0xad, 0xbf, 0x73, 0x6e, 0x67,
0x89, 0x67, 0x7f, 0xfe, |
| 129 0xfa, 0x2b, 0x00, 0x00, 0xff, 0xff, 0x2d, 0x57, 0xa3, 0xfd, 0xbe, 0x01,
0x00, 0x00, |
| 130 } |
| OLD | NEW |