2019-11-03 01:54:35 +03:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
2019-11-15 16:41:40 +03:00
|
|
|
// source: runtime.proto
|
2019-11-03 01:54:35 +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"`
|
|
|
|
// version of the service
|
|
|
|
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
|
|
|
|
// git url of the source
|
|
|
|
Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
|
|
|
|
// local path of the source
|
|
|
|
Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
|
|
|
|
// command to execute
|
|
|
|
Exec string `protobuf:"bytes,5,opt,name=exec,proto3" json:"exec,omitempty"`
|
|
|
|
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-15 16:41:40 +03:00
|
|
|
return fileDescriptor_86e2dd377c869464, []int{0}
|
2019-11-03 01:54:35 +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) GetVersion() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Version
|
|
|
|
}
|
|
|
|
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 ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Service) GetExec() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Exec
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2019-11-15 16:41:40 +03:00
|
|
|
type CreateOptions struct {
|
2019-11-03 01:54:35 +03:00
|
|
|
// command to pass in
|
2019-11-15 16:41:40 +03:00
|
|
|
Command []string `protobuf:"bytes,1,rep,name=command,proto3" json:"command,omitempty"`
|
2019-11-03 01:54:35 +03:00
|
|
|
// environment to pass in
|
|
|
|
Env []string `protobuf:"bytes,2,rep,name=env,proto3" json:"env,omitempty"`
|
|
|
|
// output to send to
|
|
|
|
Output string `protobuf:"bytes,3,opt,name=output,proto3" json:"output,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
2019-11-15 16:41:40 +03:00
|
|
|
func (m *CreateOptions) Reset() { *m = CreateOptions{} }
|
|
|
|
func (m *CreateOptions) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*CreateOptions) ProtoMessage() {}
|
|
|
|
func (*CreateOptions) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_86e2dd377c869464, []int{1}
|
2019-11-03 01:54:35 +03:00
|
|
|
}
|
|
|
|
|
2019-11-15 16:41:40 +03:00
|
|
|
func (m *CreateOptions) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_CreateOptions.Unmarshal(m, b)
|
2019-11-03 01:54:35 +03:00
|
|
|
}
|
2019-11-15 16:41:40 +03:00
|
|
|
func (m *CreateOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_CreateOptions.Marshal(b, m, deterministic)
|
2019-11-03 01:54:35 +03:00
|
|
|
}
|
2019-11-15 16:41:40 +03:00
|
|
|
func (m *CreateOptions) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_CreateOptions.Merge(m, src)
|
2019-11-03 01:54:35 +03:00
|
|
|
}
|
2019-11-15 16:41:40 +03:00
|
|
|
func (m *CreateOptions) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_CreateOptions.Size(m)
|
2019-11-03 01:54:35 +03:00
|
|
|
}
|
2019-11-15 16:41:40 +03:00
|
|
|
func (m *CreateOptions) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_CreateOptions.DiscardUnknown(m)
|
2019-11-03 01:54:35 +03:00
|
|
|
}
|
|
|
|
|
2019-11-15 16:41:40 +03:00
|
|
|
var xxx_messageInfo_CreateOptions proto.InternalMessageInfo
|
2019-11-03 01:54:35 +03:00
|
|
|
|
2019-11-15 16:41:40 +03:00
|
|
|
func (m *CreateOptions) GetCommand() []string {
|
2019-11-03 01:54:35 +03:00
|
|
|
if m != nil {
|
|
|
|
return m.Command
|
|
|
|
}
|
2019-11-15 16:41:40 +03:00
|
|
|
return nil
|
2019-11-03 01:54:35 +03:00
|
|
|
}
|
|
|
|
|
2019-11-15 16:41:40 +03:00
|
|
|
func (m *CreateOptions) GetEnv() []string {
|
2019-11-03 01:54:35 +03:00
|
|
|
if m != nil {
|
|
|
|
return m.Env
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-11-15 16:41:40 +03:00
|
|
|
func (m *CreateOptions) GetOutput() string {
|
2019-11-03 01:54:35 +03:00
|
|
|
if m != nil {
|
|
|
|
return m.Output
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type CreateRequest struct {
|
2019-11-15 16:41:40 +03:00
|
|
|
Service *Service `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
|
|
|
|
Options *CreateOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2019-11-03 01:54:35 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
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-15 16:41:40 +03:00
|
|
|
return fileDescriptor_86e2dd377c869464, []int{2}
|
2019-11-03 01:54:35 +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
|
|
|
|
}
|
|
|
|
|
2019-11-15 16:41:40 +03:00
|
|
|
func (m *CreateRequest) GetOptions() *CreateOptions {
|
2019-11-03 01:54:35 +03:00
|
|
|
if m != nil {
|
|
|
|
return m.Options
|
|
|
|
}
|
|
|
|
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-15 16:41:40 +03:00
|
|
|
return fileDescriptor_86e2dd377c869464, []int{3}
|
2019-11-03 01:54:35 +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
|
|
|
|
|
2019-11-15 16:41:40 +03:00
|
|
|
type GetOptions struct {
|
|
|
|
// version of the service
|
|
|
|
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetOptions) Reset() { *m = GetOptions{} }
|
|
|
|
func (m *GetOptions) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*GetOptions) ProtoMessage() {}
|
|
|
|
func (*GetOptions) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_86e2dd377c869464, []int{4}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetOptions) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_GetOptions.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *GetOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_GetOptions.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *GetOptions) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_GetOptions.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *GetOptions) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_GetOptions.Size(m)
|
|
|
|
}
|
|
|
|
func (m *GetOptions) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_GetOptions.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_GetOptions proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *GetOptions) GetVersion() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Version
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type GetRequest struct {
|
|
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
|
|
Options *GetOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetRequest) Reset() { *m = GetRequest{} }
|
|
|
|
func (m *GetRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*GetRequest) ProtoMessage() {}
|
|
|
|
func (*GetRequest) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_86e2dd377c869464, []int{5}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_GetRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_GetRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *GetRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_GetRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *GetRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_GetRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *GetRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_GetRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_GetRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *GetRequest) GetName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Name
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetRequest) GetOptions() *GetOptions {
|
|
|
|
if m != nil {
|
|
|
|
return m.Options
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type GetResponse struct {
|
|
|
|
Services []*Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetResponse) Reset() { *m = GetResponse{} }
|
|
|
|
func (m *GetResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*GetResponse) ProtoMessage() {}
|
|
|
|
func (*GetResponse) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_86e2dd377c869464, []int{6}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_GetResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *GetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_GetResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *GetResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_GetResponse.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *GetResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_GetResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *GetResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_GetResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_GetResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *GetResponse) GetServices() []*Service {
|
|
|
|
if m != nil {
|
|
|
|
return m.Services
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-11-03 01:54:35 +03:00
|
|
|
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-15 16:41:40 +03:00
|
|
|
return fileDescriptor_86e2dd377c869464, []int{7}
|
2019-11-03 01:54:35 +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-15 16:41:40 +03:00
|
|
|
return fileDescriptor_86e2dd377c869464, []int{8}
|
2019-11-03 01:54:35 +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
|
|
|
|
|
|
|
|
type UpdateRequest 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 *UpdateRequest) Reset() { *m = UpdateRequest{} }
|
|
|
|
func (m *UpdateRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*UpdateRequest) ProtoMessage() {}
|
|
|
|
func (*UpdateRequest) Descriptor() ([]byte, []int) {
|
2019-11-15 16:41:40 +03:00
|
|
|
return fileDescriptor_86e2dd377c869464, []int{9}
|
2019-11-03 01:54:35 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *UpdateRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_UpdateRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *UpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_UpdateRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *UpdateRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_UpdateRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *UpdateRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_UpdateRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *UpdateRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_UpdateRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_UpdateRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *UpdateRequest) GetService() *Service {
|
|
|
|
if m != nil {
|
|
|
|
return m.Service
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type UpdateResponse struct {
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *UpdateResponse) Reset() { *m = UpdateResponse{} }
|
|
|
|
func (m *UpdateResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*UpdateResponse) ProtoMessage() {}
|
|
|
|
func (*UpdateResponse) Descriptor() ([]byte, []int) {
|
2019-11-15 16:41:40 +03:00
|
|
|
return fileDescriptor_86e2dd377c869464, []int{10}
|
2019-11-03 01:54:35 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *UpdateResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_UpdateResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *UpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_UpdateResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *UpdateResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_UpdateResponse.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *UpdateResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_UpdateResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *UpdateResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_UpdateResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_UpdateResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
type ListRequest struct {
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ListRequest) Reset() { *m = ListRequest{} }
|
|
|
|
func (m *ListRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ListRequest) ProtoMessage() {}
|
|
|
|
func (*ListRequest) Descriptor() ([]byte, []int) {
|
2019-11-15 16:41:40 +03:00
|
|
|
return fileDescriptor_86e2dd377c869464, []int{11}
|
2019-11-03 01:54:35 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ListRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ListRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *ListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ListRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *ListRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ListRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *ListRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ListRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *ListRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ListRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ListRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
type ListResponse struct {
|
|
|
|
Services []*Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ListResponse) Reset() { *m = ListResponse{} }
|
|
|
|
func (m *ListResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ListResponse) ProtoMessage() {}
|
|
|
|
func (*ListResponse) Descriptor() ([]byte, []int) {
|
2019-11-15 16:41:40 +03:00
|
|
|
return fileDescriptor_86e2dd377c869464, []int{12}
|
2019-11-03 01:54:35 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ListResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ListResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *ListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ListResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *ListResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ListResponse.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *ListResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ListResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *ListResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ListResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ListResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *ListResponse) GetServices() []*Service {
|
|
|
|
if m != nil {
|
|
|
|
return m.Services
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
proto.RegisterType((*Service)(nil), "go.micro.runtime.Service")
|
2019-11-15 16:41:40 +03:00
|
|
|
proto.RegisterType((*CreateOptions)(nil), "go.micro.runtime.CreateOptions")
|
2019-11-03 01:54:35 +03:00
|
|
|
proto.RegisterType((*CreateRequest)(nil), "go.micro.runtime.CreateRequest")
|
|
|
|
proto.RegisterType((*CreateResponse)(nil), "go.micro.runtime.CreateResponse")
|
2019-11-15 16:41:40 +03:00
|
|
|
proto.RegisterType((*GetOptions)(nil), "go.micro.runtime.GetOptions")
|
|
|
|
proto.RegisterType((*GetRequest)(nil), "go.micro.runtime.GetRequest")
|
|
|
|
proto.RegisterType((*GetResponse)(nil), "go.micro.runtime.GetResponse")
|
2019-11-03 01:54:35 +03:00
|
|
|
proto.RegisterType((*DeleteRequest)(nil), "go.micro.runtime.DeleteRequest")
|
|
|
|
proto.RegisterType((*DeleteResponse)(nil), "go.micro.runtime.DeleteResponse")
|
|
|
|
proto.RegisterType((*UpdateRequest)(nil), "go.micro.runtime.UpdateRequest")
|
|
|
|
proto.RegisterType((*UpdateResponse)(nil), "go.micro.runtime.UpdateResponse")
|
|
|
|
proto.RegisterType((*ListRequest)(nil), "go.micro.runtime.ListRequest")
|
|
|
|
proto.RegisterType((*ListResponse)(nil), "go.micro.runtime.ListResponse")
|
|
|
|
}
|
|
|
|
|
2019-11-15 16:41:40 +03:00
|
|
|
func init() { proto.RegisterFile("runtime.proto", fileDescriptor_86e2dd377c869464) }
|
|
|
|
|
|
|
|
var fileDescriptor_86e2dd377c869464 = []byte{
|
|
|
|
// 425 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0xc9, 0xcb, 0xd3, 0x40,
|
|
|
|
0x14, 0xff, 0xda, 0xd4, 0x44, 0x5f, 0x8c, 0x94, 0x39, 0xc8, 0x58, 0x5c, 0xca, 0x1c, 0xc4, 0x53,
|
|
|
|
0x0e, 0x2d, 0x0a, 0x9e, 0x8d, 0xf4, 0x62, 0x11, 0x52, 0x04, 0xaf, 0x31, 0x7d, 0x68, 0xc0, 0x64,
|
|
|
|
0x62, 0x66, 0x52, 0xbd, 0x79, 0xf2, 0xff, 0x96, 0xd9, 0xba, 0xa4,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