Documentation ¶
Index ¶
- func RegisterService(s giraffe_micro.Server, srv Service)
- type Client
- type CreateResponseWrapper
- func (*CreateResponseWrapper) Descriptor() ([]byte, []int)
- func (m *CreateResponseWrapper) GetCode() int32
- func (m *CreateResponseWrapper) GetCodeExplain() string
- func (m *CreateResponseWrapper) GetData() *app_store.AppVersion
- func (m *CreateResponseWrapper) GetError() string
- func (*CreateResponseWrapper) ProtoMessage()
- func (m *CreateResponseWrapper) Reset()
- func (m *CreateResponseWrapper) String() string
- func (this *CreateResponseWrapper) Validate() error
- func (m *CreateResponseWrapper) XXX_DiscardUnknown()
- func (m *CreateResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateResponseWrapper) XXX_Merge(src proto.Message)
- func (m *CreateResponseWrapper) XXX_Size() int
- func (m *CreateResponseWrapper) XXX_Unmarshal(b []byte) error
- type DeleteAppVersionRequest
- func (*DeleteAppVersionRequest) Descriptor() ([]byte, []int)
- func (m *DeleteAppVersionRequest) GetVersionId() string
- func (*DeleteAppVersionRequest) ProtoMessage()
- func (m *DeleteAppVersionRequest) Reset()
- func (m *DeleteAppVersionRequest) String() string
- func (this *DeleteAppVersionRequest) Validate() error
- func (m *DeleteAppVersionRequest) XXX_DiscardUnknown()
- func (m *DeleteAppVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteAppVersionRequest) XXX_Merge(src proto.Message)
- func (m *DeleteAppVersionRequest) XXX_Size() int
- func (m *DeleteAppVersionRequest) XXX_Unmarshal(b []byte) error
- type DeleteAppVersionResponseWrapper
- func (*DeleteAppVersionResponseWrapper) Descriptor() ([]byte, []int)
- func (m *DeleteAppVersionResponseWrapper) GetCode() int32
- func (m *DeleteAppVersionResponseWrapper) GetCodeExplain() string
- func (m *DeleteAppVersionResponseWrapper) GetData() *types.Empty
- func (m *DeleteAppVersionResponseWrapper) GetError() string
- func (*DeleteAppVersionResponseWrapper) ProtoMessage()
- func (m *DeleteAppVersionResponseWrapper) Reset()
- func (m *DeleteAppVersionResponseWrapper) String() string
- func (this *DeleteAppVersionResponseWrapper) Validate() error
- func (m *DeleteAppVersionResponseWrapper) XXX_DiscardUnknown()
- func (m *DeleteAppVersionResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteAppVersionResponseWrapper) XXX_Merge(src proto.Message)
- func (m *DeleteAppVersionResponseWrapper) XXX_Size() int
- func (m *DeleteAppVersionResponseWrapper) XXX_Unmarshal(b []byte) error
- type ListAppVersionRequest
- func (*ListAppVersionRequest) Descriptor() ([]byte, []int)
- func (m *ListAppVersionRequest) GetAppId() string
- func (m *ListAppVersionRequest) GetPage() int32
- func (m *ListAppVersionRequest) GetPageSize() int32
- func (m *ListAppVersionRequest) GetSort() *ListAppVersionRequest_Sort
- func (*ListAppVersionRequest) ProtoMessage()
- func (m *ListAppVersionRequest) Reset()
- func (m *ListAppVersionRequest) String() string
- func (this *ListAppVersionRequest) Validate() error
- func (m *ListAppVersionRequest) XXX_DiscardUnknown()
- func (m *ListAppVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListAppVersionRequest) XXX_Merge(src proto.Message)
- func (m *ListAppVersionRequest) XXX_Size() int
- func (m *ListAppVersionRequest) XXX_Unmarshal(b []byte) error
- type ListAppVersionRequest_Sort
- func (*ListAppVersionRequest_Sort) Descriptor() ([]byte, []int)
- func (m *ListAppVersionRequest_Sort) GetCtime() int32
- func (m *ListAppVersionRequest_Sort) GetReleaseTime() int32
- func (*ListAppVersionRequest_Sort) ProtoMessage()
- func (m *ListAppVersionRequest_Sort) Reset()
- func (m *ListAppVersionRequest_Sort) String() string
- func (this *ListAppVersionRequest_Sort) Validate() error
- func (m *ListAppVersionRequest_Sort) XXX_DiscardUnknown()
- func (m *ListAppVersionRequest_Sort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListAppVersionRequest_Sort) XXX_Merge(src proto.Message)
- func (m *ListAppVersionRequest_Sort) XXX_Size() int
- func (m *ListAppVersionRequest_Sort) XXX_Unmarshal(b []byte) error
- type ListAppVersionResponse
- func (*ListAppVersionResponse) Descriptor() ([]byte, []int)
- func (m *ListAppVersionResponse) GetList() []*ListAppVersionResponse_List
- func (m *ListAppVersionResponse) GetPage() int32
- func (m *ListAppVersionResponse) GetPageSize() int32
- func (m *ListAppVersionResponse) GetTotal() int32
- func (*ListAppVersionResponse) ProtoMessage()
- func (m *ListAppVersionResponse) Reset()
- func (m *ListAppVersionResponse) String() string
- func (this *ListAppVersionResponse) Validate() error
- func (m *ListAppVersionResponse) XXX_DiscardUnknown()
- func (m *ListAppVersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListAppVersionResponse) XXX_Merge(src proto.Message)
- func (m *ListAppVersionResponse) XXX_Size() int
- func (m *ListAppVersionResponse) XXX_Unmarshal(b []byte) error
- type ListAppVersionResponseWrapper
- func (*ListAppVersionResponseWrapper) Descriptor() ([]byte, []int)
- func (m *ListAppVersionResponseWrapper) GetCode() int32
- func (m *ListAppVersionResponseWrapper) GetCodeExplain() string
- func (m *ListAppVersionResponseWrapper) GetData() *ListAppVersionResponse
- func (m *ListAppVersionResponseWrapper) GetError() string
- func (*ListAppVersionResponseWrapper) ProtoMessage()
- func (m *ListAppVersionResponseWrapper) Reset()
- func (m *ListAppVersionResponseWrapper) String() string
- func (this *ListAppVersionResponseWrapper) Validate() error
- func (m *ListAppVersionResponseWrapper) XXX_DiscardUnknown()
- func (m *ListAppVersionResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListAppVersionResponseWrapper) XXX_Merge(src proto.Message)
- func (m *ListAppVersionResponseWrapper) XXX_Size() int
- func (m *ListAppVersionResponseWrapper) XXX_Unmarshal(b []byte) error
- type ListAppVersionResponse_List
- func (*ListAppVersionResponse_List) Descriptor() ([]byte, []int)
- func (m *ListAppVersionResponse_List) GetChangeLog() string
- func (m *ListAppVersionResponse_List) GetDependencies() []*ListAppVersionResponse_List_Dependencies
- func (m *ListAppVersionResponse_List) GetName() string
- func (m *ListAppVersionResponse_List) GetReleaseTime() string
- func (m *ListAppVersionResponse_List) GetVersionId() string
- func (m *ListAppVersionResponse_List) GetVersionName() string
- func (*ListAppVersionResponse_List) ProtoMessage()
- func (m *ListAppVersionResponse_List) Reset()
- func (m *ListAppVersionResponse_List) String() string
- func (this *ListAppVersionResponse_List) Validate() error
- func (m *ListAppVersionResponse_List) XXX_DiscardUnknown()
- func (m *ListAppVersionResponse_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListAppVersionResponse_List) XXX_Merge(src proto.Message)
- func (m *ListAppVersionResponse_List) XXX_Size() int
- func (m *ListAppVersionResponse_List) XXX_Unmarshal(b []byte) error
- type ListAppVersionResponse_List_Dependencies
- func (*ListAppVersionResponse_List_Dependencies) Descriptor() ([]byte, []int)
- func (m *ListAppVersionResponse_List_Dependencies) GetConstraint() string
- func (m *ListAppVersionResponse_List_Dependencies) GetPackageName() string
- func (*ListAppVersionResponse_List_Dependencies) ProtoMessage()
- func (m *ListAppVersionResponse_List_Dependencies) Reset()
- func (m *ListAppVersionResponse_List_Dependencies) String() string
- func (this *ListAppVersionResponse_List_Dependencies) Validate() error
- func (m *ListAppVersionResponse_List_Dependencies) XXX_DiscardUnknown()
- func (m *ListAppVersionResponse_List_Dependencies) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListAppVersionResponse_List_Dependencies) XXX_Merge(src proto.Message)
- func (m *ListAppVersionResponse_List_Dependencies) XXX_Size() int
- func (m *ListAppVersionResponse_List_Dependencies) XXX_Unmarshal(b []byte) error
- type Service
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 { Create(ctx context.Context, in *app_store.AppVersion) (*app_store.AppVersion, error) DeleteAppVersion(ctx context.Context, in *DeleteAppVersionRequest) (*types.Empty, error) ListAppVersion(ctx context.Context, in *ListAppVersionRequest) (*ListAppVersionResponse, error) }
Client is the client API for version 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 CreateResponseWrapper ¶
type CreateResponseWrapper 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 *app_store.AppVersion `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
CreateApi返回
func (*CreateResponseWrapper) Descriptor ¶
func (*CreateResponseWrapper) Descriptor() ([]byte, []int)
func (*CreateResponseWrapper) GetCode ¶
func (m *CreateResponseWrapper) GetCode() int32
func (*CreateResponseWrapper) GetCodeExplain ¶
func (m *CreateResponseWrapper) GetCodeExplain() string
func (*CreateResponseWrapper) GetData ¶
func (m *CreateResponseWrapper) GetData() *app_store.AppVersion
func (*CreateResponseWrapper) GetError ¶
func (m *CreateResponseWrapper) GetError() string
func (*CreateResponseWrapper) ProtoMessage ¶
func (*CreateResponseWrapper) ProtoMessage()
func (*CreateResponseWrapper) Reset ¶
func (m *CreateResponseWrapper) Reset()
func (*CreateResponseWrapper) String ¶
func (m *CreateResponseWrapper) String() string
func (*CreateResponseWrapper) Validate ¶
func (this *CreateResponseWrapper) Validate() error
func (*CreateResponseWrapper) XXX_DiscardUnknown ¶
func (m *CreateResponseWrapper) XXX_DiscardUnknown()
func (*CreateResponseWrapper) XXX_Marshal ¶
func (m *CreateResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateResponseWrapper) XXX_Merge ¶
func (m *CreateResponseWrapper) XXX_Merge(src proto.Message)
func (*CreateResponseWrapper) XXX_Size ¶
func (m *CreateResponseWrapper) XXX_Size() int
func (*CreateResponseWrapper) XXX_Unmarshal ¶
func (m *CreateResponseWrapper) XXX_Unmarshal(b []byte) error
type DeleteAppVersionRequest ¶
type DeleteAppVersionRequest struct { // //版本实例id VersionId string `protobuf:"bytes,1,opt,name=versionId,proto3" json:"versionId" form:"versionId"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DeleteAppVersion请求
func (*DeleteAppVersionRequest) Descriptor ¶
func (*DeleteAppVersionRequest) Descriptor() ([]byte, []int)
func (*DeleteAppVersionRequest) GetVersionId ¶
func (m *DeleteAppVersionRequest) GetVersionId() string
func (*DeleteAppVersionRequest) ProtoMessage ¶
func (*DeleteAppVersionRequest) ProtoMessage()
func (*DeleteAppVersionRequest) Reset ¶
func (m *DeleteAppVersionRequest) Reset()
func (*DeleteAppVersionRequest) String ¶
func (m *DeleteAppVersionRequest) String() string
func (*DeleteAppVersionRequest) Validate ¶
func (this *DeleteAppVersionRequest) Validate() error
func (*DeleteAppVersionRequest) XXX_DiscardUnknown ¶
func (m *DeleteAppVersionRequest) XXX_DiscardUnknown()
func (*DeleteAppVersionRequest) XXX_Marshal ¶
func (m *DeleteAppVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteAppVersionRequest) XXX_Merge ¶
func (m *DeleteAppVersionRequest) XXX_Merge(src proto.Message)
func (*DeleteAppVersionRequest) XXX_Size ¶
func (m *DeleteAppVersionRequest) XXX_Size() int
func (*DeleteAppVersionRequest) XXX_Unmarshal ¶
func (m *DeleteAppVersionRequest) XXX_Unmarshal(b []byte) error
type DeleteAppVersionResponseWrapper ¶
type DeleteAppVersionResponseWrapper 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 *types.Empty `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DeleteAppVersionApi返回
func (*DeleteAppVersionResponseWrapper) Descriptor ¶
func (*DeleteAppVersionResponseWrapper) Descriptor() ([]byte, []int)
func (*DeleteAppVersionResponseWrapper) GetCode ¶
func (m *DeleteAppVersionResponseWrapper) GetCode() int32
func (*DeleteAppVersionResponseWrapper) GetCodeExplain ¶
func (m *DeleteAppVersionResponseWrapper) GetCodeExplain() string
func (*DeleteAppVersionResponseWrapper) GetData ¶
func (m *DeleteAppVersionResponseWrapper) GetData() *types.Empty
func (*DeleteAppVersionResponseWrapper) GetError ¶
func (m *DeleteAppVersionResponseWrapper) GetError() string
func (*DeleteAppVersionResponseWrapper) ProtoMessage ¶
func (*DeleteAppVersionResponseWrapper) ProtoMessage()
func (*DeleteAppVersionResponseWrapper) Reset ¶
func (m *DeleteAppVersionResponseWrapper) Reset()
func (*DeleteAppVersionResponseWrapper) String ¶
func (m *DeleteAppVersionResponseWrapper) String() string
func (*DeleteAppVersionResponseWrapper) Validate ¶
func (this *DeleteAppVersionResponseWrapper) Validate() error
func (*DeleteAppVersionResponseWrapper) XXX_DiscardUnknown ¶
func (m *DeleteAppVersionResponseWrapper) XXX_DiscardUnknown()
func (*DeleteAppVersionResponseWrapper) XXX_Marshal ¶
func (m *DeleteAppVersionResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteAppVersionResponseWrapper) XXX_Merge ¶
func (m *DeleteAppVersionResponseWrapper) XXX_Merge(src proto.Message)
func (*DeleteAppVersionResponseWrapper) XXX_Size ¶
func (m *DeleteAppVersionResponseWrapper) XXX_Size() int
func (*DeleteAppVersionResponseWrapper) XXX_Unmarshal ¶
func (m *DeleteAppVersionResponseWrapper) XXX_Unmarshal(b []byte) error
type ListAppVersionRequest ¶
type ListAppVersionRequest struct { // //页码 Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page" form:"page"` // //每页大小 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size" form:"page_size"` // //小产品id AppId string `protobuf:"bytes,3,opt,name=app_id,json=appId,proto3" json:"app_id" form:"app_id"` // //条件查询:按照字段正/倒序 :1表示升序, -1表示降序 Sort *ListAppVersionRequest_Sort `protobuf:"bytes,4,opt,name=sort,proto3" json:"sort" form:"sort"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListAppVersion请求
func (*ListAppVersionRequest) Descriptor ¶
func (*ListAppVersionRequest) Descriptor() ([]byte, []int)
func (*ListAppVersionRequest) GetAppId ¶
func (m *ListAppVersionRequest) GetAppId() string
func (*ListAppVersionRequest) GetPage ¶
func (m *ListAppVersionRequest) GetPage() int32
func (*ListAppVersionRequest) GetPageSize ¶
func (m *ListAppVersionRequest) GetPageSize() int32
func (*ListAppVersionRequest) GetSort ¶
func (m *ListAppVersionRequest) GetSort() *ListAppVersionRequest_Sort
func (*ListAppVersionRequest) ProtoMessage ¶
func (*ListAppVersionRequest) ProtoMessage()
func (*ListAppVersionRequest) Reset ¶
func (m *ListAppVersionRequest) Reset()
func (*ListAppVersionRequest) String ¶
func (m *ListAppVersionRequest) String() string
func (*ListAppVersionRequest) Validate ¶
func (this *ListAppVersionRequest) Validate() error
func (*ListAppVersionRequest) XXX_DiscardUnknown ¶
func (m *ListAppVersionRequest) XXX_DiscardUnknown()
func (*ListAppVersionRequest) XXX_Marshal ¶
func (m *ListAppVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListAppVersionRequest) XXX_Merge ¶
func (m *ListAppVersionRequest) XXX_Merge(src proto.Message)
func (*ListAppVersionRequest) XXX_Size ¶
func (m *ListAppVersionRequest) XXX_Size() int
func (*ListAppVersionRequest) XXX_Unmarshal ¶
func (m *ListAppVersionRequest) XXX_Unmarshal(b []byte) error
type ListAppVersionRequest_Sort ¶
type ListAppVersionRequest_Sort struct { // //按ctime排序,1为升序,-1为降序 Ctime int32 `protobuf:"varint,1,opt,name=ctime,proto3" json:"ctime" form:"ctime"` // //按releaseTime排序,1为升序,-1为降序 ReleaseTime int32 `protobuf:"varint,2,opt,name=releaseTime,proto3" json:"releaseTime" form:"releaseTime"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListAppVersionRequest_Sort) Descriptor ¶
func (*ListAppVersionRequest_Sort) Descriptor() ([]byte, []int)
func (*ListAppVersionRequest_Sort) GetCtime ¶
func (m *ListAppVersionRequest_Sort) GetCtime() int32
func (*ListAppVersionRequest_Sort) GetReleaseTime ¶
func (m *ListAppVersionRequest_Sort) GetReleaseTime() int32
func (*ListAppVersionRequest_Sort) ProtoMessage ¶
func (*ListAppVersionRequest_Sort) ProtoMessage()
func (*ListAppVersionRequest_Sort) Reset ¶
func (m *ListAppVersionRequest_Sort) Reset()
func (*ListAppVersionRequest_Sort) String ¶
func (m *ListAppVersionRequest_Sort) String() string
func (*ListAppVersionRequest_Sort) Validate ¶
func (this *ListAppVersionRequest_Sort) Validate() error
func (*ListAppVersionRequest_Sort) XXX_DiscardUnknown ¶
func (m *ListAppVersionRequest_Sort) XXX_DiscardUnknown()
func (*ListAppVersionRequest_Sort) XXX_Marshal ¶
func (m *ListAppVersionRequest_Sort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListAppVersionRequest_Sort) XXX_Merge ¶
func (m *ListAppVersionRequest_Sort) XXX_Merge(src proto.Message)
func (*ListAppVersionRequest_Sort) XXX_Size ¶
func (m *ListAppVersionRequest_Sort) XXX_Size() int
func (*ListAppVersionRequest_Sort) XXX_Unmarshal ¶
func (m *ListAppVersionRequest_Sort) XXX_Unmarshal(b []byte) error
type ListAppVersionResponse ¶
type ListAppVersionResponse struct { // //返回总数 Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total" form:"total"` // //页数 Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page" form:"page"` // //该页大小 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size" form:"page_size"` // //数据列表 List []*ListAppVersionResponse_List `protobuf:"bytes,4,rep,name=list,proto3" json:"list" form:"list"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListAppVersion返回
func (*ListAppVersionResponse) Descriptor ¶
func (*ListAppVersionResponse) Descriptor() ([]byte, []int)
func (*ListAppVersionResponse) GetList ¶
func (m *ListAppVersionResponse) GetList() []*ListAppVersionResponse_List
func (*ListAppVersionResponse) GetPage ¶
func (m *ListAppVersionResponse) GetPage() int32
func (*ListAppVersionResponse) GetPageSize ¶
func (m *ListAppVersionResponse) GetPageSize() int32
func (*ListAppVersionResponse) GetTotal ¶
func (m *ListAppVersionResponse) GetTotal() int32
func (*ListAppVersionResponse) ProtoMessage ¶
func (*ListAppVersionResponse) ProtoMessage()
func (*ListAppVersionResponse) Reset ¶
func (m *ListAppVersionResponse) Reset()
func (*ListAppVersionResponse) String ¶
func (m *ListAppVersionResponse) String() string
func (*ListAppVersionResponse) Validate ¶
func (this *ListAppVersionResponse) Validate() error
func (*ListAppVersionResponse) XXX_DiscardUnknown ¶
func (m *ListAppVersionResponse) XXX_DiscardUnknown()
func (*ListAppVersionResponse) XXX_Marshal ¶
func (m *ListAppVersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListAppVersionResponse) XXX_Merge ¶
func (m *ListAppVersionResponse) XXX_Merge(src proto.Message)
func (*ListAppVersionResponse) XXX_Size ¶
func (m *ListAppVersionResponse) XXX_Size() int
func (*ListAppVersionResponse) XXX_Unmarshal ¶
func (m *ListAppVersionResponse) XXX_Unmarshal(b []byte) error
type ListAppVersionResponseWrapper ¶
type ListAppVersionResponseWrapper 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 *ListAppVersionResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListAppVersionApi返回
func (*ListAppVersionResponseWrapper) Descriptor ¶
func (*ListAppVersionResponseWrapper) Descriptor() ([]byte, []int)
func (*ListAppVersionResponseWrapper) GetCode ¶
func (m *ListAppVersionResponseWrapper) GetCode() int32
func (*ListAppVersionResponseWrapper) GetCodeExplain ¶
func (m *ListAppVersionResponseWrapper) GetCodeExplain() string
func (*ListAppVersionResponseWrapper) GetData ¶
func (m *ListAppVersionResponseWrapper) GetData() *ListAppVersionResponse
func (*ListAppVersionResponseWrapper) GetError ¶
func (m *ListAppVersionResponseWrapper) GetError() string
func (*ListAppVersionResponseWrapper) ProtoMessage ¶
func (*ListAppVersionResponseWrapper) ProtoMessage()
func (*ListAppVersionResponseWrapper) Reset ¶
func (m *ListAppVersionResponseWrapper) Reset()
func (*ListAppVersionResponseWrapper) String ¶
func (m *ListAppVersionResponseWrapper) String() string
func (*ListAppVersionResponseWrapper) Validate ¶
func (this *ListAppVersionResponseWrapper) Validate() error
func (*ListAppVersionResponseWrapper) XXX_DiscardUnknown ¶
func (m *ListAppVersionResponseWrapper) XXX_DiscardUnknown()
func (*ListAppVersionResponseWrapper) XXX_Marshal ¶
func (m *ListAppVersionResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListAppVersionResponseWrapper) XXX_Merge ¶
func (m *ListAppVersionResponseWrapper) XXX_Merge(src proto.Message)
func (*ListAppVersionResponseWrapper) XXX_Size ¶
func (m *ListAppVersionResponseWrapper) XXX_Size() int
func (*ListAppVersionResponseWrapper) XXX_Unmarshal ¶
func (m *ListAppVersionResponseWrapper) XXX_Unmarshal(b []byte) error
type ListAppVersionResponse_List ¶
type ListAppVersionResponse_List struct { // //版本实例id VersionId string `protobuf:"bytes,1,opt,name=versionId,proto3" json:"versionId" form:"versionId"` // //小产品名称+版本组合的唯一id Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"` // //版本名称 VersionName string `protobuf:"bytes,3,opt,name=versionName,proto3" json:"versionName" form:"versionName"` // //版本变更记录 ChangeLog string `protobuf:"bytes,4,opt,name=changeLog,proto3" json:"changeLog" form:"changeLog"` // //版本发布时间 ReleaseTime string `protobuf:"bytes,5,opt,name=releaseTime,proto3" json:"releaseTime" form:"releaseTime"` // //依赖包列表 Dependencies []*ListAppVersionResponse_List_Dependencies `protobuf:"bytes,6,rep,name=dependencies,proto3" json:"dependencies" form:"dependencies"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListAppVersionResponse_List) Descriptor ¶
func (*ListAppVersionResponse_List) Descriptor() ([]byte, []int)
func (*ListAppVersionResponse_List) GetChangeLog ¶
func (m *ListAppVersionResponse_List) GetChangeLog() string
func (*ListAppVersionResponse_List) GetDependencies ¶
func (m *ListAppVersionResponse_List) GetDependencies() []*ListAppVersionResponse_List_Dependencies
func (*ListAppVersionResponse_List) GetName ¶
func (m *ListAppVersionResponse_List) GetName() string
func (*ListAppVersionResponse_List) GetReleaseTime ¶
func (m *ListAppVersionResponse_List) GetReleaseTime() string
func (*ListAppVersionResponse_List) GetVersionId ¶
func (m *ListAppVersionResponse_List) GetVersionId() string
func (*ListAppVersionResponse_List) GetVersionName ¶
func (m *ListAppVersionResponse_List) GetVersionName() string
func (*ListAppVersionResponse_List) ProtoMessage ¶
func (*ListAppVersionResponse_List) ProtoMessage()
func (*ListAppVersionResponse_List) Reset ¶
func (m *ListAppVersionResponse_List) Reset()
func (*ListAppVersionResponse_List) String ¶
func (m *ListAppVersionResponse_List) String() string
func (*ListAppVersionResponse_List) Validate ¶
func (this *ListAppVersionResponse_List) Validate() error
func (*ListAppVersionResponse_List) XXX_DiscardUnknown ¶
func (m *ListAppVersionResponse_List) XXX_DiscardUnknown()
func (*ListAppVersionResponse_List) XXX_Marshal ¶
func (m *ListAppVersionResponse_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListAppVersionResponse_List) XXX_Merge ¶
func (m *ListAppVersionResponse_List) XXX_Merge(src proto.Message)
func (*ListAppVersionResponse_List) XXX_Size ¶
func (m *ListAppVersionResponse_List) XXX_Size() int
func (*ListAppVersionResponse_List) XXX_Unmarshal ¶
func (m *ListAppVersionResponse_List) XXX_Unmarshal(b []byte) error
type ListAppVersionResponse_List_Dependencies ¶
type ListAppVersionResponse_List_Dependencies struct { // //依赖组件 PackageName string `protobuf:"bytes,1,opt,name=packageName,proto3" json:"packageName" form:"packageName"` // //依赖版本semver约束 Constraint string `protobuf:"bytes,2,opt,name=constraint,proto3" json:"constraint" form:"constraint"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListAppVersionResponse_List_Dependencies) Descriptor ¶
func (*ListAppVersionResponse_List_Dependencies) Descriptor() ([]byte, []int)
func (*ListAppVersionResponse_List_Dependencies) GetConstraint ¶
func (m *ListAppVersionResponse_List_Dependencies) GetConstraint() string
func (*ListAppVersionResponse_List_Dependencies) GetPackageName ¶
func (m *ListAppVersionResponse_List_Dependencies) GetPackageName() string
func (*ListAppVersionResponse_List_Dependencies) ProtoMessage ¶
func (*ListAppVersionResponse_List_Dependencies) ProtoMessage()
func (*ListAppVersionResponse_List_Dependencies) Reset ¶
func (m *ListAppVersionResponse_List_Dependencies) Reset()
func (*ListAppVersionResponse_List_Dependencies) String ¶
func (m *ListAppVersionResponse_List_Dependencies) String() string
func (*ListAppVersionResponse_List_Dependencies) Validate ¶
func (this *ListAppVersionResponse_List_Dependencies) Validate() error
func (*ListAppVersionResponse_List_Dependencies) XXX_DiscardUnknown ¶
func (m *ListAppVersionResponse_List_Dependencies) XXX_DiscardUnknown()
func (*ListAppVersionResponse_List_Dependencies) XXX_Marshal ¶
func (m *ListAppVersionResponse_List_Dependencies) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListAppVersionResponse_List_Dependencies) XXX_Merge ¶
func (m *ListAppVersionResponse_List_Dependencies) XXX_Merge(src proto.Message)
func (*ListAppVersionResponse_List_Dependencies) XXX_Size ¶
func (m *ListAppVersionResponse_List_Dependencies) XXX_Size() int
func (*ListAppVersionResponse_List_Dependencies) XXX_Unmarshal ¶
func (m *ListAppVersionResponse_List_Dependencies) XXX_Unmarshal(b []byte) error
type Service ¶
type Service interface { Create(context.Context, *app_store.AppVersion) (*app_store.AppVersion, error) DeleteAppVersion(context.Context, *DeleteAppVersionRequest) (*types.Empty, error) ListAppVersion(context.Context, *ListAppVersionRequest) (*ListAppVersionResponse, error) }
Service is the server API for version service.
Click to show internal directories.
Click to hide internal directories.