Documentation ¶
Overview ¶
Package mock_grpcauth is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuthClient ¶
type MockAuthClient struct {
// contains filtered or unexported fields
}
MockAuthClient is a mock of AuthClient interface.
func NewMockAuthClient ¶
func NewMockAuthClient(ctrl *gomock.Controller) *MockAuthClient
NewMockAuthClient creates a new mock instance.
func (*MockAuthClient) Auth ¶
func (m *MockAuthClient) Auth(ctx context.Context, in *grpcauth.AuthRequest, opts ...grpc.CallOption) (*grpcauth.AuthReply, error)
Auth mocks base method.
func (*MockAuthClient) EXPECT ¶
func (m *MockAuthClient) EXPECT() *MockAuthClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockAuthClientMockRecorder ¶
type MockAuthClientMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthClientMockRecorder is the mock recorder for MockAuthClient.
func (*MockAuthClientMockRecorder) Auth ¶
func (mr *MockAuthClientMockRecorder) Auth(ctx, in interface{}, opts ...interface{}) *gomock.Call
Auth indicates an expected call of Auth.
type MockAuthServer ¶
type MockAuthServer struct {
// contains filtered or unexported fields
}
MockAuthServer is a mock of AuthServer interface.
func NewMockAuthServer ¶
func NewMockAuthServer(ctrl *gomock.Controller) *MockAuthServer
NewMockAuthServer creates a new mock instance.
func (*MockAuthServer) Auth ¶
func (m *MockAuthServer) Auth(arg0 context.Context, arg1 *grpcauth.AuthRequest) (*grpcauth.AuthReply, error)
Auth mocks base method.
func (*MockAuthServer) EXPECT ¶
func (m *MockAuthServer) EXPECT() *MockAuthServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockAuthServerMockRecorder ¶
type MockAuthServerMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthServerMockRecorder is the mock recorder for MockAuthServer.
func (*MockAuthServerMockRecorder) Auth ¶
func (mr *MockAuthServerMockRecorder) Auth(arg0, arg1 interface{}) *gomock.Call
Auth indicates an expected call of Auth.
type MockUnsafeAuthServer ¶
type MockUnsafeAuthServer struct {
// contains filtered or unexported fields
}
MockUnsafeAuthServer is a mock of UnsafeAuthServer interface.
func NewMockUnsafeAuthServer ¶
func NewMockUnsafeAuthServer(ctrl *gomock.Controller) *MockUnsafeAuthServer
NewMockUnsafeAuthServer creates a new mock instance.
func (*MockUnsafeAuthServer) EXPECT ¶
func (m *MockUnsafeAuthServer) EXPECT() *MockUnsafeAuthServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeAuthServerMockRecorder ¶
type MockUnsafeAuthServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeAuthServerMockRecorder is the mock recorder for MockUnsafeAuthServer.