Documentation ¶
Index ¶
- func RegisterService(s giraffe_micro.Server, srv Service)
- type Client
- type ListMicroAppContainerRequest
- func (*ListMicroAppContainerRequest) Descriptor() ([]byte, []int)
- func (m *ListMicroAppContainerRequest) GetPage() int32
- func (m *ListMicroAppContainerRequest) GetPageSize() int32
- func (*ListMicroAppContainerRequest) ProtoMessage()
- func (m *ListMicroAppContainerRequest) Reset()
- func (m *ListMicroAppContainerRequest) String() string
- func (this *ListMicroAppContainerRequest) Validate() error
- func (m *ListMicroAppContainerRequest) XXX_DiscardUnknown()
- func (m *ListMicroAppContainerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListMicroAppContainerRequest) XXX_Merge(src proto.Message)
- func (m *ListMicroAppContainerRequest) XXX_Size() int
- func (m *ListMicroAppContainerRequest) XXX_Unmarshal(b []byte) error
- type ListMicroAppContainerResponse
- func (*ListMicroAppContainerResponse) Descriptor() ([]byte, []int)
- func (m *ListMicroAppContainerResponse) GetList() []*ListMicroAppContainerResponse_List
- func (m *ListMicroAppContainerResponse) GetPage() int32
- func (m *ListMicroAppContainerResponse) GetPageSize() int32
- func (m *ListMicroAppContainerResponse) GetTotal() int32
- func (*ListMicroAppContainerResponse) ProtoMessage()
- func (m *ListMicroAppContainerResponse) Reset()
- func (m *ListMicroAppContainerResponse) String() string
- func (this *ListMicroAppContainerResponse) Validate() error
- func (m *ListMicroAppContainerResponse) XXX_DiscardUnknown()
- func (m *ListMicroAppContainerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListMicroAppContainerResponse) XXX_Merge(src proto.Message)
- func (m *ListMicroAppContainerResponse) XXX_Size() int
- func (m *ListMicroAppContainerResponse) XXX_Unmarshal(b []byte) error
- type ListMicroAppContainerResponseWrapper
- func (*ListMicroAppContainerResponseWrapper) Descriptor() ([]byte, []int)
- func (m *ListMicroAppContainerResponseWrapper) GetCode() int32
- func (m *ListMicroAppContainerResponseWrapper) GetCodeExplain() string
- func (m *ListMicroAppContainerResponseWrapper) GetData() *ListMicroAppContainerResponse
- func (m *ListMicroAppContainerResponseWrapper) GetError() string
- func (*ListMicroAppContainerResponseWrapper) ProtoMessage()
- func (m *ListMicroAppContainerResponseWrapper) Reset()
- func (m *ListMicroAppContainerResponseWrapper) String() string
- func (this *ListMicroAppContainerResponseWrapper) Validate() error
- func (m *ListMicroAppContainerResponseWrapper) XXX_DiscardUnknown()
- func (m *ListMicroAppContainerResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListMicroAppContainerResponseWrapper) XXX_Merge(src proto.Message)
- func (m *ListMicroAppContainerResponseWrapper) XXX_Size() int
- func (m *ListMicroAppContainerResponseWrapper) XXX_Unmarshal(b []byte) error
- type ListMicroAppContainerResponse_List
- func (*ListMicroAppContainerResponse_List) Descriptor() ([]byte, []int)
- func (m *ListMicroAppContainerResponse_List) GetChildren() []*micro_app.MicroAppContainer
- func (m *ListMicroAppContainerResponse_List) GetINSTALLED_MICRO_APP() []*micro_app.InstalledMicroApp
- func (m *ListMicroAppContainerResponse_List) GetId() string
- func (m *ListMicroAppContainerResponse_List) GetInstanceId() string
- func (m *ListMicroAppContainerResponse_List) GetName() string
- func (m *ListMicroAppContainerResponse_List) GetOrder() int32
- func (m *ListMicroAppContainerResponse_List) GetType() string
- func (*ListMicroAppContainerResponse_List) ProtoMessage()
- func (m *ListMicroAppContainerResponse_List) Reset()
- func (m *ListMicroAppContainerResponse_List) String() string
- func (this *ListMicroAppContainerResponse_List) Validate() error
- func (m *ListMicroAppContainerResponse_List) XXX_DiscardUnknown()
- func (m *ListMicroAppContainerResponse_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListMicroAppContainerResponse_List) XXX_Merge(src proto.Message)
- func (m *ListMicroAppContainerResponse_List) XXX_Size() int
- func (m *ListMicroAppContainerResponse_List) 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 {
ListMicroAppContainer(ctx context.Context, in *ListMicroAppContainerRequest) (*ListMicroAppContainerResponse, error)
}
Client is the client API for micro_app_container 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 ListMicroAppContainerRequest ¶
type ListMicroAppContainerRequest 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListMicroAppContainer请求
func (*ListMicroAppContainerRequest) Descriptor ¶
func (*ListMicroAppContainerRequest) Descriptor() ([]byte, []int)
func (*ListMicroAppContainerRequest) GetPage ¶
func (m *ListMicroAppContainerRequest) GetPage() int32
func (*ListMicroAppContainerRequest) GetPageSize ¶
func (m *ListMicroAppContainerRequest) GetPageSize() int32
func (*ListMicroAppContainerRequest) ProtoMessage ¶
func (*ListMicroAppContainerRequest) ProtoMessage()
func (*ListMicroAppContainerRequest) Reset ¶
func (m *ListMicroAppContainerRequest) Reset()
func (*ListMicroAppContainerRequest) String ¶
func (m *ListMicroAppContainerRequest) String() string
func (*ListMicroAppContainerRequest) Validate ¶
func (this *ListMicroAppContainerRequest) Validate() error
func (*ListMicroAppContainerRequest) XXX_DiscardUnknown ¶
func (m *ListMicroAppContainerRequest) XXX_DiscardUnknown()
func (*ListMicroAppContainerRequest) XXX_Marshal ¶
func (m *ListMicroAppContainerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListMicroAppContainerRequest) XXX_Merge ¶
func (m *ListMicroAppContainerRequest) XXX_Merge(src proto.Message)
func (*ListMicroAppContainerRequest) XXX_Size ¶
func (m *ListMicroAppContainerRequest) XXX_Size() int
func (*ListMicroAppContainerRequest) XXX_Unmarshal ¶
func (m *ListMicroAppContainerRequest) XXX_Unmarshal(b []byte) error
type ListMicroAppContainerResponse ¶
type ListMicroAppContainerResponse struct { // //小产品桌面列表 List []*ListMicroAppContainerResponse_List `protobuf:"bytes,1,rep,name=list,proto3" json:"list" form:"list"` // //实例总数 Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total" form:"total"` // //页码 Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page" form:"page"` // //页大小 PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size" form:"page_size"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListMicroAppContainer返回
func (*ListMicroAppContainerResponse) Descriptor ¶
func (*ListMicroAppContainerResponse) Descriptor() ([]byte, []int)
func (*ListMicroAppContainerResponse) GetList ¶
func (m *ListMicroAppContainerResponse) GetList() []*ListMicroAppContainerResponse_List
func (*ListMicroAppContainerResponse) GetPage ¶
func (m *ListMicroAppContainerResponse) GetPage() int32
func (*ListMicroAppContainerResponse) GetPageSize ¶
func (m *ListMicroAppContainerResponse) GetPageSize() int32
func (*ListMicroAppContainerResponse) GetTotal ¶
func (m *ListMicroAppContainerResponse) GetTotal() int32
func (*ListMicroAppContainerResponse) ProtoMessage ¶
func (*ListMicroAppContainerResponse) ProtoMessage()
func (*ListMicroAppContainerResponse) Reset ¶
func (m *ListMicroAppContainerResponse) Reset()
func (*ListMicroAppContainerResponse) String ¶
func (m *ListMicroAppContainerResponse) String() string
func (*ListMicroAppContainerResponse) Validate ¶
func (this *ListMicroAppContainerResponse) Validate() error
func (*ListMicroAppContainerResponse) XXX_DiscardUnknown ¶
func (m *ListMicroAppContainerResponse) XXX_DiscardUnknown()
func (*ListMicroAppContainerResponse) XXX_Marshal ¶
func (m *ListMicroAppContainerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListMicroAppContainerResponse) XXX_Merge ¶
func (m *ListMicroAppContainerResponse) XXX_Merge(src proto.Message)
func (*ListMicroAppContainerResponse) XXX_Size ¶
func (m *ListMicroAppContainerResponse) XXX_Size() int
func (*ListMicroAppContainerResponse) XXX_Unmarshal ¶
func (m *ListMicroAppContainerResponse) XXX_Unmarshal(b []byte) error
type ListMicroAppContainerResponseWrapper ¶
type ListMicroAppContainerResponseWrapper 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 *ListMicroAppContainerResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListMicroAppContainerApi返回
func (*ListMicroAppContainerResponseWrapper) Descriptor ¶
func (*ListMicroAppContainerResponseWrapper) Descriptor() ([]byte, []int)
func (*ListMicroAppContainerResponseWrapper) GetCode ¶
func (m *ListMicroAppContainerResponseWrapper) GetCode() int32
func (*ListMicroAppContainerResponseWrapper) GetCodeExplain ¶
func (m *ListMicroAppContainerResponseWrapper) GetCodeExplain() string
func (*ListMicroAppContainerResponseWrapper) GetData ¶
func (m *ListMicroAppContainerResponseWrapper) GetData() *ListMicroAppContainerResponse
func (*ListMicroAppContainerResponseWrapper) GetError ¶
func (m *ListMicroAppContainerResponseWrapper) GetError() string
func (*ListMicroAppContainerResponseWrapper) ProtoMessage ¶
func (*ListMicroAppContainerResponseWrapper) ProtoMessage()
func (*ListMicroAppContainerResponseWrapper) Reset ¶
func (m *ListMicroAppContainerResponseWrapper) Reset()
func (*ListMicroAppContainerResponseWrapper) String ¶
func (m *ListMicroAppContainerResponseWrapper) String() string
func (*ListMicroAppContainerResponseWrapper) Validate ¶
func (this *ListMicroAppContainerResponseWrapper) Validate() error
func (*ListMicroAppContainerResponseWrapper) XXX_DiscardUnknown ¶
func (m *ListMicroAppContainerResponseWrapper) XXX_DiscardUnknown()
func (*ListMicroAppContainerResponseWrapper) XXX_Marshal ¶
func (m *ListMicroAppContainerResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListMicroAppContainerResponseWrapper) XXX_Merge ¶
func (m *ListMicroAppContainerResponseWrapper) XXX_Merge(src proto.Message)
func (*ListMicroAppContainerResponseWrapper) XXX_Size ¶
func (m *ListMicroAppContainerResponseWrapper) XXX_Size() int
func (*ListMicroAppContainerResponseWrapper) XXX_Unmarshal ¶
func (m *ListMicroAppContainerResponseWrapper) XXX_Unmarshal(b []byte) error
type ListMicroAppContainerResponse_List ¶
type ListMicroAppContainerResponse_List struct { // //小产品列表 INSTALLED_MICRO_APP []*micro_app.InstalledMicroApp `` /* 131-byte string literal not displayed */ // //子容器列表 Children []*micro_app.MicroAppContainer `protobuf:"bytes,2,rep,name=children,proto3" json:"children" form:"children"` // //cmdb唯一标识, 业务逻辑请使用id作为唯一标识 InstanceId string `protobuf:"bytes,3,opt,name=instanceId,proto3" json:"instanceId" form:"instanceId"` // //小产品桌面名称 Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name" form:"name"` // //小产品桌面id Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id" form:"id"` // //桌面类型 Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type" form:"type"` // //桌面显示顺序 Order int32 `protobuf:"varint,7,opt,name=order,proto3" json:"order" form:"order"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListMicroAppContainerResponse_List) Descriptor ¶
func (*ListMicroAppContainerResponse_List) Descriptor() ([]byte, []int)
func (*ListMicroAppContainerResponse_List) GetChildren ¶
func (m *ListMicroAppContainerResponse_List) GetChildren() []*micro_app.MicroAppContainer
func (*ListMicroAppContainerResponse_List) GetINSTALLED_MICRO_APP ¶
func (m *ListMicroAppContainerResponse_List) GetINSTALLED_MICRO_APP() []*micro_app.InstalledMicroApp
func (*ListMicroAppContainerResponse_List) GetId ¶
func (m *ListMicroAppContainerResponse_List) GetId() string
func (*ListMicroAppContainerResponse_List) GetInstanceId ¶
func (m *ListMicroAppContainerResponse_List) GetInstanceId() string
func (*ListMicroAppContainerResponse_List) GetName ¶
func (m *ListMicroAppContainerResponse_List) GetName() string
func (*ListMicroAppContainerResponse_List) GetOrder ¶
func (m *ListMicroAppContainerResponse_List) GetOrder() int32
func (*ListMicroAppContainerResponse_List) GetType ¶
func (m *ListMicroAppContainerResponse_List) GetType() string
func (*ListMicroAppContainerResponse_List) ProtoMessage ¶
func (*ListMicroAppContainerResponse_List) ProtoMessage()
func (*ListMicroAppContainerResponse_List) Reset ¶
func (m *ListMicroAppContainerResponse_List) Reset()
func (*ListMicroAppContainerResponse_List) String ¶
func (m *ListMicroAppContainerResponse_List) String() string
func (*ListMicroAppContainerResponse_List) Validate ¶
func (this *ListMicroAppContainerResponse_List) Validate() error
func (*ListMicroAppContainerResponse_List) XXX_DiscardUnknown ¶
func (m *ListMicroAppContainerResponse_List) XXX_DiscardUnknown()
func (*ListMicroAppContainerResponse_List) XXX_Marshal ¶
func (m *ListMicroAppContainerResponse_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListMicroAppContainerResponse_List) XXX_Merge ¶
func (m *ListMicroAppContainerResponse_List) XXX_Merge(src proto.Message)
func (*ListMicroAppContainerResponse_List) XXX_Size ¶
func (m *ListMicroAppContainerResponse_List) XXX_Size() int
func (*ListMicroAppContainerResponse_List) XXX_Unmarshal ¶
func (m *ListMicroAppContainerResponse_List) XXX_Unmarshal(b []byte) error
type Service ¶
type Service interface {
ListMicroAppContainer(context.Context, *ListMicroAppContainerRequest) (*ListMicroAppContainerResponse, error)
}
Service is the server API for micro_app_container service.
Click to show internal directories.
Click to hide internal directories.