Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockConfig
- type MockConfigMockRecorder
- type MockHandler
- func (m *MockHandler) Close() (*plugin.Stats, error)
- func (m *MockHandler) Delete(arg0 string) error
- func (m *MockHandler) EXPECT() *MockHandlerMockRecorder
- func (m *MockHandler) GetConfig() plugin.Config
- func (m *MockHandler) GetVersion() (string, string, string)
- func (m *MockHandler) Open(arg0 plugin.Config, arg1 plugin.OperationType) error
- func (m *MockHandler) Read() ([]*api.User, error)
- func (m *MockHandler) Write(arg0 *api.User) error
- type MockHandlerMockRecorder
- func (mr *MockHandlerMockRecorder) Close() *gomock.Call
- func (mr *MockHandlerMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) GetConfig() *gomock.Call
- func (mr *MockHandlerMockRecorder) GetVersion() *gomock.Call
- func (mr *MockHandlerMockRecorder) Open(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) Read() *gomock.Call
- func (mr *MockHandlerMockRecorder) Write(arg0 interface{}) *gomock.Call
- type MockPlugin_DeleteServer
- func (m *MockPlugin_DeleteServer) Context() context.Context
- func (m *MockPlugin_DeleteServer) EXPECT() *MockPlugin_DeleteServerMockRecorder
- func (m *MockPlugin_DeleteServer) Recv() (*idpplugin.DeleteRequest, error)
- func (m *MockPlugin_DeleteServer) RecvMsg(arg0 interface{}) error
- func (m *MockPlugin_DeleteServer) Send(arg0 *idpplugin.DeleteResponse) error
- func (m *MockPlugin_DeleteServer) SendHeader(arg0 metadata.MD) error
- func (m *MockPlugin_DeleteServer) SendMsg(arg0 interface{}) error
- func (m *MockPlugin_DeleteServer) SetHeader(arg0 metadata.MD) error
- func (m *MockPlugin_DeleteServer) SetTrailer(arg0 metadata.MD)
- type MockPlugin_DeleteServerMockRecorder
- func (mr *MockPlugin_DeleteServerMockRecorder) Context() *gomock.Call
- func (mr *MockPlugin_DeleteServerMockRecorder) Recv() *gomock.Call
- func (mr *MockPlugin_DeleteServerMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
- func (mr *MockPlugin_DeleteServerMockRecorder) Send(arg0 interface{}) *gomock.Call
- func (mr *MockPlugin_DeleteServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
- func (mr *MockPlugin_DeleteServerMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
- func (mr *MockPlugin_DeleteServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
- func (mr *MockPlugin_DeleteServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
- type MockPlugin_ExportServer
- func (m *MockPlugin_ExportServer) Context() context.Context
- func (m *MockPlugin_ExportServer) EXPECT() *MockPlugin_ExportServerMockRecorder
- func (m *MockPlugin_ExportServer) RecvMsg(arg0 interface{}) error
- func (m *MockPlugin_ExportServer) Send(arg0 *idpplugin.ExportResponse) error
- func (m *MockPlugin_ExportServer) SendHeader(arg0 metadata.MD) error
- func (m *MockPlugin_ExportServer) SendMsg(arg0 interface{}) error
- func (m *MockPlugin_ExportServer) SetHeader(arg0 metadata.MD) error
- func (m *MockPlugin_ExportServer) SetTrailer(arg0 metadata.MD)
- type MockPlugin_ExportServerMockRecorder
- func (mr *MockPlugin_ExportServerMockRecorder) Context() *gomock.Call
- func (mr *MockPlugin_ExportServerMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
- func (mr *MockPlugin_ExportServerMockRecorder) Send(arg0 interface{}) *gomock.Call
- func (mr *MockPlugin_ExportServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
- func (mr *MockPlugin_ExportServerMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
- func (mr *MockPlugin_ExportServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
- func (mr *MockPlugin_ExportServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
- type MockPlugin_ImportServer
- func (m *MockPlugin_ImportServer) Context() context.Context
- func (m *MockPlugin_ImportServer) EXPECT() *MockPlugin_ImportServerMockRecorder
- func (m *MockPlugin_ImportServer) Recv() (*idpplugin.ImportRequest, error)
- func (m *MockPlugin_ImportServer) RecvMsg(arg0 interface{}) error
- func (m *MockPlugin_ImportServer) Send(arg0 *idpplugin.ImportResponse) error
- func (m *MockPlugin_ImportServer) SendHeader(arg0 metadata.MD) error
- func (m *MockPlugin_ImportServer) SendMsg(arg0 interface{}) error
- func (m *MockPlugin_ImportServer) SetHeader(arg0 metadata.MD) error
- func (m *MockPlugin_ImportServer) SetTrailer(arg0 metadata.MD)
- type MockPlugin_ImportServerMockRecorder
- func (mr *MockPlugin_ImportServerMockRecorder) Context() *gomock.Call
- func (mr *MockPlugin_ImportServerMockRecorder) Recv() *gomock.Call
- func (mr *MockPlugin_ImportServerMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
- func (mr *MockPlugin_ImportServerMockRecorder) Send(arg0 interface{}) *gomock.Call
- func (mr *MockPlugin_ImportServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
- func (mr *MockPlugin_ImportServerMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
- func (mr *MockPlugin_ImportServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
- func (mr *MockPlugin_ImportServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockConfig ¶
type MockConfig struct {
// contains filtered or unexported fields
}
MockConfig is a mock of Config interface.
func NewMockConfig ¶
func NewMockConfig(ctrl *gomock.Controller) *MockConfig
NewMockConfig creates a new mock instance.
func (*MockConfig) Description ¶
func (m *MockConfig) Description() string
Description mocks base method.
func (*MockConfig) EXPECT ¶
func (m *MockConfig) EXPECT() *MockConfigMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockConfig) Validate ¶
func (m *MockConfig) Validate(arg0 plugin.OperationType) error
Validate mocks base method.
type MockConfigMockRecorder ¶
type MockConfigMockRecorder struct {
// contains filtered or unexported fields
}
MockConfigMockRecorder is the mock recorder for MockConfig.
func (*MockConfigMockRecorder) Description ¶
func (mr *MockConfigMockRecorder) Description() *gomock.Call
Description indicates an expected call of Description.
func (*MockConfigMockRecorder) Validate ¶
func (mr *MockConfigMockRecorder) Validate(arg0 interface{}) *gomock.Call
Validate indicates an expected call of Validate.
type MockHandler ¶
type MockHandler struct {
// contains filtered or unexported fields
}
MockHandler is a mock of Handler interface.
func NewMockHandler ¶
func NewMockHandler(ctrl *gomock.Controller) *MockHandler
NewMockHandler creates a new mock instance.
func (*MockHandler) Close ¶
func (m *MockHandler) Close() (*plugin.Stats, error)
Close mocks base method.
func (*MockHandler) Delete ¶
func (m *MockHandler) Delete(arg0 string) error
Delete mocks base method.
func (*MockHandler) EXPECT ¶
func (m *MockHandler) EXPECT() *MockHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockHandler) GetConfig ¶
func (m *MockHandler) GetConfig() plugin.Config
GetConfig mocks base method.
func (*MockHandler) GetVersion ¶
func (m *MockHandler) GetVersion() (string, string, string)
GetVersion mocks base method.
func (*MockHandler) Open ¶
func (m *MockHandler) Open(arg0 plugin.Config, arg1 plugin.OperationType) error
Open mocks base method.
type MockHandlerMockRecorder ¶
type MockHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockHandlerMockRecorder is the mock recorder for MockHandler.
func (*MockHandlerMockRecorder) Close ¶
func (mr *MockHandlerMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockHandlerMockRecorder) Delete ¶
func (mr *MockHandlerMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockHandlerMockRecorder) GetConfig ¶
func (mr *MockHandlerMockRecorder) GetConfig() *gomock.Call
GetConfig indicates an expected call of GetConfig.
func (*MockHandlerMockRecorder) GetVersion ¶
func (mr *MockHandlerMockRecorder) GetVersion() *gomock.Call
GetVersion indicates an expected call of GetVersion.
func (*MockHandlerMockRecorder) Open ¶
func (mr *MockHandlerMockRecorder) Open(arg0, arg1 interface{}) *gomock.Call
Open indicates an expected call of Open.
func (*MockHandlerMockRecorder) Read ¶
func (mr *MockHandlerMockRecorder) Read() *gomock.Call
Read indicates an expected call of Read.
func (*MockHandlerMockRecorder) Write ¶
func (mr *MockHandlerMockRecorder) Write(arg0 interface{}) *gomock.Call
Write indicates an expected call of Write.
type MockPlugin_DeleteServer ¶
type MockPlugin_DeleteServer struct {
// contains filtered or unexported fields
}
MockPlugin_DeleteServer is a mock of Plugin_DeleteServer interface.
func NewMockPlugin_DeleteServer ¶
func NewMockPlugin_DeleteServer(ctrl *gomock.Controller) *MockPlugin_DeleteServer
NewMockPlugin_DeleteServer creates a new mock instance.
func (*MockPlugin_DeleteServer) Context ¶
func (m *MockPlugin_DeleteServer) Context() context.Context
Context mocks base method.
func (*MockPlugin_DeleteServer) EXPECT ¶
func (m *MockPlugin_DeleteServer) EXPECT() *MockPlugin_DeleteServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPlugin_DeleteServer) Recv ¶
func (m *MockPlugin_DeleteServer) Recv() (*idpplugin.DeleteRequest, error)
Recv mocks base method.
func (*MockPlugin_DeleteServer) RecvMsg ¶
func (m *MockPlugin_DeleteServer) RecvMsg(arg0 interface{}) error
RecvMsg mocks base method.
func (*MockPlugin_DeleteServer) Send ¶
func (m *MockPlugin_DeleteServer) Send(arg0 *idpplugin.DeleteResponse) error
Send mocks base method.
func (*MockPlugin_DeleteServer) SendHeader ¶
func (m *MockPlugin_DeleteServer) SendHeader(arg0 metadata.MD) error
SendHeader mocks base method.
func (*MockPlugin_DeleteServer) SendMsg ¶
func (m *MockPlugin_DeleteServer) SendMsg(arg0 interface{}) error
SendMsg mocks base method.
func (*MockPlugin_DeleteServer) SetHeader ¶
func (m *MockPlugin_DeleteServer) SetHeader(arg0 metadata.MD) error
SetHeader mocks base method.
func (*MockPlugin_DeleteServer) SetTrailer ¶
func (m *MockPlugin_DeleteServer) SetTrailer(arg0 metadata.MD)
SetTrailer mocks base method.
type MockPlugin_DeleteServerMockRecorder ¶
type MockPlugin_DeleteServerMockRecorder struct {
// contains filtered or unexported fields
}
MockPlugin_DeleteServerMockRecorder is the mock recorder for MockPlugin_DeleteServer.
func (*MockPlugin_DeleteServerMockRecorder) Context ¶
func (mr *MockPlugin_DeleteServerMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockPlugin_DeleteServerMockRecorder) Recv ¶
func (mr *MockPlugin_DeleteServerMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv.
func (*MockPlugin_DeleteServerMockRecorder) RecvMsg ¶
func (mr *MockPlugin_DeleteServerMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockPlugin_DeleteServerMockRecorder) Send ¶
func (mr *MockPlugin_DeleteServerMockRecorder) Send(arg0 interface{}) *gomock.Call
Send indicates an expected call of Send.
func (*MockPlugin_DeleteServerMockRecorder) SendHeader ¶
func (mr *MockPlugin_DeleteServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
SendHeader indicates an expected call of SendHeader.
func (*MockPlugin_DeleteServerMockRecorder) SendMsg ¶
func (mr *MockPlugin_DeleteServerMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockPlugin_DeleteServerMockRecorder) SetHeader ¶
func (mr *MockPlugin_DeleteServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
SetHeader indicates an expected call of SetHeader.
func (*MockPlugin_DeleteServerMockRecorder) SetTrailer ¶
func (mr *MockPlugin_DeleteServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
SetTrailer indicates an expected call of SetTrailer.
type MockPlugin_ExportServer ¶
type MockPlugin_ExportServer struct {
// contains filtered or unexported fields
}
MockPlugin_ExportServer is a mock of Plugin_ExportServer interface.
func NewMockPlugin_ExportServer ¶
func NewMockPlugin_ExportServer(ctrl *gomock.Controller) *MockPlugin_ExportServer
NewMockPlugin_ExportServer creates a new mock instance.
func (*MockPlugin_ExportServer) Context ¶
func (m *MockPlugin_ExportServer) Context() context.Context
Context mocks base method.
func (*MockPlugin_ExportServer) EXPECT ¶
func (m *MockPlugin_ExportServer) EXPECT() *MockPlugin_ExportServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPlugin_ExportServer) RecvMsg ¶
func (m *MockPlugin_ExportServer) RecvMsg(arg0 interface{}) error
RecvMsg mocks base method.
func (*MockPlugin_ExportServer) Send ¶
func (m *MockPlugin_ExportServer) Send(arg0 *idpplugin.ExportResponse) error
Send mocks base method.
func (*MockPlugin_ExportServer) SendHeader ¶
func (m *MockPlugin_ExportServer) SendHeader(arg0 metadata.MD) error
SendHeader mocks base method.
func (*MockPlugin_ExportServer) SendMsg ¶
func (m *MockPlugin_ExportServer) SendMsg(arg0 interface{}) error
SendMsg mocks base method.
func (*MockPlugin_ExportServer) SetHeader ¶
func (m *MockPlugin_ExportServer) SetHeader(arg0 metadata.MD) error
SetHeader mocks base method.
func (*MockPlugin_ExportServer) SetTrailer ¶
func (m *MockPlugin_ExportServer) SetTrailer(arg0 metadata.MD)
SetTrailer mocks base method.
type MockPlugin_ExportServerMockRecorder ¶
type MockPlugin_ExportServerMockRecorder struct {
// contains filtered or unexported fields
}
MockPlugin_ExportServerMockRecorder is the mock recorder for MockPlugin_ExportServer.
func (*MockPlugin_ExportServerMockRecorder) Context ¶
func (mr *MockPlugin_ExportServerMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockPlugin_ExportServerMockRecorder) RecvMsg ¶
func (mr *MockPlugin_ExportServerMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockPlugin_ExportServerMockRecorder) Send ¶
func (mr *MockPlugin_ExportServerMockRecorder) Send(arg0 interface{}) *gomock.Call
Send indicates an expected call of Send.
func (*MockPlugin_ExportServerMockRecorder) SendHeader ¶
func (mr *MockPlugin_ExportServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
SendHeader indicates an expected call of SendHeader.
func (*MockPlugin_ExportServerMockRecorder) SendMsg ¶
func (mr *MockPlugin_ExportServerMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockPlugin_ExportServerMockRecorder) SetHeader ¶
func (mr *MockPlugin_ExportServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
SetHeader indicates an expected call of SetHeader.
func (*MockPlugin_ExportServerMockRecorder) SetTrailer ¶
func (mr *MockPlugin_ExportServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
SetTrailer indicates an expected call of SetTrailer.
type MockPlugin_ImportServer ¶
type MockPlugin_ImportServer struct {
// contains filtered or unexported fields
}
MockPlugin_ImportServer is a mock of Plugin_ImportServer interface.
func NewMockPlugin_ImportServer ¶
func NewMockPlugin_ImportServer(ctrl *gomock.Controller) *MockPlugin_ImportServer
NewMockPlugin_ImportServer creates a new mock instance.
func (*MockPlugin_ImportServer) Context ¶
func (m *MockPlugin_ImportServer) Context() context.Context
Context mocks base method.
func (*MockPlugin_ImportServer) EXPECT ¶
func (m *MockPlugin_ImportServer) EXPECT() *MockPlugin_ImportServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPlugin_ImportServer) Recv ¶
func (m *MockPlugin_ImportServer) Recv() (*idpplugin.ImportRequest, error)
Recv mocks base method.
func (*MockPlugin_ImportServer) RecvMsg ¶
func (m *MockPlugin_ImportServer) RecvMsg(arg0 interface{}) error
RecvMsg mocks base method.
func (*MockPlugin_ImportServer) Send ¶
func (m *MockPlugin_ImportServer) Send(arg0 *idpplugin.ImportResponse) error
Send mocks base method.
func (*MockPlugin_ImportServer) SendHeader ¶
func (m *MockPlugin_ImportServer) SendHeader(arg0 metadata.MD) error
SendHeader mocks base method.
func (*MockPlugin_ImportServer) SendMsg ¶
func (m *MockPlugin_ImportServer) SendMsg(arg0 interface{}) error
SendMsg mocks base method.
func (*MockPlugin_ImportServer) SetHeader ¶
func (m *MockPlugin_ImportServer) SetHeader(arg0 metadata.MD) error
SetHeader mocks base method.
func (*MockPlugin_ImportServer) SetTrailer ¶
func (m *MockPlugin_ImportServer) SetTrailer(arg0 metadata.MD)
SetTrailer mocks base method.
type MockPlugin_ImportServerMockRecorder ¶
type MockPlugin_ImportServerMockRecorder struct {
// contains filtered or unexported fields
}
MockPlugin_ImportServerMockRecorder is the mock recorder for MockPlugin_ImportServer.
func (*MockPlugin_ImportServerMockRecorder) Context ¶
func (mr *MockPlugin_ImportServerMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockPlugin_ImportServerMockRecorder) Recv ¶
func (mr *MockPlugin_ImportServerMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv.
func (*MockPlugin_ImportServerMockRecorder) RecvMsg ¶
func (mr *MockPlugin_ImportServerMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockPlugin_ImportServerMockRecorder) Send ¶
func (mr *MockPlugin_ImportServerMockRecorder) Send(arg0 interface{}) *gomock.Call
Send indicates an expected call of Send.
func (*MockPlugin_ImportServerMockRecorder) SendHeader ¶
func (mr *MockPlugin_ImportServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
SendHeader indicates an expected call of SendHeader.
func (*MockPlugin_ImportServerMockRecorder) SendMsg ¶
func (mr *MockPlugin_ImportServerMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockPlugin_ImportServerMockRecorder) SetHeader ¶
func (mr *MockPlugin_ImportServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
SetHeader indicates an expected call of SetHeader.
func (*MockPlugin_ImportServerMockRecorder) SetTrailer ¶
func (mr *MockPlugin_ImportServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
SetTrailer indicates an expected call of SetTrailer.