Documentation ¶
Overview ¶
Package mock_plugin is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) CheckIfUserIsProjectAdmin(arg0, arg1, arg2, arg3 string) (int, error)
- func (m *MockClient) CreateSubscription(arg0 *serializers.CreateSubscriptionRequestPayload, ...) (*serializers.SubscriptionValue, int, error)
- func (m *MockClient) CreateTask(arg0 *serializers.CreateTaskRequestPayload, arg1 string) (*serializers.TaskValue, int, error)
- func (m *MockClient) DeleteSubscription(arg0, arg1, arg2 string) (int, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GenerateOAuthToken(arg0 url.Values) (*serializers.OAuthSuccessResponse, int, error)
- func (m *MockClient) GetTask(arg0, arg1, arg2 string) (*serializers.TaskValue, int, error)
- func (m *MockClient) Link(arg0 *serializers.LinkRequestPayload, arg1 string) (*serializers.Project, int, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) CheckIfUserIsProjectAdmin(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateSubscription(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateTask(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteSubscription(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GenerateOAuthToken(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetTask(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Link(arg0, arg1 interface{}) *gomock.Call
- type MockKVStore
- func (m *MockKVStore) DeleteProject(arg0 *serializers.ProjectDetails) error
- func (m *MockKVStore) DeleteSubscription(arg0 *serializers.SubscriptionDetails) error
- func (m *MockKVStore) DeleteUser(arg0 string) (bool, error)
- func (m *MockKVStore) DeleteUserTokenOnEncryptionSecretChange() error
- func (m *MockKVStore) EXPECT() *MockKVStoreMockRecorder
- func (m *MockKVStore) GetAllProjects(arg0 string) ([]serializers.ProjectDetails, error)
- func (m *MockKVStore) GetAllSubscriptions(arg0 string) ([]*serializers.SubscriptionDetails, error)
- func (m *MockKVStore) GetProject() (*store.ProjectList, error)
- func (m *MockKVStore) GetSubscriptionList() (*store.SubscriptionList, error)
- func (m *MockKVStore) LoadUser(arg0 string) (*serializers.User, error)
- func (m *MockKVStore) StoreOAuthState(arg0, arg1 string) error
- func (m *MockKVStore) StoreProject(arg0 *serializers.ProjectDetails) error
- func (m *MockKVStore) StoreSubscription(arg0 *serializers.SubscriptionDetails) error
- func (m *MockKVStore) StoreUser(arg0 *serializers.User) error
- func (m *MockKVStore) VerifyOAuthState(arg0, arg1 string) error
- type MockKVStoreMockRecorder
- func (mr *MockKVStoreMockRecorder) DeleteProject(arg0 interface{}) *gomock.Call
- func (mr *MockKVStoreMockRecorder) DeleteSubscription(arg0 interface{}) *gomock.Call
- func (mr *MockKVStoreMockRecorder) DeleteUser(arg0 interface{}) *gomock.Call
- func (mr *MockKVStoreMockRecorder) DeleteUserTokenOnEncryptionSecretChange() *gomock.Call
- func (mr *MockKVStoreMockRecorder) GetAllProjects(arg0 interface{}) *gomock.Call
- func (mr *MockKVStoreMockRecorder) GetAllSubscriptions(arg0 interface{}) *gomock.Call
- func (mr *MockKVStoreMockRecorder) GetProject() *gomock.Call
- func (mr *MockKVStoreMockRecorder) GetSubscriptionList() *gomock.Call
- func (mr *MockKVStoreMockRecorder) LoadUser(arg0 interface{}) *gomock.Call
- func (mr *MockKVStoreMockRecorder) StoreOAuthState(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockKVStoreMockRecorder) StoreProject(arg0 interface{}) *gomock.Call
- func (mr *MockKVStoreMockRecorder) StoreSubscription(arg0 interface{}) *gomock.Call
- func (mr *MockKVStoreMockRecorder) StoreUser(arg0 interface{}) *gomock.Call
- func (mr *MockKVStoreMockRecorder) VerifyOAuthState(arg0, arg1 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) CheckIfUserIsProjectAdmin ¶ added in v1.3.0
func (m *MockClient) CheckIfUserIsProjectAdmin(arg0, arg1, arg2, arg3 string) (int, error)
CheckIfUserIsProjectAdmin mocks base method
func (*MockClient) CreateSubscription ¶
func (m *MockClient) CreateSubscription(arg0 *serializers.CreateSubscriptionRequestPayload, arg1 *serializers.ProjectDetails, arg2, arg3, arg4 string) (*serializers.SubscriptionValue, int, error)
CreateSubscription mocks base method
func (*MockClient) CreateTask ¶
func (m *MockClient) CreateTask(arg0 *serializers.CreateTaskRequestPayload, arg1 string) (*serializers.TaskValue, int, error)
CreateTask mocks base method
func (*MockClient) DeleteSubscription ¶
func (m *MockClient) DeleteSubscription(arg0, arg1, arg2 string) (int, error)
DeleteSubscription mocks base method
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClient) GenerateOAuthToken ¶
func (m *MockClient) GenerateOAuthToken(arg0 url.Values) (*serializers.OAuthSuccessResponse, int, error)
GenerateOAuthToken mocks base method
func (*MockClient) GetTask ¶
func (m *MockClient) GetTask(arg0, arg1, arg2 string) (*serializers.TaskValue, int, error)
GetTask mocks base method
func (*MockClient) Link ¶
func (m *MockClient) Link(arg0 *serializers.LinkRequestPayload, arg1 string) (*serializers.Project, int, error)
Link mocks base method
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient
func (*MockClientMockRecorder) CheckIfUserIsProjectAdmin ¶ added in v1.3.0
func (mr *MockClientMockRecorder) CheckIfUserIsProjectAdmin(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
CheckIfUserIsProjectAdmin indicates an expected call of CheckIfUserIsProjectAdmin
func (*MockClientMockRecorder) CreateSubscription ¶
func (mr *MockClientMockRecorder) CreateSubscription(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
CreateSubscription indicates an expected call of CreateSubscription
func (*MockClientMockRecorder) CreateTask ¶
func (mr *MockClientMockRecorder) CreateTask(arg0, arg1 interface{}) *gomock.Call
CreateTask indicates an expected call of CreateTask
func (*MockClientMockRecorder) DeleteSubscription ¶
func (mr *MockClientMockRecorder) DeleteSubscription(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteSubscription indicates an expected call of DeleteSubscription
func (*MockClientMockRecorder) GenerateOAuthToken ¶
func (mr *MockClientMockRecorder) GenerateOAuthToken(arg0 interface{}) *gomock.Call
GenerateOAuthToken indicates an expected call of GenerateOAuthToken
func (*MockClientMockRecorder) GetTask ¶
func (mr *MockClientMockRecorder) GetTask(arg0, arg1, arg2 interface{}) *gomock.Call
GetTask indicates an expected call of GetTask
func (*MockClientMockRecorder) Link ¶
func (mr *MockClientMockRecorder) Link(arg0, arg1 interface{}) *gomock.Call
Link indicates an expected call of Link
type MockKVStore ¶
type MockKVStore struct {
// contains filtered or unexported fields
}
MockKVStore is a mock of KVStore interface.
func NewMockKVStore ¶
func NewMockKVStore(ctrl *gomock.Controller) *MockKVStore
NewMockKVStore creates a new mock instance.
func (*MockKVStore) DeleteProject ¶
func (m *MockKVStore) DeleteProject(arg0 *serializers.ProjectDetails) error
DeleteProject mocks base method.
func (*MockKVStore) DeleteSubscription ¶
func (m *MockKVStore) DeleteSubscription(arg0 *serializers.SubscriptionDetails) error
DeleteSubscription mocks base method.
func (*MockKVStore) DeleteUser ¶
func (m *MockKVStore) DeleteUser(arg0 string) (bool, error)
DeleteUser mocks base method.
func (*MockKVStore) DeleteUserTokenOnEncryptionSecretChange ¶
func (m *MockKVStore) DeleteUserTokenOnEncryptionSecretChange() error
DeleteUserTokenOnEncryptionSecretChange mocks base method.
func (*MockKVStore) EXPECT ¶
func (m *MockKVStore) EXPECT() *MockKVStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockKVStore) GetAllProjects ¶
func (m *MockKVStore) GetAllProjects(arg0 string) ([]serializers.ProjectDetails, error)
GetAllProjects mocks base method.
func (*MockKVStore) GetAllSubscriptions ¶
func (m *MockKVStore) GetAllSubscriptions(arg0 string) ([]*serializers.SubscriptionDetails, error)
GetAllSubscriptions mocks base method.
func (*MockKVStore) GetProject ¶
func (m *MockKVStore) GetProject() (*store.ProjectList, error)
GetProject mocks base method.
func (*MockKVStore) GetSubscriptionList ¶
func (m *MockKVStore) GetSubscriptionList() (*store.SubscriptionList, error)
GetSubscriptionList mocks base method.
func (*MockKVStore) LoadUser ¶
func (m *MockKVStore) LoadUser(arg0 string) (*serializers.User, error)
LoadUser mocks base method.
func (*MockKVStore) StoreOAuthState ¶
func (m *MockKVStore) StoreOAuthState(arg0, arg1 string) error
StoreOAuthState mocks base method.
func (*MockKVStore) StoreProject ¶
func (m *MockKVStore) StoreProject(arg0 *serializers.ProjectDetails) error
StoreProject mocks base method.
func (*MockKVStore) StoreSubscription ¶
func (m *MockKVStore) StoreSubscription(arg0 *serializers.SubscriptionDetails) error
StoreSubscription mocks base method.
func (*MockKVStore) StoreUser ¶
func (m *MockKVStore) StoreUser(arg0 *serializers.User) error
StoreUser mocks base method.
func (*MockKVStore) VerifyOAuthState ¶
func (m *MockKVStore) VerifyOAuthState(arg0, arg1 string) error
VerifyOAuthState mocks base method.
type MockKVStoreMockRecorder ¶
type MockKVStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockKVStoreMockRecorder is the mock recorder for MockKVStore.
func (*MockKVStoreMockRecorder) DeleteProject ¶
func (mr *MockKVStoreMockRecorder) DeleteProject(arg0 interface{}) *gomock.Call
DeleteProject indicates an expected call of DeleteProject.
func (*MockKVStoreMockRecorder) DeleteSubscription ¶
func (mr *MockKVStoreMockRecorder) DeleteSubscription(arg0 interface{}) *gomock.Call
DeleteSubscription indicates an expected call of DeleteSubscription.
func (*MockKVStoreMockRecorder) DeleteUser ¶
func (mr *MockKVStoreMockRecorder) DeleteUser(arg0 interface{}) *gomock.Call
DeleteUser indicates an expected call of DeleteUser.
func (*MockKVStoreMockRecorder) DeleteUserTokenOnEncryptionSecretChange ¶
func (mr *MockKVStoreMockRecorder) DeleteUserTokenOnEncryptionSecretChange() *gomock.Call
DeleteUserTokenOnEncryptionSecretChange indicates an expected call of DeleteUserTokenOnEncryptionSecretChange.
func (*MockKVStoreMockRecorder) GetAllProjects ¶
func (mr *MockKVStoreMockRecorder) GetAllProjects(arg0 interface{}) *gomock.Call
GetAllProjects indicates an expected call of GetAllProjects.
func (*MockKVStoreMockRecorder) GetAllSubscriptions ¶
func (mr *MockKVStoreMockRecorder) GetAllSubscriptions(arg0 interface{}) *gomock.Call
GetAllSubscriptions indicates an expected call of GetAllSubscriptions.
func (*MockKVStoreMockRecorder) GetProject ¶
func (mr *MockKVStoreMockRecorder) GetProject() *gomock.Call
GetProject indicates an expected call of GetProject.
func (*MockKVStoreMockRecorder) GetSubscriptionList ¶
func (mr *MockKVStoreMockRecorder) GetSubscriptionList() *gomock.Call
GetSubscriptionList indicates an expected call of GetSubscriptionList.
func (*MockKVStoreMockRecorder) LoadUser ¶
func (mr *MockKVStoreMockRecorder) LoadUser(arg0 interface{}) *gomock.Call
LoadUser indicates an expected call of LoadUser.
func (*MockKVStoreMockRecorder) StoreOAuthState ¶
func (mr *MockKVStoreMockRecorder) StoreOAuthState(arg0, arg1 interface{}) *gomock.Call
StoreOAuthState indicates an expected call of StoreOAuthState.
func (*MockKVStoreMockRecorder) StoreProject ¶
func (mr *MockKVStoreMockRecorder) StoreProject(arg0 interface{}) *gomock.Call
StoreProject indicates an expected call of StoreProject.
func (*MockKVStoreMockRecorder) StoreSubscription ¶
func (mr *MockKVStoreMockRecorder) StoreSubscription(arg0 interface{}) *gomock.Call
StoreSubscription indicates an expected call of StoreSubscription.
func (*MockKVStoreMockRecorder) StoreUser ¶
func (mr *MockKVStoreMockRecorder) StoreUser(arg0 interface{}) *gomock.Call
StoreUser indicates an expected call of StoreUser.
func (*MockKVStoreMockRecorder) VerifyOAuthState ¶
func (mr *MockKVStoreMockRecorder) VerifyOAuthState(arg0, arg1 interface{}) *gomock.Call
VerifyOAuthState indicates an expected call of VerifyOAuthState.