| Index: vpython/api/vpython/env.pb.go
|
| diff --git a/vpython/api/vpython/env.pb.go b/vpython/api/vpython/env.pb.go
|
| index c5e98e0ff82dd913636d7864f5a2fa3472d3958d..57341b90a575ab74a02701dbd15591f9175f74a8 100644
|
| --- a/vpython/api/vpython/env.pb.go
|
| +++ b/vpython/api/vpython/env.pb.go
|
| @@ -12,6 +12,7 @@ It is generated from these files:
|
|
|
| It has these top-level messages:
|
| Environment
|
| + Runtime
|
| Pep425Tag
|
| Spec
|
| */
|
| @@ -36,8 +37,10 @@ const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
| type Environment struct {
|
| // A constructed VirtualEnv.
|
| Spec *Spec `protobuf:"bytes,1,opt,name=spec" json:"spec,omitempty"`
|
| + // The resolved runtime parameters.
|
| + Runtime *Runtime `protobuf:"bytes,2,opt,name=runtime" json:"runtime,omitempty"`
|
| // The PEP425 tags that were probed for this Python environment.
|
| - Pep425Tag []*Pep425Tag `protobuf:"bytes,2,rep,name=pep425_tag,json=pep425Tag" json:"pep425_tag,omitempty"`
|
| + Pep425Tag []*Pep425Tag `protobuf:"bytes,3,rep,name=pep425_tag,json=pep425Tag" json:"pep425_tag,omitempty"`
|
| }
|
|
|
| func (m *Environment) Reset() { *m = Environment{} }
|
| @@ -52,6 +55,13 @@ func (m *Environment) GetSpec() *Spec {
|
| return nil
|
| }
|
|
|
| +func (m *Environment) GetRuntime() *Runtime {
|
| + if m != nil {
|
| + return m.Runtime
|
| + }
|
| + return nil
|
| +}
|
| +
|
| func (m *Environment) GetPep425Tag() []*Pep425Tag {
|
| if m != nil {
|
| return m.Pep425Tag
|
| @@ -59,8 +69,45 @@ func (m *Environment) GetPep425Tag() []*Pep425Tag {
|
| return nil
|
| }
|
|
|
| +// Runtime is the set of resolved runtime parameters.
|
| +type Runtime struct {
|
| + // The absolute path to the resolved interpreter.
|
| + Path string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
|
| + // The SHA256 hash of the resolved interpreter.
|
| + Hash string `protobuf:"bytes,2,opt,name=hash" json:"hash,omitempty"`
|
| + // The resolved Python interpreter version.
|
| + Version string `protobuf:"bytes,3,opt,name=version" json:"version,omitempty"`
|
| +}
|
| +
|
| +func (m *Runtime) Reset() { *m = Runtime{} }
|
| +func (m *Runtime) String() string { return proto.CompactTextString(m) }
|
| +func (*Runtime) ProtoMessage() {}
|
| +func (*Runtime) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
| +
|
| +func (m *Runtime) GetPath() string {
|
| + if m != nil {
|
| + return m.Path
|
| + }
|
| + return ""
|
| +}
|
| +
|
| +func (m *Runtime) GetHash() string {
|
| + if m != nil {
|
| + return m.Hash
|
| + }
|
| + return ""
|
| +}
|
| +
|
| +func (m *Runtime) GetVersion() string {
|
| + if m != nil {
|
| + return m.Version
|
| + }
|
| + return ""
|
| +}
|
| +
|
| func init() {
|
| proto.RegisterType((*Environment)(nil), "vpython.Environment")
|
| + proto.RegisterType((*Runtime)(nil), "vpython.Runtime")
|
| }
|
|
|
| func init() {
|
| @@ -68,16 +115,20 @@ func init() {
|
| }
|
|
|
| var fileDescriptor0 = []byte{
|
| - // 171 bytes of a gzipped FileDescriptorProto
|
| - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x4d, 0xcf, 0x2c, 0xc9,
|
| - 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0xcf, 0x29, 0x4d, 0xce, 0x04, 0x13, 0xba, 0xe9, 0xf9,
|
| - 0xfa, 0x65, 0x05, 0x95, 0x25, 0x19, 0xf9, 0x79, 0xfa, 0x89, 0x05, 0x99, 0x70, 0x76, 0x6a, 0x5e,
|
| - 0x99, 0x5e, 0x41, 0x51, 0x7e, 0x49, 0xbe, 0x10, 0x3b, 0x54, 0x48, 0xca, 0x82, 0x14, 0xfd, 0x05,
|
| - 0xa9, 0x05, 0x26, 0x46, 0xa6, 0x10, 0x23, 0xa4, 0xcc, 0x48, 0xd1, 0x59, 0x5c, 0x90, 0x9a, 0x0c,
|
| - 0xd1, 0xa7, 0x94, 0xcc, 0xc5, 0xed, 0x9a, 0x57, 0x96, 0x59, 0x94, 0x9f, 0x97, 0x9b, 0x9a, 0x57,
|
| - 0x22, 0xa4, 0xc8, 0xc5, 0x02, 0x92, 0x94, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x36, 0xe2, 0xd5, 0x83,
|
| - 0xea, 0xd0, 0x0b, 0x2e, 0x48, 0x4d, 0x0e, 0x02, 0x4b, 0x09, 0x19, 0x72, 0x71, 0x41, 0x6c, 0x8e,
|
| - 0x2f, 0x49, 0x4c, 0x97, 0x60, 0x52, 0x60, 0xd6, 0xe0, 0x36, 0x12, 0x82, 0x2b, 0x0c, 0x00, 0x4b,
|
| - 0x85, 0x24, 0xa6, 0x07, 0x71, 0x16, 0xc0, 0x98, 0x49, 0x6c, 0x60, 0xbb, 0x8c, 0x01, 0x01, 0x00,
|
| - 0x00, 0xff, 0xff, 0xd4, 0x12, 0xee, 0x6f, 0x1f, 0x01, 0x00, 0x00,
|
| + // 239 bytes of a gzipped FileDescriptorProto
|
| + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x8f, 0x41, 0x4b, 0xc4, 0x30,
|
| + 0x10, 0x85, 0xa9, 0x5d, 0x2c, 0x9d, 0x22, 0xc8, 0x9c, 0xc2, 0x9e, 0xd6, 0x3d, 0x2d, 0x82, 0x2d,
|
| + 0x56, 0x57, 0xfc, 0x03, 0x9e, 0xbc, 0x48, 0xf4, 0x2e, 0xd9, 0x12, 0x9a, 0x80, 0x4d, 0x86, 0x36,
|
| + 0x2d, 0xf8, 0x2b, 0xfc, 0xcb, 0xb2, 0x93, 0xb6, 0xf7, 0xbd, 0x84, 0x97, 0xf7, 0xde, 0x37, 0x99,
|
| + 0xc0, 0xb1, 0xb5, 0xc1, 0x8c, 0xa7, 0xb2, 0xf1, 0x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