Documentation
¶
Index ¶
- type ContentServiceClient
- func (_m *ContentServiceClient) DeleteContent(ctx context.Context, in *content.ContentIdRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (_m *ContentServiceClient) GetContent(ctx context.Context, in *content.ContentIdRequest, opts ...grpc.CallOption) (*content.Content, error)
- func (_m *ContentServiceClient) GetContentBySlug(ctx context.Context, in *content.ContentRequest, opts ...grpc.CallOption) (*content.Content, error)
- func (_m *ContentServiceClient) ListContents(ctx context.Context, in *content.ListParameters, opts ...grpc.CallOption) (*content.ContentCollection, error)
- func (_m *ContentServiceClient) StoreContent(ctx context.Context, in *content.StoreContentRequest, opts ...grpc.CallOption) (*content.Content, error)
- func (_m *ContentServiceClient) UpdateContent(ctx context.Context, in *content.UpdateContentRequest, opts ...grpc.CallOption) (*content.Content, error)
- type IdentityServiceClient
- func (_m *IdentityServiceClient) CreateIdentity(ctx context.Context, in *identity.CreateIdentityReq, opts ...grpc.CallOption) (*identity.Identity, error)
- func (_m *IdentityServiceClient) DeleteIdentity(ctx context.Context, in *jsonapi.IdRequest, opts ...grpc.CallOption) (*empty.Empty, error)
- func (_m *IdentityServiceClient) ExistProviderIdentity(ctx context.Context, in *identity.IdentityProviderReq, opts ...grpc.CallOption) (*jsonapi.ExistResponse, error)
- func (_m *IdentityServiceClient) GetIdentity(ctx context.Context, in *jsonapi.IdRequest, opts ...grpc.CallOption) (*identity.Identity, error)
- func (_m *IdentityServiceClient) GetIdentityFromProvider(ctx context.Context, in *identity.IdentityProviderReq, opts ...grpc.CallOption) (*identity.Identity, error)
- func (_m *IdentityServiceClient) Healthz(ctx context.Context, in *jsonapi.HealthzIdRequest, opts ...grpc.CallOption) (*empty.Empty, error)
- type LogtoClient
- func (_m *LogtoClient) AccessToken() (*authentication.AccessTokenResp, error)
- func (_m *LogtoClient) AddCustomUserInformation(_a0 string, _a1 string, _a2 *authentication.APIUsersPatchCustomData) error
- func (_m *LogtoClient) CheckUser(_a0 string) (bool, string, error)
- func (_m *LogtoClient) CheckUserWithUserName(_a0 string) (bool, string, error)
- func (_m *LogtoClient) CreateUser(_a0 string, _a1 *authentication.APIUsersPostReq) (string, error)
- func (_m *LogtoClient) Permissions(_a0 string) ([]*authentication.PermissionResp, error)
- func (_m *LogtoClient) Roles(_a0 string) ([]*authentication.RoleResp, error)
- func (_m *LogtoClient) User(_a0 string) (*authentication.UserResp, error)
- func (_m *LogtoClient) UserWithEmail(_a0 string) (*authentication.UserResp, error)
- type MockFeatureAnnotationServiceClient
- func (_mock *MockFeatureAnnotationServiceClient) AddTag(ctx context.Context, in *feature_annotation.AddTagRequest, ...) (*feature_annotation.FeatureAnnotation, error)
- func (_mock *MockFeatureAnnotationServiceClient) AddTags(ctx context.Context, in *feature_annotation.AddTagsRequest, ...) (*feature_annotation.FeatureAnnotation, error)
- func (_mock *MockFeatureAnnotationServiceClient) CreateFeatureAnnotation(ctx context.Context, in *feature_annotation.NewFeatureAnnotation, ...) (*feature_annotation.FeatureAnnotation, error)
- func (_mock *MockFeatureAnnotationServiceClient) DeleteFeatureAnnotation(ctx context.Context, in *feature_annotation.DeleteFeatureAnnotationRequest, ...) (*emptypb.Empty, error)
- func (_m *MockFeatureAnnotationServiceClient) EXPECT() *MockFeatureAnnotationServiceClient_Expecter
- func (_mock *MockFeatureAnnotationServiceClient) GetFeatureAnnotation(ctx context.Context, in *feature_annotation.FeatureAnnotationId, ...) (*feature_annotation.FeatureAnnotation, error)
- func (_mock *MockFeatureAnnotationServiceClient) GetFeatureAnnotationByName(ctx context.Context, in *feature_annotation.FeatureName, ...) (*feature_annotation.FeatureAnnotation, error)
- func (_mock *MockFeatureAnnotationServiceClient) ListFeatureAnnotationsByDOI(ctx context.Context, in *feature_annotation.DOI, opts ...grpc.CallOption) (*feature_annotation.FeatureAnnotationCollection, error)
- func (_mock *MockFeatureAnnotationServiceClient) ListFeatureAnnotationsByPubmedId(ctx context.Context, in *feature_annotation.PubmedId, opts ...grpc.CallOption) (*feature_annotation.FeatureAnnotationCollection, error)
- func (_mock *MockFeatureAnnotationServiceClient) RemoveTag(ctx context.Context, in *feature_annotation.RemoveTagRequest, ...) (*feature_annotation.FeatureAnnotation, error)
- func (_mock *MockFeatureAnnotationServiceClient) RemoveTags(ctx context.Context, in *feature_annotation.RemoveTagsRequest, ...) (*feature_annotation.FeatureAnnotation, error)
- func (_mock *MockFeatureAnnotationServiceClient) SetTags(ctx context.Context, in *feature_annotation.SetTagsRequest, ...) (*feature_annotation.FeatureAnnotation, error)
- func (_mock *MockFeatureAnnotationServiceClient) UpdateFeatureAnnotation(ctx context.Context, in *feature_annotation.FeatureAnnotationUpdate, ...) (*feature_annotation.FeatureAnnotation, error)
- func (_mock *MockFeatureAnnotationServiceClient) UpdateTag(ctx context.Context, in *feature_annotation.UpdateTagRequest, ...) (*feature_annotation.FeatureAnnotation, error)
- type MockFeatureAnnotationServiceClient_AddTag_Call
- func (_c *MockFeatureAnnotationServiceClient_AddTag_Call) Return(featureAnnotation *feature_annotation.FeatureAnnotation, err error) *MockFeatureAnnotationServiceClient_AddTag_Call
- func (_c *MockFeatureAnnotationServiceClient_AddTag_Call) Run(run func(ctx context.Context, in *feature_annotation.AddTagRequest, ...)) *MockFeatureAnnotationServiceClient_AddTag_Call
- func (_c *MockFeatureAnnotationServiceClient_AddTag_Call) RunAndReturn(...) *MockFeatureAnnotationServiceClient_AddTag_Call
- type MockFeatureAnnotationServiceClient_AddTags_Call
- func (_c *MockFeatureAnnotationServiceClient_AddTags_Call) Return(featureAnnotation *feature_annotation.FeatureAnnotation, err error) *MockFeatureAnnotationServiceClient_AddTags_Call
- func (_c *MockFeatureAnnotationServiceClient_AddTags_Call) Run(run func(ctx context.Context, in *feature_annotation.AddTagsRequest, ...)) *MockFeatureAnnotationServiceClient_AddTags_Call
- func (_c *MockFeatureAnnotationServiceClient_AddTags_Call) RunAndReturn(...) *MockFeatureAnnotationServiceClient_AddTags_Call
- type MockFeatureAnnotationServiceClient_CreateFeatureAnnotation_Call
- func (_c *MockFeatureAnnotationServiceClient_CreateFeatureAnnotation_Call) Return(featureAnnotation *feature_annotation.FeatureAnnotation, err error) *MockFeatureAnnotationServiceClient_CreateFeatureAnnotation_Call
- func (_c *MockFeatureAnnotationServiceClient_CreateFeatureAnnotation_Call) Run(...) *MockFeatureAnnotationServiceClient_CreateFeatureAnnotation_Call
- func (_c *MockFeatureAnnotationServiceClient_CreateFeatureAnnotation_Call) RunAndReturn(...) *MockFeatureAnnotationServiceClient_CreateFeatureAnnotation_Call
- type MockFeatureAnnotationServiceClient_DeleteFeatureAnnotation_Call
- func (_c *MockFeatureAnnotationServiceClient_DeleteFeatureAnnotation_Call) Return(empty *emptypb.Empty, err error) *MockFeatureAnnotationServiceClient_DeleteFeatureAnnotation_Call
- func (_c *MockFeatureAnnotationServiceClient_DeleteFeatureAnnotation_Call) Run(...) *MockFeatureAnnotationServiceClient_DeleteFeatureAnnotation_Call
- func (_c *MockFeatureAnnotationServiceClient_DeleteFeatureAnnotation_Call) RunAndReturn(...) *MockFeatureAnnotationServiceClient_DeleteFeatureAnnotation_Call
- type MockFeatureAnnotationServiceClient_Expecter
- func (_e *MockFeatureAnnotationServiceClient_Expecter) AddTag(ctx interface{}, in interface{}, opts ...interface{}) *MockFeatureAnnotationServiceClient_AddTag_Call
- func (_e *MockFeatureAnnotationServiceClient_Expecter) AddTags(ctx interface{}, in interface{}, opts ...interface{}) *MockFeatureAnnotationServiceClient_AddTags_Call
- func (_e *MockFeatureAnnotationServiceClient_Expecter) CreateFeatureAnnotation(ctx interface{}, in interface{}, opts ...interface{}) *MockFeatureAnnotationServiceClient_CreateFeatureAnnotation_Call
- func (_e *MockFeatureAnnotationServiceClient_Expecter) DeleteFeatureAnnotation(ctx interface{}, in interface{}, opts ...interface{}) *MockFeatureAnnotationServiceClient_DeleteFeatureAnnotation_Call
- func (_e *MockFeatureAnnotationServiceClient_Expecter) GetFeatureAnnotation(ctx interface{}, in interface{}, opts ...interface{}) *MockFeatureAnnotationServiceClient_GetFeatureAnnotation_Call
- func (_e *MockFeatureAnnotationServiceClient_Expecter) GetFeatureAnnotationByName(ctx interface{}, in interface{}, opts ...interface{}) *MockFeatureAnnotationServiceClient_GetFeatureAnnotationByName_Call
- func (_e *MockFeatureAnnotationServiceClient_Expecter) ListFeatureAnnotationsByDOI(ctx interface{}, in interface{}, opts ...interface{}) *MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByDOI_Call
- func (_e *MockFeatureAnnotationServiceClient_Expecter) ListFeatureAnnotationsByPubmedId(ctx interface{}, in interface{}, opts ...interface{}) *MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByPubmedId_Call
- func (_e *MockFeatureAnnotationServiceClient_Expecter) RemoveTag(ctx interface{}, in interface{}, opts ...interface{}) *MockFeatureAnnotationServiceClient_RemoveTag_Call
- func (_e *MockFeatureAnnotationServiceClient_Expecter) RemoveTags(ctx interface{}, in interface{}, opts ...interface{}) *MockFeatureAnnotationServiceClient_RemoveTags_Call
- func (_e *MockFeatureAnnotationServiceClient_Expecter) SetTags(ctx interface{}, in interface{}, opts ...interface{}) *MockFeatureAnnotationServiceClient_SetTags_Call
- func (_e *MockFeatureAnnotationServiceClient_Expecter) UpdateFeatureAnnotation(ctx interface{}, in interface{}, opts ...interface{}) *MockFeatureAnnotationServiceClient_UpdateFeatureAnnotation_Call
- func (_e *MockFeatureAnnotationServiceClient_Expecter) UpdateTag(ctx interface{}, in interface{}, opts ...interface{}) *MockFeatureAnnotationServiceClient_UpdateTag_Call
- type MockFeatureAnnotationServiceClient_GetFeatureAnnotationByName_Call
- func (_c *MockFeatureAnnotationServiceClient_GetFeatureAnnotationByName_Call) Return(featureAnnotation *feature_annotation.FeatureAnnotation, err error) *MockFeatureAnnotationServiceClient_GetFeatureAnnotationByName_Call
- func (_c *MockFeatureAnnotationServiceClient_GetFeatureAnnotationByName_Call) Run(run func(ctx context.Context, in *feature_annotation.FeatureName, ...)) *MockFeatureAnnotationServiceClient_GetFeatureAnnotationByName_Call
- func (_c *MockFeatureAnnotationServiceClient_GetFeatureAnnotationByName_Call) RunAndReturn(...) *MockFeatureAnnotationServiceClient_GetFeatureAnnotationByName_Call
- type MockFeatureAnnotationServiceClient_GetFeatureAnnotation_Call
- func (_c *MockFeatureAnnotationServiceClient_GetFeatureAnnotation_Call) Return(featureAnnotation *feature_annotation.FeatureAnnotation, err error) *MockFeatureAnnotationServiceClient_GetFeatureAnnotation_Call
- func (_c *MockFeatureAnnotationServiceClient_GetFeatureAnnotation_Call) Run(run func(ctx context.Context, in *feature_annotation.FeatureAnnotationId, ...)) *MockFeatureAnnotationServiceClient_GetFeatureAnnotation_Call
- func (_c *MockFeatureAnnotationServiceClient_GetFeatureAnnotation_Call) RunAndReturn(...) *MockFeatureAnnotationServiceClient_GetFeatureAnnotation_Call
- type MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByDOI_Call
- func (_c *MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByDOI_Call) Return(featureAnnotationCollection *feature_annotation.FeatureAnnotationCollection, ...) *MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByDOI_Call
- func (_c *MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByDOI_Call) Run(...) *MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByDOI_Call
- func (_c *MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByDOI_Call) RunAndReturn(...) *MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByDOI_Call
- type MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByPubmedId_Call
- func (_c *MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByPubmedId_Call) Return(featureAnnotationCollection *feature_annotation.FeatureAnnotationCollection, ...) *MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByPubmedId_Call
- func (_c *MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByPubmedId_Call) Run(...) *MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByPubmedId_Call
- func (_c *MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByPubmedId_Call) RunAndReturn(...) *MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByPubmedId_Call
- type MockFeatureAnnotationServiceClient_RemoveTag_Call
- func (_c *MockFeatureAnnotationServiceClient_RemoveTag_Call) Return(featureAnnotation *feature_annotation.FeatureAnnotation, err error) *MockFeatureAnnotationServiceClient_RemoveTag_Call
- func (_c *MockFeatureAnnotationServiceClient_RemoveTag_Call) Run(run func(ctx context.Context, in *feature_annotation.RemoveTagRequest, ...)) *MockFeatureAnnotationServiceClient_RemoveTag_Call
- func (_c *MockFeatureAnnotationServiceClient_RemoveTag_Call) RunAndReturn(...) *MockFeatureAnnotationServiceClient_RemoveTag_Call
- type MockFeatureAnnotationServiceClient_RemoveTags_Call
- func (_c *MockFeatureAnnotationServiceClient_RemoveTags_Call) Return(featureAnnotation *feature_annotation.FeatureAnnotation, err error) *MockFeatureAnnotationServiceClient_RemoveTags_Call
- func (_c *MockFeatureAnnotationServiceClient_RemoveTags_Call) Run(run func(ctx context.Context, in *feature_annotation.RemoveTagsRequest, ...)) *MockFeatureAnnotationServiceClient_RemoveTags_Call
- func (_c *MockFeatureAnnotationServiceClient_RemoveTags_Call) RunAndReturn(...) *MockFeatureAnnotationServiceClient_RemoveTags_Call
- type MockFeatureAnnotationServiceClient_SetTags_Call
- func (_c *MockFeatureAnnotationServiceClient_SetTags_Call) Return(featureAnnotation *feature_annotation.FeatureAnnotation, err error) *MockFeatureAnnotationServiceClient_SetTags_Call
- func (_c *MockFeatureAnnotationServiceClient_SetTags_Call) Run(run func(ctx context.Context, in *feature_annotation.SetTagsRequest, ...)) *MockFeatureAnnotationServiceClient_SetTags_Call
- func (_c *MockFeatureAnnotationServiceClient_SetTags_Call) RunAndReturn(...) *MockFeatureAnnotationServiceClient_SetTags_Call
- type MockFeatureAnnotationServiceClient_UpdateFeatureAnnotation_Call
- func (_c *MockFeatureAnnotationServiceClient_UpdateFeatureAnnotation_Call) Return(featureAnnotation *feature_annotation.FeatureAnnotation, err error) *MockFeatureAnnotationServiceClient_UpdateFeatureAnnotation_Call
- func (_c *MockFeatureAnnotationServiceClient_UpdateFeatureAnnotation_Call) Run(...) *MockFeatureAnnotationServiceClient_UpdateFeatureAnnotation_Call
- func (_c *MockFeatureAnnotationServiceClient_UpdateFeatureAnnotation_Call) RunAndReturn(...) *MockFeatureAnnotationServiceClient_UpdateFeatureAnnotation_Call
- type MockFeatureAnnotationServiceClient_UpdateTag_Call
- func (_c *MockFeatureAnnotationServiceClient_UpdateTag_Call) Return(featureAnnotation *feature_annotation.FeatureAnnotation, err error) *MockFeatureAnnotationServiceClient_UpdateTag_Call
- func (_c *MockFeatureAnnotationServiceClient_UpdateTag_Call) Run(run func(ctx context.Context, in *feature_annotation.UpdateTagRequest, ...)) *MockFeatureAnnotationServiceClient_UpdateTag_Call
- func (_c *MockFeatureAnnotationServiceClient_UpdateTag_Call) RunAndReturn(...) *MockFeatureAnnotationServiceClient_UpdateTag_Call
- type OrderServiceClient
- func (_m *OrderServiceClient) AutocompleteOrder(ctx context.Context, in *order.AutocompleteParameters, opts ...grpc.CallOption) (*order.OrderSuggestionCollection, error)
- func (_m *OrderServiceClient) CreateOrder(ctx context.Context, in *order.NewOrder, opts ...grpc.CallOption) (*order.Order, error)
- func (_m *OrderServiceClient) GetOrder(ctx context.Context, in *order.OrderId, opts ...grpc.CallOption) (*order.Order, error)
- func (_m *OrderServiceClient) ListOrders(ctx context.Context, in *order.ListParameters, opts ...grpc.CallOption) (*order.OrderCollection, error)
- func (_m *OrderServiceClient) LoadOrder(ctx context.Context, in *order.ExistingOrder, opts ...grpc.CallOption) (*order.Order, error)
- func (_m *OrderServiceClient) PrepareForOrder(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error)
- func (_m *OrderServiceClient) UpdateOrder(ctx context.Context, in *order.OrderUpdate, opts ...grpc.CallOption) (*order.Order, error)
- type PermissionServiceClient
- func (_m *PermissionServiceClient) CreatePermission(ctx context.Context, in *user.CreatePermissionRequest, opts ...grpc.CallOption) (*user.Permission, error)
- func (_m *PermissionServiceClient) DeletePermission(ctx context.Context, in *jsonapi.DeleteRequest, opts ...grpc.CallOption) (*empty.Empty, error)
- func (_m *PermissionServiceClient) GetPermission(ctx context.Context, in *jsonapi.GetRequestWithFields, opts ...grpc.CallOption) (*user.Permission, error)
- func (_m *PermissionServiceClient) ListPermissions(ctx context.Context, in *jsonapi.SimpleListRequest, opts ...grpc.CallOption) (*user.PermissionCollection, error)
- func (_m *PermissionServiceClient) UpdatePermission(ctx context.Context, in *user.UpdatePermissionRequest, opts ...grpc.CallOption) (*user.Permission, error)
- type RoleServiceClient
- func (_m *RoleServiceClient) CreatePermissionRelationship(ctx context.Context, in *jsonapi.DataCollection, opts ...grpc.CallOption) (*empty.Empty, error)
- func (_m *RoleServiceClient) CreateRole(ctx context.Context, in *user.CreateRoleRequest, opts ...grpc.CallOption) (*user.Role, error)
- func (_m *RoleServiceClient) CreateUserRelationship(ctx context.Context, in *jsonapi.DataCollection, opts ...grpc.CallOption) (*empty.Empty, error)
- func (_m *RoleServiceClient) DeletePermissionRelationship(ctx context.Context, in *jsonapi.DataCollection, opts ...grpc.CallOption) (*empty.Empty, error)
- func (_m *RoleServiceClient) DeleteRole(ctx context.Context, in *jsonapi.DeleteRequest, opts ...grpc.CallOption) (*empty.Empty, error)
- func (_m *RoleServiceClient) DeleteUserRelationship(ctx context.Context, in *jsonapi.DataCollection, opts ...grpc.CallOption) (*empty.Empty, error)
- func (_m *RoleServiceClient) GetRelatedPermissions(ctx context.Context, in *jsonapi.RelationshipRequest, opts ...grpc.CallOption) (*user.PermissionCollection, error)
- func (_m *RoleServiceClient) GetRelatedUsers(ctx context.Context, in *jsonapi.RelationshipRequestWithPagination, ...) (*user.UserCollection, error)
- func (_m *RoleServiceClient) GetRole(ctx context.Context, in *jsonapi.GetRequest, opts ...grpc.CallOption) (*user.Role, error)
- func (_m *RoleServiceClient) ListRoles(ctx context.Context, in *jsonapi.SimpleListRequest, opts ...grpc.CallOption) (*user.RoleCollection, error)
- func (_m *RoleServiceClient) UpdatePermissionRelationship(ctx context.Context, in *jsonapi.DataCollection, opts ...grpc.CallOption) (*empty.Empty, error)
- func (_m *RoleServiceClient) UpdateRole(ctx context.Context, in *user.UpdateRoleRequest, opts ...grpc.CallOption) (*user.Role, error)
- func (_m *RoleServiceClient) UpdateUserRelationship(ctx context.Context, in *jsonapi.DataCollection, opts ...grpc.CallOption) (*empty.Empty, error)
- type StockServiceClient
- func (_mock *StockServiceClient) AutocompleteStock(ctx context.Context, in *stock.StockAutocompleteParameters, ...) (*stock.StockSuggestionCollection, error)
- func (_mock *StockServiceClient) CreatePlasmid(ctx context.Context, in *stock.NewPlasmid, opts ...grpc.CallOption) (*stock.Plasmid, error)
- func (_mock *StockServiceClient) CreateStrain(ctx context.Context, in *stock.NewStrain, opts ...grpc.CallOption) (*stock.Strain, error)
- func (_m *StockServiceClient) EXPECT() *StockServiceClient_Expecter
- func (_mock *StockServiceClient) GetPlasmid(ctx context.Context, in *stock.StockId, opts ...grpc.CallOption) (*stock.Plasmid, error)
- func (_mock *StockServiceClient) GetStrain(ctx context.Context, in *stock.StockId, opts ...grpc.CallOption) (*stock.Strain, error)
- func (_mock *StockServiceClient) ListPlasmids(ctx context.Context, in *stock.StockParameters, opts ...grpc.CallOption) (*stock.PlasmidCollection, error)
- func (_mock *StockServiceClient) ListStrains(ctx context.Context, in *stock.StockParameters, opts ...grpc.CallOption) (*stock.StrainCollection, error)
- func (_mock *StockServiceClient) ListStrainsByIds(ctx context.Context, in *stock.StockIdList, opts ...grpc.CallOption) (*stock.StrainList, error)
- func (_mock *StockServiceClient) LoadPlasmid(ctx context.Context, in *stock.ExistingPlasmid, opts ...grpc.CallOption) (*stock.Plasmid, error)
- func (_mock *StockServiceClient) LoadStrain(ctx context.Context, in *stock.ExistingStrain, opts ...grpc.CallOption) (*stock.Strain, error)
- func (_mock *StockServiceClient) OboJSONFileUpload(ctx context.Context, opts ...grpc.CallOption) (stock.StockService_OboJSONFileUploadClient, error)
- func (_mock *StockServiceClient) RemoveStock(ctx context.Context, in *stock.StockId, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (_mock *StockServiceClient) SearchStock(ctx context.Context, in *stock.StockSearchParameters, opts ...grpc.CallOption) (*stock.StockSearchResultCollection, error)
- func (_mock *StockServiceClient) UpdatePlasmid(ctx context.Context, in *stock.PlasmidUpdate, opts ...grpc.CallOption) (*stock.Plasmid, error)
- func (_mock *StockServiceClient) UpdateStrain(ctx context.Context, in *stock.StrainUpdate, opts ...grpc.CallOption) (*stock.Strain, error)
- type StockServiceClient_AutocompleteStock_Call
- func (_c *StockServiceClient_AutocompleteStock_Call) Return(stockSuggestionCollection *stock.StockSuggestionCollection, err error) *StockServiceClient_AutocompleteStock_Call
- func (_c *StockServiceClient_AutocompleteStock_Call) Run(run func(ctx context.Context, in *stock.StockAutocompleteParameters, ...)) *StockServiceClient_AutocompleteStock_Call
- func (_c *StockServiceClient_AutocompleteStock_Call) RunAndReturn(...) *StockServiceClient_AutocompleteStock_Call
- type StockServiceClient_CreatePlasmid_Call
- func (_c *StockServiceClient_CreatePlasmid_Call) Return(plasmid *stock.Plasmid, err error) *StockServiceClient_CreatePlasmid_Call
- func (_c *StockServiceClient_CreatePlasmid_Call) Run(run func(ctx context.Context, in *stock.NewPlasmid, opts ...grpc.CallOption)) *StockServiceClient_CreatePlasmid_Call
- func (_c *StockServiceClient_CreatePlasmid_Call) RunAndReturn(...) *StockServiceClient_CreatePlasmid_Call
- type StockServiceClient_CreateStrain_Call
- func (_c *StockServiceClient_CreateStrain_Call) Return(strain *stock.Strain, err error) *StockServiceClient_CreateStrain_Call
- func (_c *StockServiceClient_CreateStrain_Call) Run(run func(ctx context.Context, in *stock.NewStrain, opts ...grpc.CallOption)) *StockServiceClient_CreateStrain_Call
- func (_c *StockServiceClient_CreateStrain_Call) RunAndReturn(...) *StockServiceClient_CreateStrain_Call
- type StockServiceClient_Expecter
- func (_e *StockServiceClient_Expecter) AutocompleteStock(ctx interface{}, in interface{}, opts ...interface{}) *StockServiceClient_AutocompleteStock_Call
- func (_e *StockServiceClient_Expecter) CreatePlasmid(ctx interface{}, in interface{}, opts ...interface{}) *StockServiceClient_CreatePlasmid_Call
- func (_e *StockServiceClient_Expecter) CreateStrain(ctx interface{}, in interface{}, opts ...interface{}) *StockServiceClient_CreateStrain_Call
- func (_e *StockServiceClient_Expecter) GetPlasmid(ctx interface{}, in interface{}, opts ...interface{}) *StockServiceClient_GetPlasmid_Call
- func (_e *StockServiceClient_Expecter) GetStrain(ctx interface{}, in interface{}, opts ...interface{}) *StockServiceClient_GetStrain_Call
- func (_e *StockServiceClient_Expecter) ListPlasmids(ctx interface{}, in interface{}, opts ...interface{}) *StockServiceClient_ListPlasmids_Call
- func (_e *StockServiceClient_Expecter) ListStrains(ctx interface{}, in interface{}, opts ...interface{}) *StockServiceClient_ListStrains_Call
- func (_e *StockServiceClient_Expecter) ListStrainsByIds(ctx interface{}, in interface{}, opts ...interface{}) *StockServiceClient_ListStrainsByIds_Call
- func (_e *StockServiceClient_Expecter) LoadPlasmid(ctx interface{}, in interface{}, opts ...interface{}) *StockServiceClient_LoadPlasmid_Call
- func (_e *StockServiceClient_Expecter) LoadStrain(ctx interface{}, in interface{}, opts ...interface{}) *StockServiceClient_LoadStrain_Call
- func (_e *StockServiceClient_Expecter) OboJSONFileUpload(ctx interface{}, opts ...interface{}) *StockServiceClient_OboJSONFileUpload_Call
- func (_e *StockServiceClient_Expecter) RemoveStock(ctx interface{}, in interface{}, opts ...interface{}) *StockServiceClient_RemoveStock_Call
- func (_e *StockServiceClient_Expecter) SearchStock(ctx interface{}, in interface{}, opts ...interface{}) *StockServiceClient_SearchStock_Call
- func (_e *StockServiceClient_Expecter) UpdatePlasmid(ctx interface{}, in interface{}, opts ...interface{}) *StockServiceClient_UpdatePlasmid_Call
- func (_e *StockServiceClient_Expecter) UpdateStrain(ctx interface{}, in interface{}, opts ...interface{}) *StockServiceClient_UpdateStrain_Call
- type StockServiceClient_GetPlasmid_Call
- func (_c *StockServiceClient_GetPlasmid_Call) Return(plasmid *stock.Plasmid, err error) *StockServiceClient_GetPlasmid_Call
- func (_c *StockServiceClient_GetPlasmid_Call) Run(run func(ctx context.Context, in *stock.StockId, opts ...grpc.CallOption)) *StockServiceClient_GetPlasmid_Call
- func (_c *StockServiceClient_GetPlasmid_Call) RunAndReturn(...) *StockServiceClient_GetPlasmid_Call
- type StockServiceClient_GetStrain_Call
- func (_c *StockServiceClient_GetStrain_Call) Return(strain *stock.Strain, err error) *StockServiceClient_GetStrain_Call
- func (_c *StockServiceClient_GetStrain_Call) Run(run func(ctx context.Context, in *stock.StockId, opts ...grpc.CallOption)) *StockServiceClient_GetStrain_Call
- func (_c *StockServiceClient_GetStrain_Call) RunAndReturn(...) *StockServiceClient_GetStrain_Call
- type StockServiceClient_ListPlasmids_Call
- func (_c *StockServiceClient_ListPlasmids_Call) Return(plasmidCollection *stock.PlasmidCollection, err error) *StockServiceClient_ListPlasmids_Call
- func (_c *StockServiceClient_ListPlasmids_Call) Run(...) *StockServiceClient_ListPlasmids_Call
- func (_c *StockServiceClient_ListPlasmids_Call) RunAndReturn(...) *StockServiceClient_ListPlasmids_Call
- type StockServiceClient_ListStrainsByIds_Call
- func (_c *StockServiceClient_ListStrainsByIds_Call) Return(strainList *stock.StrainList, err error) *StockServiceClient_ListStrainsByIds_Call
- func (_c *StockServiceClient_ListStrainsByIds_Call) Run(run func(ctx context.Context, in *stock.StockIdList, opts ...grpc.CallOption)) *StockServiceClient_ListStrainsByIds_Call
- func (_c *StockServiceClient_ListStrainsByIds_Call) RunAndReturn(...) *StockServiceClient_ListStrainsByIds_Call
- type StockServiceClient_ListStrains_Call
- func (_c *StockServiceClient_ListStrains_Call) Return(strainCollection *stock.StrainCollection, err error) *StockServiceClient_ListStrains_Call
- func (_c *StockServiceClient_ListStrains_Call) Run(...) *StockServiceClient_ListStrains_Call
- func (_c *StockServiceClient_ListStrains_Call) RunAndReturn(...) *StockServiceClient_ListStrains_Call
- type StockServiceClient_LoadPlasmid_Call
- func (_c *StockServiceClient_LoadPlasmid_Call) Return(plasmid *stock.Plasmid, err error) *StockServiceClient_LoadPlasmid_Call
- func (_c *StockServiceClient_LoadPlasmid_Call) Run(...) *StockServiceClient_LoadPlasmid_Call
- func (_c *StockServiceClient_LoadPlasmid_Call) RunAndReturn(...) *StockServiceClient_LoadPlasmid_Call
- type StockServiceClient_LoadStrain_Call
- func (_c *StockServiceClient_LoadStrain_Call) Return(strain *stock.Strain, err error) *StockServiceClient_LoadStrain_Call
- func (_c *StockServiceClient_LoadStrain_Call) Run(...) *StockServiceClient_LoadStrain_Call
- func (_c *StockServiceClient_LoadStrain_Call) RunAndReturn(...) *StockServiceClient_LoadStrain_Call
- type StockServiceClient_OboJSONFileUpload_Call
- func (_c *StockServiceClient_OboJSONFileUpload_Call) Return(...) *StockServiceClient_OboJSONFileUpload_Call
- func (_c *StockServiceClient_OboJSONFileUpload_Call) Run(run func(ctx context.Context, opts ...grpc.CallOption)) *StockServiceClient_OboJSONFileUpload_Call
- func (_c *StockServiceClient_OboJSONFileUpload_Call) RunAndReturn(...) *StockServiceClient_OboJSONFileUpload_Call
- type StockServiceClient_RemoveStock_Call
- func (_c *StockServiceClient_RemoveStock_Call) Return(empty *emptypb.Empty, err error) *StockServiceClient_RemoveStock_Call
- func (_c *StockServiceClient_RemoveStock_Call) Run(run func(ctx context.Context, in *stock.StockId, opts ...grpc.CallOption)) *StockServiceClient_RemoveStock_Call
- func (_c *StockServiceClient_RemoveStock_Call) RunAndReturn(...) *StockServiceClient_RemoveStock_Call
- type StockServiceClient_SearchStock_Call
- func (_c *StockServiceClient_SearchStock_Call) Return(stockSearchResultCollection *stock.StockSearchResultCollection, err error) *StockServiceClient_SearchStock_Call
- func (_c *StockServiceClient_SearchStock_Call) Run(...) *StockServiceClient_SearchStock_Call
- func (_c *StockServiceClient_SearchStock_Call) RunAndReturn(...) *StockServiceClient_SearchStock_Call
- type StockServiceClient_UpdatePlasmid_Call
- func (_c *StockServiceClient_UpdatePlasmid_Call) Return(plasmid *stock.Plasmid, err error) *StockServiceClient_UpdatePlasmid_Call
- func (_c *StockServiceClient_UpdatePlasmid_Call) Run(...) *StockServiceClient_UpdatePlasmid_Call
- func (_c *StockServiceClient_UpdatePlasmid_Call) RunAndReturn(...) *StockServiceClient_UpdatePlasmid_Call
- type StockServiceClient_UpdateStrain_Call
- func (_c *StockServiceClient_UpdateStrain_Call) Return(strain *stock.Strain, err error) *StockServiceClient_UpdateStrain_Call
- func (_c *StockServiceClient_UpdateStrain_Call) Run(run func(ctx context.Context, in *stock.StrainUpdate, opts ...grpc.CallOption)) *StockServiceClient_UpdateStrain_Call
- func (_c *StockServiceClient_UpdateStrain_Call) RunAndReturn(...) *StockServiceClient_UpdateStrain_Call
- type TaggedAnnotationServiceClient
- func (_mock *TaggedAnnotationServiceClient) AddToAnnotationGroup(ctx context.Context, in *annotation.AnnotationGroupId, opts ...grpc.CallOption) (*annotation.TaggedAnnotationGroup, error)
- func (_mock *TaggedAnnotationServiceClient) AutocompleteAnnotation(ctx context.Context, in *annotation.AnnotationAutocompleteParameters, ...) (*annotation.AnnotationSuggestionCollection, error)
- func (_mock *TaggedAnnotationServiceClient) CreateAnnotation(ctx context.Context, in *annotation.NewTaggedAnnotation, ...) (*annotation.TaggedAnnotation, error)
- func (_mock *TaggedAnnotationServiceClient) CreateAnnotationGroup(ctx context.Context, in *annotation.AnnotationIdList, opts ...grpc.CallOption) (*annotation.TaggedAnnotationGroup, error)
- func (_mock *TaggedAnnotationServiceClient) DeleteAnnotation(ctx context.Context, in *annotation.DeleteAnnotationRequest, ...) (*emptypb.Empty, error)
- func (_mock *TaggedAnnotationServiceClient) DeleteAnnotationGroup(ctx context.Context, in *annotation.GroupEntryId, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (_m *TaggedAnnotationServiceClient) EXPECT() *TaggedAnnotationServiceClient_Expecter
- func (_mock *TaggedAnnotationServiceClient) GetAnnotation(ctx context.Context, in *annotation.AnnotationId, opts ...grpc.CallOption) (*annotation.TaggedAnnotation, error)
- func (_mock *TaggedAnnotationServiceClient) GetAnnotationGroup(ctx context.Context, in *annotation.GroupEntryId, opts ...grpc.CallOption) (*annotation.TaggedAnnotationGroup, error)
- func (_mock *TaggedAnnotationServiceClient) GetAnnotationTag(ctx context.Context, in *annotation.TagRequest, opts ...grpc.CallOption) (*annotation.AnnotationTag, error)
- func (_mock *TaggedAnnotationServiceClient) GetEntryAnnotation(ctx context.Context, in *annotation.EntryAnnotationRequest, ...) (*annotation.TaggedAnnotation, error)
- func (_mock *TaggedAnnotationServiceClient) ListAnnotationGroups(ctx context.Context, in *annotation.ListGroupParameters, ...) (*annotation.TaggedAnnotationGroupCollection, error)
- func (_mock *TaggedAnnotationServiceClient) ListAnnotations(ctx context.Context, in *annotation.ListParameters, opts ...grpc.CallOption) (*annotation.TaggedAnnotationCollection, error)
- func (_mock *TaggedAnnotationServiceClient) OboJSONFileUpload(ctx context.Context, opts ...grpc.CallOption) (annotation.TaggedAnnotationService_OboJSONFileUploadClient, error)
- func (_mock *TaggedAnnotationServiceClient) SearchAnnotation(ctx context.Context, in *annotation.AnnotationSearchParameters, ...) (*annotation.AnnotationSearchResultCollection, error)
- func (_mock *TaggedAnnotationServiceClient) UpdateAnnotation(ctx context.Context, in *annotation.TaggedAnnotationUpdate, ...) (*annotation.TaggedAnnotation, error)
- type TaggedAnnotationServiceClient_AddToAnnotationGroup_Call
- func (_c *TaggedAnnotationServiceClient_AddToAnnotationGroup_Call) Return(taggedAnnotationGroup *annotation.TaggedAnnotationGroup, err error) *TaggedAnnotationServiceClient_AddToAnnotationGroup_Call
- func (_c *TaggedAnnotationServiceClient_AddToAnnotationGroup_Call) Run(...) *TaggedAnnotationServiceClient_AddToAnnotationGroup_Call
- func (_c *TaggedAnnotationServiceClient_AddToAnnotationGroup_Call) RunAndReturn(...) *TaggedAnnotationServiceClient_AddToAnnotationGroup_Call
- type TaggedAnnotationServiceClient_AutocompleteAnnotation_Call
- func (_c *TaggedAnnotationServiceClient_AutocompleteAnnotation_Call) Return(annotationSuggestionCollection *annotation.AnnotationSuggestionCollection, ...) *TaggedAnnotationServiceClient_AutocompleteAnnotation_Call
- func (_c *TaggedAnnotationServiceClient_AutocompleteAnnotation_Call) Run(...) *TaggedAnnotationServiceClient_AutocompleteAnnotation_Call
- func (_c *TaggedAnnotationServiceClient_AutocompleteAnnotation_Call) RunAndReturn(...) *TaggedAnnotationServiceClient_AutocompleteAnnotation_Call
- type TaggedAnnotationServiceClient_CreateAnnotationGroup_Call
- func (_c *TaggedAnnotationServiceClient_CreateAnnotationGroup_Call) Return(taggedAnnotationGroup *annotation.TaggedAnnotationGroup, err error) *TaggedAnnotationServiceClient_CreateAnnotationGroup_Call
- func (_c *TaggedAnnotationServiceClient_CreateAnnotationGroup_Call) Run(...) *TaggedAnnotationServiceClient_CreateAnnotationGroup_Call
- func (_c *TaggedAnnotationServiceClient_CreateAnnotationGroup_Call) RunAndReturn(...) *TaggedAnnotationServiceClient_CreateAnnotationGroup_Call
- type TaggedAnnotationServiceClient_CreateAnnotation_Call
- func (_c *TaggedAnnotationServiceClient_CreateAnnotation_Call) Return(taggedAnnotation *annotation.TaggedAnnotation, err error) *TaggedAnnotationServiceClient_CreateAnnotation_Call
- func (_c *TaggedAnnotationServiceClient_CreateAnnotation_Call) Run(run func(ctx context.Context, in *annotation.NewTaggedAnnotation, ...)) *TaggedAnnotationServiceClient_CreateAnnotation_Call
- func (_c *TaggedAnnotationServiceClient_CreateAnnotation_Call) RunAndReturn(...) *TaggedAnnotationServiceClient_CreateAnnotation_Call
- type TaggedAnnotationServiceClient_DeleteAnnotationGroup_Call
- func (_c *TaggedAnnotationServiceClient_DeleteAnnotationGroup_Call) Return(empty *emptypb.Empty, err error) *TaggedAnnotationServiceClient_DeleteAnnotationGroup_Call
- func (_c *TaggedAnnotationServiceClient_DeleteAnnotationGroup_Call) Run(...) *TaggedAnnotationServiceClient_DeleteAnnotationGroup_Call
- func (_c *TaggedAnnotationServiceClient_DeleteAnnotationGroup_Call) RunAndReturn(...) *TaggedAnnotationServiceClient_DeleteAnnotationGroup_Call
- type TaggedAnnotationServiceClient_DeleteAnnotation_Call
- func (_c *TaggedAnnotationServiceClient_DeleteAnnotation_Call) Return(empty *emptypb.Empty, err error) *TaggedAnnotationServiceClient_DeleteAnnotation_Call
- func (_c *TaggedAnnotationServiceClient_DeleteAnnotation_Call) Run(run func(ctx context.Context, in *annotation.DeleteAnnotationRequest, ...)) *TaggedAnnotationServiceClient_DeleteAnnotation_Call
- func (_c *TaggedAnnotationServiceClient_DeleteAnnotation_Call) RunAndReturn(...) *TaggedAnnotationServiceClient_DeleteAnnotation_Call
- type TaggedAnnotationServiceClient_Expecter
- func (_e *TaggedAnnotationServiceClient_Expecter) AddToAnnotationGroup(ctx interface{}, in interface{}, opts ...interface{}) *TaggedAnnotationServiceClient_AddToAnnotationGroup_Call
- func (_e *TaggedAnnotationServiceClient_Expecter) AutocompleteAnnotation(ctx interface{}, in interface{}, opts ...interface{}) *TaggedAnnotationServiceClient_AutocompleteAnnotation_Call
- func (_e *TaggedAnnotationServiceClient_Expecter) CreateAnnotation(ctx interface{}, in interface{}, opts ...interface{}) *TaggedAnnotationServiceClient_CreateAnnotation_Call
- func (_e *TaggedAnnotationServiceClient_Expecter) CreateAnnotationGroup(ctx interface{}, in interface{}, opts ...interface{}) *TaggedAnnotationServiceClient_CreateAnnotationGroup_Call
- func (_e *TaggedAnnotationServiceClient_Expecter) DeleteAnnotation(ctx interface{}, in interface{}, opts ...interface{}) *TaggedAnnotationServiceClient_DeleteAnnotation_Call
- func (_e *TaggedAnnotationServiceClient_Expecter) DeleteAnnotationGroup(ctx interface{}, in interface{}, opts ...interface{}) *TaggedAnnotationServiceClient_DeleteAnnotationGroup_Call
- func (_e *TaggedAnnotationServiceClient_Expecter) GetAnnotation(ctx interface{}, in interface{}, opts ...interface{}) *TaggedAnnotationServiceClient_GetAnnotation_Call
- func (_e *TaggedAnnotationServiceClient_Expecter) GetAnnotationGroup(ctx interface{}, in interface{}, opts ...interface{}) *TaggedAnnotationServiceClient_GetAnnotationGroup_Call
- func (_e *TaggedAnnotationServiceClient_Expecter) GetAnnotationTag(ctx interface{}, in interface{}, opts ...interface{}) *TaggedAnnotationServiceClient_GetAnnotationTag_Call
- func (_e *TaggedAnnotationServiceClient_Expecter) GetEntryAnnotation(ctx interface{}, in interface{}, opts ...interface{}) *TaggedAnnotationServiceClient_GetEntryAnnotation_Call
- func (_e *TaggedAnnotationServiceClient_Expecter) ListAnnotationGroups(ctx interface{}, in interface{}, opts ...interface{}) *TaggedAnnotationServiceClient_ListAnnotationGroups_Call
- func (_e *TaggedAnnotationServiceClient_Expecter) ListAnnotations(ctx interface{}, in interface{}, opts ...interface{}) *TaggedAnnotationServiceClient_ListAnnotations_Call
- func (_e *TaggedAnnotationServiceClient_Expecter) OboJSONFileUpload(ctx interface{}, opts ...interface{}) *TaggedAnnotationServiceClient_OboJSONFileUpload_Call
- func (_e *TaggedAnnotationServiceClient_Expecter) SearchAnnotation(ctx interface{}, in interface{}, opts ...interface{}) *TaggedAnnotationServiceClient_SearchAnnotation_Call
- func (_e *TaggedAnnotationServiceClient_Expecter) UpdateAnnotation(ctx interface{}, in interface{}, opts ...interface{}) *TaggedAnnotationServiceClient_UpdateAnnotation_Call
- type TaggedAnnotationServiceClient_GetAnnotationGroup_Call
- func (_c *TaggedAnnotationServiceClient_GetAnnotationGroup_Call) Return(taggedAnnotationGroup *annotation.TaggedAnnotationGroup, err error) *TaggedAnnotationServiceClient_GetAnnotationGroup_Call
- func (_c *TaggedAnnotationServiceClient_GetAnnotationGroup_Call) Run(...) *TaggedAnnotationServiceClient_GetAnnotationGroup_Call
- func (_c *TaggedAnnotationServiceClient_GetAnnotationGroup_Call) RunAndReturn(...) *TaggedAnnotationServiceClient_GetAnnotationGroup_Call
- type TaggedAnnotationServiceClient_GetAnnotationTag_Call
- func (_c *TaggedAnnotationServiceClient_GetAnnotationTag_Call) Return(annotationTag *annotation.AnnotationTag, err error) *TaggedAnnotationServiceClient_GetAnnotationTag_Call
- func (_c *TaggedAnnotationServiceClient_GetAnnotationTag_Call) Run(...) *TaggedAnnotationServiceClient_GetAnnotationTag_Call
- func (_c *TaggedAnnotationServiceClient_GetAnnotationTag_Call) RunAndReturn(...) *TaggedAnnotationServiceClient_GetAnnotationTag_Call
- type TaggedAnnotationServiceClient_GetAnnotation_Call
- func (_c *TaggedAnnotationServiceClient_GetAnnotation_Call) Return(taggedAnnotation *annotation.TaggedAnnotation, err error) *TaggedAnnotationServiceClient_GetAnnotation_Call
- func (_c *TaggedAnnotationServiceClient_GetAnnotation_Call) Run(...) *TaggedAnnotationServiceClient_GetAnnotation_Call
- func (_c *TaggedAnnotationServiceClient_GetAnnotation_Call) RunAndReturn(...) *TaggedAnnotationServiceClient_GetAnnotation_Call
- type TaggedAnnotationServiceClient_GetEntryAnnotation_Call
- func (_c *TaggedAnnotationServiceClient_GetEntryAnnotation_Call) Return(taggedAnnotation *annotation.TaggedAnnotation, err error) *TaggedAnnotationServiceClient_GetEntryAnnotation_Call
- func (_c *TaggedAnnotationServiceClient_GetEntryAnnotation_Call) Run(run func(ctx context.Context, in *annotation.EntryAnnotationRequest, ...)) *TaggedAnnotationServiceClient_GetEntryAnnotation_Call
- func (_c *TaggedAnnotationServiceClient_GetEntryAnnotation_Call) RunAndReturn(...) *TaggedAnnotationServiceClient_GetEntryAnnotation_Call
- type TaggedAnnotationServiceClient_ListAnnotationGroups_Call
- func (_c *TaggedAnnotationServiceClient_ListAnnotationGroups_Call) Return(taggedAnnotationGroupCollection *annotation.TaggedAnnotationGroupCollection, ...) *TaggedAnnotationServiceClient_ListAnnotationGroups_Call
- func (_c *TaggedAnnotationServiceClient_ListAnnotationGroups_Call) Run(run func(ctx context.Context, in *annotation.ListGroupParameters, ...)) *TaggedAnnotationServiceClient_ListAnnotationGroups_Call
- func (_c *TaggedAnnotationServiceClient_ListAnnotationGroups_Call) RunAndReturn(...) *TaggedAnnotationServiceClient_ListAnnotationGroups_Call
- type TaggedAnnotationServiceClient_ListAnnotations_Call
- func (_c *TaggedAnnotationServiceClient_ListAnnotations_Call) Return(taggedAnnotationCollection *annotation.TaggedAnnotationCollection, err error) *TaggedAnnotationServiceClient_ListAnnotations_Call
- func (_c *TaggedAnnotationServiceClient_ListAnnotations_Call) Run(...) *TaggedAnnotationServiceClient_ListAnnotations_Call
- func (_c *TaggedAnnotationServiceClient_ListAnnotations_Call) RunAndReturn(...) *TaggedAnnotationServiceClient_ListAnnotations_Call
- type TaggedAnnotationServiceClient_OboJSONFileUpload_Call
- func (_c *TaggedAnnotationServiceClient_OboJSONFileUpload_Call) Return(...) *TaggedAnnotationServiceClient_OboJSONFileUpload_Call
- func (_c *TaggedAnnotationServiceClient_OboJSONFileUpload_Call) Run(run func(ctx context.Context, opts ...grpc.CallOption)) *TaggedAnnotationServiceClient_OboJSONFileUpload_Call
- func (_c *TaggedAnnotationServiceClient_OboJSONFileUpload_Call) RunAndReturn(...) *TaggedAnnotationServiceClient_OboJSONFileUpload_Call
- type TaggedAnnotationServiceClient_SearchAnnotation_Call
- func (_c *TaggedAnnotationServiceClient_SearchAnnotation_Call) Return(annotationSearchResultCollection *annotation.AnnotationSearchResultCollection, ...) *TaggedAnnotationServiceClient_SearchAnnotation_Call
- func (_c *TaggedAnnotationServiceClient_SearchAnnotation_Call) Run(run func(ctx context.Context, in *annotation.AnnotationSearchParameters, ...)) *TaggedAnnotationServiceClient_SearchAnnotation_Call
- func (_c *TaggedAnnotationServiceClient_SearchAnnotation_Call) RunAndReturn(...) *TaggedAnnotationServiceClient_SearchAnnotation_Call
- type TaggedAnnotationServiceClient_UpdateAnnotation_Call
- func (_c *TaggedAnnotationServiceClient_UpdateAnnotation_Call) Return(taggedAnnotation *annotation.TaggedAnnotation, err error) *TaggedAnnotationServiceClient_UpdateAnnotation_Call
- func (_c *TaggedAnnotationServiceClient_UpdateAnnotation_Call) Run(run func(ctx context.Context, in *annotation.TaggedAnnotationUpdate, ...)) *TaggedAnnotationServiceClient_UpdateAnnotation_Call
- func (_c *TaggedAnnotationServiceClient_UpdateAnnotation_Call) RunAndReturn(...) *TaggedAnnotationServiceClient_UpdateAnnotation_Call
- type UserServiceClient
- func (_m *UserServiceClient) CreateRoleRelationship(ctx context.Context, in *jsonapi.DataCollection, opts ...grpc.CallOption) (*empty.Empty, error)
- func (_m *UserServiceClient) CreateUser(ctx context.Context, in *user.CreateUserRequest, opts ...grpc.CallOption) (*user.User, error)
- func (_m *UserServiceClient) DeleteRoleRelationship(ctx context.Context, in *jsonapi.DataCollection, opts ...grpc.CallOption) (*empty.Empty, error)
- func (_m *UserServiceClient) DeleteUser(ctx context.Context, in *jsonapi.DeleteRequest, opts ...grpc.CallOption) (*empty.Empty, error)
- func (_m *UserServiceClient) ExistUser(ctx context.Context, in *jsonapi.IdRequest, opts ...grpc.CallOption) (*jsonapi.ExistResponse, error)
- func (_m *UserServiceClient) GetRelatedRoles(ctx context.Context, in *jsonapi.RelationshipRequest, opts ...grpc.CallOption) (*user.RoleCollection, error)
- func (_m *UserServiceClient) GetUser(ctx context.Context, in *jsonapi.GetRequest, opts ...grpc.CallOption) (*user.User, error)
- func (_m *UserServiceClient) GetUserByEmail(ctx context.Context, in *jsonapi.GetEmailRequest, opts ...grpc.CallOption) (*user.User, error)
- func (_m *UserServiceClient) Healthz(ctx context.Context, in *jsonapi.HealthzIdRequest, opts ...grpc.CallOption) (*empty.Empty, error)
- func (_m *UserServiceClient) ListUsers(ctx context.Context, in *jsonapi.ListRequest, opts ...grpc.CallOption) (*user.UserCollection, error)
- func (_m *UserServiceClient) UpdateRoleRelationship(ctx context.Context, in *jsonapi.DataCollection, opts ...grpc.CallOption) (*empty.Empty, error)
- func (_m *UserServiceClient) UpdateUser(ctx context.Context, in *user.UpdateUserRequest, opts ...grpc.CallOption) (*user.User, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContentServiceClient ¶
ContentServiceClient is an autogenerated mock type for the ContentServiceClient type
func NewContentServiceClient ¶
func NewContentServiceClient(t interface {
mock.TestingT
Cleanup(func())
},
) *ContentServiceClient
NewContentServiceClient creates a new instance of ContentServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ContentServiceClient) DeleteContent ¶
func (_m *ContentServiceClient) DeleteContent(ctx context.Context, in *content.ContentIdRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
DeleteContent provides a mock function with given fields: ctx, in, opts
func (*ContentServiceClient) GetContent ¶
func (_m *ContentServiceClient) GetContent(ctx context.Context, in *content.ContentIdRequest, opts ...grpc.CallOption) (*content.Content, error)
GetContent provides a mock function with given fields: ctx, in, opts
func (*ContentServiceClient) GetContentBySlug ¶
func (_m *ContentServiceClient) GetContentBySlug(ctx context.Context, in *content.ContentRequest, opts ...grpc.CallOption) (*content.Content, error)
GetContentBySlug provides a mock function with given fields: ctx, in, opts
func (*ContentServiceClient) ListContents ¶
func (_m *ContentServiceClient) ListContents(ctx context.Context, in *content.ListParameters, opts ...grpc.CallOption) (*content.ContentCollection, error)
ListContents provides a mock function with given fields: ctx, in, opts
func (*ContentServiceClient) StoreContent ¶
func (_m *ContentServiceClient) StoreContent(ctx context.Context, in *content.StoreContentRequest, opts ...grpc.CallOption) (*content.Content, error)
StoreContent provides a mock function with given fields: ctx, in, opts
func (*ContentServiceClient) UpdateContent ¶
func (_m *ContentServiceClient) UpdateContent(ctx context.Context, in *content.UpdateContentRequest, opts ...grpc.CallOption) (*content.Content, error)
UpdateContent provides a mock function with given fields: ctx, in, opts
type IdentityServiceClient ¶
IdentityServiceClient is an autogenerated mock type for the IdentityServiceClient type
func (*IdentityServiceClient) CreateIdentity ¶
func (_m *IdentityServiceClient) CreateIdentity(ctx context.Context, in *identity.CreateIdentityReq, opts ...grpc.CallOption) (*identity.Identity, error)
CreateIdentity provides a mock function with given fields: ctx, in, opts
func (*IdentityServiceClient) DeleteIdentity ¶
func (_m *IdentityServiceClient) DeleteIdentity(ctx context.Context, in *jsonapi.IdRequest, opts ...grpc.CallOption) (*empty.Empty, error)
DeleteIdentity provides a mock function with given fields: ctx, in, opts
func (*IdentityServiceClient) ExistProviderIdentity ¶
func (_m *IdentityServiceClient) ExistProviderIdentity(ctx context.Context, in *identity.IdentityProviderReq, opts ...grpc.CallOption) (*jsonapi.ExistResponse, error)
ExistProviderIdentity provides a mock function with given fields: ctx, in, opts
func (*IdentityServiceClient) GetIdentity ¶
func (_m *IdentityServiceClient) GetIdentity(ctx context.Context, in *jsonapi.IdRequest, opts ...grpc.CallOption) (*identity.Identity, error)
GetIdentity provides a mock function with given fields: ctx, in, opts
func (*IdentityServiceClient) GetIdentityFromProvider ¶
func (_m *IdentityServiceClient) GetIdentityFromProvider(ctx context.Context, in *identity.IdentityProviderReq, opts ...grpc.CallOption) (*identity.Identity, error)
GetIdentityFromProvider provides a mock function with given fields: ctx, in, opts
func (*IdentityServiceClient) Healthz ¶
func (_m *IdentityServiceClient) Healthz(ctx context.Context, in *jsonapi.HealthzIdRequest, opts ...grpc.CallOption) (*empty.Empty, error)
Healthz provides a mock function with given fields: ctx, in, opts
type LogtoClient ¶
LogtoClient is an autogenerated mock type for the LogtoClient type
func NewLogtoClient ¶
func NewLogtoClient(t mockConstructorTestingTNewLogtoClient) *LogtoClient
NewLogtoClient creates a new instance of LogtoClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*LogtoClient) AccessToken ¶
func (_m *LogtoClient) AccessToken() (*authentication.AccessTokenResp, error)
AccessToken provides a mock function with given fields:
func (*LogtoClient) AddCustomUserInformation ¶
func (_m *LogtoClient) AddCustomUserInformation(_a0 string, _a1 string, _a2 *authentication.APIUsersPatchCustomData) error
AddCustomUserInformation provides a mock function with given fields: _a0, _a1, _a2
func (*LogtoClient) CheckUser ¶
func (_m *LogtoClient) CheckUser(_a0 string) (bool, string, error)
CheckUser provides a mock function with given fields: _a0
func (*LogtoClient) CheckUserWithUserName ¶
func (_m *LogtoClient) CheckUserWithUserName(_a0 string) (bool, string, error)
CheckUserWithUserName provides a mock function with given fields: _a0
func (*LogtoClient) CreateUser ¶
func (_m *LogtoClient) CreateUser(_a0 string, _a1 *authentication.APIUsersPostReq) (string, error)
CreateUser provides a mock function with given fields: _a0, _a1
func (*LogtoClient) Permissions ¶
func (_m *LogtoClient) Permissions(_a0 string) ([]*authentication.PermissionResp, error)
Permissions provides a mock function with given fields: _a0
func (*LogtoClient) Roles ¶
func (_m *LogtoClient) Roles(_a0 string) ([]*authentication.RoleResp, error)
Roles provides a mock function with given fields: _a0
func (*LogtoClient) User ¶
func (_m *LogtoClient) User(_a0 string) (*authentication.UserResp, error)
User provides a mock function with given fields: _a0
func (*LogtoClient) UserWithEmail ¶
func (_m *LogtoClient) UserWithEmail(_a0 string) (*authentication.UserResp, error)
UserWithEmail provides a mock function with given fields: _a0
type MockFeatureAnnotationServiceClient ¶
MockFeatureAnnotationServiceClient is an autogenerated mock type for the FeatureAnnotationServiceClient type
func NewMockFeatureAnnotationServiceClient ¶
func NewMockFeatureAnnotationServiceClient(t interface {
mock.TestingT
Cleanup(func())
}) *MockFeatureAnnotationServiceClient
NewMockFeatureAnnotationServiceClient creates a new instance of MockFeatureAnnotationServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockFeatureAnnotationServiceClient) AddTag ¶
func (_mock *MockFeatureAnnotationServiceClient) AddTag(ctx context.Context, in *feature_annotation.AddTagRequest, opts ...grpc.CallOption) (*feature_annotation.FeatureAnnotation, error)
AddTag provides a mock function for the type MockFeatureAnnotationServiceClient
func (*MockFeatureAnnotationServiceClient) AddTags ¶
func (_mock *MockFeatureAnnotationServiceClient) AddTags(ctx context.Context, in *feature_annotation.AddTagsRequest, opts ...grpc.CallOption) (*feature_annotation.FeatureAnnotation, error)
AddTags provides a mock function for the type MockFeatureAnnotationServiceClient
func (*MockFeatureAnnotationServiceClient) CreateFeatureAnnotation ¶
func (_mock *MockFeatureAnnotationServiceClient) CreateFeatureAnnotation(ctx context.Context, in *feature_annotation.NewFeatureAnnotation, opts ...grpc.CallOption) (*feature_annotation.FeatureAnnotation, error)
CreateFeatureAnnotation provides a mock function for the type MockFeatureAnnotationServiceClient
func (*MockFeatureAnnotationServiceClient) DeleteFeatureAnnotation ¶
func (_mock *MockFeatureAnnotationServiceClient) DeleteFeatureAnnotation(ctx context.Context, in *feature_annotation.DeleteFeatureAnnotationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
DeleteFeatureAnnotation provides a mock function for the type MockFeatureAnnotationServiceClient
func (*MockFeatureAnnotationServiceClient) EXPECT ¶
func (_m *MockFeatureAnnotationServiceClient) EXPECT() *MockFeatureAnnotationServiceClient_Expecter
func (*MockFeatureAnnotationServiceClient) GetFeatureAnnotation ¶
func (_mock *MockFeatureAnnotationServiceClient) GetFeatureAnnotation(ctx context.Context, in *feature_annotation.FeatureAnnotationId, opts ...grpc.CallOption) (*feature_annotation.FeatureAnnotation, error)
GetFeatureAnnotation provides a mock function for the type MockFeatureAnnotationServiceClient
func (*MockFeatureAnnotationServiceClient) GetFeatureAnnotationByName ¶
func (_mock *MockFeatureAnnotationServiceClient) GetFeatureAnnotationByName(ctx context.Context, in *feature_annotation.FeatureName, opts ...grpc.CallOption) (*feature_annotation.FeatureAnnotation, error)
GetFeatureAnnotationByName provides a mock function for the type MockFeatureAnnotationServiceClient
func (*MockFeatureAnnotationServiceClient) ListFeatureAnnotationsByDOI ¶
func (_mock *MockFeatureAnnotationServiceClient) ListFeatureAnnotationsByDOI(ctx context.Context, in *feature_annotation.DOI, opts ...grpc.CallOption) (*feature_annotation.FeatureAnnotationCollection, error)
ListFeatureAnnotationsByDOI provides a mock function for the type MockFeatureAnnotationServiceClient
func (*MockFeatureAnnotationServiceClient) ListFeatureAnnotationsByPubmedId ¶
func (_mock *MockFeatureAnnotationServiceClient) ListFeatureAnnotationsByPubmedId(ctx context.Context, in *feature_annotation.PubmedId, opts ...grpc.CallOption) (*feature_annotation.FeatureAnnotationCollection, error)
ListFeatureAnnotationsByPubmedId provides a mock function for the type MockFeatureAnnotationServiceClient
func (*MockFeatureAnnotationServiceClient) RemoveTag ¶
func (_mock *MockFeatureAnnotationServiceClient) RemoveTag(ctx context.Context, in *feature_annotation.RemoveTagRequest, opts ...grpc.CallOption) (*feature_annotation.FeatureAnnotation, error)
RemoveTag provides a mock function for the type MockFeatureAnnotationServiceClient
func (*MockFeatureAnnotationServiceClient) RemoveTags ¶
func (_mock *MockFeatureAnnotationServiceClient) RemoveTags(ctx context.Context, in *feature_annotation.RemoveTagsRequest, opts ...grpc.CallOption) (*feature_annotation.FeatureAnnotation, error)
RemoveTags provides a mock function for the type MockFeatureAnnotationServiceClient
func (*MockFeatureAnnotationServiceClient) SetTags ¶
func (_mock *MockFeatureAnnotationServiceClient) SetTags(ctx context.Context, in *feature_annotation.SetTagsRequest, opts ...grpc.CallOption) (*feature_annotation.FeatureAnnotation, error)
SetTags provides a mock function for the type MockFeatureAnnotationServiceClient
func (*MockFeatureAnnotationServiceClient) UpdateFeatureAnnotation ¶
func (_mock *MockFeatureAnnotationServiceClient) UpdateFeatureAnnotation(ctx context.Context, in *feature_annotation.FeatureAnnotationUpdate, opts ...grpc.CallOption) (*feature_annotation.FeatureAnnotation, error)
UpdateFeatureAnnotation provides a mock function for the type MockFeatureAnnotationServiceClient
func (*MockFeatureAnnotationServiceClient) UpdateTag ¶
func (_mock *MockFeatureAnnotationServiceClient) UpdateTag(ctx context.Context, in *feature_annotation.UpdateTagRequest, opts ...grpc.CallOption) (*feature_annotation.FeatureAnnotation, error)
UpdateTag provides a mock function for the type MockFeatureAnnotationServiceClient
type MockFeatureAnnotationServiceClient_AddTag_Call ¶
MockFeatureAnnotationServiceClient_AddTag_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddTag'
func (*MockFeatureAnnotationServiceClient_AddTag_Call) Return ¶
func (_c *MockFeatureAnnotationServiceClient_AddTag_Call) Return(featureAnnotation *feature_annotation.FeatureAnnotation, err error) *MockFeatureAnnotationServiceClient_AddTag_Call
func (*MockFeatureAnnotationServiceClient_AddTag_Call) Run ¶
func (_c *MockFeatureAnnotationServiceClient_AddTag_Call) Run(run func(ctx context.Context, in *feature_annotation.AddTagRequest, opts ...grpc.CallOption)) *MockFeatureAnnotationServiceClient_AddTag_Call
func (*MockFeatureAnnotationServiceClient_AddTag_Call) RunAndReturn ¶
func (_c *MockFeatureAnnotationServiceClient_AddTag_Call) RunAndReturn(run func(ctx context.Context, in *feature_annotation.AddTagRequest, opts ...grpc.CallOption) (*feature_annotation.FeatureAnnotation, error)) *MockFeatureAnnotationServiceClient_AddTag_Call
type MockFeatureAnnotationServiceClient_AddTags_Call ¶
MockFeatureAnnotationServiceClient_AddTags_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddTags'
func (*MockFeatureAnnotationServiceClient_AddTags_Call) Return ¶
func (_c *MockFeatureAnnotationServiceClient_AddTags_Call) Return(featureAnnotation *feature_annotation.FeatureAnnotation, err error) *MockFeatureAnnotationServiceClient_AddTags_Call
func (*MockFeatureAnnotationServiceClient_AddTags_Call) Run ¶
func (_c *MockFeatureAnnotationServiceClient_AddTags_Call) Run(run func(ctx context.Context, in *feature_annotation.AddTagsRequest, opts ...grpc.CallOption)) *MockFeatureAnnotationServiceClient_AddTags_Call
func (*MockFeatureAnnotationServiceClient_AddTags_Call) RunAndReturn ¶
func (_c *MockFeatureAnnotationServiceClient_AddTags_Call) RunAndReturn(run func(ctx context.Context, in *feature_annotation.AddTagsRequest, opts ...grpc.CallOption) (*feature_annotation.FeatureAnnotation, error)) *MockFeatureAnnotationServiceClient_AddTags_Call
type MockFeatureAnnotationServiceClient_CreateFeatureAnnotation_Call ¶
MockFeatureAnnotationServiceClient_CreateFeatureAnnotation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateFeatureAnnotation'
func (*MockFeatureAnnotationServiceClient_CreateFeatureAnnotation_Call) Return ¶
func (_c *MockFeatureAnnotationServiceClient_CreateFeatureAnnotation_Call) Return(featureAnnotation *feature_annotation.FeatureAnnotation, err error) *MockFeatureAnnotationServiceClient_CreateFeatureAnnotation_Call
func (*MockFeatureAnnotationServiceClient_CreateFeatureAnnotation_Call) Run ¶
func (_c *MockFeatureAnnotationServiceClient_CreateFeatureAnnotation_Call) Run(run func(ctx context.Context, in *feature_annotation.NewFeatureAnnotation, opts ...grpc.CallOption)) *MockFeatureAnnotationServiceClient_CreateFeatureAnnotation_Call
func (*MockFeatureAnnotationServiceClient_CreateFeatureAnnotation_Call) RunAndReturn ¶
func (_c *MockFeatureAnnotationServiceClient_CreateFeatureAnnotation_Call) RunAndReturn(run func(ctx context.Context, in *feature_annotation.NewFeatureAnnotation, opts ...grpc.CallOption) (*feature_annotation.FeatureAnnotation, error)) *MockFeatureAnnotationServiceClient_CreateFeatureAnnotation_Call
type MockFeatureAnnotationServiceClient_DeleteFeatureAnnotation_Call ¶
MockFeatureAnnotationServiceClient_DeleteFeatureAnnotation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteFeatureAnnotation'
func (*MockFeatureAnnotationServiceClient_DeleteFeatureAnnotation_Call) Return ¶
func (_c *MockFeatureAnnotationServiceClient_DeleteFeatureAnnotation_Call) Return(empty *emptypb.Empty, err error) *MockFeatureAnnotationServiceClient_DeleteFeatureAnnotation_Call
func (*MockFeatureAnnotationServiceClient_DeleteFeatureAnnotation_Call) Run ¶
func (_c *MockFeatureAnnotationServiceClient_DeleteFeatureAnnotation_Call) Run(run func(ctx context.Context, in *feature_annotation.DeleteFeatureAnnotationRequest, opts ...grpc.CallOption)) *MockFeatureAnnotationServiceClient_DeleteFeatureAnnotation_Call
func (*MockFeatureAnnotationServiceClient_DeleteFeatureAnnotation_Call) RunAndReturn ¶
func (_c *MockFeatureAnnotationServiceClient_DeleteFeatureAnnotation_Call) RunAndReturn(run func(ctx context.Context, in *feature_annotation.DeleteFeatureAnnotationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)) *MockFeatureAnnotationServiceClient_DeleteFeatureAnnotation_Call
type MockFeatureAnnotationServiceClient_Expecter ¶
type MockFeatureAnnotationServiceClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MockFeatureAnnotationServiceClient_Expecter) AddTag ¶
func (_e *MockFeatureAnnotationServiceClient_Expecter) AddTag(ctx interface{}, in interface{}, opts ...interface{}) *MockFeatureAnnotationServiceClient_AddTag_Call
AddTag is a helper method to define mock.On call
- ctx
- in
- opts
func (*MockFeatureAnnotationServiceClient_Expecter) AddTags ¶
func (_e *MockFeatureAnnotationServiceClient_Expecter) AddTags(ctx interface{}, in interface{}, opts ...interface{}) *MockFeatureAnnotationServiceClient_AddTags_Call
AddTags is a helper method to define mock.On call
- ctx
- in
- opts
func (*MockFeatureAnnotationServiceClient_Expecter) CreateFeatureAnnotation ¶
func (_e *MockFeatureAnnotationServiceClient_Expecter) CreateFeatureAnnotation(ctx interface{}, in interface{}, opts ...interface{}) *MockFeatureAnnotationServiceClient_CreateFeatureAnnotation_Call
CreateFeatureAnnotation is a helper method to define mock.On call
- ctx
- in
- opts
func (*MockFeatureAnnotationServiceClient_Expecter) DeleteFeatureAnnotation ¶
func (_e *MockFeatureAnnotationServiceClient_Expecter) DeleteFeatureAnnotation(ctx interface{}, in interface{}, opts ...interface{}) *MockFeatureAnnotationServiceClient_DeleteFeatureAnnotation_Call
DeleteFeatureAnnotation is a helper method to define mock.On call
- ctx
- in
- opts
func (*MockFeatureAnnotationServiceClient_Expecter) GetFeatureAnnotation ¶
func (_e *MockFeatureAnnotationServiceClient_Expecter) GetFeatureAnnotation(ctx interface{}, in interface{}, opts ...interface{}) *MockFeatureAnnotationServiceClient_GetFeatureAnnotation_Call
GetFeatureAnnotation is a helper method to define mock.On call
- ctx
- in
- opts
func (*MockFeatureAnnotationServiceClient_Expecter) GetFeatureAnnotationByName ¶
func (_e *MockFeatureAnnotationServiceClient_Expecter) GetFeatureAnnotationByName(ctx interface{}, in interface{}, opts ...interface{}) *MockFeatureAnnotationServiceClient_GetFeatureAnnotationByName_Call
GetFeatureAnnotationByName is a helper method to define mock.On call
- ctx
- in
- opts
func (*MockFeatureAnnotationServiceClient_Expecter) ListFeatureAnnotationsByDOI ¶
func (_e *MockFeatureAnnotationServiceClient_Expecter) ListFeatureAnnotationsByDOI(ctx interface{}, in interface{}, opts ...interface{}) *MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByDOI_Call
ListFeatureAnnotationsByDOI is a helper method to define mock.On call
- ctx
- in
- opts
func (*MockFeatureAnnotationServiceClient_Expecter) ListFeatureAnnotationsByPubmedId ¶
func (_e *MockFeatureAnnotationServiceClient_Expecter) ListFeatureAnnotationsByPubmedId(ctx interface{}, in interface{}, opts ...interface{}) *MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByPubmedId_Call
ListFeatureAnnotationsByPubmedId is a helper method to define mock.On call
- ctx
- in
- opts
func (*MockFeatureAnnotationServiceClient_Expecter) RemoveTag ¶
func (_e *MockFeatureAnnotationServiceClient_Expecter) RemoveTag(ctx interface{}, in interface{}, opts ...interface{}) *MockFeatureAnnotationServiceClient_RemoveTag_Call
RemoveTag is a helper method to define mock.On call
- ctx
- in
- opts
func (*MockFeatureAnnotationServiceClient_Expecter) RemoveTags ¶
func (_e *MockFeatureAnnotationServiceClient_Expecter) RemoveTags(ctx interface{}, in interface{}, opts ...interface{}) *MockFeatureAnnotationServiceClient_RemoveTags_Call
RemoveTags is a helper method to define mock.On call
- ctx
- in
- opts
func (*MockFeatureAnnotationServiceClient_Expecter) SetTags ¶
func (_e *MockFeatureAnnotationServiceClient_Expecter) SetTags(ctx interface{}, in interface{}, opts ...interface{}) *MockFeatureAnnotationServiceClient_SetTags_Call
SetTags is a helper method to define mock.On call
- ctx
- in
- opts
func (*MockFeatureAnnotationServiceClient_Expecter) UpdateFeatureAnnotation ¶
func (_e *MockFeatureAnnotationServiceClient_Expecter) UpdateFeatureAnnotation(ctx interface{}, in interface{}, opts ...interface{}) *MockFeatureAnnotationServiceClient_UpdateFeatureAnnotation_Call
UpdateFeatureAnnotation is a helper method to define mock.On call
- ctx
- in
- opts
func (*MockFeatureAnnotationServiceClient_Expecter) UpdateTag ¶
func (_e *MockFeatureAnnotationServiceClient_Expecter) UpdateTag(ctx interface{}, in interface{}, opts ...interface{}) *MockFeatureAnnotationServiceClient_UpdateTag_Call
UpdateTag is a helper method to define mock.On call
- ctx
- in
- opts
type MockFeatureAnnotationServiceClient_GetFeatureAnnotationByName_Call ¶
MockFeatureAnnotationServiceClient_GetFeatureAnnotationByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFeatureAnnotationByName'
func (*MockFeatureAnnotationServiceClient_GetFeatureAnnotationByName_Call) Return ¶
func (_c *MockFeatureAnnotationServiceClient_GetFeatureAnnotationByName_Call) Return(featureAnnotation *feature_annotation.FeatureAnnotation, err error) *MockFeatureAnnotationServiceClient_GetFeatureAnnotationByName_Call
func (*MockFeatureAnnotationServiceClient_GetFeatureAnnotationByName_Call) Run ¶
func (_c *MockFeatureAnnotationServiceClient_GetFeatureAnnotationByName_Call) Run(run func(ctx context.Context, in *feature_annotation.FeatureName, opts ...grpc.CallOption)) *MockFeatureAnnotationServiceClient_GetFeatureAnnotationByName_Call
func (*MockFeatureAnnotationServiceClient_GetFeatureAnnotationByName_Call) RunAndReturn ¶
func (_c *MockFeatureAnnotationServiceClient_GetFeatureAnnotationByName_Call) RunAndReturn(run func(ctx context.Context, in *feature_annotation.FeatureName, opts ...grpc.CallOption) (*feature_annotation.FeatureAnnotation, error)) *MockFeatureAnnotationServiceClient_GetFeatureAnnotationByName_Call
type MockFeatureAnnotationServiceClient_GetFeatureAnnotation_Call ¶
MockFeatureAnnotationServiceClient_GetFeatureAnnotation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFeatureAnnotation'
func (*MockFeatureAnnotationServiceClient_GetFeatureAnnotation_Call) Return ¶
func (_c *MockFeatureAnnotationServiceClient_GetFeatureAnnotation_Call) Return(featureAnnotation *feature_annotation.FeatureAnnotation, err error) *MockFeatureAnnotationServiceClient_GetFeatureAnnotation_Call
func (*MockFeatureAnnotationServiceClient_GetFeatureAnnotation_Call) Run ¶
func (_c *MockFeatureAnnotationServiceClient_GetFeatureAnnotation_Call) Run(run func(ctx context.Context, in *feature_annotation.FeatureAnnotationId, opts ...grpc.CallOption)) *MockFeatureAnnotationServiceClient_GetFeatureAnnotation_Call
func (*MockFeatureAnnotationServiceClient_GetFeatureAnnotation_Call) RunAndReturn ¶
func (_c *MockFeatureAnnotationServiceClient_GetFeatureAnnotation_Call) RunAndReturn(run func(ctx context.Context, in *feature_annotation.FeatureAnnotationId, opts ...grpc.CallOption) (*feature_annotation.FeatureAnnotation, error)) *MockFeatureAnnotationServiceClient_GetFeatureAnnotation_Call
type MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByDOI_Call ¶
MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByDOI_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListFeatureAnnotationsByDOI'
func (*MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByDOI_Call) Return ¶
func (_c *MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByDOI_Call) Return(featureAnnotationCollection *feature_annotation.FeatureAnnotationCollection, err error) *MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByDOI_Call
func (*MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByDOI_Call) Run ¶
func (_c *MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByDOI_Call) Run(run func(ctx context.Context, in *feature_annotation.DOI, opts ...grpc.CallOption)) *MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByDOI_Call
func (*MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByDOI_Call) RunAndReturn ¶
func (_c *MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByDOI_Call) RunAndReturn(run func(ctx context.Context, in *feature_annotation.DOI, opts ...grpc.CallOption) (*feature_annotation.FeatureAnnotationCollection, error)) *MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByDOI_Call
type MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByPubmedId_Call ¶
MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByPubmedId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListFeatureAnnotationsByPubmedId'
func (*MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByPubmedId_Call) Return ¶
func (_c *MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByPubmedId_Call) Return(featureAnnotationCollection *feature_annotation.FeatureAnnotationCollection, err error) *MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByPubmedId_Call
func (*MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByPubmedId_Call) Run ¶
func (_c *MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByPubmedId_Call) Run(run func(ctx context.Context, in *feature_annotation.PubmedId, opts ...grpc.CallOption)) *MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByPubmedId_Call
func (*MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByPubmedId_Call) RunAndReturn ¶
func (_c *MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByPubmedId_Call) RunAndReturn(run func(ctx context.Context, in *feature_annotation.PubmedId, opts ...grpc.CallOption) (*feature_annotation.FeatureAnnotationCollection, error)) *MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByPubmedId_Call
type MockFeatureAnnotationServiceClient_RemoveTag_Call ¶
MockFeatureAnnotationServiceClient_RemoveTag_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveTag'
func (*MockFeatureAnnotationServiceClient_RemoveTag_Call) Return ¶
func (_c *MockFeatureAnnotationServiceClient_RemoveTag_Call) Return(featureAnnotation *feature_annotation.FeatureAnnotation, err error) *MockFeatureAnnotationServiceClient_RemoveTag_Call
func (*MockFeatureAnnotationServiceClient_RemoveTag_Call) Run ¶
func (_c *MockFeatureAnnotationServiceClient_RemoveTag_Call) Run(run func(ctx context.Context, in *feature_annotation.RemoveTagRequest, opts ...grpc.CallOption)) *MockFeatureAnnotationServiceClient_RemoveTag_Call
func (*MockFeatureAnnotationServiceClient_RemoveTag_Call) RunAndReturn ¶
func (_c *MockFeatureAnnotationServiceClient_RemoveTag_Call) RunAndReturn(run func(ctx context.Context, in *feature_annotation.RemoveTagRequest, opts ...grpc.CallOption) (*feature_annotation.FeatureAnnotation, error)) *MockFeatureAnnotationServiceClient_RemoveTag_Call
type MockFeatureAnnotationServiceClient_RemoveTags_Call ¶
MockFeatureAnnotationServiceClient_RemoveTags_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveTags'
func (*MockFeatureAnnotationServiceClient_RemoveTags_Call) Return ¶
func (_c *MockFeatureAnnotationServiceClient_RemoveTags_Call) Return(featureAnnotation *feature_annotation.FeatureAnnotation, err error) *MockFeatureAnnotationServiceClient_RemoveTags_Call
func (*MockFeatureAnnotationServiceClient_RemoveTags_Call) Run ¶
func (_c *MockFeatureAnnotationServiceClient_RemoveTags_Call) Run(run func(ctx context.Context, in *feature_annotation.RemoveTagsRequest, opts ...grpc.CallOption)) *MockFeatureAnnotationServiceClient_RemoveTags_Call
func (*MockFeatureAnnotationServiceClient_RemoveTags_Call) RunAndReturn ¶
func (_c *MockFeatureAnnotationServiceClient_RemoveTags_Call) RunAndReturn(run func(ctx context.Context, in *feature_annotation.RemoveTagsRequest, opts ...grpc.CallOption) (*feature_annotation.FeatureAnnotation, error)) *MockFeatureAnnotationServiceClient_RemoveTags_Call
type MockFeatureAnnotationServiceClient_SetTags_Call ¶
MockFeatureAnnotationServiceClient_SetTags_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTags'
func (*MockFeatureAnnotationServiceClient_SetTags_Call) Return ¶
func (_c *MockFeatureAnnotationServiceClient_SetTags_Call) Return(featureAnnotation *feature_annotation.FeatureAnnotation, err error) *MockFeatureAnnotationServiceClient_SetTags_Call
func (*MockFeatureAnnotationServiceClient_SetTags_Call) Run ¶
func (_c *MockFeatureAnnotationServiceClient_SetTags_Call) Run(run func(ctx context.Context, in *feature_annotation.SetTagsRequest, opts ...grpc.CallOption)) *MockFeatureAnnotationServiceClient_SetTags_Call
func (*MockFeatureAnnotationServiceClient_SetTags_Call) RunAndReturn ¶
func (_c *MockFeatureAnnotationServiceClient_SetTags_Call) RunAndReturn(run func(ctx context.Context, in *feature_annotation.SetTagsRequest, opts ...grpc.CallOption) (*feature_annotation.FeatureAnnotation, error)) *MockFeatureAnnotationServiceClient_SetTags_Call
type MockFeatureAnnotationServiceClient_UpdateFeatureAnnotation_Call ¶
MockFeatureAnnotationServiceClient_UpdateFeatureAnnotation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateFeatureAnnotation'
func (*MockFeatureAnnotationServiceClient_UpdateFeatureAnnotation_Call) Return ¶
func (_c *MockFeatureAnnotationServiceClient_UpdateFeatureAnnotation_Call) Return(featureAnnotation *feature_annotation.FeatureAnnotation, err error) *MockFeatureAnnotationServiceClient_UpdateFeatureAnnotation_Call
func (*MockFeatureAnnotationServiceClient_UpdateFeatureAnnotation_Call) Run ¶
func (_c *MockFeatureAnnotationServiceClient_UpdateFeatureAnnotation_Call) Run(run func(ctx context.Context, in *feature_annotation.FeatureAnnotationUpdate, opts ...grpc.CallOption)) *MockFeatureAnnotationServiceClient_UpdateFeatureAnnotation_Call
func (*MockFeatureAnnotationServiceClient_UpdateFeatureAnnotation_Call) RunAndReturn ¶
func (_c *MockFeatureAnnotationServiceClient_UpdateFeatureAnnotation_Call) RunAndReturn(run func(ctx context.Context, in *feature_annotation.FeatureAnnotationUpdate, opts ...grpc.CallOption) (*feature_annotation.FeatureAnnotation, error)) *MockFeatureAnnotationServiceClient_UpdateFeatureAnnotation_Call
type MockFeatureAnnotationServiceClient_UpdateTag_Call ¶
MockFeatureAnnotationServiceClient_UpdateTag_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateTag'
func (*MockFeatureAnnotationServiceClient_UpdateTag_Call) Return ¶
func (_c *MockFeatureAnnotationServiceClient_UpdateTag_Call) Return(featureAnnotation *feature_annotation.FeatureAnnotation, err error) *MockFeatureAnnotationServiceClient_UpdateTag_Call
func (*MockFeatureAnnotationServiceClient_UpdateTag_Call) Run ¶
func (_c *MockFeatureAnnotationServiceClient_UpdateTag_Call) Run(run func(ctx context.Context, in *feature_annotation.UpdateTagRequest, opts ...grpc.CallOption)) *MockFeatureAnnotationServiceClient_UpdateTag_Call
func (*MockFeatureAnnotationServiceClient_UpdateTag_Call) RunAndReturn ¶
func (_c *MockFeatureAnnotationServiceClient_UpdateTag_Call) RunAndReturn(run func(ctx context.Context, in *feature_annotation.UpdateTagRequest, opts ...grpc.CallOption) (*feature_annotation.FeatureAnnotation, error)) *MockFeatureAnnotationServiceClient_UpdateTag_Call
type OrderServiceClient ¶
OrderServiceClient is an autogenerated mock type for the OrderServiceClient type
func (*OrderServiceClient) AutocompleteOrder ¶
func (_m *OrderServiceClient) AutocompleteOrder(ctx context.Context, in *order.AutocompleteParameters, opts ...grpc.CallOption) (*order.OrderSuggestionCollection, error)
AutocompleteOrder provides a mock function with given fields: ctx, in, opts
func (*OrderServiceClient) CreateOrder ¶
func (_m *OrderServiceClient) CreateOrder(ctx context.Context, in *order.NewOrder, opts ...grpc.CallOption) (*order.Order, error)
CreateOrder provides a mock function with given fields: ctx, in, opts
func (*OrderServiceClient) GetOrder ¶
func (_m *OrderServiceClient) GetOrder(ctx context.Context, in *order.OrderId, opts ...grpc.CallOption) (*order.Order, error)
GetOrder provides a mock function with given fields: ctx, in, opts
func (*OrderServiceClient) ListOrders ¶
func (_m *OrderServiceClient) ListOrders(ctx context.Context, in *order.ListParameters, opts ...grpc.CallOption) (*order.OrderCollection, error)
ListOrders provides a mock function with given fields: ctx, in, opts
func (*OrderServiceClient) LoadOrder ¶
func (_m *OrderServiceClient) LoadOrder(ctx context.Context, in *order.ExistingOrder, opts ...grpc.CallOption) (*order.Order, error)
LoadOrder provides a mock function with given fields: ctx, in, opts
func (*OrderServiceClient) PrepareForOrder ¶
func (_m *OrderServiceClient) PrepareForOrder(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error)
PrepareForOrder provides a mock function with given fields: ctx, in, opts
func (*OrderServiceClient) UpdateOrder ¶
func (_m *OrderServiceClient) UpdateOrder(ctx context.Context, in *order.OrderUpdate, opts ...grpc.CallOption) (*order.Order, error)
UpdateOrder provides a mock function with given fields: ctx, in, opts
type PermissionServiceClient ¶
PermissionServiceClient is an autogenerated mock type for the PermissionServiceClient type
func (*PermissionServiceClient) CreatePermission ¶
func (_m *PermissionServiceClient) CreatePermission(ctx context.Context, in *user.CreatePermissionRequest, opts ...grpc.CallOption) (*user.Permission, error)
CreatePermission provides a mock function with given fields: ctx, in, opts
func (*PermissionServiceClient) DeletePermission ¶
func (_m *PermissionServiceClient) DeletePermission(ctx context.Context, in *jsonapi.DeleteRequest, opts ...grpc.CallOption) (*empty.Empty, error)
DeletePermission provides a mock function with given fields: ctx, in, opts
func (*PermissionServiceClient) GetPermission ¶
func (_m *PermissionServiceClient) GetPermission(ctx context.Context, in *jsonapi.GetRequestWithFields, opts ...grpc.CallOption) (*user.Permission, error)
GetPermission provides a mock function with given fields: ctx, in, opts
func (*PermissionServiceClient) ListPermissions ¶
func (_m *PermissionServiceClient) ListPermissions(ctx context.Context, in *jsonapi.SimpleListRequest, opts ...grpc.CallOption) (*user.PermissionCollection, error)
ListPermissions provides a mock function with given fields: ctx, in, opts
func (*PermissionServiceClient) UpdatePermission ¶
func (_m *PermissionServiceClient) UpdatePermission(ctx context.Context, in *user.UpdatePermissionRequest, opts ...grpc.CallOption) (*user.Permission, error)
UpdatePermission provides a mock function with given fields: ctx, in, opts
type RoleServiceClient ¶
RoleServiceClient is an autogenerated mock type for the RoleServiceClient type
func (*RoleServiceClient) CreatePermissionRelationship ¶
func (_m *RoleServiceClient) CreatePermissionRelationship(ctx context.Context, in *jsonapi.DataCollection, opts ...grpc.CallOption) (*empty.Empty, error)
CreatePermissionRelationship provides a mock function with given fields: ctx, in, opts
func (*RoleServiceClient) CreateRole ¶
func (_m *RoleServiceClient) CreateRole(ctx context.Context, in *user.CreateRoleRequest, opts ...grpc.CallOption) (*user.Role, error)
CreateRole provides a mock function with given fields: ctx, in, opts
func (*RoleServiceClient) CreateUserRelationship ¶
func (_m *RoleServiceClient) CreateUserRelationship(ctx context.Context, in *jsonapi.DataCollection, opts ...grpc.CallOption) (*empty.Empty, error)
CreateUserRelationship provides a mock function with given fields: ctx, in, opts
func (*RoleServiceClient) DeletePermissionRelationship ¶
func (_m *RoleServiceClient) DeletePermissionRelationship(ctx context.Context, in *jsonapi.DataCollection, opts ...grpc.CallOption) (*empty.Empty, error)
DeletePermissionRelationship provides a mock function with given fields: ctx, in, opts
func (*RoleServiceClient) DeleteRole ¶
func (_m *RoleServiceClient) DeleteRole(ctx context.Context, in *jsonapi.DeleteRequest, opts ...grpc.CallOption) (*empty.Empty, error)
DeleteRole provides a mock function with given fields: ctx, in, opts
func (*RoleServiceClient) DeleteUserRelationship ¶
func (_m *RoleServiceClient) DeleteUserRelationship(ctx context.Context, in *jsonapi.DataCollection, opts ...grpc.CallOption) (*empty.Empty, error)
DeleteUserRelationship provides a mock function with given fields: ctx, in, opts
func (*RoleServiceClient) GetRelatedPermissions ¶
func (_m *RoleServiceClient) GetRelatedPermissions(ctx context.Context, in *jsonapi.RelationshipRequest, opts ...grpc.CallOption) (*user.PermissionCollection, error)
GetRelatedPermissions provides a mock function with given fields: ctx, in, opts
func (*RoleServiceClient) GetRelatedUsers ¶
func (_m *RoleServiceClient) GetRelatedUsers(ctx context.Context, in *jsonapi.RelationshipRequestWithPagination, opts ...grpc.CallOption) (*user.UserCollection, error)
GetRelatedUsers provides a mock function with given fields: ctx, in, opts
func (*RoleServiceClient) GetRole ¶
func (_m *RoleServiceClient) GetRole(ctx context.Context, in *jsonapi.GetRequest, opts ...grpc.CallOption) (*user.Role, error)
GetRole provides a mock function with given fields: ctx, in, opts
func (*RoleServiceClient) ListRoles ¶
func (_m *RoleServiceClient) ListRoles(ctx context.Context, in *jsonapi.SimpleListRequest, opts ...grpc.CallOption) (*user.RoleCollection, error)
ListRoles provides a mock function with given fields: ctx, in, opts
func (*RoleServiceClient) UpdatePermissionRelationship ¶
func (_m *RoleServiceClient) UpdatePermissionRelationship(ctx context.Context, in *jsonapi.DataCollection, opts ...grpc.CallOption) (*empty.Empty, error)
UpdatePermissionRelationship provides a mock function with given fields: ctx, in, opts
func (*RoleServiceClient) UpdateRole ¶
func (_m *RoleServiceClient) UpdateRole(ctx context.Context, in *user.UpdateRoleRequest, opts ...grpc.CallOption) (*user.Role, error)
UpdateRole provides a mock function with given fields: ctx, in, opts
func (*RoleServiceClient) UpdateUserRelationship ¶
func (_m *RoleServiceClient) UpdateUserRelationship(ctx context.Context, in *jsonapi.DataCollection, opts ...grpc.CallOption) (*empty.Empty, error)
UpdateUserRelationship provides a mock function with given fields: ctx, in, opts
type StockServiceClient ¶
StockServiceClient is an autogenerated mock type for the StockServiceClient type
func NewStockServiceClient ¶
func NewStockServiceClient(t interface {
mock.TestingT
Cleanup(func())
}) *StockServiceClient
NewStockServiceClient creates a new instance of StockServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*StockServiceClient) AutocompleteStock ¶
func (_mock *StockServiceClient) AutocompleteStock(ctx context.Context, in *stock.StockAutocompleteParameters, opts ...grpc.CallOption) (*stock.StockSuggestionCollection, error)
AutocompleteStock provides a mock function for the type StockServiceClient
func (*StockServiceClient) CreatePlasmid ¶
func (_mock *StockServiceClient) CreatePlasmid(ctx context.Context, in *stock.NewPlasmid, opts ...grpc.CallOption) (*stock.Plasmid, error)
CreatePlasmid provides a mock function for the type StockServiceClient
func (*StockServiceClient) CreateStrain ¶
func (_mock *StockServiceClient) CreateStrain(ctx context.Context, in *stock.NewStrain, opts ...grpc.CallOption) (*stock.Strain, error)
CreateStrain provides a mock function for the type StockServiceClient
func (*StockServiceClient) EXPECT ¶
func (_m *StockServiceClient) EXPECT() *StockServiceClient_Expecter
func (*StockServiceClient) GetPlasmid ¶
func (_mock *StockServiceClient) GetPlasmid(ctx context.Context, in *stock.StockId, opts ...grpc.CallOption) (*stock.Plasmid, error)
GetPlasmid provides a mock function for the type StockServiceClient
func (*StockServiceClient) GetStrain ¶
func (_mock *StockServiceClient) GetStrain(ctx context.Context, in *stock.StockId, opts ...grpc.CallOption) (*stock.Strain, error)
GetStrain provides a mock function for the type StockServiceClient
func (*StockServiceClient) ListPlasmids ¶
func (_mock *StockServiceClient) ListPlasmids(ctx context.Context, in *stock.StockParameters, opts ...grpc.CallOption) (*stock.PlasmidCollection, error)
ListPlasmids provides a mock function for the type StockServiceClient
func (*StockServiceClient) ListStrains ¶
func (_mock *StockServiceClient) ListStrains(ctx context.Context, in *stock.StockParameters, opts ...grpc.CallOption) (*stock.StrainCollection, error)
ListStrains provides a mock function for the type StockServiceClient
func (*StockServiceClient) ListStrainsByIds ¶
func (_mock *StockServiceClient) ListStrainsByIds(ctx context.Context, in *stock.StockIdList, opts ...grpc.CallOption) (*stock.StrainList, error)
ListStrainsByIds provides a mock function for the type StockServiceClient
func (*StockServiceClient) LoadPlasmid ¶
func (_mock *StockServiceClient) LoadPlasmid(ctx context.Context, in *stock.ExistingPlasmid, opts ...grpc.CallOption) (*stock.Plasmid, error)
LoadPlasmid provides a mock function for the type StockServiceClient
func (*StockServiceClient) LoadStrain ¶
func (_mock *StockServiceClient) LoadStrain(ctx context.Context, in *stock.ExistingStrain, opts ...grpc.CallOption) (*stock.Strain, error)
LoadStrain provides a mock function for the type StockServiceClient
func (*StockServiceClient) OboJSONFileUpload ¶
func (_mock *StockServiceClient) OboJSONFileUpload(ctx context.Context, opts ...grpc.CallOption) (stock.StockService_OboJSONFileUploadClient, error)
OboJSONFileUpload provides a mock function for the type StockServiceClient
func (*StockServiceClient) RemoveStock ¶
func (_mock *StockServiceClient) RemoveStock(ctx context.Context, in *stock.StockId, opts ...grpc.CallOption) (*emptypb.Empty, error)
RemoveStock provides a mock function for the type StockServiceClient
func (*StockServiceClient) SearchStock ¶
func (_mock *StockServiceClient) SearchStock(ctx context.Context, in *stock.StockSearchParameters, opts ...grpc.CallOption) (*stock.StockSearchResultCollection, error)
SearchStock provides a mock function for the type StockServiceClient
func (*StockServiceClient) UpdatePlasmid ¶
func (_mock *StockServiceClient) UpdatePlasmid(ctx context.Context, in *stock.PlasmidUpdate, opts ...grpc.CallOption) (*stock.Plasmid, error)
UpdatePlasmid provides a mock function for the type StockServiceClient
func (*StockServiceClient) UpdateStrain ¶
func (_mock *StockServiceClient) UpdateStrain(ctx context.Context, in *stock.StrainUpdate, opts ...grpc.CallOption) (*stock.Strain, error)
UpdateStrain provides a mock function for the type StockServiceClient
type StockServiceClient_AutocompleteStock_Call ¶
StockServiceClient_AutocompleteStock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AutocompleteStock'
func (*StockServiceClient_AutocompleteStock_Call) Return ¶
func (_c *StockServiceClient_AutocompleteStock_Call) Return(stockSuggestionCollection *stock.StockSuggestionCollection, err error) *StockServiceClient_AutocompleteStock_Call
func (*StockServiceClient_AutocompleteStock_Call) Run ¶
func (_c *StockServiceClient_AutocompleteStock_Call) Run(run func(ctx context.Context, in *stock.StockAutocompleteParameters, opts ...grpc.CallOption)) *StockServiceClient_AutocompleteStock_Call
func (*StockServiceClient_AutocompleteStock_Call) RunAndReturn ¶
func (_c *StockServiceClient_AutocompleteStock_Call) RunAndReturn(run func(ctx context.Context, in *stock.StockAutocompleteParameters, opts ...grpc.CallOption) (*stock.StockSuggestionCollection, error)) *StockServiceClient_AutocompleteStock_Call
type StockServiceClient_CreatePlasmid_Call ¶
StockServiceClient_CreatePlasmid_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreatePlasmid'
func (*StockServiceClient_CreatePlasmid_Call) Return ¶
func (_c *StockServiceClient_CreatePlasmid_Call) Return(plasmid *stock.Plasmid, err error) *StockServiceClient_CreatePlasmid_Call
func (*StockServiceClient_CreatePlasmid_Call) Run ¶
func (_c *StockServiceClient_CreatePlasmid_Call) Run(run func(ctx context.Context, in *stock.NewPlasmid, opts ...grpc.CallOption)) *StockServiceClient_CreatePlasmid_Call
func (*StockServiceClient_CreatePlasmid_Call) RunAndReturn ¶
func (_c *StockServiceClient_CreatePlasmid_Call) RunAndReturn(run func(ctx context.Context, in *stock.NewPlasmid, opts ...grpc.CallOption) (*stock.Plasmid, error)) *StockServiceClient_CreatePlasmid_Call
type StockServiceClient_CreateStrain_Call ¶
StockServiceClient_CreateStrain_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateStrain'
func (*StockServiceClient_CreateStrain_Call) Return ¶
func (_c *StockServiceClient_CreateStrain_Call) Return(strain *stock.Strain, err error) *StockServiceClient_CreateStrain_Call
func (*StockServiceClient_CreateStrain_Call) Run ¶
func (_c *StockServiceClient_CreateStrain_Call) Run(run func(ctx context.Context, in *stock.NewStrain, opts ...grpc.CallOption)) *StockServiceClient_CreateStrain_Call
func (*StockServiceClient_CreateStrain_Call) RunAndReturn ¶
func (_c *StockServiceClient_CreateStrain_Call) RunAndReturn(run func(ctx context.Context, in *stock.NewStrain, opts ...grpc.CallOption) (*stock.Strain, error)) *StockServiceClient_CreateStrain_Call
type StockServiceClient_Expecter ¶
type StockServiceClient_Expecter struct {
// contains filtered or unexported fields
}
func (*StockServiceClient_Expecter) AutocompleteStock ¶
func (_e *StockServiceClient_Expecter) AutocompleteStock(ctx interface{}, in interface{}, opts ...interface{}) *StockServiceClient_AutocompleteStock_Call
AutocompleteStock is a helper method to define mock.On call
- ctx
- in
- opts
func (*StockServiceClient_Expecter) CreatePlasmid ¶
func (_e *StockServiceClient_Expecter) CreatePlasmid(ctx interface{}, in interface{}, opts ...interface{}) *StockServiceClient_CreatePlasmid_Call
CreatePlasmid is a helper method to define mock.On call
- ctx
- in
- opts
func (*StockServiceClient_Expecter) CreateStrain ¶
func (_e *StockServiceClient_Expecter) CreateStrain(ctx interface{}, in interface{}, opts ...interface{}) *StockServiceClient_CreateStrain_Call
CreateStrain is a helper method to define mock.On call
- ctx
- in
- opts
func (*StockServiceClient_Expecter) GetPlasmid ¶
func (_e *StockServiceClient_Expecter) GetPlasmid(ctx interface{}, in interface{}, opts ...interface{}) *StockServiceClient_GetPlasmid_Call
GetPlasmid is a helper method to define mock.On call
- ctx
- in
- opts
func (*StockServiceClient_Expecter) GetStrain ¶
func (_e *StockServiceClient_Expecter) GetStrain(ctx interface{}, in interface{}, opts ...interface{}) *StockServiceClient_GetStrain_Call
GetStrain is a helper method to define mock.On call
- ctx
- in
- opts
func (*StockServiceClient_Expecter) ListPlasmids ¶
func (_e *StockServiceClient_Expecter) ListPlasmids(ctx interface{}, in interface{}, opts ...interface{}) *StockServiceClient_ListPlasmids_Call
ListPlasmids is a helper method to define mock.On call
- ctx
- in
- opts
func (*StockServiceClient_Expecter) ListStrains ¶
func (_e *StockServiceClient_Expecter) ListStrains(ctx interface{}, in interface{}, opts ...interface{}) *StockServiceClient_ListStrains_Call
ListStrains is a helper method to define mock.On call
- ctx
- in
- opts
func (*StockServiceClient_Expecter) ListStrainsByIds ¶
func (_e *StockServiceClient_Expecter) ListStrainsByIds(ctx interface{}, in interface{}, opts ...interface{}) *StockServiceClient_ListStrainsByIds_Call
ListStrainsByIds is a helper method to define mock.On call
- ctx
- in
- opts
func (*StockServiceClient_Expecter) LoadPlasmid ¶
func (_e *StockServiceClient_Expecter) LoadPlasmid(ctx interface{}, in interface{}, opts ...interface{}) *StockServiceClient_LoadPlasmid_Call
LoadPlasmid is a helper method to define mock.On call
- ctx
- in
- opts
func (*StockServiceClient_Expecter) LoadStrain ¶
func (_e *StockServiceClient_Expecter) LoadStrain(ctx interface{}, in interface{}, opts ...interface{}) *StockServiceClient_LoadStrain_Call
LoadStrain is a helper method to define mock.On call
- ctx
- in
- opts
func (*StockServiceClient_Expecter) OboJSONFileUpload ¶
func (_e *StockServiceClient_Expecter) OboJSONFileUpload(ctx interface{}, opts ...interface{}) *StockServiceClient_OboJSONFileUpload_Call
OboJSONFileUpload is a helper method to define mock.On call
- ctx
- opts
func (*StockServiceClient_Expecter) RemoveStock ¶
func (_e *StockServiceClient_Expecter) RemoveStock(ctx interface{}, in interface{}, opts ...interface{}) *StockServiceClient_RemoveStock_Call
RemoveStock is a helper method to define mock.On call
- ctx
- in
- opts
func (*StockServiceClient_Expecter) SearchStock ¶
func (_e *StockServiceClient_Expecter) SearchStock(ctx interface{}, in interface{}, opts ...interface{}) *StockServiceClient_SearchStock_Call
SearchStock is a helper method to define mock.On call
- ctx
- in
- opts
func (*StockServiceClient_Expecter) UpdatePlasmid ¶
func (_e *StockServiceClient_Expecter) UpdatePlasmid(ctx interface{}, in interface{}, opts ...interface{}) *StockServiceClient_UpdatePlasmid_Call
UpdatePlasmid is a helper method to define mock.On call
- ctx
- in
- opts
func (*StockServiceClient_Expecter) UpdateStrain ¶
func (_e *StockServiceClient_Expecter) UpdateStrain(ctx interface{}, in interface{}, opts ...interface{}) *StockServiceClient_UpdateStrain_Call
UpdateStrain is a helper method to define mock.On call
- ctx
- in
- opts
type StockServiceClient_GetPlasmid_Call ¶
StockServiceClient_GetPlasmid_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPlasmid'
func (*StockServiceClient_GetPlasmid_Call) Return ¶
func (_c *StockServiceClient_GetPlasmid_Call) Return(plasmid *stock.Plasmid, err error) *StockServiceClient_GetPlasmid_Call
func (*StockServiceClient_GetPlasmid_Call) Run ¶
func (_c *StockServiceClient_GetPlasmid_Call) Run(run func(ctx context.Context, in *stock.StockId, opts ...grpc.CallOption)) *StockServiceClient_GetPlasmid_Call
func (*StockServiceClient_GetPlasmid_Call) RunAndReturn ¶
func (_c *StockServiceClient_GetPlasmid_Call) RunAndReturn(run func(ctx context.Context, in *stock.StockId, opts ...grpc.CallOption) (*stock.Plasmid, error)) *StockServiceClient_GetPlasmid_Call
type StockServiceClient_GetStrain_Call ¶
StockServiceClient_GetStrain_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStrain'
func (*StockServiceClient_GetStrain_Call) Return ¶
func (_c *StockServiceClient_GetStrain_Call) Return(strain *stock.Strain, err error) *StockServiceClient_GetStrain_Call
func (*StockServiceClient_GetStrain_Call) Run ¶
func (_c *StockServiceClient_GetStrain_Call) Run(run func(ctx context.Context, in *stock.StockId, opts ...grpc.CallOption)) *StockServiceClient_GetStrain_Call
func (*StockServiceClient_GetStrain_Call) RunAndReturn ¶
func (_c *StockServiceClient_GetStrain_Call) RunAndReturn(run func(ctx context.Context, in *stock.StockId, opts ...grpc.CallOption) (*stock.Strain, error)) *StockServiceClient_GetStrain_Call
type StockServiceClient_ListPlasmids_Call ¶
StockServiceClient_ListPlasmids_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListPlasmids'
func (*StockServiceClient_ListPlasmids_Call) Return ¶
func (_c *StockServiceClient_ListPlasmids_Call) Return(plasmidCollection *stock.PlasmidCollection, err error) *StockServiceClient_ListPlasmids_Call
func (*StockServiceClient_ListPlasmids_Call) Run ¶
func (_c *StockServiceClient_ListPlasmids_Call) Run(run func(ctx context.Context, in *stock.StockParameters, opts ...grpc.CallOption)) *StockServiceClient_ListPlasmids_Call
func (*StockServiceClient_ListPlasmids_Call) RunAndReturn ¶
func (_c *StockServiceClient_ListPlasmids_Call) RunAndReturn(run func(ctx context.Context, in *stock.StockParameters, opts ...grpc.CallOption) (*stock.PlasmidCollection, error)) *StockServiceClient_ListPlasmids_Call
type StockServiceClient_ListStrainsByIds_Call ¶
StockServiceClient_ListStrainsByIds_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListStrainsByIds'
func (*StockServiceClient_ListStrainsByIds_Call) Return ¶
func (_c *StockServiceClient_ListStrainsByIds_Call) Return(strainList *stock.StrainList, err error) *StockServiceClient_ListStrainsByIds_Call
func (*StockServiceClient_ListStrainsByIds_Call) Run ¶
func (_c *StockServiceClient_ListStrainsByIds_Call) Run(run func(ctx context.Context, in *stock.StockIdList, opts ...grpc.CallOption)) *StockServiceClient_ListStrainsByIds_Call
func (*StockServiceClient_ListStrainsByIds_Call) RunAndReturn ¶
func (_c *StockServiceClient_ListStrainsByIds_Call) RunAndReturn(run func(ctx context.Context, in *stock.StockIdList, opts ...grpc.CallOption) (*stock.StrainList, error)) *StockServiceClient_ListStrainsByIds_Call
type StockServiceClient_ListStrains_Call ¶
StockServiceClient_ListStrains_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListStrains'
func (*StockServiceClient_ListStrains_Call) Return ¶
func (_c *StockServiceClient_ListStrains_Call) Return(strainCollection *stock.StrainCollection, err error) *StockServiceClient_ListStrains_Call
func (*StockServiceClient_ListStrains_Call) Run ¶
func (_c *StockServiceClient_ListStrains_Call) Run(run func(ctx context.Context, in *stock.StockParameters, opts ...grpc.CallOption)) *StockServiceClient_ListStrains_Call
func (*StockServiceClient_ListStrains_Call) RunAndReturn ¶
func (_c *StockServiceClient_ListStrains_Call) RunAndReturn(run func(ctx context.Context, in *stock.StockParameters, opts ...grpc.CallOption) (*stock.StrainCollection, error)) *StockServiceClient_ListStrains_Call
type StockServiceClient_LoadPlasmid_Call ¶
StockServiceClient_LoadPlasmid_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LoadPlasmid'
func (*StockServiceClient_LoadPlasmid_Call) Return ¶
func (_c *StockServiceClient_LoadPlasmid_Call) Return(plasmid *stock.Plasmid, err error) *StockServiceClient_LoadPlasmid_Call
func (*StockServiceClient_LoadPlasmid_Call) Run ¶
func (_c *StockServiceClient_LoadPlasmid_Call) Run(run func(ctx context.Context, in *stock.ExistingPlasmid, opts ...grpc.CallOption)) *StockServiceClient_LoadPlasmid_Call
func (*StockServiceClient_LoadPlasmid_Call) RunAndReturn ¶
func (_c *StockServiceClient_LoadPlasmid_Call) RunAndReturn(run func(ctx context.Context, in *stock.ExistingPlasmid, opts ...grpc.CallOption) (*stock.Plasmid, error)) *StockServiceClient_LoadPlasmid_Call
type StockServiceClient_LoadStrain_Call ¶
StockServiceClient_LoadStrain_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LoadStrain'
func (*StockServiceClient_LoadStrain_Call) Return ¶
func (_c *StockServiceClient_LoadStrain_Call) Return(strain *stock.Strain, err error) *StockServiceClient_LoadStrain_Call
func (*StockServiceClient_LoadStrain_Call) Run ¶
func (_c *StockServiceClient_LoadStrain_Call) Run(run func(ctx context.Context, in *stock.ExistingStrain, opts ...grpc.CallOption)) *StockServiceClient_LoadStrain_Call
func (*StockServiceClient_LoadStrain_Call) RunAndReturn ¶
func (_c *StockServiceClient_LoadStrain_Call) RunAndReturn(run func(ctx context.Context, in *stock.ExistingStrain, opts ...grpc.CallOption) (*stock.Strain, error)) *StockServiceClient_LoadStrain_Call
type StockServiceClient_OboJSONFileUpload_Call ¶
StockServiceClient_OboJSONFileUpload_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OboJSONFileUpload'
func (*StockServiceClient_OboJSONFileUpload_Call) Return ¶
func (_c *StockServiceClient_OboJSONFileUpload_Call) Return(stockService_OboJSONFileUploadClient stock.StockService_OboJSONFileUploadClient, err error) *StockServiceClient_OboJSONFileUpload_Call
func (*StockServiceClient_OboJSONFileUpload_Call) Run ¶
func (_c *StockServiceClient_OboJSONFileUpload_Call) Run(run func(ctx context.Context, opts ...grpc.CallOption)) *StockServiceClient_OboJSONFileUpload_Call
func (*StockServiceClient_OboJSONFileUpload_Call) RunAndReturn ¶
func (_c *StockServiceClient_OboJSONFileUpload_Call) RunAndReturn(run func(ctx context.Context, opts ...grpc.CallOption) (stock.StockService_OboJSONFileUploadClient, error)) *StockServiceClient_OboJSONFileUpload_Call
type StockServiceClient_RemoveStock_Call ¶
StockServiceClient_RemoveStock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveStock'
func (*StockServiceClient_RemoveStock_Call) Return ¶
func (_c *StockServiceClient_RemoveStock_Call) Return(empty *emptypb.Empty, err error) *StockServiceClient_RemoveStock_Call
func (*StockServiceClient_RemoveStock_Call) Run ¶
func (_c *StockServiceClient_RemoveStock_Call) Run(run func(ctx context.Context, in *stock.StockId, opts ...grpc.CallOption)) *StockServiceClient_RemoveStock_Call
func (*StockServiceClient_RemoveStock_Call) RunAndReturn ¶
func (_c *StockServiceClient_RemoveStock_Call) RunAndReturn(run func(ctx context.Context, in *stock.StockId, opts ...grpc.CallOption) (*emptypb.Empty, error)) *StockServiceClient_RemoveStock_Call
type StockServiceClient_SearchStock_Call ¶
StockServiceClient_SearchStock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SearchStock'
func (*StockServiceClient_SearchStock_Call) Return ¶
func (_c *StockServiceClient_SearchStock_Call) Return(stockSearchResultCollection *stock.StockSearchResultCollection, err error) *StockServiceClient_SearchStock_Call
func (*StockServiceClient_SearchStock_Call) Run ¶
func (_c *StockServiceClient_SearchStock_Call) Run(run func(ctx context.Context, in *stock.StockSearchParameters, opts ...grpc.CallOption)) *StockServiceClient_SearchStock_Call
func (*StockServiceClient_SearchStock_Call) RunAndReturn ¶
func (_c *StockServiceClient_SearchStock_Call) RunAndReturn(run func(ctx context.Context, in *stock.StockSearchParameters, opts ...grpc.CallOption) (*stock.StockSearchResultCollection, error)) *StockServiceClient_SearchStock_Call
type StockServiceClient_UpdatePlasmid_Call ¶
StockServiceClient_UpdatePlasmid_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdatePlasmid'
func (*StockServiceClient_UpdatePlasmid_Call) Return ¶
func (_c *StockServiceClient_UpdatePlasmid_Call) Return(plasmid *stock.Plasmid, err error) *StockServiceClient_UpdatePlasmid_Call
func (*StockServiceClient_UpdatePlasmid_Call) Run ¶
func (_c *StockServiceClient_UpdatePlasmid_Call) Run(run func(ctx context.Context, in *stock.PlasmidUpdate, opts ...grpc.CallOption)) *StockServiceClient_UpdatePlasmid_Call
func (*StockServiceClient_UpdatePlasmid_Call) RunAndReturn ¶
func (_c *StockServiceClient_UpdatePlasmid_Call) RunAndReturn(run func(ctx context.Context, in *stock.PlasmidUpdate, opts ...grpc.CallOption) (*stock.Plasmid, error)) *StockServiceClient_UpdatePlasmid_Call
type StockServiceClient_UpdateStrain_Call ¶
StockServiceClient_UpdateStrain_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateStrain'
func (*StockServiceClient_UpdateStrain_Call) Return ¶
func (_c *StockServiceClient_UpdateStrain_Call) Return(strain *stock.Strain, err error) *StockServiceClient_UpdateStrain_Call
func (*StockServiceClient_UpdateStrain_Call) Run ¶
func (_c *StockServiceClient_UpdateStrain_Call) Run(run func(ctx context.Context, in *stock.StrainUpdate, opts ...grpc.CallOption)) *StockServiceClient_UpdateStrain_Call
func (*StockServiceClient_UpdateStrain_Call) RunAndReturn ¶
func (_c *StockServiceClient_UpdateStrain_Call) RunAndReturn(run func(ctx context.Context, in *stock.StrainUpdate, opts ...grpc.CallOption) (*stock.Strain, error)) *StockServiceClient_UpdateStrain_Call
type TaggedAnnotationServiceClient ¶
TaggedAnnotationServiceClient is an autogenerated mock type for the TaggedAnnotationServiceClient type
func NewTaggedAnnotationServiceClient ¶
func NewTaggedAnnotationServiceClient(t interface {
mock.TestingT
Cleanup(func())
}) *TaggedAnnotationServiceClient
NewTaggedAnnotationServiceClient creates a new instance of TaggedAnnotationServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*TaggedAnnotationServiceClient) AddToAnnotationGroup ¶
func (_mock *TaggedAnnotationServiceClient) AddToAnnotationGroup(ctx context.Context, in *annotation.AnnotationGroupId, opts ...grpc.CallOption) (*annotation.TaggedAnnotationGroup, error)
AddToAnnotationGroup provides a mock function for the type TaggedAnnotationServiceClient
func (*TaggedAnnotationServiceClient) AutocompleteAnnotation ¶
func (_mock *TaggedAnnotationServiceClient) AutocompleteAnnotation(ctx context.Context, in *annotation.AnnotationAutocompleteParameters, opts ...grpc.CallOption) (*annotation.AnnotationSuggestionCollection, error)
AutocompleteAnnotation provides a mock function for the type TaggedAnnotationServiceClient
func (*TaggedAnnotationServiceClient) CreateAnnotation ¶
func (_mock *TaggedAnnotationServiceClient) CreateAnnotation(ctx context.Context, in *annotation.NewTaggedAnnotation, opts ...grpc.CallOption) (*annotation.TaggedAnnotation, error)
CreateAnnotation provides a mock function for the type TaggedAnnotationServiceClient
func (*TaggedAnnotationServiceClient) CreateAnnotationGroup ¶
func (_mock *TaggedAnnotationServiceClient) CreateAnnotationGroup(ctx context.Context, in *annotation.AnnotationIdList, opts ...grpc.CallOption) (*annotation.TaggedAnnotationGroup, error)
CreateAnnotationGroup provides a mock function for the type TaggedAnnotationServiceClient
func (*TaggedAnnotationServiceClient) DeleteAnnotation ¶
func (_mock *TaggedAnnotationServiceClient) DeleteAnnotation(ctx context.Context, in *annotation.DeleteAnnotationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
DeleteAnnotation provides a mock function for the type TaggedAnnotationServiceClient
func (*TaggedAnnotationServiceClient) DeleteAnnotationGroup ¶
func (_mock *TaggedAnnotationServiceClient) DeleteAnnotationGroup(ctx context.Context, in *annotation.GroupEntryId, opts ...grpc.CallOption) (*emptypb.Empty, error)
DeleteAnnotationGroup provides a mock function for the type TaggedAnnotationServiceClient
func (*TaggedAnnotationServiceClient) EXPECT ¶
func (_m *TaggedAnnotationServiceClient) EXPECT() *TaggedAnnotationServiceClient_Expecter
func (*TaggedAnnotationServiceClient) GetAnnotation ¶
func (_mock *TaggedAnnotationServiceClient) GetAnnotation(ctx context.Context, in *annotation.AnnotationId, opts ...grpc.CallOption) (*annotation.TaggedAnnotation, error)
GetAnnotation provides a mock function for the type TaggedAnnotationServiceClient
func (*TaggedAnnotationServiceClient) GetAnnotationGroup ¶
func (_mock *TaggedAnnotationServiceClient) GetAnnotationGroup(ctx context.Context, in *annotation.GroupEntryId, opts ...grpc.CallOption) (*annotation.TaggedAnnotationGroup, error)
GetAnnotationGroup provides a mock function for the type TaggedAnnotationServiceClient
func (*TaggedAnnotationServiceClient) GetAnnotationTag ¶
func (_mock *TaggedAnnotationServiceClient) GetAnnotationTag(ctx context.Context, in *annotation.TagRequest, opts ...grpc.CallOption) (*annotation.AnnotationTag, error)
GetAnnotationTag provides a mock function for the type TaggedAnnotationServiceClient
func (*TaggedAnnotationServiceClient) GetEntryAnnotation ¶
func (_mock *TaggedAnnotationServiceClient) GetEntryAnnotation(ctx context.Context, in *annotation.EntryAnnotationRequest, opts ...grpc.CallOption) (*annotation.TaggedAnnotation, error)
GetEntryAnnotation provides a mock function for the type TaggedAnnotationServiceClient
func (*TaggedAnnotationServiceClient) ListAnnotationGroups ¶
func (_mock *TaggedAnnotationServiceClient) ListAnnotationGroups(ctx context.Context, in *annotation.ListGroupParameters, opts ...grpc.CallOption) (*annotation.TaggedAnnotationGroupCollection, error)
ListAnnotationGroups provides a mock function for the type TaggedAnnotationServiceClient
func (*TaggedAnnotationServiceClient) ListAnnotations ¶
func (_mock *TaggedAnnotationServiceClient) ListAnnotations(ctx context.Context, in *annotation.ListParameters, opts ...grpc.CallOption) (*annotation.TaggedAnnotationCollection, error)
ListAnnotations provides a mock function for the type TaggedAnnotationServiceClient
func (*TaggedAnnotationServiceClient) OboJSONFileUpload ¶
func (_mock *TaggedAnnotationServiceClient) OboJSONFileUpload(ctx context.Context, opts ...grpc.CallOption) (annotation.TaggedAnnotationService_OboJSONFileUploadClient, error)
OboJSONFileUpload provides a mock function for the type TaggedAnnotationServiceClient
func (*TaggedAnnotationServiceClient) SearchAnnotation ¶
func (_mock *TaggedAnnotationServiceClient) SearchAnnotation(ctx context.Context, in *annotation.AnnotationSearchParameters, opts ...grpc.CallOption) (*annotation.AnnotationSearchResultCollection, error)
SearchAnnotation provides a mock function for the type TaggedAnnotationServiceClient
func (*TaggedAnnotationServiceClient) UpdateAnnotation ¶
func (_mock *TaggedAnnotationServiceClient) UpdateAnnotation(ctx context.Context, in *annotation.TaggedAnnotationUpdate, opts ...grpc.CallOption) (*annotation.TaggedAnnotation, error)
UpdateAnnotation provides a mock function for the type TaggedAnnotationServiceClient
type TaggedAnnotationServiceClient_AddToAnnotationGroup_Call ¶
TaggedAnnotationServiceClient_AddToAnnotationGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddToAnnotationGroup'
func (*TaggedAnnotationServiceClient_AddToAnnotationGroup_Call) Return ¶
func (_c *TaggedAnnotationServiceClient_AddToAnnotationGroup_Call) Return(taggedAnnotationGroup *annotation.TaggedAnnotationGroup, err error) *TaggedAnnotationServiceClient_AddToAnnotationGroup_Call
func (*TaggedAnnotationServiceClient_AddToAnnotationGroup_Call) Run ¶
func (_c *TaggedAnnotationServiceClient_AddToAnnotationGroup_Call) Run(run func(ctx context.Context, in *annotation.AnnotationGroupId, opts ...grpc.CallOption)) *TaggedAnnotationServiceClient_AddToAnnotationGroup_Call
func (*TaggedAnnotationServiceClient_AddToAnnotationGroup_Call) RunAndReturn ¶
func (_c *TaggedAnnotationServiceClient_AddToAnnotationGroup_Call) RunAndReturn(run func(ctx context.Context, in *annotation.AnnotationGroupId, opts ...grpc.CallOption) (*annotation.TaggedAnnotationGroup, error)) *TaggedAnnotationServiceClient_AddToAnnotationGroup_Call
type TaggedAnnotationServiceClient_AutocompleteAnnotation_Call ¶
TaggedAnnotationServiceClient_AutocompleteAnnotation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AutocompleteAnnotation'
func (*TaggedAnnotationServiceClient_AutocompleteAnnotation_Call) Return ¶
func (_c *TaggedAnnotationServiceClient_AutocompleteAnnotation_Call) Return(annotationSuggestionCollection *annotation.AnnotationSuggestionCollection, err error) *TaggedAnnotationServiceClient_AutocompleteAnnotation_Call
func (*TaggedAnnotationServiceClient_AutocompleteAnnotation_Call) Run ¶
func (_c *TaggedAnnotationServiceClient_AutocompleteAnnotation_Call) Run(run func(ctx context.Context, in *annotation.AnnotationAutocompleteParameters, opts ...grpc.CallOption)) *TaggedAnnotationServiceClient_AutocompleteAnnotation_Call
func (*TaggedAnnotationServiceClient_AutocompleteAnnotation_Call) RunAndReturn ¶
func (_c *TaggedAnnotationServiceClient_AutocompleteAnnotation_Call) RunAndReturn(run func(ctx context.Context, in *annotation.AnnotationAutocompleteParameters, opts ...grpc.CallOption) (*annotation.AnnotationSuggestionCollection, error)) *TaggedAnnotationServiceClient_AutocompleteAnnotation_Call
type TaggedAnnotationServiceClient_CreateAnnotationGroup_Call ¶
TaggedAnnotationServiceClient_CreateAnnotationGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateAnnotationGroup'
func (*TaggedAnnotationServiceClient_CreateAnnotationGroup_Call) Return ¶
func (_c *TaggedAnnotationServiceClient_CreateAnnotationGroup_Call) Return(taggedAnnotationGroup *annotation.TaggedAnnotationGroup, err error) *TaggedAnnotationServiceClient_CreateAnnotationGroup_Call
func (*TaggedAnnotationServiceClient_CreateAnnotationGroup_Call) Run ¶
func (_c *TaggedAnnotationServiceClient_CreateAnnotationGroup_Call) Run(run func(ctx context.Context, in *annotation.AnnotationIdList, opts ...grpc.CallOption)) *TaggedAnnotationServiceClient_CreateAnnotationGroup_Call
func (*TaggedAnnotationServiceClient_CreateAnnotationGroup_Call) RunAndReturn ¶
func (_c *TaggedAnnotationServiceClient_CreateAnnotationGroup_Call) RunAndReturn(run func(ctx context.Context, in *annotation.AnnotationIdList, opts ...grpc.CallOption) (*annotation.TaggedAnnotationGroup, error)) *TaggedAnnotationServiceClient_CreateAnnotationGroup_Call
type TaggedAnnotationServiceClient_CreateAnnotation_Call ¶
TaggedAnnotationServiceClient_CreateAnnotation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateAnnotation'
func (*TaggedAnnotationServiceClient_CreateAnnotation_Call) Return ¶
func (_c *TaggedAnnotationServiceClient_CreateAnnotation_Call) Return(taggedAnnotation *annotation.TaggedAnnotation, err error) *TaggedAnnotationServiceClient_CreateAnnotation_Call
func (*TaggedAnnotationServiceClient_CreateAnnotation_Call) Run ¶
func (_c *TaggedAnnotationServiceClient_CreateAnnotation_Call) Run(run func(ctx context.Context, in *annotation.NewTaggedAnnotation, opts ...grpc.CallOption)) *TaggedAnnotationServiceClient_CreateAnnotation_Call
func (*TaggedAnnotationServiceClient_CreateAnnotation_Call) RunAndReturn ¶
func (_c *TaggedAnnotationServiceClient_CreateAnnotation_Call) RunAndReturn(run func(ctx context.Context, in *annotation.NewTaggedAnnotation, opts ...grpc.CallOption) (*annotation.TaggedAnnotation, error)) *TaggedAnnotationServiceClient_CreateAnnotation_Call
type TaggedAnnotationServiceClient_DeleteAnnotationGroup_Call ¶
TaggedAnnotationServiceClient_DeleteAnnotationGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAnnotationGroup'
func (*TaggedAnnotationServiceClient_DeleteAnnotationGroup_Call) Return ¶
func (_c *TaggedAnnotationServiceClient_DeleteAnnotationGroup_Call) Return(empty *emptypb.Empty, err error) *TaggedAnnotationServiceClient_DeleteAnnotationGroup_Call
func (*TaggedAnnotationServiceClient_DeleteAnnotationGroup_Call) Run ¶
func (_c *TaggedAnnotationServiceClient_DeleteAnnotationGroup_Call) Run(run func(ctx context.Context, in *annotation.GroupEntryId, opts ...grpc.CallOption)) *TaggedAnnotationServiceClient_DeleteAnnotationGroup_Call
func (*TaggedAnnotationServiceClient_DeleteAnnotationGroup_Call) RunAndReturn ¶
func (_c *TaggedAnnotationServiceClient_DeleteAnnotationGroup_Call) RunAndReturn(run func(ctx context.Context, in *annotation.GroupEntryId, opts ...grpc.CallOption) (*emptypb.Empty, error)) *TaggedAnnotationServiceClient_DeleteAnnotationGroup_Call
type TaggedAnnotationServiceClient_DeleteAnnotation_Call ¶
TaggedAnnotationServiceClient_DeleteAnnotation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAnnotation'
func (*TaggedAnnotationServiceClient_DeleteAnnotation_Call) Return ¶
func (_c *TaggedAnnotationServiceClient_DeleteAnnotation_Call) Return(empty *emptypb.Empty, err error) *TaggedAnnotationServiceClient_DeleteAnnotation_Call
func (*TaggedAnnotationServiceClient_DeleteAnnotation_Call) Run ¶
func (_c *TaggedAnnotationServiceClient_DeleteAnnotation_Call) Run(run func(ctx context.Context, in *annotation.DeleteAnnotationRequest, opts ...grpc.CallOption)) *TaggedAnnotationServiceClient_DeleteAnnotation_Call
func (*TaggedAnnotationServiceClient_DeleteAnnotation_Call) RunAndReturn ¶
func (_c *TaggedAnnotationServiceClient_DeleteAnnotation_Call) RunAndReturn(run func(ctx context.Context, in *annotation.DeleteAnnotationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)) *TaggedAnnotationServiceClient_DeleteAnnotation_Call
type TaggedAnnotationServiceClient_Expecter ¶
type TaggedAnnotationServiceClient_Expecter struct {
// contains filtered or unexported fields
}
func (*TaggedAnnotationServiceClient_Expecter) AddToAnnotationGroup ¶
func (_e *TaggedAnnotationServiceClient_Expecter) AddToAnnotationGroup(ctx interface{}, in interface{}, opts ...interface{}) *TaggedAnnotationServiceClient_AddToAnnotationGroup_Call
AddToAnnotationGroup is a helper method to define mock.On call
- ctx
- in
- opts
func (*TaggedAnnotationServiceClient_Expecter) AutocompleteAnnotation ¶
func (_e *TaggedAnnotationServiceClient_Expecter) AutocompleteAnnotation(ctx interface{}, in interface{}, opts ...interface{}) *TaggedAnnotationServiceClient_AutocompleteAnnotation_Call
AutocompleteAnnotation is a helper method to define mock.On call
- ctx
- in
- opts
func (*TaggedAnnotationServiceClient_Expecter) CreateAnnotation ¶
func (_e *TaggedAnnotationServiceClient_Expecter) CreateAnnotation(ctx interface{}, in interface{}, opts ...interface{}) *TaggedAnnotationServiceClient_CreateAnnotation_Call
CreateAnnotation is a helper method to define mock.On call
- ctx
- in
- opts
func (*TaggedAnnotationServiceClient_Expecter) CreateAnnotationGroup ¶
func (_e *TaggedAnnotationServiceClient_Expecter) CreateAnnotationGroup(ctx interface{}, in interface{}, opts ...interface{}) *TaggedAnnotationServiceClient_CreateAnnotationGroup_Call
CreateAnnotationGroup is a helper method to define mock.On call
- ctx
- in
- opts
func (*TaggedAnnotationServiceClient_Expecter) DeleteAnnotation ¶
func (_e *TaggedAnnotationServiceClient_Expecter) DeleteAnnotation(ctx interface{}, in interface{}, opts ...interface{}) *TaggedAnnotationServiceClient_DeleteAnnotation_Call
DeleteAnnotation is a helper method to define mock.On call
- ctx
- in
- opts
func (*TaggedAnnotationServiceClient_Expecter) DeleteAnnotationGroup ¶
func (_e *TaggedAnnotationServiceClient_Expecter) DeleteAnnotationGroup(ctx interface{}, in interface{}, opts ...interface{}) *TaggedAnnotationServiceClient_DeleteAnnotationGroup_Call
DeleteAnnotationGroup is a helper method to define mock.On call
- ctx
- in
- opts
func (*TaggedAnnotationServiceClient_Expecter) GetAnnotation ¶
func (_e *TaggedAnnotationServiceClient_Expecter) GetAnnotation(ctx interface{}, in interface{}, opts ...interface{}) *TaggedAnnotationServiceClient_GetAnnotation_Call
GetAnnotation is a helper method to define mock.On call
- ctx
- in
- opts
func (*TaggedAnnotationServiceClient_Expecter) GetAnnotationGroup ¶
func (_e *TaggedAnnotationServiceClient_Expecter) GetAnnotationGroup(ctx interface{}, in interface{}, opts ...interface{}) *TaggedAnnotationServiceClient_GetAnnotationGroup_Call
GetAnnotationGroup is a helper method to define mock.On call
- ctx
- in
- opts
func (*TaggedAnnotationServiceClient_Expecter) GetAnnotationTag ¶
func (_e *TaggedAnnotationServiceClient_Expecter) GetAnnotationTag(ctx interface{}, in interface{}, opts ...interface{}) *TaggedAnnotationServiceClient_GetAnnotationTag_Call
GetAnnotationTag is a helper method to define mock.On call
- ctx
- in
- opts
func (*TaggedAnnotationServiceClient_Expecter) GetEntryAnnotation ¶
func (_e *TaggedAnnotationServiceClient_Expecter) GetEntryAnnotation(ctx interface{}, in interface{}, opts ...interface{}) *TaggedAnnotationServiceClient_GetEntryAnnotation_Call
GetEntryAnnotation is a helper method to define mock.On call
- ctx
- in
- opts
func (*TaggedAnnotationServiceClient_Expecter) ListAnnotationGroups ¶
func (_e *TaggedAnnotationServiceClient_Expecter) ListAnnotationGroups(ctx interface{}, in interface{}, opts ...interface{}) *TaggedAnnotationServiceClient_ListAnnotationGroups_Call
ListAnnotationGroups is a helper method to define mock.On call
- ctx
- in
- opts
func (*TaggedAnnotationServiceClient_Expecter) ListAnnotations ¶
func (_e *TaggedAnnotationServiceClient_Expecter) ListAnnotations(ctx interface{}, in interface{}, opts ...interface{}) *TaggedAnnotationServiceClient_ListAnnotations_Call
ListAnnotations is a helper method to define mock.On call
- ctx
- in
- opts
func (*TaggedAnnotationServiceClient_Expecter) OboJSONFileUpload ¶
func (_e *TaggedAnnotationServiceClient_Expecter) OboJSONFileUpload(ctx interface{}, opts ...interface{}) *TaggedAnnotationServiceClient_OboJSONFileUpload_Call
OboJSONFileUpload is a helper method to define mock.On call
- ctx
- opts
func (*TaggedAnnotationServiceClient_Expecter) SearchAnnotation ¶
func (_e *TaggedAnnotationServiceClient_Expecter) SearchAnnotation(ctx interface{}, in interface{}, opts ...interface{}) *TaggedAnnotationServiceClient_SearchAnnotation_Call
SearchAnnotation is a helper method to define mock.On call
- ctx
- in
- opts
func (*TaggedAnnotationServiceClient_Expecter) UpdateAnnotation ¶
func (_e *TaggedAnnotationServiceClient_Expecter) UpdateAnnotation(ctx interface{}, in interface{}, opts ...interface{}) *TaggedAnnotationServiceClient_UpdateAnnotation_Call
UpdateAnnotation is a helper method to define mock.On call
- ctx
- in
- opts
type TaggedAnnotationServiceClient_GetAnnotationGroup_Call ¶
TaggedAnnotationServiceClient_GetAnnotationGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAnnotationGroup'
func (*TaggedAnnotationServiceClient_GetAnnotationGroup_Call) Return ¶
func (_c *TaggedAnnotationServiceClient_GetAnnotationGroup_Call) Return(taggedAnnotationGroup *annotation.TaggedAnnotationGroup, err error) *TaggedAnnotationServiceClient_GetAnnotationGroup_Call
func (*TaggedAnnotationServiceClient_GetAnnotationGroup_Call) Run ¶
func (_c *TaggedAnnotationServiceClient_GetAnnotationGroup_Call) Run(run func(ctx context.Context, in *annotation.GroupEntryId, opts ...grpc.CallOption)) *TaggedAnnotationServiceClient_GetAnnotationGroup_Call
func (*TaggedAnnotationServiceClient_GetAnnotationGroup_Call) RunAndReturn ¶
func (_c *TaggedAnnotationServiceClient_GetAnnotationGroup_Call) RunAndReturn(run func(ctx context.Context, in *annotation.GroupEntryId, opts ...grpc.CallOption) (*annotation.TaggedAnnotationGroup, error)) *TaggedAnnotationServiceClient_GetAnnotationGroup_Call
type TaggedAnnotationServiceClient_GetAnnotationTag_Call ¶
TaggedAnnotationServiceClient_GetAnnotationTag_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAnnotationTag'
func (*TaggedAnnotationServiceClient_GetAnnotationTag_Call) Return ¶
func (_c *TaggedAnnotationServiceClient_GetAnnotationTag_Call) Return(annotationTag *annotation.AnnotationTag, err error) *TaggedAnnotationServiceClient_GetAnnotationTag_Call
func (*TaggedAnnotationServiceClient_GetAnnotationTag_Call) Run ¶
func (_c *TaggedAnnotationServiceClient_GetAnnotationTag_Call) Run(run func(ctx context.Context, in *annotation.TagRequest, opts ...grpc.CallOption)) *TaggedAnnotationServiceClient_GetAnnotationTag_Call
func (*TaggedAnnotationServiceClient_GetAnnotationTag_Call) RunAndReturn ¶
func (_c *TaggedAnnotationServiceClient_GetAnnotationTag_Call) RunAndReturn(run func(ctx context.Context, in *annotation.TagRequest, opts ...grpc.CallOption) (*annotation.AnnotationTag, error)) *TaggedAnnotationServiceClient_GetAnnotationTag_Call
type TaggedAnnotationServiceClient_GetAnnotation_Call ¶
TaggedAnnotationServiceClient_GetAnnotation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAnnotation'
func (*TaggedAnnotationServiceClient_GetAnnotation_Call) Return ¶
func (_c *TaggedAnnotationServiceClient_GetAnnotation_Call) Return(taggedAnnotation *annotation.TaggedAnnotation, err error) *TaggedAnnotationServiceClient_GetAnnotation_Call
func (*TaggedAnnotationServiceClient_GetAnnotation_Call) Run ¶
func (_c *TaggedAnnotationServiceClient_GetAnnotation_Call) Run(run func(ctx context.Context, in *annotation.AnnotationId, opts ...grpc.CallOption)) *TaggedAnnotationServiceClient_GetAnnotation_Call
func (*TaggedAnnotationServiceClient_GetAnnotation_Call) RunAndReturn ¶
func (_c *TaggedAnnotationServiceClient_GetAnnotation_Call) RunAndReturn(run func(ctx context.Context, in *annotation.AnnotationId, opts ...grpc.CallOption) (*annotation.TaggedAnnotation, error)) *TaggedAnnotationServiceClient_GetAnnotation_Call
type TaggedAnnotationServiceClient_GetEntryAnnotation_Call ¶
TaggedAnnotationServiceClient_GetEntryAnnotation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEntryAnnotation'
func (*TaggedAnnotationServiceClient_GetEntryAnnotation_Call) Return ¶
func (_c *TaggedAnnotationServiceClient_GetEntryAnnotation_Call) Return(taggedAnnotation *annotation.TaggedAnnotation, err error) *TaggedAnnotationServiceClient_GetEntryAnnotation_Call
func (*TaggedAnnotationServiceClient_GetEntryAnnotation_Call) Run ¶
func (_c *TaggedAnnotationServiceClient_GetEntryAnnotation_Call) Run(run func(ctx context.Context, in *annotation.EntryAnnotationRequest, opts ...grpc.CallOption)) *TaggedAnnotationServiceClient_GetEntryAnnotation_Call
func (*TaggedAnnotationServiceClient_GetEntryAnnotation_Call) RunAndReturn ¶
func (_c *TaggedAnnotationServiceClient_GetEntryAnnotation_Call) RunAndReturn(run func(ctx context.Context, in *annotation.EntryAnnotationRequest, opts ...grpc.CallOption) (*annotation.TaggedAnnotation, error)) *TaggedAnnotationServiceClient_GetEntryAnnotation_Call
type TaggedAnnotationServiceClient_ListAnnotationGroups_Call ¶
TaggedAnnotationServiceClient_ListAnnotationGroups_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAnnotationGroups'
func (*TaggedAnnotationServiceClient_ListAnnotationGroups_Call) Return ¶
func (_c *TaggedAnnotationServiceClient_ListAnnotationGroups_Call) Return(taggedAnnotationGroupCollection *annotation.TaggedAnnotationGroupCollection, err error) *TaggedAnnotationServiceClient_ListAnnotationGroups_Call
func (*TaggedAnnotationServiceClient_ListAnnotationGroups_Call) Run ¶
func (_c *TaggedAnnotationServiceClient_ListAnnotationGroups_Call) Run(run func(ctx context.Context, in *annotation.ListGroupParameters, opts ...grpc.CallOption)) *TaggedAnnotationServiceClient_ListAnnotationGroups_Call
func (*TaggedAnnotationServiceClient_ListAnnotationGroups_Call) RunAndReturn ¶
func (_c *TaggedAnnotationServiceClient_ListAnnotationGroups_Call) RunAndReturn(run func(ctx context.Context, in *annotation.ListGroupParameters, opts ...grpc.CallOption) (*annotation.TaggedAnnotationGroupCollection, error)) *TaggedAnnotationServiceClient_ListAnnotationGroups_Call
type TaggedAnnotationServiceClient_ListAnnotations_Call ¶
TaggedAnnotationServiceClient_ListAnnotations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAnnotations'
func (*TaggedAnnotationServiceClient_ListAnnotations_Call) Return ¶
func (_c *TaggedAnnotationServiceClient_ListAnnotations_Call) Return(taggedAnnotationCollection *annotation.TaggedAnnotationCollection, err error) *TaggedAnnotationServiceClient_ListAnnotations_Call
func (*TaggedAnnotationServiceClient_ListAnnotations_Call) Run ¶
func (_c *TaggedAnnotationServiceClient_ListAnnotations_Call) Run(run func(ctx context.Context, in *annotation.ListParameters, opts ...grpc.CallOption)) *TaggedAnnotationServiceClient_ListAnnotations_Call
func (*TaggedAnnotationServiceClient_ListAnnotations_Call) RunAndReturn ¶
func (_c *TaggedAnnotationServiceClient_ListAnnotations_Call) RunAndReturn(run func(ctx context.Context, in *annotation.ListParameters, opts ...grpc.CallOption) (*annotation.TaggedAnnotationCollection, error)) *TaggedAnnotationServiceClient_ListAnnotations_Call
type TaggedAnnotationServiceClient_OboJSONFileUpload_Call ¶
TaggedAnnotationServiceClient_OboJSONFileUpload_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OboJSONFileUpload'
func (*TaggedAnnotationServiceClient_OboJSONFileUpload_Call) Return ¶
func (_c *TaggedAnnotationServiceClient_OboJSONFileUpload_Call) Return(taggedAnnotationService_OboJSONFileUploadClient annotation.TaggedAnnotationService_OboJSONFileUploadClient, err error) *TaggedAnnotationServiceClient_OboJSONFileUpload_Call
func (*TaggedAnnotationServiceClient_OboJSONFileUpload_Call) Run ¶
func (_c *TaggedAnnotationServiceClient_OboJSONFileUpload_Call) Run(run func(ctx context.Context, opts ...grpc.CallOption)) *TaggedAnnotationServiceClient_OboJSONFileUpload_Call
func (*TaggedAnnotationServiceClient_OboJSONFileUpload_Call) RunAndReturn ¶
func (_c *TaggedAnnotationServiceClient_OboJSONFileUpload_Call) RunAndReturn(run func(ctx context.Context, opts ...grpc.CallOption) (annotation.TaggedAnnotationService_OboJSONFileUploadClient, error)) *TaggedAnnotationServiceClient_OboJSONFileUpload_Call
type TaggedAnnotationServiceClient_SearchAnnotation_Call ¶
TaggedAnnotationServiceClient_SearchAnnotation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SearchAnnotation'
func (*TaggedAnnotationServiceClient_SearchAnnotation_Call) Return ¶
func (_c *TaggedAnnotationServiceClient_SearchAnnotation_Call) Return(annotationSearchResultCollection *annotation.AnnotationSearchResultCollection, err error) *TaggedAnnotationServiceClient_SearchAnnotation_Call
func (*TaggedAnnotationServiceClient_SearchAnnotation_Call) Run ¶
func (_c *TaggedAnnotationServiceClient_SearchAnnotation_Call) Run(run func(ctx context.Context, in *annotation.AnnotationSearchParameters, opts ...grpc.CallOption)) *TaggedAnnotationServiceClient_SearchAnnotation_Call
func (*TaggedAnnotationServiceClient_SearchAnnotation_Call) RunAndReturn ¶
func (_c *TaggedAnnotationServiceClient_SearchAnnotation_Call) RunAndReturn(run func(ctx context.Context, in *annotation.AnnotationSearchParameters, opts ...grpc.CallOption) (*annotation.AnnotationSearchResultCollection, error)) *TaggedAnnotationServiceClient_SearchAnnotation_Call
type TaggedAnnotationServiceClient_UpdateAnnotation_Call ¶
TaggedAnnotationServiceClient_UpdateAnnotation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateAnnotation'
func (*TaggedAnnotationServiceClient_UpdateAnnotation_Call) Return ¶
func (_c *TaggedAnnotationServiceClient_UpdateAnnotation_Call) Return(taggedAnnotation *annotation.TaggedAnnotation, err error) *TaggedAnnotationServiceClient_UpdateAnnotation_Call
func (*TaggedAnnotationServiceClient_UpdateAnnotation_Call) Run ¶
func (_c *TaggedAnnotationServiceClient_UpdateAnnotation_Call) Run(run func(ctx context.Context, in *annotation.TaggedAnnotationUpdate, opts ...grpc.CallOption)) *TaggedAnnotationServiceClient_UpdateAnnotation_Call
func (*TaggedAnnotationServiceClient_UpdateAnnotation_Call) RunAndReturn ¶
func (_c *TaggedAnnotationServiceClient_UpdateAnnotation_Call) RunAndReturn(run func(ctx context.Context, in *annotation.TaggedAnnotationUpdate, opts ...grpc.CallOption) (*annotation.TaggedAnnotation, error)) *TaggedAnnotationServiceClient_UpdateAnnotation_Call
type UserServiceClient ¶
UserServiceClient is an autogenerated mock type for the UserServiceClient type
func (*UserServiceClient) CreateRoleRelationship ¶
func (_m *UserServiceClient) CreateRoleRelationship(ctx context.Context, in *jsonapi.DataCollection, opts ...grpc.CallOption) (*empty.Empty, error)
CreateRoleRelationship provides a mock function with given fields: ctx, in, opts
func (*UserServiceClient) CreateUser ¶
func (_m *UserServiceClient) CreateUser(ctx context.Context, in *user.CreateUserRequest, opts ...grpc.CallOption) (*user.User, error)
CreateUser provides a mock function with given fields: ctx, in, opts
func (*UserServiceClient) DeleteRoleRelationship ¶
func (_m *UserServiceClient) DeleteRoleRelationship(ctx context.Context, in *jsonapi.DataCollection, opts ...grpc.CallOption) (*empty.Empty, error)
DeleteRoleRelationship provides a mock function with given fields: ctx, in, opts
func (*UserServiceClient) DeleteUser ¶
func (_m *UserServiceClient) DeleteUser(ctx context.Context, in *jsonapi.DeleteRequest, opts ...grpc.CallOption) (*empty.Empty, error)
DeleteUser provides a mock function with given fields: ctx, in, opts
func (*UserServiceClient) ExistUser ¶
func (_m *UserServiceClient) ExistUser(ctx context.Context, in *jsonapi.IdRequest, opts ...grpc.CallOption) (*jsonapi.ExistResponse, error)
ExistUser provides a mock function with given fields: ctx, in, opts
func (*UserServiceClient) GetRelatedRoles ¶
func (_m *UserServiceClient) GetRelatedRoles(ctx context.Context, in *jsonapi.RelationshipRequest, opts ...grpc.CallOption) (*user.RoleCollection, error)
GetRelatedRoles provides a mock function with given fields: ctx, in, opts
func (*UserServiceClient) GetUser ¶
func (_m *UserServiceClient) GetUser(ctx context.Context, in *jsonapi.GetRequest, opts ...grpc.CallOption) (*user.User, error)
GetUser provides a mock function with given fields: ctx, in, opts
func (*UserServiceClient) GetUserByEmail ¶
func (_m *UserServiceClient) GetUserByEmail(ctx context.Context, in *jsonapi.GetEmailRequest, opts ...grpc.CallOption) (*user.User, error)
GetUserByEmail provides a mock function with given fields: ctx, in, opts
func (*UserServiceClient) Healthz ¶
func (_m *UserServiceClient) Healthz(ctx context.Context, in *jsonapi.HealthzIdRequest, opts ...grpc.CallOption) (*empty.Empty, error)
Healthz provides a mock function with given fields: ctx, in, opts
func (*UserServiceClient) ListUsers ¶
func (_m *UserServiceClient) ListUsers(ctx context.Context, in *jsonapi.ListRequest, opts ...grpc.CallOption) (*user.UserCollection, error)
ListUsers provides a mock function with given fields: ctx, in, opts
func (*UserServiceClient) UpdateRoleRelationship ¶
func (_m *UserServiceClient) UpdateRoleRelationship(ctx context.Context, in *jsonapi.DataCollection, opts ...grpc.CallOption) (*empty.Empty, error)
UpdateRoleRelationship provides a mock function with given fields: ctx, in, opts
func (*UserServiceClient) UpdateUser ¶
func (_m *UserServiceClient) UpdateUser(ctx context.Context, in *user.UpdateUserRequest, opts ...grpc.CallOption) (*user.User, error)
UpdateUser provides a mock function with given fields: ctx, in, opts