micro_app_container

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

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 (*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 (*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 (*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 (*ListMicroAppContainerResponseWrapper) GetCodeExplain

func (m *ListMicroAppContainerResponseWrapper) GetCodeExplain() string

func (*ListMicroAppContainerResponseWrapper) GetData

func (*ListMicroAppContainerResponseWrapper) GetError

func (*ListMicroAppContainerResponseWrapper) ProtoMessage

func (*ListMicroAppContainerResponseWrapper) ProtoMessage()

func (*ListMicroAppContainerResponseWrapper) Reset

func (*ListMicroAppContainerResponseWrapper) String

func (*ListMicroAppContainerResponseWrapper) Validate

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 (*ListMicroAppContainerResponseWrapper) XXX_Size

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 (*ListMicroAppContainerResponse_List) GetINSTALLED_MICRO_APP

func (m *ListMicroAppContainerResponse_List) GetINSTALLED_MICRO_APP() []*micro_app.InstalledMicroApp

func (*ListMicroAppContainerResponse_List) GetId

func (*ListMicroAppContainerResponse_List) GetInstanceId

func (m *ListMicroAppContainerResponse_List) GetInstanceId() string

func (*ListMicroAppContainerResponse_List) GetName

func (*ListMicroAppContainerResponse_List) GetOrder

func (*ListMicroAppContainerResponse_List) GetType

func (*ListMicroAppContainerResponse_List) ProtoMessage

func (*ListMicroAppContainerResponse_List) ProtoMessage()

func (*ListMicroAppContainerResponse_List) Reset

func (*ListMicroAppContainerResponse_List) 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 (*ListMicroAppContainerResponse_List) XXX_Size

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.

Jump to

Keyboard shortcuts

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