Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockAuthService
- func (m *MockAuthService) DeleteKey(arg0 int64) error
- func (m *MockAuthService) EXPECT() *MockAuthServiceMockRecorder
- func (m *MockAuthService) GenerateNewKey(arg0, arg1 string) (*state.AuthStateModel, error)
- func (m *MockAuthService) ListKeys() ([]*state.AuthStateModel, error)
- func (m *MockAuthService) Stream() grpc.StreamServerInterceptor
- func (m *MockAuthService) Unary() grpc.UnaryServerInterceptor
- func (m *MockAuthService) UpdateKey(arg0 int64, arg1, arg2 string) error
- type MockAuthServiceMockRecorder
- func (mr *MockAuthServiceMockRecorder) DeleteKey(arg0 interface{}) *gomock.Call
- func (mr *MockAuthServiceMockRecorder) GenerateNewKey(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthServiceMockRecorder) ListKeys() *gomock.Call
- func (mr *MockAuthServiceMockRecorder) Stream() *gomock.Call
- func (mr *MockAuthServiceMockRecorder) Unary() *gomock.Call
- func (mr *MockAuthServiceMockRecorder) UpdateKey(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuthService ¶
type MockAuthService struct {
// contains filtered or unexported fields
}
MockAuthService is a mock of AuthService interface.
func NewMockAuthService ¶
func NewMockAuthService(ctrl *gomock.Controller) *MockAuthService
NewMockAuthService creates a new mock instance.
func (*MockAuthService) DeleteKey ¶
func (m *MockAuthService) DeleteKey(arg0 int64) error
DeleteKey mocks base method.
func (*MockAuthService) EXPECT ¶
func (m *MockAuthService) EXPECT() *MockAuthServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAuthService) GenerateNewKey ¶
func (m *MockAuthService) GenerateNewKey(arg0, arg1 string) (*state.AuthStateModel, error)
GenerateNewKey mocks base method.
func (*MockAuthService) ListKeys ¶
func (m *MockAuthService) ListKeys() ([]*state.AuthStateModel, error)
ListKeys mocks base method.
func (*MockAuthService) Stream ¶
func (m *MockAuthService) Stream() grpc.StreamServerInterceptor
Stream mocks base method.
func (*MockAuthService) Unary ¶
func (m *MockAuthService) Unary() grpc.UnaryServerInterceptor
Unary mocks base method.
type MockAuthServiceMockRecorder ¶
type MockAuthServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthServiceMockRecorder is the mock recorder for MockAuthService.
func (*MockAuthServiceMockRecorder) DeleteKey ¶
func (mr *MockAuthServiceMockRecorder) DeleteKey(arg0 interface{}) *gomock.Call
DeleteKey indicates an expected call of DeleteKey.
func (*MockAuthServiceMockRecorder) GenerateNewKey ¶
func (mr *MockAuthServiceMockRecorder) GenerateNewKey(arg0, arg1 interface{}) *gomock.Call
GenerateNewKey indicates an expected call of GenerateNewKey.
func (*MockAuthServiceMockRecorder) ListKeys ¶
func (mr *MockAuthServiceMockRecorder) ListKeys() *gomock.Call
ListKeys indicates an expected call of ListKeys.
func (*MockAuthServiceMockRecorder) Stream ¶
func (mr *MockAuthServiceMockRecorder) Stream() *gomock.Call
Stream indicates an expected call of Stream.
func (*MockAuthServiceMockRecorder) Unary ¶
func (mr *MockAuthServiceMockRecorder) Unary() *gomock.Call
Unary indicates an expected call of Unary.
func (*MockAuthServiceMockRecorder) UpdateKey ¶
func (mr *MockAuthServiceMockRecorder) UpdateKey(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateKey indicates an expected call of UpdateKey.