Documentation ¶
Overview ¶
Package mock_plugin is a generated GoMock package.
Package mock_plugin is a generated GoMock package.
Index ¶
- type MockClient
- type MockClientMockRecorder
- type MockStore
- func (m *MockStore) DeleteUser(arg0 string) error
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) LoadUser(arg0 string) (*serializer.User, error)
- func (m *MockStore) LoadUserWithSysID(arg0 string) (*serializer.User, error)
- func (m *MockStore) StoreOAuth2State(arg0 string) error
- func (m *MockStore) StoreUser(arg0 *serializer.User) error
- func (m *MockStore) VerifyOAuth2State(arg0 string) error
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) DeleteUser(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) LoadUser(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) LoadUserWithSysID(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) StoreOAuth2State(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) StoreUser(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) VerifyOAuth2State(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClient) GetMe ¶
func (m *MockClient) GetMe(arg0 string) (*serializer.ServiceNowUser, error)
GetMe mocks base method
func (*MockClient) SendMessageToVirtualAgentAPI ¶
func (m *MockClient) SendMessageToVirtualAgentAPI(arg0, arg1 string, arg2 bool) error
SendMessageToVirtualAgentAPI mocks base method
func (*MockClient) StartConverstaionWithVirtualAgent ¶
func (m *MockClient) StartConverstaionWithVirtualAgent(arg0 string) error
StartConverstaionWithVirtualAgent mocks base method
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient
func (*MockClientMockRecorder) GetMe ¶
func (mr *MockClientMockRecorder) GetMe(arg0 interface{}) *gomock.Call
GetMe indicates an expected call of GetMe
func (*MockClientMockRecorder) SendMessageToVirtualAgentAPI ¶
func (mr *MockClientMockRecorder) SendMessageToVirtualAgentAPI(arg0, arg1, arg2 interface{}) *gomock.Call
SendMessageToVirtualAgentAPI indicates an expected call of SendMessageToVirtualAgentAPI
func (*MockClientMockRecorder) StartConverstaionWithVirtualAgent ¶
func (mr *MockClientMockRecorder) StartConverstaionWithVirtualAgent(arg0 interface{}) *gomock.Call
StartConverstaionWithVirtualAgent indicates an expected call of StartConverstaionWithVirtualAgent
type MockStore ¶
type MockStore struct {
// contains filtered or unexported fields
}
MockStore is a mock of Store interface
func NewMockStore ¶
func NewMockStore(ctrl *gomock.Controller) *MockStore
NewMockStore creates a new mock instance
func (*MockStore) DeleteUser ¶
DeleteUser mocks base method
func (*MockStore) EXPECT ¶
func (m *MockStore) EXPECT() *MockStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStore) LoadUser ¶
func (m *MockStore) LoadUser(arg0 string) (*serializer.User, error)
LoadUser mocks base method
func (*MockStore) LoadUserWithSysID ¶
func (m *MockStore) LoadUserWithSysID(arg0 string) (*serializer.User, error)
LoadUserWithSysID mocks base method
func (*MockStore) StoreOAuth2State ¶
StoreOAuth2State mocks base method
func (*MockStore) StoreUser ¶
func (m *MockStore) StoreUser(arg0 *serializer.User) error
StoreUser mocks base method
func (*MockStore) VerifyOAuth2State ¶
VerifyOAuth2State mocks base method
type MockStoreMockRecorder ¶
type MockStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockStoreMockRecorder is the mock recorder for MockStore
func (*MockStoreMockRecorder) DeleteUser ¶
func (mr *MockStoreMockRecorder) DeleteUser(arg0 interface{}) *gomock.Call
DeleteUser indicates an expected call of DeleteUser
func (*MockStoreMockRecorder) LoadUser ¶
func (mr *MockStoreMockRecorder) LoadUser(arg0 interface{}) *gomock.Call
LoadUser indicates an expected call of LoadUser
func (*MockStoreMockRecorder) LoadUserWithSysID ¶
func (mr *MockStoreMockRecorder) LoadUserWithSysID(arg0 interface{}) *gomock.Call
LoadUserWithSysID indicates an expected call of LoadUserWithSysID
func (*MockStoreMockRecorder) StoreOAuth2State ¶
func (mr *MockStoreMockRecorder) StoreOAuth2State(arg0 interface{}) *gomock.Call
StoreOAuth2State indicates an expected call of StoreOAuth2State
func (*MockStoreMockRecorder) StoreUser ¶
func (mr *MockStoreMockRecorder) StoreUser(arg0 interface{}) *gomock.Call
StoreUser indicates an expected call of StoreUser
func (*MockStoreMockRecorder) VerifyOAuth2State ¶
func (mr *MockStoreMockRecorder) VerifyOAuth2State(arg0 interface{}) *gomock.Call
VerifyOAuth2State indicates an expected call of VerifyOAuth2State