Documentation
¶
Index ¶
- func RegisterService(s giraffe_micro.Server, srv Service)
- type Client
- type CloneRequest
- func (*CloneRequest) Descriptor() ([]byte, []int)
- func (m *CloneRequest) GetAppId() string
- func (m *CloneRequest) GetHomepage() string
- func (m *CloneRequest) GetName() string
- func (m *CloneRequest) GetParentAppId() string
- func (*CloneRequest) ProtoMessage()
- func (m *CloneRequest) Reset()
- func (m *CloneRequest) String() string
- func (this *CloneRequest) Validate() error
- func (m *CloneRequest) XXX_DiscardUnknown()
- func (m *CloneRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CloneRequest) XXX_Merge(src proto.Message)
- func (m *CloneRequest) XXX_Size() int
- func (m *CloneRequest) XXX_Unmarshal(b []byte) error
- type CloneResponseWrapper
- func (*CloneResponseWrapper) Descriptor() ([]byte, []int)
- func (m *CloneResponseWrapper) GetCode() int32
- func (m *CloneResponseWrapper) GetCodeExplain() string
- func (m *CloneResponseWrapper) GetData() *micro_app.InstalledMicroApp
- func (m *CloneResponseWrapper) GetError() string
- func (*CloneResponseWrapper) ProtoMessage()
- func (m *CloneResponseWrapper) Reset()
- func (m *CloneResponseWrapper) String() string
- func (this *CloneResponseWrapper) Validate() error
- func (m *CloneResponseWrapper) XXX_DiscardUnknown()
- func (m *CloneResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CloneResponseWrapper) XXX_Merge(src proto.Message)
- func (m *CloneResponseWrapper) XXX_Size() int
- func (m *CloneResponseWrapper) XXX_Unmarshal(b []byte) error
- type GetAppDependenciesRequest
- func (*GetAppDependenciesRequest) Descriptor() ([]byte, []int)
- func (m *GetAppDependenciesRequest) GetAppId() string
- func (*GetAppDependenciesRequest) ProtoMessage()
- func (m *GetAppDependenciesRequest) Reset()
- func (m *GetAppDependenciesRequest) String() string
- func (this *GetAppDependenciesRequest) Validate() error
- func (m *GetAppDependenciesRequest) XXX_DiscardUnknown()
- func (m *GetAppDependenciesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAppDependenciesRequest) XXX_Merge(src proto.Message)
- func (m *GetAppDependenciesRequest) XXX_Size() int
- func (m *GetAppDependenciesRequest) XXX_Unmarshal(b []byte) error
- type GetAppDependenciesResponse
- func (*GetAppDependenciesResponse) Descriptor() ([]byte, []int)
- func (m *GetAppDependenciesResponse) GetDependencies() []*GetAppDependenciesResponse_Dependencies
- func (*GetAppDependenciesResponse) ProtoMessage()
- func (m *GetAppDependenciesResponse) Reset()
- func (m *GetAppDependenciesResponse) String() string
- func (this *GetAppDependenciesResponse) Validate() error
- func (m *GetAppDependenciesResponse) XXX_DiscardUnknown()
- func (m *GetAppDependenciesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAppDependenciesResponse) XXX_Merge(src proto.Message)
- func (m *GetAppDependenciesResponse) XXX_Size() int
- func (m *GetAppDependenciesResponse) XXX_Unmarshal(b []byte) error
- type GetAppDependenciesResponseWrapper
- func (*GetAppDependenciesResponseWrapper) Descriptor() ([]byte, []int)
- func (m *GetAppDependenciesResponseWrapper) GetCode() int32
- func (m *GetAppDependenciesResponseWrapper) GetCodeExplain() string
- func (m *GetAppDependenciesResponseWrapper) GetData() *GetAppDependenciesResponse
- func (m *GetAppDependenciesResponseWrapper) GetError() string
- func (*GetAppDependenciesResponseWrapper) ProtoMessage()
- func (m *GetAppDependenciesResponseWrapper) Reset()
- func (m *GetAppDependenciesResponseWrapper) String() string
- func (this *GetAppDependenciesResponseWrapper) Validate() error
- func (m *GetAppDependenciesResponseWrapper) XXX_DiscardUnknown()
- func (m *GetAppDependenciesResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAppDependenciesResponseWrapper) XXX_Merge(src proto.Message)
- func (m *GetAppDependenciesResponseWrapper) XXX_Size() int
- func (m *GetAppDependenciesResponseWrapper) XXX_Unmarshal(b []byte) error
- type GetAppDependenciesResponse_Dependencies
- func (*GetAppDependenciesResponse_Dependencies) Descriptor() ([]byte, []int)
- func (m *GetAppDependenciesResponse_Dependencies) GetConstraint() string
- func (m *GetAppDependenciesResponse_Dependencies) GetCurrentVersion() string
- func (m *GetAppDependenciesResponse_Dependencies) GetMeetConstraint() bool
- func (m *GetAppDependenciesResponse_Dependencies) GetPackageName() string
- func (*GetAppDependenciesResponse_Dependencies) ProtoMessage()
- func (m *GetAppDependenciesResponse_Dependencies) Reset()
- func (m *GetAppDependenciesResponse_Dependencies) String() string
- func (this *GetAppDependenciesResponse_Dependencies) Validate() error
- func (m *GetAppDependenciesResponse_Dependencies) XXX_DiscardUnknown()
- func (m *GetAppDependenciesResponse_Dependencies) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAppDependenciesResponse_Dependencies) XXX_Merge(src proto.Message)
- func (m *GetAppDependenciesResponse_Dependencies) XXX_Size() int
- func (m *GetAppDependenciesResponse_Dependencies) XXX_Unmarshal(b []byte) error
- type GetTaskStatusRequest
- func (*GetTaskStatusRequest) Descriptor() ([]byte, []int)
- func (m *GetTaskStatusRequest) GetTaskId() string
- func (*GetTaskStatusRequest) ProtoMessage()
- func (m *GetTaskStatusRequest) Reset()
- func (m *GetTaskStatusRequest) String() string
- func (this *GetTaskStatusRequest) Validate() error
- func (m *GetTaskStatusRequest) XXX_DiscardUnknown()
- func (m *GetTaskStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTaskStatusRequest) XXX_Merge(src proto.Message)
- func (m *GetTaskStatusRequest) XXX_Size() int
- func (m *GetTaskStatusRequest) XXX_Unmarshal(b []byte) error
- type GetTaskStatusResponse
- func (*GetTaskStatusResponse) Descriptor() ([]byte, []int)
- func (m *GetTaskStatusResponse) GetMsg() string
- func (m *GetTaskStatusResponse) GetStage() string
- func (m *GetTaskStatusResponse) GetStatus() string
- func (m *GetTaskStatusResponse) GetTaskId() string
- func (m *GetTaskStatusResponse) GetTaskType() string
- func (*GetTaskStatusResponse) ProtoMessage()
- func (m *GetTaskStatusResponse) Reset()
- func (m *GetTaskStatusResponse) String() string
- func (this *GetTaskStatusResponse) Validate() error
- func (m *GetTaskStatusResponse) XXX_DiscardUnknown()
- func (m *GetTaskStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTaskStatusResponse) XXX_Merge(src proto.Message)
- func (m *GetTaskStatusResponse) XXX_Size() int
- func (m *GetTaskStatusResponse) XXX_Unmarshal(b []byte) error
- type GetTaskStatusResponseWrapper
- func (*GetTaskStatusResponseWrapper) Descriptor() ([]byte, []int)
- func (m *GetTaskStatusResponseWrapper) GetCode() int32
- func (m *GetTaskStatusResponseWrapper) GetCodeExplain() string
- func (m *GetTaskStatusResponseWrapper) GetData() *GetTaskStatusResponse
- func (m *GetTaskStatusResponseWrapper) GetError() string
- func (*GetTaskStatusResponseWrapper) ProtoMessage()
- func (m *GetTaskStatusResponseWrapper) Reset()
- func (m *GetTaskStatusResponseWrapper) String() string
- func (this *GetTaskStatusResponseWrapper) Validate() error
- func (m *GetTaskStatusResponseWrapper) XXX_DiscardUnknown()
- func (m *GetTaskStatusResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTaskStatusResponseWrapper) XXX_Merge(src proto.Message)
- func (m *GetTaskStatusResponseWrapper) XXX_Size() int
- func (m *GetTaskStatusResponseWrapper) XXX_Unmarshal(b []byte) error
- type InstallAppRequest
- func (*InstallAppRequest) Descriptor() ([]byte, []int)
- func (m *InstallAppRequest) GetAppId() string
- func (m *InstallAppRequest) GetVersion() string
- func (*InstallAppRequest) ProtoMessage()
- func (m *InstallAppRequest) Reset()
- func (m *InstallAppRequest) String() string
- func (this *InstallAppRequest) Validate() error
- func (m *InstallAppRequest) XXX_DiscardUnknown()
- func (m *InstallAppRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InstallAppRequest) XXX_Merge(src proto.Message)
- func (m *InstallAppRequest) XXX_Size() int
- func (m *InstallAppRequest) XXX_Unmarshal(b []byte) error
- type InstallAppResponse
- func (*InstallAppResponse) Descriptor() ([]byte, []int)
- func (m *InstallAppResponse) GetTaskId() string
- func (*InstallAppResponse) ProtoMessage()
- func (m *InstallAppResponse) Reset()
- func (m *InstallAppResponse) String() string
- func (this *InstallAppResponse) Validate() error
- func (m *InstallAppResponse) XXX_DiscardUnknown()
- func (m *InstallAppResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InstallAppResponse) XXX_Merge(src proto.Message)
- func (m *InstallAppResponse) XXX_Size() int
- func (m *InstallAppResponse) XXX_Unmarshal(b []byte) error
- type InstallAppResponseWrapper
- func (*InstallAppResponseWrapper) Descriptor() ([]byte, []int)
- func (m *InstallAppResponseWrapper) GetCode() int32
- func (m *InstallAppResponseWrapper) GetCodeExplain() string
- func (m *InstallAppResponseWrapper) GetData() *InstallAppResponse
- func (m *InstallAppResponseWrapper) GetError() string
- func (*InstallAppResponseWrapper) ProtoMessage()
- func (m *InstallAppResponseWrapper) Reset()
- func (m *InstallAppResponseWrapper) String() string
- func (this *InstallAppResponseWrapper) Validate() error
- func (m *InstallAppResponseWrapper) XXX_DiscardUnknown()
- func (m *InstallAppResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InstallAppResponseWrapper) XXX_Merge(src proto.Message)
- func (m *InstallAppResponseWrapper) XXX_Size() int
- func (m *InstallAppResponseWrapper) XXX_Unmarshal(b []byte) error
- type RunningTasksResponse
- func (*RunningTasksResponse) Descriptor() ([]byte, []int)
- func (m *RunningTasksResponse) GetAppId() string
- func (m *RunningTasksResponse) GetTaskId() string
- func (m *RunningTasksResponse) GetTaskType() string
- func (*RunningTasksResponse) ProtoMessage()
- func (m *RunningTasksResponse) Reset()
- func (m *RunningTasksResponse) String() string
- func (this *RunningTasksResponse) Validate() error
- func (m *RunningTasksResponse) XXX_DiscardUnknown()
- func (m *RunningTasksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RunningTasksResponse) XXX_Merge(src proto.Message)
- func (m *RunningTasksResponse) XXX_Size() int
- func (m *RunningTasksResponse) XXX_Unmarshal(b []byte) error
- type RunningTasksResponseWrapper
- func (*RunningTasksResponseWrapper) Descriptor() ([]byte, []int)
- func (m *RunningTasksResponseWrapper) GetCode() int32
- func (m *RunningTasksResponseWrapper) GetCodeExplain() string
- func (m *RunningTasksResponseWrapper) GetData() []*RunningTasksResponse
- func (m *RunningTasksResponseWrapper) GetError() string
- func (*RunningTasksResponseWrapper) ProtoMessage()
- func (m *RunningTasksResponseWrapper) Reset()
- func (m *RunningTasksResponseWrapper) String() string
- func (this *RunningTasksResponseWrapper) Validate() error
- func (m *RunningTasksResponseWrapper) XXX_DiscardUnknown()
- func (m *RunningTasksResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RunningTasksResponseWrapper) XXX_Merge(src proto.Message)
- func (m *RunningTasksResponseWrapper) XXX_Size() int
- func (m *RunningTasksResponseWrapper) XXX_Unmarshal(b []byte) error
- type Service
- type UninstallAppRequest
- func (*UninstallAppRequest) Descriptor() ([]byte, []int)
- func (m *UninstallAppRequest) GetAppId() string
- func (m *UninstallAppRequest) GetVersion() string
- func (*UninstallAppRequest) ProtoMessage()
- func (m *UninstallAppRequest) Reset()
- func (m *UninstallAppRequest) String() string
- func (this *UninstallAppRequest) Validate() error
- func (m *UninstallAppRequest) XXX_DiscardUnknown()
- func (m *UninstallAppRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UninstallAppRequest) XXX_Merge(src proto.Message)
- func (m *UninstallAppRequest) XXX_Size() int
- func (m *UninstallAppRequest) XXX_Unmarshal(b []byte) error
- type UninstallAppResponse
- func (*UninstallAppResponse) Descriptor() ([]byte, []int)
- func (m *UninstallAppResponse) GetTaskId() string
- func (*UninstallAppResponse) ProtoMessage()
- func (m *UninstallAppResponse) Reset()
- func (m *UninstallAppResponse) String() string
- func (this *UninstallAppResponse) Validate() error
- func (m *UninstallAppResponse) XXX_DiscardUnknown()
- func (m *UninstallAppResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UninstallAppResponse) XXX_Merge(src proto.Message)
- func (m *UninstallAppResponse) XXX_Size() int
- func (m *UninstallAppResponse) XXX_Unmarshal(b []byte) error
- type UninstallAppResponseWrapper
- func (*UninstallAppResponseWrapper) Descriptor() ([]byte, []int)
- func (m *UninstallAppResponseWrapper) GetCode() int32
- func (m *UninstallAppResponseWrapper) GetCodeExplain() string
- func (m *UninstallAppResponseWrapper) GetData() *UninstallAppResponse
- func (m *UninstallAppResponseWrapper) GetError() string
- func (*UninstallAppResponseWrapper) ProtoMessage()
- func (m *UninstallAppResponseWrapper) Reset()
- func (m *UninstallAppResponseWrapper) String() string
- func (this *UninstallAppResponseWrapper) Validate() error
- func (m *UninstallAppResponseWrapper) XXX_DiscardUnknown()
- func (m *UninstallAppResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UninstallAppResponseWrapper) XXX_Merge(src proto.Message)
- func (m *UninstallAppResponseWrapper) XXX_Size() int
- func (m *UninstallAppResponseWrapper) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterService ¶
func RegisterService(s giraffe_micro.Server, srv Service)
Types ¶
type Client ¶
type Client interface { Clone(ctx context.Context, in *CloneRequest) (*micro_app.InstalledMicroApp, error) GetAppDependencies(ctx context.Context, in *GetAppDependenciesRequest) (*GetAppDependenciesResponse, error) GetTaskStatus(ctx context.Context, in *GetTaskStatusRequest) (*GetTaskStatusResponse, error) InstallApp(ctx context.Context, in *InstallAppRequest) (*InstallAppResponse, error) UninstallApp(ctx context.Context, in *UninstallAppRequest) (*UninstallAppResponse, error) }
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 (m *CloneResponseWrapper) GetData() *micro_app.InstalledMicroApp
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 (m *GetAppDependenciesResponse) GetDependencies() []*GetAppDependenciesResponse_Dependencies
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 (m *GetAppDependenciesResponseWrapper) GetCode() int32
func (*GetAppDependenciesResponseWrapper) GetCodeExplain ¶
func (m *GetAppDependenciesResponseWrapper) GetCodeExplain() string
func (*GetAppDependenciesResponseWrapper) GetData ¶
func (m *GetAppDependenciesResponseWrapper) GetData() *GetAppDependenciesResponse
func (*GetAppDependenciesResponseWrapper) GetError ¶
func (m *GetAppDependenciesResponseWrapper) GetError() string
func (*GetAppDependenciesResponseWrapper) ProtoMessage ¶
func (*GetAppDependenciesResponseWrapper) ProtoMessage()
func (*GetAppDependenciesResponseWrapper) Reset ¶
func (m *GetAppDependenciesResponseWrapper) Reset()
func (*GetAppDependenciesResponseWrapper) String ¶
func (m *GetAppDependenciesResponseWrapper) String() 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 (m *GetAppDependenciesResponseWrapper) XXX_Merge(src proto.Message)
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 (m *GetAppDependenciesResponse_Dependencies) GetConstraint() string
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) ProtoMessage()
func (*GetAppDependenciesResponse_Dependencies) Reset ¶
func (m *GetAppDependenciesResponse_Dependencies) Reset()
func (*GetAppDependenciesResponse_Dependencies) String ¶
func (m *GetAppDependenciesResponse_Dependencies) String() string
func (*GetAppDependenciesResponse_Dependencies) Validate ¶
func (this *GetAppDependenciesResponse_Dependencies) Validate() error
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 (m *GetAppDependenciesResponse_Dependencies) XXX_Merge(src proto.Message)
func (*GetAppDependenciesResponse_Dependencies) XXX_Size ¶
func (m *GetAppDependenciesResponse_Dependencies) XXX_Size() int
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 (m *GetTaskStatusResponseWrapper) GetData() *GetTaskStatusResponse
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 (m *GetTaskStatusResponseWrapper) String() 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 (m *InstallAppResponseWrapper) GetData() *InstallAppResponse
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 (m *RunningTasksResponseWrapper) GetData() []*RunningTasksResponse
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 ¶
type Service interface { Clone(context.Context, *CloneRequest) (*micro_app.InstalledMicroApp, error) GetAppDependencies(context.Context, *GetAppDependenciesRequest) (*GetAppDependenciesResponse, error) GetTaskStatus(context.Context, *GetTaskStatusRequest) (*GetTaskStatusResponse, error) InstallApp(context.Context, *InstallAppRequest) (*InstallAppResponse, error) UninstallApp(context.Context, *UninstallAppRequest) (*UninstallAppResponse, error) }
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 (m *UninstallAppResponseWrapper) GetData() *UninstallAppResponse
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
Source Files
¶
- clone.pb.go
- clone.validator.pb.go
- get_app_dependencies.pb.go
- get_app_dependencies.validator.pb.go
- get_task_status.pb.go
- get_task_status.validator.pb.go
- giraffe_service.giraffe.pb.go
- install_app.pb.go
- install_app.validator.pb.go
- running_tasks.pb.go
- running_tasks.validator.pb.go
- uninstall_app.pb.go
- uninstall_app.validator.pb.go
Click to show internal directories.
Click to hide internal directories.