Documentation ¶
Overview ¶
Package info is a generated protocol buffer package.
It is generated from these files:
pkg/handler-launcher-com/cmd/info/info.proto
It has these top-level messages:
CmdInfoRequest CmdInfoResponse
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterCmdInfoServer ¶
func RegisterCmdInfoServer(s *grpc.Server, srv CmdInfoServer)
Types ¶
type CmdInfoClient ¶
type CmdInfoClient interface {
Info(ctx context.Context, in *CmdInfoRequest, opts ...grpc.CallOption) (*CmdInfoResponse, error)
}
func NewCmdInfoClient ¶
func NewCmdInfoClient(cc *grpc.ClientConn) CmdInfoClient
type CmdInfoRequest ¶
type CmdInfoRequest struct { }
func (*CmdInfoRequest) Descriptor ¶
func (*CmdInfoRequest) Descriptor() ([]byte, []int)
func (*CmdInfoRequest) ProtoMessage ¶
func (*CmdInfoRequest) ProtoMessage()
func (*CmdInfoRequest) Reset ¶
func (m *CmdInfoRequest) Reset()
func (*CmdInfoRequest) String ¶
func (m *CmdInfoRequest) String() string
type CmdInfoResponse ¶
type CmdInfoResponse struct {
SupportedCmdVersions []uint32 `protobuf:"varint,1,rep,packed,name=supportedCmdVersions" json:"supportedCmdVersions,omitempty"`
}
func (*CmdInfoResponse) Descriptor ¶
func (*CmdInfoResponse) Descriptor() ([]byte, []int)
func (*CmdInfoResponse) GetSupportedCmdVersions ¶
func (m *CmdInfoResponse) GetSupportedCmdVersions() []uint32
func (*CmdInfoResponse) ProtoMessage ¶
func (*CmdInfoResponse) ProtoMessage()
func (*CmdInfoResponse) Reset ¶
func (m *CmdInfoResponse) Reset()
func (*CmdInfoResponse) String ¶
func (m *CmdInfoResponse) String() string
type CmdInfoServer ¶
type CmdInfoServer interface {
Info(context.Context, *CmdInfoRequest) (*CmdInfoResponse, error)
}
type MockCmdInfoClient ¶
type MockCmdInfoClient struct {
// contains filtered or unexported fields
}
Mock of CmdInfoClient interface
func NewMockCmdInfoClient ¶
func NewMockCmdInfoClient(ctrl *gomock.Controller) *MockCmdInfoClient
func (*MockCmdInfoClient) EXPECT ¶
func (_m *MockCmdInfoClient) EXPECT() *_MockCmdInfoClientRecorder
func (*MockCmdInfoClient) Info ¶
func (_m *MockCmdInfoClient) Info(ctx context.Context, in *CmdInfoRequest, opts ...grpc.CallOption) (*CmdInfoResponse, error)
type MockCmdInfoServer ¶
type MockCmdInfoServer struct {
// contains filtered or unexported fields
}
Mock of CmdInfoServer interface
func NewMockCmdInfoServer ¶
func NewMockCmdInfoServer(ctrl *gomock.Controller) *MockCmdInfoServer
func (*MockCmdInfoServer) EXPECT ¶
func (_m *MockCmdInfoServer) EXPECT() *_MockCmdInfoServerRecorder
func (*MockCmdInfoServer) Info ¶
func (_m *MockCmdInfoServer) Info(_param0 context.Context, _param1 *CmdInfoRequest) (*CmdInfoResponse, error)
Click to show internal directories.
Click to hide internal directories.