2019-09-24 21:00:11 +03:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
2019-11-19 22:36:29 +03:00
|
|
|
// source: runtime.proto
|
2019-09-24 21:00:11 +03:00
|
|
|
|
|
|
|
package go_micro_runtime
|
|
|
|
|
|
|
|
import (
|
|
|
|
fmt "fmt"
|
|
|
|
proto "github.com/golang/protobuf/proto"
|
|
|
|
math "math"
|
|
|
|
)
|
|
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
var _ = proto.Marshal
|
|
|
|
var _ = fmt.Errorf
|
|
|
|
var _ = math.Inf
|
|
|
|
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
|
|
// is compatible with the proto package it is being compiled against.
|
|
|
|
// A compilation error at this line likely means your copy of the
|
|
|
|
// proto package needs to be updated.
|
|
|
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
|
|
|
|
|
type Service struct {
|
|
|
|
// name of the service
|
|
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
|
|
// git url of the source
|
|
|
|
Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
|
|
|
|
// local path of the source
|
|
|
|
Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
|
|
|
|
// command to execute
|
2019-11-19 22:36:29 +03:00
|
|
|
Exec []string `protobuf:"bytes,4,rep,name=exec,proto3" json:"exec,omitempty"`
|
2019-09-24 21:00:11 +03:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Service) Reset() { *m = Service{} }
|
|
|
|
func (m *Service) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Service) ProtoMessage() {}
|
|
|
|
func (*Service) Descriptor() ([]byte, []int) {
|
2019-11-19 22:36:29 +03:00
|
|
|
return fileDescriptor_86e2dd377c869464, []int{0}
|
2019-09-24 21:00:11 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Service) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_Service.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_Service.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *Service) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_Service.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *Service) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_Service.Size(m)
|
|
|
|
}
|
|
|
|
func (m *Service) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_Service.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_Service proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *Service) GetName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Name
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Service) GetSource() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Source
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Service) GetPath() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Path
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2019-11-19 22:36:29 +03:00
|
|
|
func (m *Service) GetExec() []string {
|
2019-09-24 21:00:11 +03:00
|
|
|
if m != nil {
|
|
|
|
return m.Exec
|
|
|
|
}
|
2019-11-19 22:36:29 +03:00
|
|
|
return nil
|
2019-09-24 21:00:11 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
type CreateRequest struct {
|
|
|
|
Service *Service `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CreateRequest) Reset() { *m = CreateRequest{} }
|
|
|
|
func (m *CreateRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*CreateRequest) ProtoMessage() {}
|
|
|
|
func (*CreateRequest) Descriptor() ([]byte, []int) {
|
2019-11-19 22:36:29 +03:00
|
|
|
return fileDescriptor_86e2dd377c869464, []int{1}
|
2019-09-24 21:00:11 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CreateRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_CreateRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *CreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_CreateRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *CreateRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_CreateRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *CreateRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_CreateRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *CreateRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_CreateRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_CreateRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *CreateRequest) GetService() *Service {
|
|
|
|
if m != nil {
|
|
|
|
return m.Service
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type CreateResponse struct {
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CreateResponse) Reset() { *m = CreateResponse{} }
|
|
|
|
func (m *CreateResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*CreateResponse) ProtoMessage() {}
|
|
|
|
func (*CreateResponse) Descriptor() ([]byte, []int) {
|
2019-11-19 22:36:29 +03:00
|
|
|
return fileDescriptor_86e2dd377c869464, []int{2}
|
2019-09-24 21:00:11 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CreateResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_CreateResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *CreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_CreateResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *CreateResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_CreateResponse.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *CreateResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_CreateResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *CreateResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_CreateResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_CreateResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
type DeleteRequest struct {
|
|
|
|
Service *Service `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeleteRequest) Reset() { *m = DeleteRequest{} }
|
|
|
|
func (m *DeleteRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*DeleteRequest) ProtoMessage() {}
|
|
|
|
func (*DeleteRequest) Descriptor() ([]byte, []int) {
|
2019-11-19 22:36:29 +03:00
|
|
|
return fileDescriptor_86e2dd377c869464, []int{3}
|
2019-09-24 21:00:11 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeleteRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_DeleteRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *DeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_DeleteRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *DeleteRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_DeleteRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *DeleteRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_DeleteRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *DeleteRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_DeleteRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_DeleteRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *DeleteRequest) GetService() *Service {
|
|
|
|
if m != nil {
|
|
|
|
return m.Service
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type DeleteResponse struct {
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeleteResponse) Reset() { *m = DeleteResponse{} }
|
|
|
|
func (m *DeleteResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*DeleteResponse) ProtoMessage() {}
|
|
|
|
func (*DeleteResponse) Descriptor() ([]byte, []int) {
|
2019-11-19 22:36:29 +03:00
|
|
|
return fileDescriptor_86e2dd377c869464, []int{4}
|
2019-09-24 21:00:11 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeleteResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_DeleteResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *DeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_DeleteResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *DeleteResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_DeleteResponse.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *DeleteResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_DeleteResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *DeleteResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_DeleteResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_DeleteResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
proto.RegisterType((*Service)(nil), "go.micro.runtime.Service")
|
|
|
|
proto.RegisterType((*CreateRequest)(nil), "go.micro.runtime.CreateRequest")
|
|
|
|
proto.RegisterType((*CreateResponse)(nil), "go.micro.runtime.CreateResponse")
|
|
|
|
proto.RegisterType((*DeleteRequest)(nil), "go.micro.runtime.DeleteRequest")
|
|
|
|
proto.RegisterType((*DeleteResponse)(nil), "go.micro.runtime.DeleteResponse")
|
|
|
|
}
|
|
|
|
|
2019-11-19 22:36:29 +03:00
|
|
|
func init() { proto.RegisterFile("runtime.proto", fileDescriptor_86e2dd377c869464) }
|
|
|
|
|
|
|
|
var fileDescriptor_86e2dd377c869464 = []byte{
|
|
|
|
// 229 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x91, 0xbf, 0x4e, 0x86, 0x30,
|
|
|
|
0x14, 0xc5, 0x41, 0x08, 0xc4, 0x6b, 0x30, 0xa4, 0x83, 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