desktop

package
v0.0.0-...-b63aa1a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterService

func RegisterService(s giraffe_micro.Server, srv Service)

Types

type Client

Client is the client API for desktop service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewClient

func NewClient(c giraffe_micro.Client) Client

type CloneRequest

type CloneRequest struct {
	//
	//新的小产品名称
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" form:"name"`
	//
	//新的小产品id
	AppId string `protobuf:"bytes,2,opt,name=appId,proto3" json:"appId" form:"appId"`
	//
	//被clone的小产品id
	ParentAppId string `protobuf:"bytes,3,opt,name=parentAppId,proto3" json:"parentAppId" form:"parentAppId"`
	//
	//新的小产品homepage
	Homepage             string   `protobuf:"bytes,4,opt,name=homepage,proto3" json:"homepage" form:"homepage"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Clone请求

func (*CloneRequest) Descriptor

func (*CloneRequest) Descriptor() ([]byte, []int)

func (*CloneRequest) GetAppId

func (m *CloneRequest) GetAppId() string

func (*CloneRequest) GetHomepage

func (m *CloneRequest) GetHomepage() string

func (*CloneRequest) GetName

func (m *CloneRequest) GetName() string

func (*CloneRequest) GetParentAppId

func (m *CloneRequest) GetParentAppId() string

func (*CloneRequest) ProtoMessage

func (*CloneRequest) ProtoMessage()

func (*CloneRequest) Reset

func (m *CloneRequest) Reset()

func (*CloneRequest) String

func (m *CloneRequest) String() string

func (*CloneRequest) Validate

func (this *CloneRequest) Validate() error

func (*CloneRequest) XXX_DiscardUnknown

func (m *CloneRequest) XXX_DiscardUnknown()

func (*CloneRequest) XXX_Marshal

func (m *CloneRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloneRequest) XXX_Merge

func (m *CloneRequest) XXX_Merge(src proto.Message)

func (*CloneRequest) XXX_Size

func (m *CloneRequest) XXX_Size() int

func (*CloneRequest) XXX_Unmarshal

func (m *CloneRequest) XXX_Unmarshal(b []byte) error

type CloneResponseWrapper

type CloneResponseWrapper struct {
	//
	//返回码
	Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"`
	//
	//返回码解释
	CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"`
	//
	//错误详情
	Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"`
	//
	//返回数据
	Data                 *micro_app.InstalledMicroApp `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

CloneApi返回

func (*CloneResponseWrapper) Descriptor

func (*CloneResponseWrapper) Descriptor() ([]byte, []int)

func (*CloneResponseWrapper) GetCode

func (m *CloneResponseWrapper) GetCode() int32

func (*CloneResponseWrapper) GetCodeExplain

func (m *CloneResponseWrapper) GetCodeExplain() string

func (*CloneResponseWrapper) GetData

func (*CloneResponseWrapper) GetError

func (m *CloneResponseWrapper) GetError() string

func (*CloneResponseWrapper) ProtoMessage

func (*CloneResponseWrapper) ProtoMessage()

func (*CloneResponseWrapper) Reset

func (m *CloneResponseWrapper) Reset()

func (*CloneResponseWrapper) String

func (m *CloneResponseWrapper) String() string

func (*CloneResponseWrapper) Validate

func (this *CloneResponseWrapper) Validate() error

func (*CloneResponseWrapper) XXX_DiscardUnknown

func (m *CloneResponseWrapper) XXX_DiscardUnknown()

func (*CloneResponseWrapper) XXX_Marshal

func (m *CloneResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloneResponseWrapper) XXX_Merge

func (m *CloneResponseWrapper) XXX_Merge(src proto.Message)

func (*CloneResponseWrapper) XXX_Size

func (m *CloneResponseWrapper) XXX_Size() int

func (*CloneResponseWrapper) XXX_Unmarshal

func (m *CloneResponseWrapper) XXX_Unmarshal(b []byte) error

type GetAppDependenciesRequest

type GetAppDependenciesRequest struct {
	//
	//小产品id
	AppId                string   `protobuf:"bytes,1,opt,name=appId,proto3" json:"appId" form:"appId"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

GetAppDependencies请求

func (*GetAppDependenciesRequest) Descriptor

func (*GetAppDependenciesRequest) Descriptor() ([]byte, []int)

func (*GetAppDependenciesRequest) GetAppId

func (m *GetAppDependenciesRequest) GetAppId() string

func (*GetAppDependenciesRequest) ProtoMessage

func (*GetAppDependenciesRequest) ProtoMessage()

func (*GetAppDependenciesRequest) Reset

func (m *GetAppDependenciesRequest) Reset()

func (*GetAppDependenciesRequest) String

func (m *GetAppDependenciesRequest) String() string

func (*GetAppDependenciesRequest) Validate

func (this *GetAppDependenciesRequest) Validate() error

func (*GetAppDependenciesRequest) XXX_DiscardUnknown

func (m *GetAppDependenciesRequest) XXX_DiscardUnknown()

func (*GetAppDependenciesRequest) XXX_Marshal

func (m *GetAppDependenciesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetAppDependenciesRequest) XXX_Merge

func (m *GetAppDependenciesRequest) XXX_Merge(src proto.Message)

func (*GetAppDependenciesRequest) XXX_Size

func (m *GetAppDependenciesRequest) XXX_Size() int

func (*GetAppDependenciesRequest) XXX_Unmarshal

func (m *GetAppDependenciesRequest) XXX_Unmarshal(b []byte) error

type GetAppDependenciesResponse

type GetAppDependenciesResponse struct {
	//
	//依赖信息列表
	Dependencies         []*GetAppDependenciesResponse_Dependencies `protobuf:"bytes,1,rep,name=dependencies,proto3" json:"dependencies" form:"dependencies"`
	XXX_NoUnkeyedLiteral struct{}                                   `json:"-"`
	XXX_unrecognized     []byte                                     `json:"-"`
	XXX_sizecache        int32                                      `json:"-"`
}

GetAppDependencies返回

func (*GetAppDependenciesResponse) Descriptor

func (*GetAppDependenciesResponse) Descriptor() ([]byte, []int)

func (*GetAppDependenciesResponse) GetDependencies

func (*GetAppDependenciesResponse) ProtoMessage

func (*GetAppDependenciesResponse) ProtoMessage()

func (*GetAppDependenciesResponse) Reset

func (m *GetAppDependenciesResponse) Reset()

func (*GetAppDependenciesResponse) String

func (m *GetAppDependenciesResponse) String() string

func (*GetAppDependenciesResponse) Validate

func (this *GetAppDependenciesResponse) Validate() error

func (*GetAppDependenciesResponse) XXX_DiscardUnknown

func (m *GetAppDependenciesResponse) XXX_DiscardUnknown()

func (*GetAppDependenciesResponse) XXX_Marshal

func (m *GetAppDependenciesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetAppDependenciesResponse) XXX_Merge

func (m *GetAppDependenciesResponse) XXX_Merge(src proto.Message)

func (*GetAppDependenciesResponse) XXX_Size

func (m *GetAppDependenciesResponse) XXX_Size() int

func (*GetAppDependenciesResponse) XXX_Unmarshal

func (m *GetAppDependenciesResponse) XXX_Unmarshal(b []byte) error

type GetAppDependenciesResponseWrapper

type GetAppDependenciesResponseWrapper struct {
	//
	//返回码
	Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"`
	//
	//返回码解释
	CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"`
	//
	//错误详情
	Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"`
	//
	//返回数据
	Data                 *GetAppDependenciesResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

GetAppDependenciesApi返回

func (*GetAppDependenciesResponseWrapper) Descriptor

func (*GetAppDependenciesResponseWrapper) Descriptor() ([]byte, []int)

func (*GetAppDependenciesResponseWrapper) GetCode

func (*GetAppDependenciesResponseWrapper) GetCodeExplain

func (m *GetAppDependenciesResponseWrapper) GetCodeExplain() string

func (*GetAppDependenciesResponseWrapper) GetData

func (*GetAppDependenciesResponseWrapper) GetError

func (*GetAppDependenciesResponseWrapper) ProtoMessage

func (*GetAppDependenciesResponseWrapper) ProtoMessage()

func (*GetAppDependenciesResponseWrapper) Reset

func (*GetAppDependenciesResponseWrapper) String

func (*GetAppDependenciesResponseWrapper) Validate

func (this *GetAppDependenciesResponseWrapper) Validate() error

func (*GetAppDependenciesResponseWrapper) XXX_DiscardUnknown

func (m *GetAppDependenciesResponseWrapper) XXX_DiscardUnknown()

func (*GetAppDependenciesResponseWrapper) XXX_Marshal

func (m *GetAppDependenciesResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetAppDependenciesResponseWrapper) XXX_Merge

func (*GetAppDependenciesResponseWrapper) XXX_Size

func (m *GetAppDependenciesResponseWrapper) XXX_Size() int

func (*GetAppDependenciesResponseWrapper) XXX_Unmarshal

func (m *GetAppDependenciesResponseWrapper) XXX_Unmarshal(b []byte) error

type GetAppDependenciesResponse_Dependencies

type GetAppDependenciesResponse_Dependencies struct {
	//
	//依赖组件
	PackageName string `protobuf:"bytes,1,opt,name=packageName,proto3" json:"packageName" form:"packageName"`
	//
	//依赖版本
	Constraint string `protobuf:"bytes,2,opt,name=constraint,proto3" json:"constraint" form:"constraint"`
	//
	//当前版本
	CurrentVersion string `protobuf:"bytes,3,opt,name=currentVersion,proto3" json:"currentVersion" form:"currentVersion"`
	//
	//当前版本是否符合依赖
	MeetConstraint       bool     `protobuf:"varint,4,opt,name=meetConstraint,proto3" json:"meetConstraint" form:"meetConstraint"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetAppDependenciesResponse_Dependencies) Descriptor

func (*GetAppDependenciesResponse_Dependencies) Descriptor() ([]byte, []int)

func (*GetAppDependenciesResponse_Dependencies) GetConstraint

func (*GetAppDependenciesResponse_Dependencies) GetCurrentVersion

func (m *GetAppDependenciesResponse_Dependencies) GetCurrentVersion() string

func (*GetAppDependenciesResponse_Dependencies) GetMeetConstraint

func (m *GetAppDependenciesResponse_Dependencies) GetMeetConstraint() bool

func (*GetAppDependenciesResponse_Dependencies) GetPackageName

func (m *GetAppDependenciesResponse_Dependencies) GetPackageName() string

func (*GetAppDependenciesResponse_Dependencies) ProtoMessage

func (*GetAppDependenciesResponse_Dependencies) Reset

func (*GetAppDependenciesResponse_Dependencies) String

func (*GetAppDependenciesResponse_Dependencies) Validate

func (*GetAppDependenciesResponse_Dependencies) XXX_DiscardUnknown

func (m *GetAppDependenciesResponse_Dependencies) XXX_DiscardUnknown()

func (*GetAppDependenciesResponse_Dependencies) XXX_Marshal

func (m *GetAppDependenciesResponse_Dependencies) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetAppDependenciesResponse_Dependencies) XXX_Merge

func (*GetAppDependenciesResponse_Dependencies) XXX_Size

func (*GetAppDependenciesResponse_Dependencies) XXX_Unmarshal

func (m *GetAppDependenciesResponse_Dependencies) XXX_Unmarshal(b []byte) error

type GetTaskStatusRequest

type GetTaskStatusRequest struct {
	//
	//部署任务id
	TaskId               string   `protobuf:"bytes,1,opt,name=taskId,proto3" json:"taskId" form:"taskId"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

GetTaskStatus请求

func (*GetTaskStatusRequest) Descriptor

func (*GetTaskStatusRequest) Descriptor() ([]byte, []int)

func (*GetTaskStatusRequest) GetTaskId

func (m *GetTaskStatusRequest) GetTaskId() string

func (*GetTaskStatusRequest) ProtoMessage

func (*GetTaskStatusRequest) ProtoMessage()

func (*GetTaskStatusRequest) Reset

func (m *GetTaskStatusRequest) Reset()

func (*GetTaskStatusRequest) String

func (m *GetTaskStatusRequest) String() string

func (*GetTaskStatusRequest) Validate

func (this *GetTaskStatusRequest) Validate() error

func (*GetTaskStatusRequest) XXX_DiscardUnknown

func (m *GetTaskStatusRequest) XXX_DiscardUnknown()

func (*GetTaskStatusRequest) XXX_Marshal

func (m *GetTaskStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetTaskStatusRequest) XXX_Merge

func (m *GetTaskStatusRequest) XXX_Merge(src proto.Message)

func (*GetTaskStatusRequest) XXX_Size

func (m *GetTaskStatusRequest) XXX_Size() int

func (*GetTaskStatusRequest) XXX_Unmarshal

func (m *GetTaskStatusRequest) XXX_Unmarshal(b []byte) error

type GetTaskStatusResponse

type GetTaskStatusResponse struct {
	//
	//部署任务id
	TaskId string `protobuf:"bytes,1,opt,name=taskId,proto3" json:"taskId" form:"taskId"`
	//
	//任务状态, running-正在运行, failed-失败, ok-成功
	Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status" form:"status"`
	//
	//任务类型, install-安装, uninstall-卸载
	TaskType string `protobuf:"bytes,3,opt,name=taskType,proto3" json:"taskType" form:"taskType"`
	//
	//任务进行的阶段。 ready - 就绪, download - 下载, deploy - 安装, uninstall - 卸载
	Stage string `protobuf:"bytes,4,opt,name=stage,proto3" json:"stage" form:"stage"`
	//
	//部署信息
	Msg                  string   `protobuf:"bytes,5,opt,name=msg,proto3" json:"msg" form:"msg"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

GetTaskStatus返回

func (*GetTaskStatusResponse) Descriptor

func (*GetTaskStatusResponse) Descriptor() ([]byte, []int)

func (*GetTaskStatusResponse) GetMsg

func (m *GetTaskStatusResponse) GetMsg() string

func (*GetTaskStatusResponse) GetStage

func (m *GetTaskStatusResponse) GetStage() string

func (*GetTaskStatusResponse) GetStatus

func (m *GetTaskStatusResponse) GetStatus() string

func (*GetTaskStatusResponse) GetTaskId

func (m *GetTaskStatusResponse) GetTaskId() string

func (*GetTaskStatusResponse) GetTaskType

func (m *GetTaskStatusResponse) GetTaskType() string

func (*GetTaskStatusResponse) ProtoMessage

func (*GetTaskStatusResponse) ProtoMessage()

func (*GetTaskStatusResponse) Reset

func (m *GetTaskStatusResponse) Reset()

func (*GetTaskStatusResponse) String

func (m *GetTaskStatusResponse) String() string

func (*GetTaskStatusResponse) Validate

func (this *GetTaskStatusResponse) Validate() error

func (*GetTaskStatusResponse) XXX_DiscardUnknown

func (m *GetTaskStatusResponse) XXX_DiscardUnknown()

func (*GetTaskStatusResponse) XXX_Marshal

func (m *GetTaskStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetTaskStatusResponse) XXX_Merge

func (m *GetTaskStatusResponse) XXX_Merge(src proto.Message)

func (*GetTaskStatusResponse) XXX_Size

func (m *GetTaskStatusResponse) XXX_Size() int

func (*GetTaskStatusResponse) XXX_Unmarshal

func (m *GetTaskStatusResponse) XXX_Unmarshal(b []byte) error

type GetTaskStatusResponseWrapper

type GetTaskStatusResponseWrapper struct {
	//
	//返回码
	Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"`
	//
	//返回码解释
	CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"`
	//
	//错误详情
	Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"`
	//
	//返回数据
	Data                 *GetTaskStatusResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

GetTaskStatusApi返回

func (*GetTaskStatusResponseWrapper) Descriptor

func (*GetTaskStatusResponseWrapper) Descriptor() ([]byte, []int)

func (*GetTaskStatusResponseWrapper) GetCode

func (m *GetTaskStatusResponseWrapper) GetCode() int32

func (*GetTaskStatusResponseWrapper) GetCodeExplain

func (m *GetTaskStatusResponseWrapper) GetCodeExplain() string

func (*GetTaskStatusResponseWrapper) GetData

func (*GetTaskStatusResponseWrapper) GetError

func (m *GetTaskStatusResponseWrapper) GetError() string

func (*GetTaskStatusResponseWrapper) ProtoMessage

func (*GetTaskStatusResponseWrapper) ProtoMessage()

func (*GetTaskStatusResponseWrapper) Reset

func (m *GetTaskStatusResponseWrapper) Reset()

func (*GetTaskStatusResponseWrapper) String

func (*GetTaskStatusResponseWrapper) Validate

func (this *GetTaskStatusResponseWrapper) Validate() error

func (*GetTaskStatusResponseWrapper) XXX_DiscardUnknown

func (m *GetTaskStatusResponseWrapper) XXX_DiscardUnknown()

func (*GetTaskStatusResponseWrapper) XXX_Marshal

func (m *GetTaskStatusResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetTaskStatusResponseWrapper) XXX_Merge

func (m *GetTaskStatusResponseWrapper) XXX_Merge(src proto.Message)

func (*GetTaskStatusResponseWrapper) XXX_Size

func (m *GetTaskStatusResponseWrapper) XXX_Size() int

func (*GetTaskStatusResponseWrapper) XXX_Unmarshal

func (m *GetTaskStatusResponseWrapper) XXX_Unmarshal(b []byte) error

type InstallAppRequest

type InstallAppRequest struct {
	//
	//小产品id
	AppId string `protobuf:"bytes,1,opt,name=appId,proto3" json:"appId" form:"appId"`
	//
	//小产品版本号
	Version              string   `protobuf:"bytes,2,opt,name=version,proto3" json:"version" form:"version"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

InstallApp请求

func (*InstallAppRequest) Descriptor

func (*InstallAppRequest) Descriptor() ([]byte, []int)

func (*InstallAppRequest) GetAppId

func (m *InstallAppRequest) GetAppId() string

func (*InstallAppRequest) GetVersion

func (m *InstallAppRequest) GetVersion() string

func (*InstallAppRequest) ProtoMessage

func (*InstallAppRequest) ProtoMessage()

func (*InstallAppRequest) Reset

func (m *InstallAppRequest) Reset()

func (*InstallAppRequest) String

func (m *InstallAppRequest) String() string

func (*InstallAppRequest) Validate

func (this *InstallAppRequest) Validate() error

func (*InstallAppRequest) XXX_DiscardUnknown

func (m *InstallAppRequest) XXX_DiscardUnknown()

func (*InstallAppRequest) XXX_Marshal

func (m *InstallAppRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InstallAppRequest) XXX_Merge

func (m *InstallAppRequest) XXX_Merge(src proto.Message)

func (*InstallAppRequest) XXX_Size

func (m *InstallAppRequest) XXX_Size() int

func (*InstallAppRequest) XXX_Unmarshal

func (m *InstallAppRequest) XXX_Unmarshal(b []byte) error

type InstallAppResponse

type InstallAppResponse struct {
	//
	//任务id
	TaskId               string   `protobuf:"bytes,1,opt,name=taskId,proto3" json:"taskId" form:"taskId"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

InstallApp返回

func (*InstallAppResponse) Descriptor

func (*InstallAppResponse) Descriptor() ([]byte, []int)

func (*InstallAppResponse) GetTaskId

func (m *InstallAppResponse) GetTaskId() string

func (*InstallAppResponse) ProtoMessage

func (*InstallAppResponse) ProtoMessage()

func (*InstallAppResponse) Reset

func (m *InstallAppResponse) Reset()

func (*InstallAppResponse) String

func (m *InstallAppResponse) String() string

func (*InstallAppResponse) Validate

func (this *InstallAppResponse) Validate() error

func (*InstallAppResponse) XXX_DiscardUnknown

func (m *InstallAppResponse) XXX_DiscardUnknown()

func (*InstallAppResponse) XXX_Marshal

func (m *InstallAppResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InstallAppResponse) XXX_Merge

func (m *InstallAppResponse) XXX_Merge(src proto.Message)

func (*InstallAppResponse) XXX_Size

func (m *InstallAppResponse) XXX_Size() int

func (*InstallAppResponse) XXX_Unmarshal

func (m *InstallAppResponse) XXX_Unmarshal(b []byte) error

type InstallAppResponseWrapper

type InstallAppResponseWrapper struct {
	//
	//返回码
	Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"`
	//
	//返回码解释
	CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"`
	//
	//错误详情
	Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"`
	//
	//返回数据
	Data                 *InstallAppResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

InstallAppApi返回

func (*InstallAppResponseWrapper) Descriptor

func (*InstallAppResponseWrapper) Descriptor() ([]byte, []int)

func (*InstallAppResponseWrapper) GetCode

func (m *InstallAppResponseWrapper) GetCode() int32

func (*InstallAppResponseWrapper) GetCodeExplain

func (m *InstallAppResponseWrapper) GetCodeExplain() string

func (*InstallAppResponseWrapper) GetData

func (*InstallAppResponseWrapper) GetError

func (m *InstallAppResponseWrapper) GetError() string

func (*InstallAppResponseWrapper) ProtoMessage

func (*InstallAppResponseWrapper) ProtoMessage()

func (*InstallAppResponseWrapper) Reset

func (m *InstallAppResponseWrapper) Reset()

func (*InstallAppResponseWrapper) String

func (m *InstallAppResponseWrapper) String() string

func (*InstallAppResponseWrapper) Validate

func (this *InstallAppResponseWrapper) Validate() error

func (*InstallAppResponseWrapper) XXX_DiscardUnknown

func (m *InstallAppResponseWrapper) XXX_DiscardUnknown()

func (*InstallAppResponseWrapper) XXX_Marshal

func (m *InstallAppResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InstallAppResponseWrapper) XXX_Merge

func (m *InstallAppResponseWrapper) XXX_Merge(src proto.Message)

func (*InstallAppResponseWrapper) XXX_Size

func (m *InstallAppResponseWrapper) XXX_Size() int

func (*InstallAppResponseWrapper) XXX_Unmarshal

func (m *InstallAppResponseWrapper) XXX_Unmarshal(b []byte) error

type RunningTasksResponse

type RunningTasksResponse struct {
	//
	//appId
	AppId string `protobuf:"bytes,1,opt,name=appId,proto3" json:"appId" form:"appId"`
	//
	//任务Id
	TaskId string `protobuf:"bytes,2,opt,name=taskId,proto3" json:"taskId" form:"taskId"`
	//
	//任务类型, install-安装, uninstall-卸载
	TaskType             string   `protobuf:"bytes,3,opt,name=taskType,proto3" json:"taskType" form:"taskType"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

RunningTasks返回

func (*RunningTasksResponse) Descriptor

func (*RunningTasksResponse) Descriptor() ([]byte, []int)

func (*RunningTasksResponse) GetAppId

func (m *RunningTasksResponse) GetAppId() string

func (*RunningTasksResponse) GetTaskId

func (m *RunningTasksResponse) GetTaskId() string

func (*RunningTasksResponse) GetTaskType

func (m *RunningTasksResponse) GetTaskType() string

func (*RunningTasksResponse) ProtoMessage

func (*RunningTasksResponse) ProtoMessage()

func (*RunningTasksResponse) Reset

func (m *RunningTasksResponse) Reset()

func (*RunningTasksResponse) String

func (m *RunningTasksResponse) String() string

func (*RunningTasksResponse) Validate

func (this *RunningTasksResponse) Validate() error

func (*RunningTasksResponse) XXX_DiscardUnknown

func (m *RunningTasksResponse) XXX_DiscardUnknown()

func (*RunningTasksResponse) XXX_Marshal

func (m *RunningTasksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RunningTasksResponse) XXX_Merge

func (m *RunningTasksResponse) XXX_Merge(src proto.Message)

func (*RunningTasksResponse) XXX_Size

func (m *RunningTasksResponse) XXX_Size() int

func (*RunningTasksResponse) XXX_Unmarshal

func (m *RunningTasksResponse) XXX_Unmarshal(b []byte) error

type RunningTasksResponseWrapper

type RunningTasksResponseWrapper struct {
	//
	//返回码
	Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"`
	//
	//返回码解释
	CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"`
	//
	//错误详情
	Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"`
	//
	//返回数据
	Data                 []*RunningTasksResponse `protobuf:"bytes,4,rep,name=data,proto3" json:"data" form:"data"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

RunningTasksApi返回

func (*RunningTasksResponseWrapper) Descriptor

func (*RunningTasksResponseWrapper) Descriptor() ([]byte, []int)

func (*RunningTasksResponseWrapper) GetCode

func (m *RunningTasksResponseWrapper) GetCode() int32

func (*RunningTasksResponseWrapper) GetCodeExplain

func (m *RunningTasksResponseWrapper) GetCodeExplain() string

func (*RunningTasksResponseWrapper) GetData

func (*RunningTasksResponseWrapper) GetError

func (m *RunningTasksResponseWrapper) GetError() string

func (*RunningTasksResponseWrapper) ProtoMessage

func (*RunningTasksResponseWrapper) ProtoMessage()

func (*RunningTasksResponseWrapper) Reset

func (m *RunningTasksResponseWrapper) Reset()

func (*RunningTasksResponseWrapper) String

func (m *RunningTasksResponseWrapper) String() string

func (*RunningTasksResponseWrapper) Validate

func (this *RunningTasksResponseWrapper) Validate() error

func (*RunningTasksResponseWrapper) XXX_DiscardUnknown

func (m *RunningTasksResponseWrapper) XXX_DiscardUnknown()

func (*RunningTasksResponseWrapper) XXX_Marshal

func (m *RunningTasksResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RunningTasksResponseWrapper) XXX_Merge

func (m *RunningTasksResponseWrapper) XXX_Merge(src proto.Message)

func (*RunningTasksResponseWrapper) XXX_Size

func (m *RunningTasksResponseWrapper) XXX_Size() int

func (*RunningTasksResponseWrapper) XXX_Unmarshal

func (m *RunningTasksResponseWrapper) XXX_Unmarshal(b []byte) error

type Service

Service is the server API for desktop service.

type UninstallAppRequest

type UninstallAppRequest struct {
	//
	//小产品id
	AppId string `protobuf:"bytes,1,opt,name=appId,proto3" json:"appId" form:"appId"`
	//
	//小产品版本号
	Version              string   `protobuf:"bytes,2,opt,name=version,proto3" json:"version" form:"version"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

UninstallApp请求

func (*UninstallAppRequest) Descriptor

func (*UninstallAppRequest) Descriptor() ([]byte, []int)

func (*UninstallAppRequest) GetAppId

func (m *UninstallAppRequest) GetAppId() string

func (*UninstallAppRequest) GetVersion

func (m *UninstallAppRequest) GetVersion() string

func (*UninstallAppRequest) ProtoMessage

func (*UninstallAppRequest) ProtoMessage()

func (*UninstallAppRequest) Reset

func (m *UninstallAppRequest) Reset()

func (*UninstallAppRequest) String

func (m *UninstallAppRequest) String() string

func (*UninstallAppRequest) Validate

func (this *UninstallAppRequest) Validate() error

func (*UninstallAppRequest) XXX_DiscardUnknown

func (m *UninstallAppRequest) XXX_DiscardUnknown()

func (*UninstallAppRequest) XXX_Marshal

func (m *UninstallAppRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UninstallAppRequest) XXX_Merge

func (m *UninstallAppRequest) XXX_Merge(src proto.Message)

func (*UninstallAppRequest) XXX_Size

func (m *UninstallAppRequest) XXX_Size() int

func (*UninstallAppRequest) XXX_Unmarshal

func (m *UninstallAppRequest) XXX_Unmarshal(b []byte) error

type UninstallAppResponse

type UninstallAppResponse struct {
	//
	//任务id
	TaskId               string   `protobuf:"bytes,1,opt,name=taskId,proto3" json:"taskId" form:"taskId"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

UninstallApp返回

func (*UninstallAppResponse) Descriptor

func (*UninstallAppResponse) Descriptor() ([]byte, []int)

func (*UninstallAppResponse) GetTaskId

func (m *UninstallAppResponse) GetTaskId() string

func (*UninstallAppResponse) ProtoMessage

func (*UninstallAppResponse) ProtoMessage()

func (*UninstallAppResponse) Reset

func (m *UninstallAppResponse) Reset()

func (*UninstallAppResponse) String

func (m *UninstallAppResponse) String() string

func (*UninstallAppResponse) Validate

func (this *UninstallAppResponse) Validate() error

func (*UninstallAppResponse) XXX_DiscardUnknown

func (m *UninstallAppResponse) XXX_DiscardUnknown()

func (*UninstallAppResponse) XXX_Marshal

func (m *UninstallAppResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UninstallAppResponse) XXX_Merge

func (m *UninstallAppResponse) XXX_Merge(src proto.Message)

func (*UninstallAppResponse) XXX_Size

func (m *UninstallAppResponse) XXX_Size() int

func (*UninstallAppResponse) XXX_Unmarshal

func (m *UninstallAppResponse) XXX_Unmarshal(b []byte) error

type UninstallAppResponseWrapper

type UninstallAppResponseWrapper struct {
	//
	//返回码
	Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"`
	//
	//返回码解释
	CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"`
	//
	//错误详情
	Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"`
	//
	//返回数据
	Data                 *UninstallAppResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

UninstallAppApi返回

func (*UninstallAppResponseWrapper) Descriptor

func (*UninstallAppResponseWrapper) Descriptor() ([]byte, []int)

func (*UninstallAppResponseWrapper) GetCode

func (m *UninstallAppResponseWrapper) GetCode() int32

func (*UninstallAppResponseWrapper) GetCodeExplain

func (m *UninstallAppResponseWrapper) GetCodeExplain() string

func (*UninstallAppResponseWrapper) GetData

func (*UninstallAppResponseWrapper) GetError

func (m *UninstallAppResponseWrapper) GetError() string

func (*UninstallAppResponseWrapper) ProtoMessage

func (*UninstallAppResponseWrapper) ProtoMessage()

func (*UninstallAppResponseWrapper) Reset

func (m *UninstallAppResponseWrapper) Reset()

func (*UninstallAppResponseWrapper) String

func (m *UninstallAppResponseWrapper) String() string

func (*UninstallAppResponseWrapper) Validate

func (this *UninstallAppResponseWrapper) Validate() error

func (*UninstallAppResponseWrapper) XXX_DiscardUnknown

func (m *UninstallAppResponseWrapper) XXX_DiscardUnknown()

func (*UninstallAppResponseWrapper) XXX_Marshal

func (m *UninstallAppResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UninstallAppResponseWrapper) XXX_Merge

func (m *UninstallAppResponseWrapper) XXX_Merge(src proto.Message)

func (*UninstallAppResponseWrapper) XXX_Size

func (m *UninstallAppResponseWrapper) XXX_Size() int

func (*UninstallAppResponseWrapper) XXX_Unmarshal

func (m *UninstallAppResponseWrapper) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL