Help us shape the future of Go! Take the 2026 Go Developer Survey

clients

package
v1.47.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2026 License: BSD-2-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContentServiceClient

type ContentServiceClient struct {
	mock.Mock
}

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

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

ListContents provides a mock function with given fields: ctx, in, opts

func (*ContentServiceClient) StoreContent

StoreContent provides a mock function with given fields: ctx, in, opts

func (*ContentServiceClient) UpdateContent

UpdateContent provides a mock function with given fields: ctx, in, opts

type IdentityServiceClient

type IdentityServiceClient struct {
	mock.Mock
}

IdentityServiceClient is an autogenerated mock type for the IdentityServiceClient type

func (*IdentityServiceClient) CreateIdentity

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

ExistProviderIdentity provides a mock function with given fields: ctx, in, opts

func (*IdentityServiceClient) GetIdentity

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

Healthz provides a mock function with given fields: ctx, in, opts

type LogtoClient

type LogtoClient struct {
	mock.Mock
}

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

type MockFeatureAnnotationServiceClient struct {
	mock.Mock
}

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

AddTag provides a mock function for the type MockFeatureAnnotationServiceClient

func (*MockFeatureAnnotationServiceClient) AddTags

AddTags provides a mock function for the type MockFeatureAnnotationServiceClient

func (*MockFeatureAnnotationServiceClient) CreateFeatureAnnotation

CreateFeatureAnnotation provides a mock function for the type MockFeatureAnnotationServiceClient

func (*MockFeatureAnnotationServiceClient) DeleteFeatureAnnotation

DeleteFeatureAnnotation provides a mock function for the type MockFeatureAnnotationServiceClient

func (*MockFeatureAnnotationServiceClient) EXPECT

func (*MockFeatureAnnotationServiceClient) GetFeatureAnnotation

GetFeatureAnnotation provides a mock function for the type MockFeatureAnnotationServiceClient

func (*MockFeatureAnnotationServiceClient) GetFeatureAnnotationByName

GetFeatureAnnotationByName provides a mock function for the type MockFeatureAnnotationServiceClient

func (*MockFeatureAnnotationServiceClient) ListFeatureAnnotationsByDOI

ListFeatureAnnotationsByDOI provides a mock function for the type MockFeatureAnnotationServiceClient

func (*MockFeatureAnnotationServiceClient) ListFeatureAnnotationsByPubmedId

ListFeatureAnnotationsByPubmedId provides a mock function for the type MockFeatureAnnotationServiceClient

func (*MockFeatureAnnotationServiceClient) RemoveTag

RemoveTag provides a mock function for the type MockFeatureAnnotationServiceClient

func (*MockFeatureAnnotationServiceClient) RemoveTags

RemoveTags provides a mock function for the type MockFeatureAnnotationServiceClient

func (*MockFeatureAnnotationServiceClient) SetTags

SetTags provides a mock function for the type MockFeatureAnnotationServiceClient

func (*MockFeatureAnnotationServiceClient) UpdateFeatureAnnotation

UpdateFeatureAnnotation provides a mock function for the type MockFeatureAnnotationServiceClient

func (*MockFeatureAnnotationServiceClient) UpdateTag

UpdateTag provides a mock function for the type MockFeatureAnnotationServiceClient

type MockFeatureAnnotationServiceClient_AddTag_Call

