Documentation
¶
Index ¶
- type AssetService
- func (_m *AssetService) AddProbe(ctx context.Context, assetURN string, probe *asset.Probe) error
- func (_m *AssetService) DeleteAsset(ctx context.Context, id string) error
- func (_m *AssetService) EXPECT() *AssetService_Expecter
- func (_m *AssetService) GetAllAssets(ctx context.Context, flt asset.Filter, withTotal bool) ([]asset.Asset, uint32, error)
- func (_m *AssetService) GetAssetByID(ctx context.Context, id string) (asset.Asset, error)
- func (_m *AssetService) GetAssetByVersion(ctx context.Context, id string, version string) (asset.Asset, error)
- func (_m *AssetService) GetAssetVersionHistory(ctx context.Context, flt asset.Filter, id string) ([]asset.Asset, error)
- func (_m *AssetService) GetLineage(ctx context.Context, urn string, query asset.LineageQuery) (asset.Lineage, error)
- func (_m *AssetService) GetTypes(ctx context.Context, flt asset.Filter) (map[asset.Type]int, error)
- func (_m *AssetService) GroupAssets(ctx context.Context, cfg asset.GroupConfig) ([]asset.GroupResult, error)
- func (_m *AssetService) SearchAssets(ctx context.Context, cfg asset.SearchConfig) ([]asset.SearchResult, error)
- func (_m *AssetService) SuggestAssets(ctx context.Context, cfg asset.SearchConfig) ([]string, error)
- func (_m *AssetService) UpsertAsset(ctx context.Context, ast *asset.Asset, upstreams []string, ...) (string, error)
- func (_m *AssetService) UpsertAssetWithoutLineage(ctx context.Context, ast *asset.Asset) (string, error)
- type AssetService_AddProbe_Call
- type AssetService_DeleteAsset_Call
- type AssetService_Expecter
- func (_e *AssetService_Expecter) AddProbe(ctx interface{}, assetURN interface{}, probe interface{}) *AssetService_AddProbe_Call
- func (_e *AssetService_Expecter) DeleteAsset(ctx interface{}, id interface{}) *AssetService_DeleteAsset_Call
- func (_e *AssetService_Expecter) GetAllAssets(ctx interface{}, flt interface{}, withTotal interface{}) *AssetService_GetAllAssets_Call
- func (_e *AssetService_Expecter) GetAssetByID(ctx interface{}, id interface{}) *AssetService_GetAssetByID_Call
- func (_e *AssetService_Expecter) GetAssetByVersion(ctx interface{}, id interface{}, version interface{}) *AssetService_GetAssetByVersion_Call
- func (_e *AssetService_Expecter) GetAssetVersionHistory(ctx interface{}, flt interface{}, id interface{}) *AssetService_GetAssetVersionHistory_Call
- func (_e *AssetService_Expecter) GetLineage(ctx interface{}, urn interface{}, query interface{}) *AssetService_GetLineage_Call
- func (_e *AssetService_Expecter) GetTypes(ctx interface{}, flt interface{}) *AssetService_GetTypes_Call
- func (_e *AssetService_Expecter) GroupAssets(ctx interface{}, cfg interface{}) *AssetService_GroupAssets_Call
- func (_e *AssetService_Expecter) SearchAssets(ctx interface{}, cfg interface{}) *AssetService_SearchAssets_Call
- func (_e *AssetService_Expecter) SuggestAssets(ctx interface{}, cfg interface{}) *AssetService_SuggestAssets_Call
- func (_e *AssetService_Expecter) UpsertAsset(ctx interface{}, ast interface{}, upstreams interface{}, ...) *AssetService_UpsertAsset_Call
- func (_e *AssetService_Expecter) UpsertAssetWithoutLineage(ctx interface{}, ast interface{}) *AssetService_UpsertAssetWithoutLineage_Call
- type AssetService_GetAllAssets_Call
- type AssetService_GetAssetByID_Call
- type AssetService_GetAssetByVersion_Call
- type AssetService_GetAssetVersionHistory_Call
- type AssetService_GetLineage_Call
- type AssetService_GetTypes_Call
- type AssetService_GroupAssets_Call
- type AssetService_SearchAssets_Call
- type AssetService_SuggestAssets_Call
- type AssetService_UpsertAssetWithoutLineage_Call
- type AssetService_UpsertAsset_Call
- type DiscussionService
- func (_m *DiscussionService) CreateComment(ctx context.Context, cmt *discussion.Comment) (string, error)
- func (_m *DiscussionService) CreateDiscussion(ctx context.Context, _a1 *discussion.Discussion) (string, error)
- func (_m *DiscussionService) DeleteComment(ctx context.Context, commentID string, discussionID string) error
- func (_m *DiscussionService) EXPECT() *DiscussionService_Expecter
- func (_m *DiscussionService) GetComment(ctx context.Context, commentID string, discussionID string) (discussion.Comment, error)
- func (_m *DiscussionService) GetComments(ctx context.Context, discussionID string, filter discussion.Filter) ([]discussion.Comment, error)
- func (_m *DiscussionService) GetDiscussion(ctx context.Context, did string) (discussion.Discussion, error)
- func (_m *DiscussionService) GetDiscussions(ctx context.Context, filter discussion.Filter) ([]discussion.Discussion, error)
- func (_m *DiscussionService) PatchDiscussion(ctx context.Context, _a1 *discussion.Discussion) error
- func (_m *DiscussionService) UpdateComment(ctx context.Context, cmt *discussion.Comment) error
- type DiscussionService_CreateComment_Call
- func (_c *DiscussionService_CreateComment_Call) Return(_a0 string, _a1 error) *DiscussionService_CreateComment_Call
- func (_c *DiscussionService_CreateComment_Call) Run(run func(ctx context.Context, cmt *discussion.Comment)) *DiscussionService_CreateComment_Call
- func (_c *DiscussionService_CreateComment_Call) RunAndReturn(run func(context.Context, *discussion.Comment) (string, error)) *DiscussionService_CreateComment_Call
- type DiscussionService_CreateDiscussion_Call
- func (_c *DiscussionService_CreateDiscussion_Call) Return(_a0 string, _a1 error) *DiscussionService_CreateDiscussion_Call
- func (_c *DiscussionService_CreateDiscussion_Call) Run(run func(ctx context.Context, _a1 *discussion.Discussion)) *DiscussionService_CreateDiscussion_Call
- func (_c *DiscussionService_CreateDiscussion_Call) RunAndReturn(run func(context.Context, *discussion.Discussion) (string, error)) *DiscussionService_CreateDiscussion_Call
- type DiscussionService_DeleteComment_Call
- func (_c *DiscussionService_DeleteComment_Call) Return(_a0 error) *DiscussionService_DeleteComment_Call
- func (_c *DiscussionService_DeleteComment_Call) Run(run func(ctx context.Context, commentID string, discussionID string)) *DiscussionService_DeleteComment_Call
- func (_c *DiscussionService_DeleteComment_Call) RunAndReturn(run func(context.Context, string, string) error) *DiscussionService_DeleteComment_Call
- type DiscussionService_Expecter
- func (_e *DiscussionService_Expecter) CreateComment(ctx interface{}, cmt interface{}) *DiscussionService_CreateComment_Call
- func (_e *DiscussionService_Expecter) CreateDiscussion(ctx interface{}, _a1 interface{}) *DiscussionService_CreateDiscussion_Call
- func (_e *DiscussionService_Expecter) DeleteComment(ctx interface{}, commentID interface{}, discussionID interface{}) *DiscussionService_DeleteComment_Call
- func (_e *DiscussionService_Expecter) GetComment(ctx interface{}, commentID interface{}, discussionID interface{}) *DiscussionService_GetComment_Call
- func (_e *DiscussionService_Expecter) GetComments(ctx interface{}, discussionID interface{}, filter interface{}) *DiscussionService_GetComments_Call
- func (_e *DiscussionService_Expecter) GetDiscussion(ctx interface{}, did interface{}) *DiscussionService_GetDiscussion_Call
- func (_e *DiscussionService_Expecter) GetDiscussions(ctx interface{}, filter interface{}) *DiscussionService_GetDiscussions_Call
- func (_e *DiscussionService_Expecter) PatchDiscussion(ctx interface{}, _a1 interface{}) *DiscussionService_PatchDiscussion_Call
- func (_e *DiscussionService_Expecter) UpdateComment(ctx interface{}, cmt interface{}) *DiscussionService_UpdateComment_Call
- type DiscussionService_GetComment_Call
- func (_c *DiscussionService_GetComment_Call) Return(_a0 discussion.Comment, _a1 error) *DiscussionService_GetComment_Call
- func (_c *DiscussionService_GetComment_Call) Run(run func(ctx context.Context, commentID string, discussionID string)) *DiscussionService_GetComment_Call
- func (_c *DiscussionService_GetComment_Call) RunAndReturn(run func(context.Context, string, string) (discussion.Comment, error)) *DiscussionService_GetComment_Call
- type DiscussionService_GetComments_Call
- func (_c *DiscussionService_GetComments_Call) Return(_a0 []discussion.Comment, _a1 error) *DiscussionService_GetComments_Call
- func (_c *DiscussionService_GetComments_Call) Run(run func(ctx context.Context, discussionID string, filter discussion.Filter)) *DiscussionService_GetComments_Call
- func (_c *DiscussionService_GetComments_Call) RunAndReturn(...) *DiscussionService_GetComments_Call
- type DiscussionService_GetDiscussion_Call
- func (_c *DiscussionService_GetDiscussion_Call) Return(_a0 discussion.Discussion, _a1 error) *DiscussionService_GetDiscussion_Call
- func (_c *DiscussionService_GetDiscussion_Call) Run(run func(ctx context.Context, did string)) *DiscussionService_GetDiscussion_Call
- func (_c *DiscussionService_GetDiscussion_Call) RunAndReturn(run func(context.Context, string) (discussion.Discussion, error)) *DiscussionService_GetDiscussion_Call
- type DiscussionService_GetDiscussions_Call
- func (_c *DiscussionService_GetDiscussions_Call) Return(_a0 []discussion.Discussion, _a1 error) *DiscussionService_GetDiscussions_Call
- func (_c *DiscussionService_GetDiscussions_Call) Run(run func(ctx context.Context, filter discussion.Filter)) *DiscussionService_GetDiscussions_Call
- func (_c *DiscussionService_GetDiscussions_Call) RunAndReturn(run func(context.Context, discussion.Filter) ([]discussion.Discussion, error)) *DiscussionService_GetDiscussions_Call
- type DiscussionService_PatchDiscussion_Call
- func (_c *DiscussionService_PatchDiscussion_Call) Return(_a0 error) *DiscussionService_PatchDiscussion_Call
- func (_c *DiscussionService_PatchDiscussion_Call) Run(run func(ctx context.Context, _a1 *discussion.Discussion)) *DiscussionService_PatchDiscussion_Call
- func (_c *DiscussionService_PatchDiscussion_Call) RunAndReturn(run func(context.Context, *discussion.Discussion) error) *DiscussionService_PatchDiscussion_Call
- type DiscussionService_UpdateComment_Call
- func (_c *DiscussionService_UpdateComment_Call) Return(_a0 error) *DiscussionService_UpdateComment_Call
- func (_c *DiscussionService_UpdateComment_Call) Run(run func(ctx context.Context, cmt *discussion.Comment)) *DiscussionService_UpdateComment_Call
- func (_c *DiscussionService_UpdateComment_Call) RunAndReturn(run func(context.Context, *discussion.Comment) error) *DiscussionService_UpdateComment_Call
- type StarService
- func (_m *StarService) EXPECT() *StarService_Expecter
- func (_m *StarService) GetStargazers(_a0 context.Context, _a1 star.Filter, _a2 string) ([]user.User, error)
- func (_m *StarService) GetStarredAssetByUserID(_a0 context.Context, _a1 string, _a2 string) (asset.Asset, error)
- func (_m *StarService) GetStarredAssetsByUserID(_a0 context.Context, _a1 star.Filter, _a2 string) ([]asset.Asset, error)
- func (_m *StarService) Stars(_a0 context.Context, _a1 string, _a2 string) (string, error)
- func (_m *StarService) Unstars(_a0 context.Context, _a1 string, _a2 string) error
- type StarService_Expecter
- func (_e *StarService_Expecter) GetStargazers(_a0 interface{}, _a1 interface{}, _a2 interface{}) *StarService_GetStargazers_Call
- func (_e *StarService_Expecter) GetStarredAssetByUserID(_a0 interface{}, _a1 interface{}, _a2 interface{}) *StarService_GetStarredAssetByUserID_Call
- func (_e *StarService_Expecter) GetStarredAssetsByUserID(_a0 interface{}, _a1 interface{}, _a2 interface{}) *StarService_GetStarredAssetsByUserID_Call
- func (_e *StarService_Expecter) Stars(_a0 interface{}, _a1 interface{}, _a2 interface{}) *StarService_Stars_Call
- func (_e *StarService_Expecter) Unstars(_a0 interface{}, _a1 interface{}, _a2 interface{}) *StarService_Unstars_Call
- type StarService_GetStargazers_Call
- func (_c *StarService_GetStargazers_Call) Return(_a0 []user.User, _a1 error) *StarService_GetStargazers_Call
- func (_c *StarService_GetStargazers_Call) Run(run func(_a0 context.Context, _a1 star.Filter, _a2 string)) *StarService_GetStargazers_Call
- func (_c *StarService_GetStargazers_Call) RunAndReturn(run func(context.Context, star.Filter, string) ([]user.User, error)) *StarService_GetStargazers_Call
- type StarService_GetStarredAssetByUserID_Call
- func (_c *StarService_GetStarredAssetByUserID_Call) Return(_a0 asset.Asset, _a1 error) *StarService_GetStarredAssetByUserID_Call
- func (_c *StarService_GetStarredAssetByUserID_Call) Run(run func(_a0 context.Context, _a1 string, _a2 string)) *StarService_GetStarredAssetByUserID_Call
- func (_c *StarService_GetStarredAssetByUserID_Call) RunAndReturn(run func(context.Context, string, string) (asset.Asset, error)) *StarService_GetStarredAssetByUserID_Call
- type StarService_GetStarredAssetsByUserID_Call
- func (_c *StarService_GetStarredAssetsByUserID_Call) Return(_a0 []asset.Asset, _a1 error) *StarService_GetStarredAssetsByUserID_Call
- func (_c *StarService_GetStarredAssetsByUserID_Call) Run(run func(_a0 context.Context, _a1 star.Filter, _a2 string)) *StarService_GetStarredAssetsByUserID_Call
- func (_c *StarService_GetStarredAssetsByUserID_Call) RunAndReturn(run func(context.Context, star.Filter, string) ([]asset.Asset, error)) *StarService_GetStarredAssetsByUserID_Call
- type StarService_Stars_Call
- func (_c *StarService_Stars_Call) Return(_a0 string, _a1 error) *StarService_Stars_Call
- func (_c *StarService_Stars_Call) Run(run func(_a0 context.Context, _a1 string, _a2 string)) *StarService_Stars_Call
- func (_c *StarService_Stars_Call) RunAndReturn(run func(context.Context, string, string) (string, error)) *StarService_Stars_Call
- type StarService_Unstars_Call
- func (_c *StarService_Unstars_Call) Return(_a0 error) *StarService_Unstars_Call
- func (_c *StarService_Unstars_Call) Run(run func(_a0 context.Context, _a1 string, _a2 string)) *StarService_Unstars_Call
- func (_c *StarService_Unstars_Call) RunAndReturn(run func(context.Context, string, string) error) *StarService_Unstars_Call
- type StatsDClient
- type StatsDClient_Expecter
- type StatsDClient_Incr_Call
- type TagService
- func (_m *TagService) CreateTag(ctx context.Context, _a1 *tag.Tag) error
- func (_m *TagService) DeleteTag(ctx context.Context, assetID string, templateURN string) error
- func (_m *TagService) EXPECT() *TagService_Expecter
- func (_m *TagService) FindTagByAssetIDAndTemplateURN(ctx context.Context, assetID string, templateURN string) (tag.Tag, error)
- func (_m *TagService) GetTagsByAssetID(ctx context.Context, assetID string) ([]tag.Tag, error)
- func (_m *TagService) UpdateTag(ctx context.Context, _a1 *tag.Tag) error
- func (_m *TagService) Validate(_a0 *tag.Tag) error
- type TagService_CreateTag_Call
- func (_c *TagService_CreateTag_Call) Return(_a0 error) *TagService_CreateTag_Call
- func (_c *TagService_CreateTag_Call) Run(run func(ctx context.Context, _a1 *tag.Tag)) *TagService_CreateTag_Call
- func (_c *TagService_CreateTag_Call) RunAndReturn(run func(context.Context, *tag.Tag) error) *TagService_CreateTag_Call
- type TagService_DeleteTag_Call
- func (_c *TagService_DeleteTag_Call) Return(_a0 error) *TagService_DeleteTag_Call
- func (_c *TagService_DeleteTag_Call) Run(run func(ctx context.Context, assetID string, templateURN string)) *TagService_DeleteTag_Call
- func (_c *TagService_DeleteTag_Call) RunAndReturn(run func(context.Context, string, string) error) *TagService_DeleteTag_Call
- type TagService_Expecter
- func (_e *TagService_Expecter) CreateTag(ctx interface{}, _a1 interface{}) *TagService_CreateTag_Call
- func (_e *TagService_Expecter) DeleteTag(ctx interface{}, assetID interface{}, templateURN interface{}) *TagService_DeleteTag_Call
- func (_e *TagService_Expecter) FindTagByAssetIDAndTemplateURN(ctx interface{}, assetID interface{}, templateURN interface{}) *TagService_FindTagByAssetIDAndTemplateURN_Call
- func (_e *TagService_Expecter) GetTagsByAssetID(ctx interface{}, assetID interface{}) *TagService_GetTagsByAssetID_Call
- func (_e *TagService_Expecter) UpdateTag(ctx interface{}, _a1 interface{}) *TagService_UpdateTag_Call
- func (_e *TagService_Expecter) Validate(_a0 interface{}) *TagService_Validate_Call
- type TagService_FindTagByAssetIDAndTemplateURN_Call
- func (_c *TagService_FindTagByAssetIDAndTemplateURN_Call) Return(_a0 tag.Tag, _a1 error) *TagService_FindTagByAssetIDAndTemplateURN_Call
- func (_c *TagService_FindTagByAssetIDAndTemplateURN_Call) Run(run func(ctx context.Context, assetID string, templateURN string)) *TagService_FindTagByAssetIDAndTemplateURN_Call
- func (_c *TagService_FindTagByAssetIDAndTemplateURN_Call) RunAndReturn(run func(context.Context, string, string) (tag.Tag, error)) *TagService_FindTagByAssetIDAndTemplateURN_Call
- type TagService_GetTagsByAssetID_Call
- func (_c *TagService_GetTagsByAssetID_Call) Return(_a0 []tag.Tag, _a1 error) *TagService_GetTagsByAssetID_Call
- func (_c *TagService_GetTagsByAssetID_Call) Run(run func(ctx context.Context, assetID string)) *TagService_GetTagsByAssetID_Call
- func (_c *TagService_GetTagsByAssetID_Call) RunAndReturn(run func(context.Context, string) ([]tag.Tag, error)) *TagService_GetTagsByAssetID_Call
- type TagService_UpdateTag_Call
- func (_c *TagService_UpdateTag_Call) Return(_a0 error) *TagService_UpdateTag_Call
- func (_c *TagService_UpdateTag_Call) Run(run func(ctx context.Context, _a1 *tag.Tag)) *TagService_UpdateTag_Call
- func (_c *TagService_UpdateTag_Call) RunAndReturn(run func(context.Context, *tag.Tag) error) *TagService_UpdateTag_Call
- type TagService_Validate_Call
- type TagTemplateService
- func (_m *TagTemplateService) CreateTemplate(ctx context.Context, template *tag.Template) error
- func (_m *TagTemplateService) DeleteTemplate(ctx context.Context, urn string) error
- func (_m *TagTemplateService) EXPECT() *TagTemplateService_Expecter
- func (_m *TagTemplateService) GetTemplate(ctx context.Context, urn string) (tag.Template, error)
- func (_m *TagTemplateService) GetTemplates(ctx context.Context, templateURN string) ([]tag.Template, error)
- func (_m *TagTemplateService) UpdateTemplate(ctx context.Context, templateURN string, template *tag.Template) error
- func (_m *TagTemplateService) Validate(template tag.Template) error
- type TagTemplateService_CreateTemplate_Call
- func (_c *TagTemplateService_CreateTemplate_Call) Return(_a0 error) *TagTemplateService_CreateTemplate_Call
- func (_c *TagTemplateService_CreateTemplate_Call) Run(run func(ctx context.Context, template *tag.Template)) *TagTemplateService_CreateTemplate_Call
- func (_c *TagTemplateService_CreateTemplate_Call) RunAndReturn(run func(context.Context, *tag.Template) error) *TagTemplateService_CreateTemplate_Call
- type TagTemplateService_DeleteTemplate_Call
- func (_c *TagTemplateService_DeleteTemplate_Call) Return(_a0 error) *TagTemplateService_DeleteTemplate_Call
- func (_c *TagTemplateService_DeleteTemplate_Call) Run(run func(ctx context.Context, urn string)) *TagTemplateService_DeleteTemplate_Call
- func (_c *TagTemplateService_DeleteTemplate_Call) RunAndReturn(run func(context.Context, string) error) *TagTemplateService_DeleteTemplate_Call
- type TagTemplateService_Expecter
- func (_e *TagTemplateService_Expecter) CreateTemplate(ctx interface{}, template interface{}) *TagTemplateService_CreateTemplate_Call
- func (_e *TagTemplateService_Expecter) DeleteTemplate(ctx interface{}, urn interface{}) *TagTemplateService_DeleteTemplate_Call
- func (_e *TagTemplateService_Expecter) GetTemplate(ctx interface{}, urn interface{}) *TagTemplateService_GetTemplate_Call
- func (_e *TagTemplateService_Expecter) GetTemplates(ctx interface{}, templateURN interface{}) *TagTemplateService_GetTemplates_Call
- func (_e *TagTemplateService_Expecter) UpdateTemplate(ctx interface{}, templateURN interface{}, template interface{}) *TagTemplateService_UpdateTemplate_Call
- func (_e *TagTemplateService_Expecter) Validate(template interface{}) *TagTemplateService_Validate_Call
- type TagTemplateService_GetTemplate_Call
- func (_c *TagTemplateService_GetTemplate_Call) Return(_a0 tag.Template, _a1 error) *TagTemplateService_GetTemplate_Call
- func (_c *TagTemplateService_GetTemplate_Call) Run(run func(ctx context.Context, urn string)) *TagTemplateService_GetTemplate_Call
- func (_c *TagTemplateService_GetTemplate_Call) RunAndReturn(run func(context.Context, string) (tag.Template, error)) *TagTemplateService_GetTemplate_Call
- type TagTemplateService_GetTemplates_Call
- func (_c *TagTemplateService_GetTemplates_Call) Return(_a0 []tag.Template, _a1 error) *TagTemplateService_GetTemplates_Call
- func (_c *TagTemplateService_GetTemplates_Call) Run(run func(ctx context.Context, templateURN string)) *TagTemplateService_GetTemplates_Call
- func (_c *TagTemplateService_GetTemplates_Call) RunAndReturn(run func(context.Context, string) ([]tag.Template, error)) *TagTemplateService_GetTemplates_Call
- type TagTemplateService_UpdateTemplate_Call
- func (_c *TagTemplateService_UpdateTemplate_Call) Return(_a0 error) *TagTemplateService_UpdateTemplate_Call
- func (_c *TagTemplateService_UpdateTemplate_Call) Run(run func(ctx context.Context, templateURN string, template *tag.Template)) *TagTemplateService_UpdateTemplate_Call
- func (_c *TagTemplateService_UpdateTemplate_Call) RunAndReturn(run func(context.Context, string, *tag.Template) error) *TagTemplateService_UpdateTemplate_Call
- type TagTemplateService_Validate_Call
- func (_c *TagTemplateService_Validate_Call) Return(_a0 error) *TagTemplateService_Validate_Call
- func (_c *TagTemplateService_Validate_Call) Run(run func(template tag.Template)) *TagTemplateService_Validate_Call
- func (_c *TagTemplateService_Validate_Call) RunAndReturn(run func(tag.Template) error) *TagTemplateService_Validate_Call
- type UserService
- type UserService_Expecter
- type UserService_ValidateUser_Call
- func (_c *UserService_ValidateUser_Call) Return(_a0 string, _a1 error) *UserService_ValidateUser_Call
- func (_c *UserService_ValidateUser_Call) Run(run func(ctx context.Context, uuid string, email string)) *UserService_ValidateUser_Call
- func (_c *UserService_ValidateUser_Call) RunAndReturn(run func(context.Context, string, string) (string, error)) *UserService_ValidateUser_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssetService ¶
AssetService is an autogenerated mock type for the AssetService type
func NewAssetService ¶
func NewAssetService(t mockConstructorTestingTNewAssetService) *AssetService
NewAssetService creates a new instance of AssetService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*AssetService) AddProbe ¶
AddProbe provides a mock function with given fields: ctx, assetURN, probe
func (*AssetService) DeleteAsset ¶
func (_m *AssetService) DeleteAsset(ctx context.Context, id string) error
DeleteAsset provides a mock function with given fields: ctx, id
func (*AssetService) EXPECT ¶
func (_m *AssetService) EXPECT() *AssetService_Expecter
func (*AssetService) GetAllAssets ¶
func (_m *AssetService) GetAllAssets(ctx context.Context, flt asset.Filter, withTotal bool) ([]asset.Asset, uint32, error)
GetAllAssets provides a mock function with given fields: ctx, flt, withTotal
func (*AssetService) GetAssetByID ¶
GetAssetByID provides a mock function with given fields: ctx, id
func (*AssetService) GetAssetByVersion ¶
func (_m *AssetService) GetAssetByVersion(ctx context.Context, id string, version string) (asset.Asset, error)
GetAssetByVersion provides a mock function with given fields: ctx, id, version
func (*AssetService) GetAssetVersionHistory ¶
func (_m *AssetService) GetAssetVersionHistory(ctx context.Context, flt asset.Filter, id string) ([]asset.Asset, error)
GetAssetVersionHistory provides a mock function with given fields: ctx, flt, id
func (*AssetService) GetLineage ¶
func (_m *AssetService) GetLineage(ctx context.Context, urn string, query asset.LineageQuery) (asset.Lineage, error)
GetLineage provides a mock function with given fields: ctx, urn, query
func (*AssetService) GroupAssets ¶ added in v0.5.4
func (_m *AssetService) GroupAssets(ctx context.Context, cfg asset.GroupConfig) ([]asset.GroupResult, error)
GroupAssets provides a mock function with given fields: ctx, cfg
func (*AssetService) SearchAssets ¶
func (_m *AssetService) SearchAssets(ctx context.Context, cfg asset.SearchConfig) ([]asset.SearchResult, error)
SearchAssets provides a mock function with given fields: ctx, cfg
func (*AssetService) SuggestAssets ¶
func (_m *AssetService) SuggestAssets(ctx context.Context, cfg asset.SearchConfig) ([]string, error)
SuggestAssets provides a mock function with given fields: ctx, cfg
func (*AssetService) UpsertAsset ¶
func (_m *AssetService) UpsertAsset(ctx context.Context, ast *asset.Asset, upstreams []string, downstreams []string) (string, error)
UpsertAsset provides a mock function with given fields: ctx, ast, upstreams, downstreams
func (*AssetService) UpsertAssetWithoutLineage ¶
func (_m *AssetService) UpsertAssetWithoutLineage(ctx context.Context, ast *asset.Asset) (string, error)
UpsertAssetWithoutLineage provides a mock function with given fields: ctx, ast
type AssetService_AddProbe_Call ¶
AssetService_AddProbe_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddProbe'
func (*AssetService_AddProbe_Call) Return ¶
func (_c *AssetService_AddProbe_Call) Return(_a0 error) *AssetService_AddProbe_Call
func (*AssetService_AddProbe_Call) Run ¶
func (_c *AssetService_AddProbe_Call) Run(run func(ctx context.Context, assetURN string, probe *asset.Probe)) *AssetService_AddProbe_Call
type AssetService_DeleteAsset_Call ¶
AssetService_DeleteAsset_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAsset'
func (*AssetService_DeleteAsset_Call) Return ¶
func (_c *AssetService_DeleteAsset_Call) Return(_a0 error) *AssetService_DeleteAsset_Call
func (*AssetService_DeleteAsset_Call) Run ¶
func (_c *AssetService_DeleteAsset_Call) Run(run func(ctx context.Context, id string)) *AssetService_DeleteAsset_Call
type AssetService_Expecter ¶
type AssetService_Expecter struct {
// contains filtered or unexported fields
}
func (*AssetService_Expecter) AddProbe ¶
func (_e *AssetService_Expecter) AddProbe(ctx interface{}, assetURN interface{}, probe interface{}) *AssetService_AddProbe_Call
AddProbe is a helper method to define mock.On call
- ctx context.Context
- assetURN string
- probe *asset.Probe
func (*AssetService_Expecter) DeleteAsset ¶
func (_e *AssetService_Expecter) DeleteAsset(ctx interface{}, id interface{}) *AssetService_DeleteAsset_Call
DeleteAsset is a helper method to define mock.On call
- ctx context.Context
- id string
func (*AssetService_Expecter) GetAllAssets ¶
func (_e *AssetService_Expecter) GetAllAssets(ctx interface{}, flt interface{}, withTotal interface{}) *AssetService_GetAllAssets_Call
GetAllAssets is a helper method to define mock.On call
- ctx context.Context
- flt asset.Filter
- withTotal bool
func (*AssetService_Expecter) GetAssetByID ¶
func (_e *AssetService_Expecter) GetAssetByID(ctx interface{}, id interface{}) *AssetService_GetAssetByID_Call
GetAssetByID is a helper method to define mock.On call
- ctx context.Context
- id string
func (*AssetService_Expecter) GetAssetByVersion ¶
func (_e *AssetService_Expecter) GetAssetByVersion(ctx interface{}, id interface{}, version interface{}) *AssetService_GetAssetByVersion_Call
GetAssetByVersion is a helper method to define mock.On call
- ctx context.Context
- id string
- version string
func (*AssetService_Expecter) GetAssetVersionHistory ¶
func (_e *AssetService_Expecter) GetAssetVersionHistory(ctx interface{}, flt interface{}, id interface{}) *AssetService_GetAssetVersionHistory_Call
GetAssetVersionHistory is a helper method to define mock.On call
- ctx context.Context
- flt asset.Filter
- id string
func (*AssetService_Expecter) GetLineage ¶
func (_e *AssetService_Expecter) GetLineage(ctx interface{}, urn interface{}, query interface{}) *AssetService_GetLineage_Call
GetLineage is a helper method to define mock.On call
- ctx context.Context
- urn string
- query asset.LineageQuery
func (*AssetService_Expecter) GetTypes ¶
func (_e *AssetService_Expecter) GetTypes(ctx interface{}, flt interface{}) *AssetService_GetTypes_Call
GetTypes is a helper method to define mock.On call
- ctx context.Context
- flt asset.Filter
func (*AssetService_Expecter) GroupAssets ¶ added in v0.5.4
func (_e *AssetService_Expecter) GroupAssets(ctx interface{}, cfg interface{}) *AssetService_GroupAssets_Call
GroupAssets is a helper method to define mock.On call
- ctx context.Context
- cfg asset.GroupConfig
func (*AssetService_Expecter) SearchAssets ¶
func (_e *AssetService_Expecter) SearchAssets(ctx interface{}, cfg interface{}) *AssetService_SearchAssets_Call
SearchAssets is a helper method to define mock.On call
- ctx context.Context
- cfg asset.SearchConfig
func (*AssetService_Expecter) SuggestAssets ¶
func (_e *AssetService_Expecter) SuggestAssets(ctx interface{}, cfg interface{}) *AssetService_SuggestAssets_Call
SuggestAssets is a helper method to define mock.On call
- ctx context.Context
- cfg asset.SearchConfig
func (*AssetService_Expecter) UpsertAsset ¶
func (_e *AssetService_Expecter) UpsertAsset(ctx interface{}, ast interface{}, upstreams interface{}, downstreams interface{}) *AssetService_UpsertAsset_Call
UpsertAsset is a helper method to define mock.On call
- ctx context.Context
- ast *asset.Asset
- upstreams []string
- downstreams []string
func (*AssetService_Expecter) UpsertAssetWithoutLineage ¶
func (_e *AssetService_Expecter) UpsertAssetWithoutLineage(ctx interface{}, ast interface{}) *AssetService_UpsertAssetWithoutLineage_Call
UpsertAssetWithoutLineage is a helper method to define mock.On call
- ctx context.Context
- ast *asset.Asset
type AssetService_GetAllAssets_Call ¶
AssetService_GetAllAssets_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllAssets'
func (*AssetService_GetAllAssets_Call) Return ¶
func (_c *AssetService_GetAllAssets_Call) Return(_a0 []asset.Asset, _a1 uint32, _a2 error) *AssetService_GetAllAssets_Call
func (*AssetService_GetAllAssets_Call) Run ¶
func (_c *AssetService_GetAllAssets_Call) Run(run func(ctx context.Context, flt asset.Filter, withTotal bool)) *AssetService_GetAllAssets_Call
type AssetService_GetAssetByID_Call ¶
AssetService_GetAssetByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAssetByID'
func (*AssetService_GetAssetByID_Call) Return ¶
func (_c *AssetService_GetAssetByID_Call) Return(_a0 asset.Asset, _a1 error) *AssetService_GetAssetByID_Call
func (*AssetService_GetAssetByID_Call) Run ¶
func (_c *AssetService_GetAssetByID_Call) Run(run func(ctx context.Context, id string)) *AssetService_GetAssetByID_Call
type AssetService_GetAssetByVersion_Call ¶
AssetService_GetAssetByVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAssetByVersion'
func (*AssetService_GetAssetByVersion_Call) Return ¶
func (_c *AssetService_GetAssetByVersion_Call) Return(_a0 asset.Asset, _a1 error) *AssetService_GetAssetByVersion_Call
func (*AssetService_GetAssetByVersion_Call) Run ¶
func (_c *AssetService_GetAssetByVersion_Call) Run(run func(ctx context.Context, id string, version string)) *AssetService_GetAssetByVersion_Call
type AssetService_GetAssetVersionHistory_Call ¶
AssetService_GetAssetVersionHistory_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAssetVersionHistory'
func (*AssetService_GetAssetVersionHistory_Call) Return ¶
func (_c *AssetService_GetAssetVersionHistory_Call) Return(_a0 []asset.Asset, _a1 error) *AssetService_GetAssetVersionHistory_Call
func (*AssetService_GetAssetVersionHistory_Call) Run ¶
func (_c *AssetService_GetAssetVersionHistory_Call) Run(run func(ctx context.Context, flt asset.Filter, id string)) *AssetService_GetAssetVersionHistory_Call
type AssetService_GetLineage_Call ¶
AssetService_GetLineage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLineage'
func (*AssetService_GetLineage_Call) Return ¶
func (_c *AssetService_GetLineage_Call) Return(_a0 asset.Lineage, _a1 error) *AssetService_GetLineage_Call
func (*AssetService_GetLineage_Call) Run ¶
func (_c *AssetService_GetLineage_Call) Run(run func(ctx context.Context, urn string, query asset.LineageQuery)) *AssetService_GetLineage_Call
type AssetService_GetTypes_Call ¶
AssetService_GetTypes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTypes'
func (*AssetService_GetTypes_Call) Return ¶
func (_c *AssetService_GetTypes_Call) Return(_a0 map[asset.Type]int, _a1 error) *AssetService_GetTypes_Call
func (*AssetService_GetTypes_Call) Run ¶
func (_c *AssetService_GetTypes_Call) Run(run func(ctx context.Context, flt asset.Filter)) *AssetService_GetTypes_Call
type AssetService_GroupAssets_Call ¶ added in v0.5.4
AssetService_GroupAssets_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GroupAssets'
func (*AssetService_GroupAssets_Call) Return ¶ added in v0.5.4
func (_c *AssetService_GroupAssets_Call) Return(results []asset.GroupResult, err error) *AssetService_GroupAssets_Call
func (*AssetService_GroupAssets_Call) Run ¶ added in v0.5.4
func (_c *AssetService_GroupAssets_Call) Run(run func(ctx context.Context, cfg asset.GroupConfig)) *AssetService_GroupAssets_Call
type AssetService_SearchAssets_Call ¶
AssetService_SearchAssets_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SearchAssets'
func (*AssetService_SearchAssets_Call) Return ¶
func (_c *AssetService_SearchAssets_Call) Return(results []asset.SearchResult, err error) *AssetService_SearchAssets_Call
func (*AssetService_SearchAssets_Call) Run ¶
func (_c *AssetService_SearchAssets_Call) Run(run func(ctx context.Context, cfg asset.SearchConfig)) *AssetService_SearchAssets_Call
type AssetService_SuggestAssets_Call ¶
AssetService_SuggestAssets_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SuggestAssets'
func (*AssetService_SuggestAssets_Call) Return ¶
func (_c *AssetService_SuggestAssets_Call) Return(suggestions []string, err error) *AssetService_SuggestAssets_Call
func (*AssetService_SuggestAssets_Call) Run ¶
func (_c *AssetService_SuggestAssets_Call) Run(run func(ctx context.Context, cfg asset.SearchConfig)) *AssetService_SuggestAssets_Call
type AssetService_UpsertAssetWithoutLineage_Call ¶
AssetService_UpsertAssetWithoutLineage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpsertAssetWithoutLineage'
func (*AssetService_UpsertAssetWithoutLineage_Call) Return ¶
func (_c *AssetService_UpsertAssetWithoutLineage_Call) Return(_a0 string, _a1 error) *AssetService_UpsertAssetWithoutLineage_Call
func (*AssetService_UpsertAssetWithoutLineage_Call) Run ¶
func (_c *AssetService_UpsertAssetWithoutLineage_Call) Run(run func(ctx context.Context, ast *asset.Asset)) *AssetService_UpsertAssetWithoutLineage_Call
type AssetService_UpsertAsset_Call ¶
AssetService_UpsertAsset_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpsertAsset'
func (*AssetService_UpsertAsset_Call) Return ¶
func (_c *AssetService_UpsertAsset_Call) Return(_a0 string, _a1 error) *AssetService_UpsertAsset_Call
func (*AssetService_UpsertAsset_Call) Run ¶
func (_c *AssetService_UpsertAsset_Call) Run(run func(ctx context.Context, ast *asset.Asset, upstreams []string, downstreams []string)) *AssetService_UpsertAsset_Call
type DiscussionService ¶
DiscussionService is an autogenerated mock type for the DiscussionService type
func NewDiscussionService ¶
func NewDiscussionService(t mockConstructorTestingTNewDiscussionService) *DiscussionService
NewDiscussionService creates a new instance of DiscussionService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*DiscussionService) CreateComment ¶
func (_m *DiscussionService) CreateComment(ctx context.Context, cmt *discussion.Comment) (string, error)
CreateComment provides a mock function with given fields: ctx, cmt
func (*DiscussionService) CreateDiscussion ¶
func (_m *DiscussionService) CreateDiscussion(ctx context.Context, _a1 *discussion.Discussion) (string, error)
CreateDiscussion provides a mock function with given fields: ctx, _a1
func (*DiscussionService) DeleteComment ¶
func (_m *DiscussionService) DeleteComment(ctx context.Context, commentID string, discussionID string) error
DeleteComment provides a mock function with given fields: ctx, commentID, discussionID
func (*DiscussionService) EXPECT ¶
func (_m *DiscussionService) EXPECT() *DiscussionService_Expecter
func (*DiscussionService) GetComment ¶
func (_m *DiscussionService) GetComment(ctx context.Context, commentID string, discussionID string) (discussion.Comment, error)
GetComment provides a mock function with given fields: ctx, commentID, discussionID
func (*DiscussionService) GetComments ¶
func (_m *DiscussionService) GetComments(ctx context.Context, discussionID string, filter discussion.Filter) ([]discussion.Comment, error)
GetComments provides a mock function with given fields: ctx, discussionID, filter
func (*DiscussionService) GetDiscussion ¶
func (_m *DiscussionService) GetDiscussion(ctx context.Context, did string) (discussion.Discussion, error)
GetDiscussion provides a mock function with given fields: ctx, did
func (*DiscussionService) GetDiscussions ¶
func (_m *DiscussionService) GetDiscussions(ctx context.Context, filter discussion.Filter) ([]discussion.Discussion, error)
GetDiscussions provides a mock function with given fields: ctx, filter
func (*DiscussionService) PatchDiscussion ¶
func (_m *DiscussionService) PatchDiscussion(ctx context.Context, _a1 *discussion.Discussion) error
PatchDiscussion provides a mock function with given fields: ctx, _a1
func (*DiscussionService) UpdateComment ¶
func (_m *DiscussionService) UpdateComment(ctx context.Context, cmt *discussion.Comment) error
UpdateComment provides a mock function with given fields: ctx, cmt
type DiscussionService_CreateComment_Call ¶
DiscussionService_CreateComment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateComment'
func (*DiscussionService_CreateComment_Call) Return ¶
func (_c *DiscussionService_CreateComment_Call) Return(_a0 string, _a1 error) *DiscussionService_CreateComment_Call
func (*DiscussionService_CreateComment_Call) Run ¶
func (_c *DiscussionService_CreateComment_Call) Run(run func(ctx context.Context, cmt *discussion.Comment)) *DiscussionService_CreateComment_Call
func (*DiscussionService_CreateComment_Call) RunAndReturn ¶ added in v0.5.3
func (_c *DiscussionService_CreateComment_Call) RunAndReturn(run func(context.Context, *discussion.Comment) (string, error)) *DiscussionService_CreateComment_Call
type DiscussionService_CreateDiscussion_Call ¶
DiscussionService_CreateDiscussion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateDiscussion'
func (*DiscussionService_CreateDiscussion_Call) Return ¶
func (_c *DiscussionService_CreateDiscussion_Call) Return(_a0 string, _a1 error) *DiscussionService_CreateDiscussion_Call
func (*DiscussionService_CreateDiscussion_Call) Run ¶
func (_c *DiscussionService_CreateDiscussion_Call) Run(run func(ctx context.Context, _a1 *discussion.Discussion)) *DiscussionService_CreateDiscussion_Call
func (*DiscussionService_CreateDiscussion_Call) RunAndReturn ¶ added in v0.5.3
func (_c *DiscussionService_CreateDiscussion_Call) RunAndReturn(run func(context.Context, *discussion.Discussion) (string, error)) *DiscussionService_CreateDiscussion_Call
type DiscussionService_DeleteComment_Call ¶
DiscussionService_DeleteComment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteComment'
func (*DiscussionService_DeleteComment_Call) Return ¶
func (_c *DiscussionService_DeleteComment_Call) Return(_a0 error) *DiscussionService_DeleteComment_Call
func (*DiscussionService_DeleteComment_Call) Run ¶
func (_c *DiscussionService_DeleteComment_Call) Run(run func(ctx context.Context, commentID string, discussionID string)) *DiscussionService_DeleteComment_Call
func (*DiscussionService_DeleteComment_Call) RunAndReturn ¶ added in v0.5.3
func (_c *DiscussionService_DeleteComment_Call) RunAndReturn(run func(context.Context, string, string) error) *DiscussionService_DeleteComment_Call
type DiscussionService_Expecter ¶
type DiscussionService_Expecter struct {
// contains filtered or unexported fields
}
func (*DiscussionService_Expecter) CreateComment ¶
func (_e *DiscussionService_Expecter) CreateComment(ctx interface{}, cmt interface{}) *DiscussionService_CreateComment_Call
CreateComment is a helper method to define mock.On call
- ctx context.Context
- cmt *discussion.Comment
func (*DiscussionService_Expecter) CreateDiscussion ¶
func (_e *DiscussionService_Expecter) CreateDiscussion(ctx interface{}, _a1 interface{}) *DiscussionService_CreateDiscussion_Call
CreateDiscussion is a helper method to define mock.On call
- ctx context.Context
- _a1 *discussion.Discussion
func (*DiscussionService_Expecter) DeleteComment ¶
func (_e *DiscussionService_Expecter) DeleteComment(ctx interface{}, commentID interface{}, discussionID interface{}) *DiscussionService_DeleteComment_Call
DeleteComment is a helper method to define mock.On call
- ctx context.Context
- commentID string
- discussionID string
func (*DiscussionService_Expecter) GetComment ¶
func (_e *DiscussionService_Expecter) GetComment(ctx interface{}, commentID interface{}, discussionID interface{}) *DiscussionService_GetComment_Call
GetComment is a helper method to define mock.On call
- ctx context.Context
- commentID string
- discussionID string
func (*DiscussionService_Expecter) GetComments ¶
func (_e *DiscussionService_Expecter) GetComments(ctx interface{}, discussionID interface{}, filter interface{}) *DiscussionService_GetComments_Call
GetComments is a helper method to define mock.On call
- ctx context.Context
- discussionID string
- filter discussion.Filter
func (*DiscussionService_Expecter) GetDiscussion ¶
func (_e *DiscussionService_Expecter) GetDiscussion(ctx interface{}, did interface{}) *DiscussionService_GetDiscussion_Call
GetDiscussion is a helper method to define mock.On call
- ctx context.Context
- did string
func (*DiscussionService_Expecter) GetDiscussions ¶
func (_e *DiscussionService_Expecter) GetDiscussions(ctx interface{}, filter interface{}) *DiscussionService_GetDiscussions_Call
GetDiscussions is a helper method to define mock.On call
- ctx context.Context
- filter discussion.Filter
func (*DiscussionService_Expecter) PatchDiscussion ¶
func (_e *DiscussionService_Expecter) PatchDiscussion(ctx interface{}, _a1 interface{}) *DiscussionService_PatchDiscussion_Call
PatchDiscussion is a helper method to define mock.On call
- ctx context.Context
- _a1 *discussion.Discussion
func (*DiscussionService_Expecter) UpdateComment ¶
func (_e *DiscussionService_Expecter) UpdateComment(ctx interface{}, cmt interface{}) *DiscussionService_UpdateComment_Call
UpdateComment is a helper method to define mock.On call
- ctx context.Context
- cmt *discussion.Comment
type DiscussionService_GetComment_Call ¶
DiscussionService_GetComment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetComment'
func (*DiscussionService_GetComment_Call) Return ¶
func (_c *DiscussionService_GetComment_Call) Return(_a0 discussion.Comment, _a1 error) *DiscussionService_GetComment_Call
func (*DiscussionService_GetComment_Call) Run ¶
func (_c *DiscussionService_GetComment_Call) Run(run func(ctx context.Context, commentID string, discussionID string)) *DiscussionService_GetComment_Call
func (*DiscussionService_GetComment_Call) RunAndReturn ¶ added in v0.5.3
func (_c *DiscussionService_GetComment_Call) RunAndReturn(run func(context.Context, string, string) (discussion.Comment, error)) *DiscussionService_GetComment_Call
type DiscussionService_GetComments_Call ¶
DiscussionService_GetComments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetComments'
func (*DiscussionService_GetComments_Call) Return ¶
func (_c *DiscussionService_GetComments_Call) Return(_a0 []discussion.Comment, _a1 error) *DiscussionService_GetComments_Call
func (*DiscussionService_GetComments_Call) Run ¶
func (_c *DiscussionService_GetComments_Call) Run(run func(ctx context.Context, discussionID string, filter discussion.Filter)) *DiscussionService_GetComments_Call
func (*DiscussionService_GetComments_Call) RunAndReturn ¶ added in v0.5.3
func (_c *DiscussionService_GetComments_Call) RunAndReturn(run func(context.Context, string, discussion.Filter) ([]discussion.Comment, error)) *DiscussionService_GetComments_Call
type DiscussionService_GetDiscussion_Call ¶
DiscussionService_GetDiscussion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDiscussion'
func (*DiscussionService_GetDiscussion_Call) Return ¶
func (_c *DiscussionService_GetDiscussion_Call) Return(_a0 discussion.Discussion, _a1 error) *DiscussionService_GetDiscussion_Call
func (*DiscussionService_GetDiscussion_Call) Run ¶
func (_c *DiscussionService_GetDiscussion_Call) Run(run func(ctx context.Context, did string)) *DiscussionService_GetDiscussion_Call
func (*DiscussionService_GetDiscussion_Call) RunAndReturn ¶ added in v0.5.3
func (_c *DiscussionService_GetDiscussion_Call) RunAndReturn(run func(context.Context, string) (discussion.Discussion, error)) *DiscussionService_GetDiscussion_Call
type DiscussionService_GetDiscussions_Call ¶
DiscussionService_GetDiscussions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDiscussions'
func (*DiscussionService_GetDiscussions_Call) Return ¶
func (_c *DiscussionService_GetDiscussions_Call) Return(_a0 []discussion.Discussion, _a1 error) *DiscussionService_GetDiscussions_Call
func (*DiscussionService_GetDiscussions_Call) Run ¶
func (_c *DiscussionService_GetDiscussions_Call) Run(run func(ctx context.Context, filter discussion.Filter)) *DiscussionService_GetDiscussions_Call
func (*DiscussionService_GetDiscussions_Call) RunAndReturn ¶ added in v0.5.3
func (_c *DiscussionService_GetDiscussions_Call) RunAndReturn(run func(context.Context, discussion.Filter) ([]discussion.Discussion, error)) *DiscussionService_GetDiscussions_Call
type DiscussionService_PatchDiscussion_Call ¶
DiscussionService_PatchDiscussion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PatchDiscussion'
func (*DiscussionService_PatchDiscussion_Call) Return ¶
func (_c *DiscussionService_PatchDiscussion_Call) Return(_a0 error) *DiscussionService_PatchDiscussion_Call
func (*DiscussionService_PatchDiscussion_Call) Run ¶
func (_c *DiscussionService_PatchDiscussion_Call) Run(run func(ctx context.Context, _a1 *discussion.Discussion)) *DiscussionService_PatchDiscussion_Call
func (*DiscussionService_PatchDiscussion_Call) RunAndReturn ¶ added in v0.5.3
func (_c *DiscussionService_PatchDiscussion_Call) RunAndReturn(run func(context.Context, *discussion.Discussion) error) *DiscussionService_PatchDiscussion_Call
type DiscussionService_UpdateComment_Call ¶
DiscussionService_UpdateComment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateComment'
func (*DiscussionService_UpdateComment_Call) Return ¶
func (_c *DiscussionService_UpdateComment_Call) Return(_a0 error) *DiscussionService_UpdateComment_Call
func (*DiscussionService_UpdateComment_Call) Run ¶
func (_c *DiscussionService_UpdateComment_Call) Run(run func(ctx context.Context, cmt *discussion.Comment)) *DiscussionService_UpdateComment_Call
func (*DiscussionService_UpdateComment_Call) RunAndReturn ¶ added in v0.5.3
func (_c *DiscussionService_UpdateComment_Call) RunAndReturn(run func(context.Context, *discussion.Comment) error) *DiscussionService_UpdateComment_Call
type StarService ¶
StarService is an autogenerated mock type for the StarService type
func NewStarService ¶
func NewStarService(t mockConstructorTestingTNewStarService) *StarService
NewStarService creates a new instance of StarService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*StarService) EXPECT ¶
func (_m *StarService) EXPECT() *StarService_Expecter
func (*StarService) GetStargazers ¶
func (_m *StarService) GetStargazers(_a0 context.Context, _a1 star.Filter, _a2 string) ([]user.User, error)
GetStargazers provides a mock function with given fields: _a0, _a1, _a2
func (*StarService) GetStarredAssetByUserID ¶
func (_m *StarService) GetStarredAssetByUserID(_a0 context.Context, _a1 string, _a2 string) (asset.Asset, error)
GetStarredAssetByUserID provides a mock function with given fields: _a0, _a1, _a2
func (*StarService) GetStarredAssetsByUserID ¶
func (_m *StarService) GetStarredAssetsByUserID(_a0 context.Context, _a1 star.Filter, _a2 string) ([]asset.Asset, error)
GetStarredAssetsByUserID provides a mock function with given fields: _a0, _a1, _a2
type StarService_Expecter ¶
type StarService_Expecter struct {
// contains filtered or unexported fields
}
func (*StarService_Expecter) GetStargazers ¶
func (_e *StarService_Expecter) GetStargazers(_a0 interface{}, _a1 interface{}, _a2 interface{}) *StarService_GetStargazers_Call
GetStargazers is a helper method to define mock.On call
- _a0 context.Context
- _a1 star.Filter
- _a2 string
func (*StarService_Expecter) GetStarredAssetByUserID ¶
func (_e *StarService_Expecter) GetStarredAssetByUserID(_a0 interface{}, _a1 interface{}, _a2 interface{}) *StarService_GetStarredAssetByUserID_Call
GetStarredAssetByUserID is a helper method to define mock.On call
- _a0 context.Context
- _a1 string
- _a2 string
func (*StarService_Expecter) GetStarredAssetsByUserID ¶
func (_e *StarService_Expecter) GetStarredAssetsByUserID(_a0 interface{}, _a1 interface{}, _a2 interface{}) *StarService_GetStarredAssetsByUserID_Call
GetStarredAssetsByUserID is a helper method to define mock.On call
- _a0 context.Context
- _a1 star.Filter
- _a2 string
func (*StarService_Expecter) Stars ¶
func (_e *StarService_Expecter) Stars(_a0 interface{}, _a1 interface{}, _a2 interface{}) *StarService_Stars_Call
Stars is a helper method to define mock.On call
- _a0 context.Context
- _a1 string
- _a2 string
func (*StarService_Expecter) Unstars ¶
func (_e *StarService_Expecter) Unstars(_a0 interface{}, _a1 interface{}, _a2 interface{}) *StarService_Unstars_Call
Unstars is a helper method to define mock.On call
- _a0 context.Context
- _a1 string
- _a2 string
type StarService_GetStargazers_Call ¶
StarService_GetStargazers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStargazers'
func (*StarService_GetStargazers_Call) Return ¶
func (_c *StarService_GetStargazers_Call) Return(_a0 []user.User, _a1 error) *StarService_GetStargazers_Call
func (*StarService_GetStargazers_Call) Run ¶
func (_c *StarService_GetStargazers_Call) Run(run func(_a0 context.Context, _a1 star.Filter, _a2 string)) *StarService_GetStargazers_Call
func (*StarService_GetStargazers_Call) RunAndReturn ¶ added in v0.5.3
func (_c *StarService_GetStargazers_Call) RunAndReturn(run func(context.Context, star.Filter, string) ([]user.User, error)) *StarService_GetStargazers_Call
type StarService_GetStarredAssetByUserID_Call ¶
StarService_GetStarredAssetByUserID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStarredAssetByUserID'
func (*StarService_GetStarredAssetByUserID_Call) Return ¶
func (_c *StarService_GetStarredAssetByUserID_Call) Return(_a0 asset.Asset, _a1 error) *StarService_GetStarredAssetByUserID_Call
func (*StarService_GetStarredAssetByUserID_Call) Run ¶
func (_c *StarService_GetStarredAssetByUserID_Call) Run(run func(_a0 context.Context, _a1 string, _a2 string)) *StarService_GetStarredAssetByUserID_Call
func (*StarService_GetStarredAssetByUserID_Call) RunAndReturn ¶ added in v0.5.3
func (_c *StarService_GetStarredAssetByUserID_Call) RunAndReturn(run func(context.Context, string, string) (asset.Asset, error)) *StarService_GetStarredAssetByUserID_Call
type StarService_GetStarredAssetsByUserID_Call ¶
StarService_GetStarredAssetsByUserID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStarredAssetsByUserID'
func (*StarService_GetStarredAssetsByUserID_Call) Return ¶
func (_c *StarService_GetStarredAssetsByUserID_Call) Return(_a0 []asset.Asset, _a1 error) *StarService_GetStarredAssetsByUserID_Call
func (*StarService_GetStarredAssetsByUserID_Call) Run ¶
func (_c *StarService_GetStarredAssetsByUserID_Call) Run(run func(_a0 context.Context, _a1 star.Filter, _a2 string)) *StarService_GetStarredAssetsByUserID_Call
func (*StarService_GetStarredAssetsByUserID_Call) RunAndReturn ¶ added in v0.5.3
func (_c *StarService_GetStarredAssetsByUserID_Call) RunAndReturn(run func(context.Context, star.Filter, string) ([]asset.Asset, error)) *StarService_GetStarredAssetsByUserID_Call
type StarService_Stars_Call ¶
StarService_Stars_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stars'
func (*StarService_Stars_Call) Return ¶
func (_c *StarService_Stars_Call) Return(_a0 string, _a1 error) *StarService_Stars_Call
func (*StarService_Stars_Call) Run ¶
func (_c *StarService_Stars_Call) Run(run func(_a0 context.Context, _a1 string, _a2 string)) *StarService_Stars_Call
func (*StarService_Stars_Call) RunAndReturn ¶ added in v0.5.3
func (_c *StarService_Stars_Call) RunAndReturn(run func(context.Context, string, string) (string, error)) *StarService_Stars_Call
type StarService_Unstars_Call ¶
StarService_Unstars_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Unstars'
func (*StarService_Unstars_Call) Return ¶
func (_c *StarService_Unstars_Call) Return(_a0 error) *StarService_Unstars_Call
func (*StarService_Unstars_Call) Run ¶
func (_c *StarService_Unstars_Call) Run(run func(_a0 context.Context, _a1 string, _a2 string)) *StarService_Unstars_Call
func (*StarService_Unstars_Call) RunAndReturn ¶ added in v0.5.3
func (_c *StarService_Unstars_Call) RunAndReturn(run func(context.Context, string, string) error) *StarService_Unstars_Call
type StatsDClient ¶
StatsDClient is an autogenerated mock type for the StatsDClient type
func NewStatsDClient ¶
func NewStatsDClient(t mockConstructorTestingTNewStatsDClient) *StatsDClient
NewStatsDClient creates a new instance of StatsDClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*StatsDClient) EXPECT ¶
func (_m *StatsDClient) EXPECT() *StatsDClient_Expecter
type StatsDClient_Expecter ¶
type StatsDClient_Expecter struct {
// contains filtered or unexported fields
}
func (*StatsDClient_Expecter) Incr ¶
func (_e *StatsDClient_Expecter) Incr(name interface{}) *StatsDClient_Incr_Call
Incr is a helper method to define mock.On call
- name string
type StatsDClient_Incr_Call ¶
StatsDClient_Incr_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Incr'
func (*StatsDClient_Incr_Call) Return ¶
func (_c *StatsDClient_Incr_Call) Return(_a0 *statsd.Metric) *StatsDClient_Incr_Call
func (*StatsDClient_Incr_Call) Run ¶
func (_c *StatsDClient_Incr_Call) Run(run func(name string)) *StatsDClient_Incr_Call
func (*StatsDClient_Incr_Call) RunAndReturn ¶ added in v0.5.3
func (_c *StatsDClient_Incr_Call) RunAndReturn(run func(string) *statsd.Metric) *StatsDClient_Incr_Call
type TagService ¶
TagService is an autogenerated mock type for the TagService type
func NewTagService ¶
func NewTagService(t mockConstructorTestingTNewTagService) *TagService
NewTagService creates a new instance of TagService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*TagService) DeleteTag ¶
DeleteTag provides a mock function with given fields: ctx, assetID, templateURN
func (*TagService) EXPECT ¶
func (_m *TagService) EXPECT() *TagService_Expecter
func (*TagService) FindTagByAssetIDAndTemplateURN ¶
func (_m *TagService) FindTagByAssetIDAndTemplateURN(ctx context.Context, assetID string, templateURN string) (tag.Tag, error)
FindTagByAssetIDAndTemplateURN provides a mock function with given fields: ctx, assetID, templateURN
func (*TagService) GetTagsByAssetID ¶
GetTagsByAssetID provides a mock function with given fields: ctx, assetID
type TagService_CreateTag_Call ¶
TagService_CreateTag_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateTag'
func (*TagService_CreateTag_Call) Return ¶
func (_c *TagService_CreateTag_Call) Return(_a0 error) *TagService_CreateTag_Call
func (*TagService_CreateTag_Call) Run ¶
func (_c *TagService_CreateTag_Call) Run(run func(ctx context.Context, _a1 *tag.Tag)) *TagService_CreateTag_Call
func (*TagService_CreateTag_Call) RunAndReturn ¶ added in v0.5.3
func (_c *TagService_CreateTag_Call) RunAndReturn(run func(context.Context, *tag.Tag) error) *TagService_CreateTag_Call
type TagService_DeleteTag_Call ¶
TagService_DeleteTag_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteTag'
func (*TagService_DeleteTag_Call) Return ¶
func (_c *TagService_DeleteTag_Call) Return(_a0 error) *TagService_DeleteTag_Call
func (*TagService_DeleteTag_Call) Run ¶
func (_c *TagService_DeleteTag_Call) Run(run func(ctx context.Context, assetID string, templateURN string)) *TagService_DeleteTag_Call
func (*TagService_DeleteTag_Call) RunAndReturn ¶ added in v0.5.3
func (_c *TagService_DeleteTag_Call) RunAndReturn(run func(context.Context, string, string) error) *TagService_DeleteTag_Call
type TagService_Expecter ¶
type TagService_Expecter struct {
// contains filtered or unexported fields
}
func (*TagService_Expecter) CreateTag ¶
func (_e *TagService_Expecter) CreateTag(ctx interface{}, _a1 interface{}) *TagService_CreateTag_Call
CreateTag is a helper method to define mock.On call
- ctx context.Context
- _a1 *tag.Tag
func (*TagService_Expecter) DeleteTag ¶
func (_e *TagService_Expecter) DeleteTag(ctx interface{}, assetID interface{}, templateURN interface{}) *TagService_DeleteTag_Call
DeleteTag is a helper method to define mock.On call
- ctx context.Context
- assetID string
- templateURN string
func (*TagService_Expecter) FindTagByAssetIDAndTemplateURN ¶
func (_e *TagService_Expecter) FindTagByAssetIDAndTemplateURN(ctx interface{}, assetID interface{}, templateURN interface{}) *TagService_FindTagByAssetIDAndTemplateURN_Call
FindTagByAssetIDAndTemplateURN is a helper method to define mock.On call
- ctx context.Context
- assetID string
- templateURN string
func (*TagService_Expecter) GetTagsByAssetID ¶
func (_e *TagService_Expecter) GetTagsByAssetID(ctx interface{}, assetID interface{}) *TagService_GetTagsByAssetID_Call
GetTagsByAssetID is a helper method to define mock.On call
- ctx context.Context
- assetID string
func (*TagService_Expecter) UpdateTag ¶
func (_e *TagService_Expecter) UpdateTag(ctx interface{}, _a1 interface{}) *TagService_UpdateTag_Call
UpdateTag is a helper method to define mock.On call
- ctx context.Context
- _a1 *tag.Tag
func (*TagService_Expecter) Validate ¶
func (_e *TagService_Expecter) Validate(_a0 interface{}) *TagService_Validate_Call
Validate is a helper method to define mock.On call
- _a0 *tag.Tag
type TagService_FindTagByAssetIDAndTemplateURN_Call ¶
TagService_FindTagByAssetIDAndTemplateURN_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindTagByAssetIDAndTemplateURN'
func (*TagService_FindTagByAssetIDAndTemplateURN_Call) Return ¶
func (_c *TagService_FindTagByAssetIDAndTemplateURN_Call) Return(_a0 tag.Tag, _a1 error) *TagService_FindTagByAssetIDAndTemplateURN_Call
func (*TagService_FindTagByAssetIDAndTemplateURN_Call) Run ¶
func (_c *TagService_FindTagByAssetIDAndTemplateURN_Call) Run(run func(ctx context.Context, assetID string, templateURN string)) *TagService_FindTagByAssetIDAndTemplateURN_Call
func (*TagService_FindTagByAssetIDAndTemplateURN_Call) RunAndReturn ¶ added in v0.5.3
func (_c *TagService_FindTagByAssetIDAndTemplateURN_Call) RunAndReturn(run func(context.Context, string, string) (tag.Tag, error)) *TagService_FindTagByAssetIDAndTemplateURN_Call
type TagService_GetTagsByAssetID_Call ¶
TagService_GetTagsByAssetID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTagsByAssetID'
func (*TagService_GetTagsByAssetID_Call) Return ¶
func (_c *TagService_GetTagsByAssetID_Call) Return(_a0 []tag.Tag, _a1 error) *TagService_GetTagsByAssetID_Call
func (*TagService_GetTagsByAssetID_Call) Run ¶
func (_c *TagService_GetTagsByAssetID_Call) Run(run func(ctx context.Context, assetID string)) *TagService_GetTagsByAssetID_Call
func (*TagService_GetTagsByAssetID_Call) RunAndReturn ¶ added in v0.5.3
func (_c *TagService_GetTagsByAssetID_Call) RunAndReturn(run func(context.Context, string) ([]tag.Tag, error)) *TagService_GetTagsByAssetID_Call
type TagService_UpdateTag_Call ¶
TagService_UpdateTag_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateTag'
func (*TagService_UpdateTag_Call) Return ¶
func (_c *TagService_UpdateTag_Call) Return(_a0 error) *TagService_UpdateTag_Call
func (*TagService_UpdateTag_Call) Run ¶
func (_c *TagService_UpdateTag_Call) Run(run func(ctx context.Context, _a1 *tag.Tag)) *TagService_UpdateTag_Call
func (*TagService_UpdateTag_Call) RunAndReturn ¶ added in v0.5.3
func (_c *TagService_UpdateTag_Call) RunAndReturn(run func(context.Context, *tag.Tag) error) *TagService_UpdateTag_Call
type TagService_Validate_Call ¶
TagService_Validate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Validate'
func (*TagService_Validate_Call) Return ¶
func (_c *TagService_Validate_Call) Return(_a0 error) *TagService_Validate_Call
func (*TagService_Validate_Call) Run ¶
func (_c *TagService_Validate_Call) Run(run func(_a0 *tag.Tag)) *TagService_Validate_Call
func (*TagService_Validate_Call) RunAndReturn ¶ added in v0.5.3
func (_c *TagService_Validate_Call) RunAndReturn(run func(*tag.Tag) error) *TagService_Validate_Call
type TagTemplateService ¶
TagTemplateService is an autogenerated mock type for the TagTemplateService type
func NewTagTemplateService ¶
func NewTagTemplateService(t mockConstructorTestingTNewTagTemplateService) *TagTemplateService
NewTagTemplateService creates a new instance of TagTemplateService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*TagTemplateService) CreateTemplate ¶
CreateTemplate provides a mock function with given fields: ctx, template
func (*TagTemplateService) DeleteTemplate ¶
func (_m *TagTemplateService) DeleteTemplate(ctx context.Context, urn string) error
DeleteTemplate provides a mock function with given fields: ctx, urn
func (*TagTemplateService) EXPECT ¶
func (_m *TagTemplateService) EXPECT() *TagTemplateService_Expecter
func (*TagTemplateService) GetTemplate ¶
GetTemplate provides a mock function with given fields: ctx, urn
func (*TagTemplateService) GetTemplates ¶
func (_m *TagTemplateService) GetTemplates(ctx context.Context, templateURN string) ([]tag.Template, error)
GetTemplates provides a mock function with given fields: ctx, templateURN
func (*TagTemplateService) UpdateTemplate ¶
func (_m *TagTemplateService) UpdateTemplate(ctx context.Context, templateURN string, template *tag.Template) error
UpdateTemplate provides a mock function with given fields: ctx, templateURN, template
type TagTemplateService_CreateTemplate_Call ¶
TagTemplateService_CreateTemplate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateTemplate'
func (*TagTemplateService_CreateTemplate_Call) Return ¶
func (_c *TagTemplateService_CreateTemplate_Call) Return(_a0 error) *TagTemplateService_CreateTemplate_Call
func (*TagTemplateService_CreateTemplate_Call) Run ¶
func (_c *TagTemplateService_CreateTemplate_Call) Run(run func(ctx context.Context, template *tag.Template)) *TagTemplateService_CreateTemplate_Call
func (*TagTemplateService_CreateTemplate_Call) RunAndReturn ¶ added in v0.5.3
func (_c *TagTemplateService_CreateTemplate_Call) RunAndReturn(run func(context.Context, *tag.Template) error) *TagTemplateService_CreateTemplate_Call
type TagTemplateService_DeleteTemplate_Call ¶
TagTemplateService_DeleteTemplate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteTemplate'
func (*TagTemplateService_DeleteTemplate_Call) Return ¶
func (_c *TagTemplateService_DeleteTemplate_Call) Return(_a0 error) *TagTemplateService_DeleteTemplate_Call
func (*TagTemplateService_DeleteTemplate_Call) Run ¶
func (_c *TagTemplateService_DeleteTemplate_Call) Run(run func(ctx context.Context, urn string)) *TagTemplateService_DeleteTemplate_Call
func (*TagTemplateService_DeleteTemplate_Call) RunAndReturn ¶ added in v0.5.3
func (_c *TagTemplateService_DeleteTemplate_Call) RunAndReturn(run func(context.Context, string) error) *TagTemplateService_DeleteTemplate_Call
type TagTemplateService_Expecter ¶
type TagTemplateService_Expecter struct {
// contains filtered or unexported fields
}
func (*TagTemplateService_Expecter) CreateTemplate ¶
func (_e *TagTemplateService_Expecter) CreateTemplate(ctx interface{}, template interface{}) *TagTemplateService_CreateTemplate_Call
CreateTemplate is a helper method to define mock.On call
- ctx context.Context
- template *tag.Template
func (*TagTemplateService_Expecter) DeleteTemplate ¶
func (_e *TagTemplateService_Expecter) DeleteTemplate(ctx interface{}, urn interface{}) *TagTemplateService_DeleteTemplate_Call
DeleteTemplate is a helper method to define mock.On call
- ctx context.Context
- urn string
func (*TagTemplateService_Expecter) GetTemplate ¶
func (_e *TagTemplateService_Expecter) GetTemplate(ctx interface{}, urn interface{}) *TagTemplateService_GetTemplate_Call
GetTemplate is a helper method to define mock.On call
- ctx context.Context
- urn string
func (*TagTemplateService_Expecter) GetTemplates ¶
func (_e *TagTemplateService_Expecter) GetTemplates(ctx interface{}, templateURN interface{}) *TagTemplateService_GetTemplates_Call
GetTemplates is a helper method to define mock.On call
- ctx context.Context
- templateURN string
func (*TagTemplateService_Expecter) UpdateTemplate ¶
func (_e *TagTemplateService_Expecter) UpdateTemplate(ctx interface{}, templateURN interface{}, template interface{}) *TagTemplateService_UpdateTemplate_Call
UpdateTemplate is a helper method to define mock.On call
- ctx context.Context
- templateURN string
- template *tag.Template
func (*TagTemplateService_Expecter) Validate ¶
func (_e *TagTemplateService_Expecter) Validate(template interface{}) *TagTemplateService_Validate_Call
Validate is a helper method to define mock.On call
- template tag.Template
type TagTemplateService_GetTemplate_Call ¶
TagTemplateService_GetTemplate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTemplate'
func (*TagTemplateService_GetTemplate_Call) Return ¶
func (_c *TagTemplateService_GetTemplate_Call) Return(_a0 tag.Template, _a1 error) *TagTemplateService_GetTemplate_Call
func (*TagTemplateService_GetTemplate_Call) Run ¶
func (_c *TagTemplateService_GetTemplate_Call) Run(run func(ctx context.Context, urn string)) *TagTemplateService_GetTemplate_Call
func (*TagTemplateService_GetTemplate_Call) RunAndReturn ¶ added in v0.5.3
func (_c *TagTemplateService_GetTemplate_Call) RunAndReturn(run func(context.Context, string) (tag.Template, error)) *TagTemplateService_GetTemplate_Call
type TagTemplateService_GetTemplates_Call ¶
TagTemplateService_GetTemplates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTemplates'
func (*TagTemplateService_GetTemplates_Call) Return ¶
func (_c *TagTemplateService_GetTemplates_Call) Return(_a0 []tag.Template, _a1 error) *TagTemplateService_GetTemplates_Call
func (*TagTemplateService_GetTemplates_Call) Run ¶
func (_c *TagTemplateService_GetTemplates_Call) Run(run func(ctx context.Context, templateURN string)) *TagTemplateService_GetTemplates_Call
func (*TagTemplateService_GetTemplates_Call) RunAndReturn ¶ added in v0.5.3
func (_c *TagTemplateService_GetTemplates_Call) RunAndReturn(run func(context.Context, string) ([]tag.Template, error)) *TagTemplateService_GetTemplates_Call
type TagTemplateService_UpdateTemplate_Call ¶
TagTemplateService_UpdateTemplate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateTemplate'
func (*TagTemplateService_UpdateTemplate_Call) Return ¶
func (_c *TagTemplateService_UpdateTemplate_Call) Return(_a0 error) *TagTemplateService_UpdateTemplate_Call
func (*TagTemplateService_UpdateTemplate_Call) Run ¶
func (_c *TagTemplateService_UpdateTemplate_Call) Run(run func(ctx context.Context, templateURN string, template *tag.Template)) *TagTemplateService_UpdateTemplate_Call
func (*TagTemplateService_UpdateTemplate_Call) RunAndReturn ¶ added in v0.5.3
func (_c *TagTemplateService_UpdateTemplate_Call) RunAndReturn(run func(context.Context, string, *tag.Template) error) *TagTemplateService_UpdateTemplate_Call
type TagTemplateService_Validate_Call ¶
TagTemplateService_Validate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Validate'
func (*TagTemplateService_Validate_Call) Return ¶
func (_c *TagTemplateService_Validate_Call) Return(_a0 error) *TagTemplateService_Validate_Call
func (*TagTemplateService_Validate_Call) Run ¶
func (_c *TagTemplateService_Validate_Call) Run(run func(template tag.Template)) *TagTemplateService_Validate_Call
func (*TagTemplateService_Validate_Call) RunAndReturn ¶ added in v0.5.3
func (_c *TagTemplateService_Validate_Call) RunAndReturn(run func(tag.Template) error) *TagTemplateService_Validate_Call
type UserService ¶
UserService is an autogenerated mock type for the UserService type
func NewUserService ¶
func NewUserService(t mockConstructorTestingTNewUserService) *UserService
NewUserService creates a new instance of UserService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*UserService) EXPECT ¶
func (_m *UserService) EXPECT() *UserService_Expecter
func (*UserService) ValidateUser ¶
ValidateUser provides a mock function with given fields: ctx, uuid, email
type UserService_Expecter ¶
type UserService_Expecter struct {
// contains filtered or unexported fields
}
func (*UserService_Expecter) ValidateUser ¶
func (_e *UserService_Expecter) ValidateUser(ctx interface{}, uuid interface{}, email interface{}) *UserService_ValidateUser_Call
ValidateUser is a helper method to define mock.On call
- ctx context.Context
- uuid string
- email string
type UserService_ValidateUser_Call ¶
UserService_ValidateUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ValidateUser'
func (*UserService_ValidateUser_Call) Return ¶
func (_c *UserService_ValidateUser_Call) Return(_a0 string, _a1 error) *UserService_ValidateUser_Call
func (*UserService_ValidateUser_Call) Run ¶
func (_c *UserService_ValidateUser_Call) Run(run func(ctx context.Context, uuid string, email string)) *UserService_ValidateUser_Call
func (*UserService_ValidateUser_Call) RunAndReturn ¶ added in v0.5.3
func (_c *UserService_ValidateUser_Call) RunAndReturn(run func(context.Context, string, string) (string, error)) *UserService_ValidateUser_Call