Documentation ¶
Overview ¶
Package grpcmock is a generated GoMock package.
Index ¶
- type MockFlagSyncServiceClient
- func (m *MockFlagSyncServiceClient) EXPECT() *MockFlagSyncServiceClientMockRecorder
- func (m *MockFlagSyncServiceClient) FetchAllFlags(ctx context.Context, in *syncv1.FetchAllFlagsRequest, opts ...grpc.CallOption) (*syncv1.FetchAllFlagsResponse, error)
- func (m *MockFlagSyncServiceClient) GetMetadata(ctx context.Context, in *syncv1.GetMetadataRequest, opts ...grpc.CallOption) (*syncv1.GetMetadataResponse, error)
- func (m *MockFlagSyncServiceClient) SyncFlags(ctx context.Context, in *syncv1.SyncFlagsRequest, opts ...grpc.CallOption) (syncv1grpc.FlagSyncService_SyncFlagsClient, error)
- type MockFlagSyncServiceClientMockRecorder
- type MockFlagSyncServiceClientResponse
- func (m *MockFlagSyncServiceClientResponse) CloseSend() error
- func (m *MockFlagSyncServiceClientResponse) Context() context.Context
- func (m *MockFlagSyncServiceClientResponse) EXPECT() *MockFlagSyncServiceClientResponseMockRecorder
- func (m *MockFlagSyncServiceClientResponse) Header() (metadata.MD, error)
- func (m *MockFlagSyncServiceClientResponse) Recv() (*syncv1.SyncFlagsResponse, error)
- func (m_2 *MockFlagSyncServiceClientResponse) RecvMsg(m any) error
- func (m_2 *MockFlagSyncServiceClientResponse) SendMsg(m any) error
- func (m *MockFlagSyncServiceClientResponse) Trailer() metadata.MD
- type MockFlagSyncServiceClientResponseMockRecorder
- func (mr *MockFlagSyncServiceClientResponseMockRecorder) CloseSend() *gomock.Call
- func (mr *MockFlagSyncServiceClientResponseMockRecorder) Context() *gomock.Call
- func (mr *MockFlagSyncServiceClientResponseMockRecorder) Header() *gomock.Call
- func (mr *MockFlagSyncServiceClientResponseMockRecorder) Recv() *gomock.Call
- func (mr *MockFlagSyncServiceClientResponseMockRecorder) RecvMsg(m any) *gomock.Call
- func (mr *MockFlagSyncServiceClientResponseMockRecorder) SendMsg(m any) *gomock.Call
- func (mr *MockFlagSyncServiceClientResponseMockRecorder) Trailer() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFlagSyncServiceClient ¶
type MockFlagSyncServiceClient struct {
// contains filtered or unexported fields
}
MockFlagSyncServiceClient is a mock of FlagSyncServiceClient interface.
func NewMockFlagSyncServiceClient ¶
func NewMockFlagSyncServiceClient(ctrl *gomock.Controller) *MockFlagSyncServiceClient
NewMockFlagSyncServiceClient creates a new mock instance.
func (*MockFlagSyncServiceClient) EXPECT ¶
func (m *MockFlagSyncServiceClient) EXPECT() *MockFlagSyncServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFlagSyncServiceClient) FetchAllFlags ¶
func (m *MockFlagSyncServiceClient) FetchAllFlags(ctx context.Context, in *syncv1.FetchAllFlagsRequest, opts ...grpc.CallOption) (*syncv1.FetchAllFlagsResponse, error)
FetchAllFlags mocks base method.
func (*MockFlagSyncServiceClient) GetMetadata ¶ added in v0.8.0
func (m *MockFlagSyncServiceClient) GetMetadata(ctx context.Context, in *syncv1.GetMetadataRequest, opts ...grpc.CallOption) (*syncv1.GetMetadataResponse, error)
GetMetadata mocks base method.
func (*MockFlagSyncServiceClient) SyncFlags ¶
func (m *MockFlagSyncServiceClient) SyncFlags(ctx context.Context, in *syncv1.SyncFlagsRequest, opts ...grpc.CallOption) (syncv1grpc.FlagSyncService_SyncFlagsClient, error)
SyncFlags mocks base method.
type MockFlagSyncServiceClientMockRecorder ¶
type MockFlagSyncServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockFlagSyncServiceClientMockRecorder is the mock recorder for MockFlagSyncServiceClient.
func (*MockFlagSyncServiceClientMockRecorder) FetchAllFlags ¶
func (mr *MockFlagSyncServiceClientMockRecorder) FetchAllFlags(ctx, in any, opts ...any) *gomock.Call
FetchAllFlags indicates an expected call of FetchAllFlags.
func (*MockFlagSyncServiceClientMockRecorder) GetMetadata ¶ added in v0.8.0
func (mr *MockFlagSyncServiceClientMockRecorder) GetMetadata(ctx, in any, opts ...any) *gomock.Call
GetMetadata indicates an expected call of GetMetadata.
type MockFlagSyncServiceClientResponse ¶
type MockFlagSyncServiceClientResponse struct {
// contains filtered or unexported fields
}
MockFlagSyncServiceClientResponse is a mock of FlagSyncServiceClientResponse interface.
func NewMockFlagSyncServiceClientResponse ¶
func NewMockFlagSyncServiceClientResponse(ctrl *gomock.Controller) *MockFlagSyncServiceClientResponse
NewMockFlagSyncServiceClientResponse creates a new mock instance.
func (*MockFlagSyncServiceClientResponse) CloseSend ¶
func (m *MockFlagSyncServiceClientResponse) CloseSend() error
CloseSend mocks base method.
func (*MockFlagSyncServiceClientResponse) Context ¶
func (m *MockFlagSyncServiceClientResponse) Context() context.Context
Context mocks base method.
func (*MockFlagSyncServiceClientResponse) EXPECT ¶
func (m *MockFlagSyncServiceClientResponse) EXPECT() *MockFlagSyncServiceClientResponseMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFlagSyncServiceClientResponse) Header ¶
func (m *MockFlagSyncServiceClientResponse) Header() (metadata.MD, error)
Header mocks base method.
func (*MockFlagSyncServiceClientResponse) Recv ¶
func (m *MockFlagSyncServiceClientResponse) Recv() (*syncv1.SyncFlagsResponse, error)
Recv mocks base method.
func (*MockFlagSyncServiceClientResponse) RecvMsg ¶
func (m_2 *MockFlagSyncServiceClientResponse) RecvMsg(m any) error
RecvMsg mocks base method.
func (*MockFlagSyncServiceClientResponse) SendMsg ¶
func (m_2 *MockFlagSyncServiceClientResponse) SendMsg(m any) error
SendMsg mocks base method.
func (*MockFlagSyncServiceClientResponse) Trailer ¶
func (m *MockFlagSyncServiceClientResponse) Trailer() metadata.MD
Trailer mocks base method.
type MockFlagSyncServiceClientResponseMockRecorder ¶
type MockFlagSyncServiceClientResponseMockRecorder struct {
// contains filtered or unexported fields
}
MockFlagSyncServiceClientResponseMockRecorder is the mock recorder for MockFlagSyncServiceClientResponse.
func (*MockFlagSyncServiceClientResponseMockRecorder) CloseSend ¶
func (mr *MockFlagSyncServiceClientResponseMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend.
func (*MockFlagSyncServiceClientResponseMockRecorder) Context ¶
func (mr *MockFlagSyncServiceClientResponseMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockFlagSyncServiceClientResponseMockRecorder) Header ¶
func (mr *MockFlagSyncServiceClientResponseMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header.
func (*MockFlagSyncServiceClientResponseMockRecorder) Recv ¶
func (mr *MockFlagSyncServiceClientResponseMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv.
func (*MockFlagSyncServiceClientResponseMockRecorder) RecvMsg ¶
func (mr *MockFlagSyncServiceClientResponseMockRecorder) RecvMsg(m any) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockFlagSyncServiceClientResponseMockRecorder) SendMsg ¶
func (mr *MockFlagSyncServiceClientResponseMockRecorder) SendMsg(m any) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockFlagSyncServiceClientResponseMockRecorder) Trailer ¶
func (mr *MockFlagSyncServiceClientResponseMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer.