info

package
v1.0.0-beta.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2023 License: Apache-2.0 Imports: 6 Imported by: 2

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

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)

Jump to

Keyboard shortcuts

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