type MockFeatureAnnotationServiceClient_AddTag_Call struct {
	*mock.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 (*MockFeatureAnnotationServiceClient_AddTag_Call) Run

type MockFeatureAnnotationServiceClient_AddTags_Call

type MockFeatureAnnotationServiceClient_AddTags_Call struct {
	*mock.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 (*MockFeatureAnnotationServiceClient_AddTags_Call) Run

type MockFeatureAnnotationServiceClient_CreateFeatureAnnotation_Call

type MockFeatureAnnotationServiceClient_CreateFeatureAnnotation_Call struct {
	*mock.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

type MockFeatureAnnotationServiceClient_DeleteFeatureAnnotation_Call

type MockFeatureAnnotationServiceClient_DeleteFeatureAnnotation_Call struct {
	*mock.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

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

type MockFeatureAnnotationServiceClient_GetFeatureAnnotationByName_Call struct {
	*mock.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 (*MockFeatureAnnotationServiceClient_GetFeatureAnnotationByName_Call) Run

type MockFeatureAnnotationServiceClient_GetFeatureAnnotation_Call

type MockFeatureAnnotationServiceClient_GetFeatureAnnotation_Call struct {
	*mock.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

type MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByDOI_Call

type MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByDOI_Call struct {
	*mock.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 (*MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByDOI_Call) Run

type MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByPubmedId_Call

type MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByPubmedId_Call struct {
	*mock.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 (*MockFeatureAnnotationServiceClient_ListFeatureAnnotationsByPubmedId_Call) Run

type MockFeatureAnnotationServiceClient_RemoveTag_Call

type MockFeatureAnnotationServiceClient_RemoveTag_Call struct {
	*mock.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 (*MockFeatureAnnotationServiceClient_RemoveTag_Call) Run

type MockFeatureAnnotationServiceClient_RemoveTags_Call

type MockFeatureAnnotationServiceClient_RemoveTags_Call struct {
	*mock.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 (*MockFeatureAnnotationServiceClient_RemoveTags_Call) Run

type MockFeatureAnnotationServiceClient_SetTags_Call

type MockFeatureAnnotationServiceClient_SetTags_Call struct {
	*mock.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 (*MockFeatureAnnotationServiceClient_SetTags_Call) Run

type MockFeatureAnnotationServiceClient_UpdateFeatureAnnotation_Call

type MockFeatureAnnotationServiceClient_UpdateFeatureAnnotation_Call struct {
	*mock.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

type MockFeatureAnnotationServiceClient_UpdateTag_Call

type MockFeatureAnnotationServiceClient_UpdateTag_Call struct {
	*mock.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 (*MockFeatureAnnotationServiceClient_UpdateTag_Call) Run

type OrderServiceClient

type OrderServiceClient struct {
	mock.Mock
}

OrderServiceClient is an autogenerated mock type for the OrderServiceClient type

func (*OrderServiceClient) AutocompleteOrder

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

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

type PermissionServiceClient struct {
	mock.Mock
}

PermissionServiceClient is an autogenerated mock type for the PermissionServiceClient type

func (*PermissionServiceClient) CreatePermission

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

GetPermission provides a mock function with given fields: ctx, in, opts

func (*PermissionServiceClient) ListPermissions

ListPermissions provides a mock function with given fields: ctx, in, opts

func (*PermissionServiceClient) UpdatePermission

UpdatePermission provides a mock function with given fields: ctx, in, opts

type RoleServiceClient

type RoleServiceClient struct {
	mock.Mock
}

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

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

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

type StockServiceClient struct {
	mock.Mock
}

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

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 (*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

ListPlasmids provides a mock function for the type StockServiceClient

func (*StockServiceClient) ListStrains

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

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

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

type StockServiceClient_AutocompleteStock_Call struct {
	*mock.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 (*StockServiceClient_AutocompleteStock_Call) Run

type StockServiceClient_CreatePlasmid_Call

type StockServiceClient_CreatePlasmid_Call struct {
	*mock.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 (*StockServiceClient_CreatePlasmid_Call) Run

func (*StockServiceClient_CreatePlasmid_Call) RunAndReturn

type StockServiceClient_CreateStrain_Call

type StockServiceClient_CreateStrain_Call struct {
	*mock.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 (*StockServiceClient_CreateStrain_Call) Run

func (*StockServiceClient_CreateStrain_Call) RunAndReturn

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

type StockServiceClient_GetPlasmid_Call struct {
	*mock.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 (*StockServiceClient_GetPlasmid_Call) Run

func (*StockServiceClient_GetPlasmid_Call) RunAndReturn

type StockServiceClient_GetStrain_Call

type StockServiceClient_GetStrain_Call struct {
	*mock.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 (*StockServiceClient_GetStrain_Call) Run

func (*StockServiceClient_GetStrain_Call) RunAndReturn

type StockServiceClient_ListPlasmids_Call

type StockServiceClient_ListPlasmids_Call struct {
	*mock.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 (*StockServiceClient_ListPlasmids_Call) Run

func (*StockServiceClient_ListPlasmids_Call) RunAndReturn

type StockServiceClient_ListStrainsByIds_Call

type StockServiceClient_ListStrainsByIds_Call struct {
	*mock.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 (*StockServiceClient_ListStrainsByIds_Call) Run

func (*StockServiceClient_ListStrainsByIds_Call) RunAndReturn

type StockServiceClient_ListStrains_Call

type StockServiceClient_ListStrains_Call struct {
	*mock.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 (*StockServiceClient_ListStrains_Call) Run

func (*StockServiceClient_ListStrains_Call) RunAndReturn

type StockServiceClient_LoadPlasmid_Call

type StockServiceClient_LoadPlasmid_Call struct {
	*mock.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 (*StockServiceClient_LoadPlasmid_Call) Run

func (*StockServiceClient_LoadPlasmid_Call) RunAndReturn

type StockServiceClient_LoadStrain_Call

type StockServiceClient_LoadStrain_Call struct {
	*mock.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 (*StockServiceClient_LoadStrain_Call) Run

func (*StockServiceClient_LoadStrain_Call) RunAndReturn

type StockServiceClient_OboJSONFileUpload_Call

type StockServiceClient_OboJSONFileUpload_Call struct {
	*mock.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 (*StockServiceClient_OboJSONFileUpload_Call) Run

func (*StockServiceClient_OboJSONFileUpload_Call) RunAndReturn

type StockServiceClient_RemoveStock_Call

type StockServiceClient_RemoveStock_Call struct {
	*mock.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 (*StockServiceClient_RemoveStock_Call) Run

func (*StockServiceClient_RemoveStock_Call) RunAndReturn

type StockServiceClient_SearchStock_Call

type StockServiceClient_SearchStock_Call struct {
	*mock.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 (*StockServiceClient_SearchStock_Call) Run

type StockServiceClient_UpdatePlasmid_Call

type StockServiceClient_UpdatePlasmid_Call struct {
	*mock.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 (*StockServiceClient_UpdatePlasmid_Call) Run

func (*StockServiceClient_UpdatePlasmid_Call) RunAndReturn

type StockServiceClient_UpdateStrain_Call

type StockServiceClient_UpdateStrain_Call struct {
	*mock.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 (*StockServiceClient_UpdateStrain_Call) Run

func (*StockServiceClient_UpdateStrain_Call) RunAndReturn

type TaggedAnnotationServiceClient

type TaggedAnnotationServiceClient struct {
	mock.Mock
}

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

AddToAnnotationGroup provides a mock function for the type TaggedAnnotationServiceClient

func (*TaggedAnnotationServiceClient) AutocompleteAnnotation

AutocompleteAnnotation provides a mock function for the type TaggedAnnotationServiceClient

func (*TaggedAnnotationServiceClient) CreateAnnotation

CreateAnnotation provides a mock function for the type TaggedAnnotationServiceClient

func (*TaggedAnnotationServiceClient) CreateAnnotationGroup

CreateAnnotationGroup provides a mock function for the type TaggedAnnotationServiceClient

func (*TaggedAnnotationServiceClient) DeleteAnnotation

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 (*TaggedAnnotationServiceClient) GetAnnotation

GetAnnotation provides a mock function for the type TaggedAnnotationServiceClient

func (*TaggedAnnotationServiceClient) GetAnnotationGroup

GetAnnotationGroup provides a mock function for the type TaggedAnnotationServiceClient

func (*TaggedAnnotationServiceClient) GetAnnotationTag

GetAnnotationTag provides a mock function for the type TaggedAnnotationServiceClient

func (*TaggedAnnotationServiceClient) GetEntryAnnotation

GetEntryAnnotation provides a mock function for the type TaggedAnnotationServiceClient

func (*TaggedAnnotationServiceClient) ListAnnotationGroups

ListAnnotationGroups provides a mock function for the type TaggedAnnotationServiceClient

func (*TaggedAnnotationServiceClient) ListAnnotations

ListAnnotations provides a mock function for the type TaggedAnnotationServiceClient

func (*TaggedAnnotationServiceClient) OboJSONFileUpload

OboJSONFileUpload provides a mock function for the type TaggedAnnotationServiceClient

func (*TaggedAnnotationServiceClient) SearchAnnotation

SearchAnnotation provides a mock function for the type TaggedAnnotationServiceClient

func (*TaggedAnnotationServiceClient) UpdateAnnotation

UpdateAnnotation provides a mock function for the type TaggedAnnotationServiceClient

type TaggedAnnotationServiceClient_AddToAnnotationGroup_Call

type TaggedAnnotationServiceClient_AddToAnnotationGroup_Call struct {
	*mock.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 (*TaggedAnnotationServiceClient_AddToAnnotationGroup_Call) Run

type TaggedAnnotationServiceClient_AutocompleteAnnotation_Call

type TaggedAnnotationServiceClient_AutocompleteAnnotation_Call struct {
	*mock.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

type TaggedAnnotationServiceClient_CreateAnnotationGroup_Call

type TaggedAnnotationServiceClient_CreateAnnotationGroup_Call struct {
	*mock.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 (*TaggedAnnotationServiceClient_CreateAnnotationGroup_Call) Run

type TaggedAnnotationServiceClient_CreateAnnotation_Call

type TaggedAnnotationServiceClient_CreateAnnotation_Call struct {
	*mock.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 (*TaggedAnnotationServiceClient_CreateAnnotation_Call) Run

type TaggedAnnotationServiceClient_DeleteAnnotationGroup_Call

type TaggedAnnotationServiceClient_DeleteAnnotationGroup_Call struct {
	*mock.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 (*TaggedAnnotationServiceClient_DeleteAnnotationGroup_Call) Run

func (*TaggedAnnotationServiceClient_DeleteAnnotationGroup_Call) RunAndReturn

type TaggedAnnotationServiceClient_DeleteAnnotation_Call

type TaggedAnnotationServiceClient_DeleteAnnotation_Call struct {
	*mock.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 (*TaggedAnnotationServiceClient_DeleteAnnotation_Call) Run

func (*TaggedAnnotationServiceClient_DeleteAnnotation_Call) RunAndReturn

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

type TaggedAnnotationServiceClient_GetAnnotationGroup_Call struct {
	*mock.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 (*TaggedAnnotationServiceClient_GetAnnotationGroup_Call) Run

type TaggedAnnotationServiceClient_GetAnnotationTag_Call

type TaggedAnnotationServiceClient_GetAnnotationTag_Call struct {
	*mock.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 (*TaggedAnnotationServiceClient_GetAnnotationTag_Call) Run

func (*TaggedAnnotationServiceClient_GetAnnotationTag_Call) RunAndReturn

type TaggedAnnotationServiceClient_GetAnnotation_Call

type TaggedAnnotationServiceClient_GetAnnotation_Call struct {
	*mock.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 (*TaggedAnnotationServiceClient_GetAnnotation_Call) Run

func (*TaggedAnnotationServiceClient_GetAnnotation_Call) RunAndReturn

type TaggedAnnotationServiceClient_GetEntryAnnotation_Call

type TaggedAnnotationServiceClient_GetEntryAnnotation_Call struct {
	*mock.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 (*TaggedAnnotationServiceClient_GetEntryAnnotation_Call) Run

type TaggedAnnotationServiceClient_ListAnnotationGroups_Call

type TaggedAnnotationServiceClient_ListAnnotationGroups_Call struct {
	*mock.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 (*TaggedAnnotationServiceClient_ListAnnotationGroups_Call) Run

type TaggedAnnotationServiceClient_ListAnnotations_Call

type TaggedAnnotationServiceClient_ListAnnotations_Call struct {
	*mock.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 (*TaggedAnnotationServiceClient_ListAnnotations_Call) Run

type TaggedAnnotationServiceClient_OboJSONFileUpload_Call

type TaggedAnnotationServiceClient_OboJSONFileUpload_Call struct {
	*mock.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 (*TaggedAnnotationServiceClient_OboJSONFileUpload_Call) Run

type TaggedAnnotationServiceClient_SearchAnnotation_Call

type TaggedAnnotationServiceClient_SearchAnnotation_Call struct {
	*mock.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 (*TaggedAnnotationServiceClient_SearchAnnotation_Call) Run

type TaggedAnnotationServiceClient_UpdateAnnotation_Call

type TaggedAnnotationServiceClient_UpdateAnnotation_Call struct {
	*mock.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 (*TaggedAnnotationServiceClient_UpdateAnnotation_Call) Run

type UserServiceClient

type UserServiceClient struct {
	mock.Mock
}

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

ExistUser provides a mock function with given fields: ctx, in, opts

func (*UserServiceClient) GetRelatedRoles

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

Healthz provides a mock function with given fields: ctx, in, opts

func (*UserServiceClient) ListUsers

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL