Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: vpython/api/env/spec.pb.go

Issue 2703463006: vpython: Add README and environment protobuf. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« vpython/api/env/spec.proto ('K') | « vpython/api/env/spec.proto ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Code generated by protoc-gen-go.
2 // source: github.com/luci/luci-go/vpython/api/env/spec.proto
3 // DO NOT EDIT!
4
5 /*
6 Package env is a generated protocol buffer package.
7
8 It is generated from these files:
9 github.com/luci/luci-go/vpython/api/env/spec.proto
10
11 It has these top-level messages:
12 Spec
13 */
14 package env
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 // A compilation error at this line likely means your copy of the
28 // proto package needs to be updated.
29 const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
30
31 type Spec struct {
32 // The Python version to use. This should be of the form:
33 // "Major[.Minor[.Patch]]"
34 //
35 // If specified,
36 // - The Major version will be enforced absolutely. Python 3 will not be
37 // preferred over Python 2 because '3' is greater than '2'.
38 // - The remaining versions, if specified, will be regarded as *minimum*
39 // versions. In other words, if "2.7.4" is specified and the system ha s
40 // "2.7.12", that will suffice.
41 //
42 // If empty, the default Python interpreter ("python") will be used.
43 PythonVersion string `protobuf:"bytes,1,opt,name=python_version ,json=pythonVersion" json:"python_version,omitempty"`
44 Wheel []*Spec_Package `protobuf:"bytes,2,rep,name=wheel" json:"w heel,omitempty"`
45 // The VirtualEnv package.
46 //
47 // This should be left empty to use the `vpython` default package
48 // (recommended).
49 Virtualenv *Spec_Package `protobuf:"bytes,3,opt,name=virtualenv" json:"v irtualenv,omitempty"`
50 }
51
52 func (m *Spec) Reset() { *m = Spec{} }
53 func (m *Spec) String() string { return proto.CompactTextString(m) }
54 func (*Spec) ProtoMessage() {}
55 func (*Spec) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
56
57 func (m *Spec) GetPythonVersion() string {
58 if m != nil {
59 return m.PythonVersion
60 }
61 return ""
62 }
63
64 func (m *Spec) GetWheel() []*Spec_Package {
65 if m != nil {
66 return m.Wheel
67 }
68 return nil
69 }
70
71 func (m *Spec) GetVirtualenv() *Spec_Package {
72 if m != nil {
73 return m.Virtualenv
74 }
75 return nil
76 }
77
78 // A definition for a remote package. The type of package depends on the
79 // configured package resolver.
80 type Spec_Package struct {
81 // The path of the package.
82 //
83 // - For CIPD, this is the package name.
84 Path string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
85 // The package version.
86 //
87 // - For CIPD, this will be a "version", which can include a "key:value"
88 // ref/tag.
89 Version string `protobuf:"bytes,2,opt,name=version" json:"version,omitem pty"`
90 }
91
92 func (m *Spec_Package) Reset() { *m = Spec_Package{} }
93 func (m *Spec_Package) String() string { return proto.CompactTextStri ng(m) }
94 func (*Spec_Package) ProtoMessage() {}
95 func (*Spec_Package) Descriptor() ([]byte, []int) { return fileDescriptor0, []in t{0, 0} }
96
97 func (m *Spec_Package) GetPath() string {
98 if m != nil {
99 return m.Path
100 }
101 return ""
102 }
103
104 func (m *Spec_Package) GetVersion() string {
105 if m != nil {
106 return m.Version
107 }
108 return ""
109 }
110
111 func init() {
112 proto.RegisterType((*Spec)(nil), "env.Spec")
113 proto.RegisterType((*Spec_Package)(nil), "env.Spec.Package")
114 }
115
116 func init() { proto.RegisterFile("github.com/luci/luci-go/vpython/api/env/spec.p roto", fileDescriptor0) }
117
118 var fileDescriptor0 = []byte{
119 // 204 bytes of a gzipped FileDescriptorProto
120 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x6c, 0x8f, 0xc1, 0x4a, 0xc4, 0x30,
121 0x10, 0x86, 0x49, 0x5b, 0x2d, 0x8e, 0x28, 0x98, 0x53, 0xf0, 0x54, 0x04, 0xb1, 0x17, 0x13, 0xac,
122 0x07, 0x5f, 0x43, 0x2a, 0x78, 0x95, 0x34, 0x0c, 0x4d, 0xb0, 0x26, 0xa1, 0x4d, 0x23, 0xbe, 0x9e,
123 0x4f, 0xb6, 0x6c, 0xd2, 0xc2, 0x1e, 0xf6, 0x32, 0xcc, 0x7c, 0xf3, 0x31, 0xfc, 0x03, 0xdd, 0x68,
124 0x82, 0x5e, 0x07, 0xae, 0xdc, 0x8f, 0x98, 0x56, 0x65, 0x52, 0x79, 0x1e, 0x9d, 0x88, 0xfe, 0x2f,
125 0x68, 0x67, 0x85, 0xf4, 0x46, 0xa0, 0x8d, 0x62, 0xf1, 0xa8, 0xb8, 0x9f, 0x5d, 0x70, 0xb4, 0x44,
126 0x1b, 0x1f, 0xfe, 0x09, 0x54, 0x1f, 0x1e, 0x15, 0x7d, 0x84, 0xdb, 0xac, 0x7e, 0x45, 0x9c, 0x17,
127 0xe3, 0x2c, 0x23, 0x0d, 0x69, 0xaf, 0xfa, 0x9b, 0x4c, 0x3f, 0x33, 0xa4, 0x4f, 0x70, 0xf1, 0xab,
128 0x11, 0x27, 0x56, 0x34, 0x65, 0x7b, 0xdd, 0xdd, 0x71, 0xb4, 0x91, 0x1f, 0x0f, 0xf0, 0x77, 0xa9,
129 0xbe, 0xe5, 0x88, 0x7d, 0xde, 0xd3, 0x17, 0x80, 0x68, 0xe6, 0xb0, 0xca, 0x09, 0x6d, 0x64, 0x65,
130 0x43, 0xce, 0xdb, 0x27, 0xd2, 0xfd, 0x1b, 0xd4, 0x1b, 0xa6, 0x14, 0x2a, 0x2f, 0x83, 0xde, 0x32,
131 0xa4, 0x9e, 0x32, 0xa8, 0xf7, 0x68, 0x45, 0xc2, 0xfb, 0x38, 0x5c, 0xa6, 0x87, 0x5e, 0x0f, 0x01,
132 0x00, 0x00, 0xff, 0xff, 0x1c, 0x2a, 0x9f, 0x43, 0x06, 0x01, 0x00, 0x00,
133 }
OLDNEW
« vpython/api/env/spec.proto ('K') | « vpython/api/env/spec.proto ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698