| OLD | NEW |
| 1 // Code generated by protoc-gen-go. | 1 // Code generated by protoc-gen-go. |
| 2 // source: github.com/luci/luci-go/vpython/api/vpython/spec.proto | 2 // source: github.com/luci/luci-go/vpython/api/vpython/spec.proto |
| 3 // DO NOT EDIT! | 3 // DO NOT EDIT! |
| 4 | 4 |
| 5 package vpython | 5 package vpython |
| 6 | 6 |
| 7 import proto "github.com/golang/protobuf/proto" | 7 import proto "github.com/golang/protobuf/proto" |
| 8 import fmt "fmt" | 8 import fmt "fmt" |
| 9 import math "math" | 9 import math "math" |
| 10 | 10 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 // | 33 // |
| 34 // This should be left empty to use the `vpython` default package | 34 // This should be left empty to use the `vpython` default package |
| 35 // (recommended). | 35 // (recommended). |
| 36 Virtualenv *Spec_Package `protobuf:"bytes,3,opt,name=virtualenv" json:"v
irtualenv,omitempty"` | 36 Virtualenv *Spec_Package `protobuf:"bytes,3,opt,name=virtualenv" json:"v
irtualenv,omitempty"` |
| 37 // Specification-provided PEP425 verification tags. | 37 // Specification-provided PEP425 verification tags. |
| 38 // | 38 // |
| 39 // By default, verification will be performed against a default set of | 39 // By default, verification will be performed against a default set of |
| 40 // environment parameters. However, a given specification may offer its
own | 40 // environment parameters. However, a given specification may offer its
own |
| 41 // set of PEP425 tags representing the systems that it wants to be verif
ied | 41 // set of PEP425 tags representing the systems that it wants to be verif
ied |
| 42 // against. | 42 // against. |
| 43 » VerifyPep425Tag []*Pep425Tag `protobuf:"bytes,4,rep,name=verify_pep425_t
ag,json=verifyPep425Tag" json:"verify_pep425_tag,omitempty"` | 43 » VerifyPep425Tag []*PEP425Tag `protobuf:"bytes,4,rep,name=verify_pep425_t
ag,json=verifyPep425Tag" json:"verify_pep425_tag,omitempty"` |
| 44 } | 44 } |
| 45 | 45 |
| 46 func (m *Spec) Reset() { *m = Spec{} } | 46 func (m *Spec) Reset() { *m = Spec{} } |
| 47 func (m *Spec) String() string { return proto.CompactTextString(m) } | 47 func (m *Spec) String() string { return proto.CompactTextString(m) } |
| 48 func (*Spec) ProtoMessage() {} | 48 func (*Spec) ProtoMessage() {} |
| 49 func (*Spec) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} } | 49 func (*Spec) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} } |
| 50 | 50 |
| 51 func (m *Spec) GetPythonVersion() string { | 51 func (m *Spec) GetPythonVersion() string { |
| 52 if m != nil { | 52 if m != nil { |
| 53 return m.PythonVersion | 53 return m.PythonVersion |
| 54 } | 54 } |
| 55 return "" | 55 return "" |
| 56 } | 56 } |
| 57 | 57 |
| 58 func (m *Spec) GetWheel() []*Spec_Package { | 58 func (m *Spec) GetWheel() []*Spec_Package { |
| 59 if m != nil { | 59 if m != nil { |
| 60 return m.Wheel | 60 return m.Wheel |
| 61 } | 61 } |
| 62 return nil | 62 return nil |
| 63 } | 63 } |
| 64 | 64 |
| 65 func (m *Spec) GetVirtualenv() *Spec_Package { | 65 func (m *Spec) GetVirtualenv() *Spec_Package { |
| 66 if m != nil { | 66 if m != nil { |
| 67 return m.Virtualenv | 67 return m.Virtualenv |
| 68 } | 68 } |
| 69 return nil | 69 return nil |
| 70 } | 70 } |
| 71 | 71 |
| 72 func (m *Spec) GetVerifyPep425Tag() []*Pep425Tag { | 72 func (m *Spec) GetVerifyPep425Tag() []*PEP425Tag { |
| 73 if m != nil { | 73 if m != nil { |
| 74 return m.VerifyPep425Tag | 74 return m.VerifyPep425Tag |
| 75 } | 75 } |
| 76 return nil | 76 return nil |
| 77 } | 77 } |
| 78 | 78 |
| 79 // A definition for a remote package. The type of package depends on the | 79 // A definition for a remote package. The type of package depends on the |
| 80 // configured package resolver. | 80 // configured package resolver. |
| 81 type Spec_Package struct { | 81 type Spec_Package struct { |
| 82 // The name of the package. | 82 // The name of the package. |
| 83 // | 83 // |
| 84 // - For CIPD, this is the package name. | 84 // - For CIPD, this is the package name. |
| 85 Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` | 85 Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` |
| 86 // The package version. | 86 // The package version. |
| 87 // | 87 // |
| 88 // - For CIPD, this will be any recognized CIPD version (i.e., ID, tag,
or | 88 // - For CIPD, this will be any recognized CIPD version (i.e., ID, tag,
or |
| 89 // ref). | 89 // ref). |
| 90 Version string `protobuf:"bytes,2,opt,name=version" json:"version,omitem
pty"` | 90 Version string `protobuf:"bytes,2,opt,name=version" json:"version,omitem
pty"` |
| 91 // Optional PEP425 tags to determine whether this package is included on
the | 91 // Optional PEP425 tags to determine whether this package is included on
the |
| 92 // target system. If no match tags are specified, this package will alwa
ys | 92 // target system. If no match tags are specified, this package will alwa
ys |
| 93 // be included. If match tags are specified, the package will be include
d if | 93 // be included. If match tags are specified, the package will be include
d if |
| 94 // any system PEP425 tags match at least one of the match tags. | 94 // any system PEP425 tags match at least one of the match tags. |
| 95 // | 95 // |
| 96 // A match will succeed if any system PEP425 tag field matches the | 96 // A match will succeed if any system PEP425 tag field matches the |
| 97 // corresponding field in the PEP425 tag. If the match tag omits a field | 97 // corresponding field in the PEP425 tag. If the match tag omits a field |
| 98 // (partial), that field will not be considered. For example, if a match | 98 // (partial), that field will not be considered. For example, if a match |
| 99 // tag specifies just an ABI field, any system PEP425 tag with that ABI
will | 99 // tag specifies just an ABI field, any system PEP425 tag with that ABI
will |
| 100 // be considered a successful match, regardless of other field values. | 100 // be considered a successful match, regardless of other field values. |
| 101 » MatchTag []*Pep425Tag `protobuf:"bytes,3,rep,name=match_tag,json=matchTa
g" json:"match_tag,omitempty"` | 101 » MatchTag []*PEP425Tag `protobuf:"bytes,3,rep,name=match_tag,json=matchTa
g" json:"match_tag,omitempty"` |
| 102 } | 102 } |
| 103 | 103 |
| 104 func (m *Spec_Package) Reset() { *m = Spec_Package{} } | 104 func (m *Spec_Package) Reset() { *m = Spec_Package{} } |
| 105 func (m *Spec_Package) String() string { return proto.CompactTextStri
ng(m) } | 105 func (m *Spec_Package) String() string { return proto.CompactTextStri
ng(m) } |
| 106 func (*Spec_Package) ProtoMessage() {} | 106 func (*Spec_Package) ProtoMessage() {} |
| 107 func (*Spec_Package) Descriptor() ([]byte, []int) { return fileDescriptor2, []in
t{0, 0} } | 107 func (*Spec_Package) Descriptor() ([]byte, []int) { return fileDescriptor2, []in
t{0, 0} } |
| 108 | 108 |
| 109 func (m *Spec_Package) GetName() string { | 109 func (m *Spec_Package) GetName() string { |
| 110 if m != nil { | 110 if m != nil { |
| 111 return m.Name | 111 return m.Name |
| 112 } | 112 } |
| 113 return "" | 113 return "" |
| 114 } | 114 } |
| 115 | 115 |
| 116 func (m *Spec_Package) GetVersion() string { | 116 func (m *Spec_Package) GetVersion() string { |
| 117 if m != nil { | 117 if m != nil { |
| 118 return m.Version | 118 return m.Version |
| 119 } | 119 } |
| 120 return "" | 120 return "" |
| 121 } | 121 } |
| 122 | 122 |
| 123 func (m *Spec_Package) GetMatchTag() []*Pep425Tag { | 123 func (m *Spec_Package) GetMatchTag() []*PEP425Tag { |
| 124 if m != nil { | 124 if m != nil { |
| 125 return m.MatchTag | 125 return m.MatchTag |
| 126 } | 126 } |
| 127 return nil | 127 return nil |
| 128 } | 128 } |
| 129 | 129 |
| 130 func init() { | 130 func init() { |
| 131 proto.RegisterType((*Spec)(nil), "vpython.Spec") | 131 proto.RegisterType((*Spec)(nil), "vpython.Spec") |
| 132 proto.RegisterType((*Spec_Package)(nil), "vpython.Spec.Package") | 132 proto.RegisterType((*Spec_Package)(nil), "vpython.Spec.Package") |
| 133 } | 133 } |
| 134 | 134 |
| 135 func init() { | 135 func init() { |
| 136 proto.RegisterFile("github.com/luci/luci-go/vpython/api/vpython/spec.pro
to", fileDescriptor2) | 136 proto.RegisterFile("github.com/luci/luci-go/vpython/api/vpython/spec.pro
to", fileDescriptor2) |
| 137 } | 137 } |
| 138 | 138 |
| 139 var fileDescriptor2 = []byte{ | 139 var fileDescriptor2 = []byte{ |
| 140 » // 264 bytes of a gzipped FileDescriptorProto | 140 » // 270 bytes of a gzipped FileDescriptorProto |
| 141 » 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x90,
0xcf, 0x4a, 0xc4, 0x30, | 141 » 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x90,
0x4f, 0x4b, 0xc4, 0x30, |
| 142 » 0x10, 0xc6, 0xe9, 0x1f, 0xad, 0x3b, 0xa2, 0xe2, 0x80, 0x50, 0xf6, 0x54,
0x04, 0x61, 0x41, 0x6c, | 142 » 0x10, 0xc5, 0xe9, 0x1f, 0xad, 0x3b, 0xa2, 0x62, 0x40, 0x28, 0x7b, 0x2a,
0x82, 0xb0, 0x20, 0xb6, |
| 143 » 0x61, 0x75, 0xc5, 0x93, 0xcf, 0xb0, 0xd4, 0xc5, 0x6b, 0xc9, 0x86, 0x31,
0x0d, 0xb6, 0x4d, 0xe8, | 143 » 0x50, 0xb7, 0xe2, 0xc9, 0x9b, 0xf7, 0x52, 0x8b, 0xd7, 0x92, 0x0d, 0x63,
0x1a, 0x6c, 0x9b, 0xd0, |
| 144 » 0xa6, 0x91, 0x7d, 0x36, 0x5f, 0x4e, 0x4c, 0xba, 0xc5, 0xcb, 0x1e, 0xbc,
0x84, 0xc9, 0x37, 0xdf, | 144 » 0x4d, 0x23, 0xfb, 0xd9, 0xfc, 0x72, 0x62, 0xd2, 0x5d, 0xbc, 0xec, 0xc1,
0x4b, 0x98, 0xbc, 0xbc, |
| 145 » 0xfc, 0xbe, 0x4c, 0xe0, 0x59, 0x48, 0x53, 0x0f, 0xdb, 0x9c, 0xab, 0xb6,
0x68, 0x06, 0x2e, 0xdd, | 145 » 0xf9, 0xbd, 0xcc, 0xc0, 0x13, 0x17, 0xba, 0x9d, 0x36, 0x29, 0x93, 0x7d,
0xd6, 0x4d, 0x4c, 0xd8, |
| 146 » 0xf1, 0x20, 0x54, 0x61, 0xf5, 0xde, 0xd4, 0xaa, 0x2b, 0x98, 0x96, 0x53,
0xbd, 0xd3, 0xc4, 0x73, | 146 » 0xe3, 0x81, 0xcb, 0xcc, 0xa8, 0x9d, 0x6e, 0xe5, 0x90, 0x51, 0x25, 0x0e,
0xf5, 0x56, 0x21, 0x4b, |
| 147 » 0xdd, 0x2b, 0xa3, 0x30, 0x19, 0xb5, 0xf9, 0xcb, 0x7f, 0x00, 0x9a, 0xf4,
0xd3, 0x72, 0xe5, 0x11, | 147 » 0xd5, 0x28, 0xb5, 0x24, 0xd1, 0xac, 0x2d, 0x9f, 0xff, 0x03, 0x50, 0xa8,
0xd6, 0x79, 0xe1, 0x10, |
| 148 » 0xb7, 0xdf, 0x21, 0xc4, 0x6f, 0x9a, 0x38, 0xde, 0xc1, 0xa5, 0xef, 0x57,
0x96, 0xfa, 0x9d, 0x54, | 148 » 0xb7, 0xdf, 0x3e, 0x84, 0x6f, 0x0a, 0x19, 0xb9, 0x83, 0x4b, 0xf7, 0xde,
0x18, 0x1c, 0xb7, 0x42, |
| 149 » 0x5d, 0x1a, 0x64, 0xc1, 0x62, 0x56, 0x5e, 0x78, 0xf5, 0xdd, 0x8b, 0x78,
0x0f, 0x27, 0x5f, 0x35, | 149 » 0x0e, 0xb1, 0x97, 0x78, 0xab, 0x45, 0x75, 0xe1, 0xd4, 0x77, 0x27, 0x92,
0x7b, 0x38, 0xf9, 0x6a, |
| 150 » 0x51, 0x93, 0x86, 0x59, 0xb4, 0x38, 0x5f, 0xde, 0xe4, 0x23, 0x35, 0xff,
0x85, 0xe4, 0x6b, 0xc6, | 150 » 0x11, 0xbb, 0xd8, 0x4f, 0x82, 0xd5, 0x79, 0x7e, 0x93, 0xce, 0xd4, 0xf4,
0x17, 0x92, 0x96, 0x94, |
| 151 » 0x3f, 0x99, 0xa0, 0xd2, 0x7b, 0x70, 0x05, 0x60, 0x65, 0x6f, 0x06, 0xd6,
0x50, 0x67, 0xd3, 0x28, | 151 » 0x7d, 0x52, 0x8e, 0x95, 0xf3, 0x90, 0x02, 0xc0, 0x88, 0x51, 0x4f, 0xb4,
0xc3, 0xc1, 0xc4, 0x41, |
| 152 » 0x0b, 0x8e, 0x4f, 0xfc, 0x31, 0xe2, 0x2b, 0x5c, 0x5b, 0xea, 0xe5, 0xc7,
0xbe, 0xf2, 0x4f, 0xad, | 152 » 0xe2, 0x1d, 0xef, 0xf8, 0x63, 0x24, 0x2f, 0x70, 0x6d, 0x70, 0x14, 0x1f,
0xbb, 0xc6, 0x7d, 0xb5, |
| 153 » 0x0c, 0x13, 0x69, 0xec, 0xf2, 0x70, 0x9a, 0x5e, 0xbb, 0xd6, 0x86, 0x89,
0xf2, 0xca, 0x9b, 0x27, | 153 » 0xd1, 0x94, 0xc7, 0xa1, 0xcd, 0x23, 0x87, 0xee, 0xf2, 0xb5, 0x5c, 0xe7,
0x45, 0x4d, 0x79, 0x75, |
| 154 » 0x61, 0x5e, 0x43, 0x32, 0x62, 0x11, 0x21, 0xee, 0x58, 0x4b, 0xe3, 0x2e,
0xae, 0xc6, 0x14, 0x92, | 154 » 0xe5, 0xcc, 0xa5, 0xf5, 0xd6, 0x94, 0x2f, 0x5b, 0x88, 0x66, 0x2c, 0x21,
0x10, 0x0e, 0xb4, 0xc7, |
| 155 » 0xc3, 0x8a, 0xa1, 0x93, 0x0f, 0x57, 0x2c, 0x60, 0xd6, 0x32, 0xc3, 0x6b,
0x17, 0x18, 0x1d, 0x0d, | 155 » 0x79, 0x16, 0x5b, 0x93, 0x18, 0xa2, 0xfd, 0x88, 0xbe, 0x95, 0xf7, 0x57,
0x92, 0xc1, 0xa2, 0xa7, |
| 156 » 0x3c, 0x73, 0xa6, 0x0d, 0x13, 0xdb, 0x53, 0xf7, 0x89, 0x8f, 0x3f, 0x01,
0x00, 0x00, 0xff, 0xff, | 156 » 0x9a, 0xb5, 0x36, 0x30, 0x38, 0x1a, 0x78, 0x66, 0x4d, 0x35, 0xe5, 0x9b,
0x53, 0xbb, 0xc4, 0xc7, |
| 157 » 0xb3, 0xe0, 0x12, 0xd4, 0xc1, 0x01, 0x00, 0x00, | 157 » 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xcf, 0xe6, 0x2e, 0x37, 0xc1, 0x01,
0x00, 0x00, |
| 158 } | 158 } |
| OLD | NEW |