mocks

package
v0.27.1 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockChecksumProvider

type MockChecksumProvider struct {
	mock.Mock
}

MockChecksumProvider is an autogenerated mock type for the ChecksumProvider type

func NewMockChecksumProvider

func NewMockChecksumProvider(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockChecksumProvider

NewMockChecksumProvider creates a new instance of MockChecksumProvider. 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 (*MockChecksumProvider) DownloadChecksumManifest

func (_mock *MockChecksumProvider) DownloadChecksumManifest(ctx context.Context, rel forge.Release, maxBytes int64) ([]byte, error)

DownloadChecksumManifest provides a mock function for the type MockChecksumProvider

func (*MockChecksumProvider) EXPECT

type MockChecksumProvider_DownloadChecksumManifest_Call

type MockChecksumProvider_DownloadChecksumManifest_Call struct {
	*mock.Call
}

MockChecksumProvider_DownloadChecksumManifest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadChecksumManifest'

func (*MockChecksumProvider_DownloadChecksumManifest_Call) Return

func (*MockChecksumProvider_DownloadChecksumManifest_Call) Run

func (*MockChecksumProvider_DownloadChecksumManifest_Call) RunAndReturn

type MockChecksumProvider_Expecter

type MockChecksumProvider_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockChecksumProvider_Expecter) DownloadChecksumManifest

func (_e *MockChecksumProvider_Expecter) DownloadChecksumManifest(ctx any, rel any, maxBytes any) *MockChecksumProvider_DownloadChecksumManifest_Call

DownloadChecksumManifest is a helper method to define mock.On call

  • ctx context.Context
  • rel forge.Release
  • maxBytes int64

type MockConfig

type MockConfig struct {
	mock.Mock
}

MockConfig is an autogenerated mock type for the Config type

func NewMockConfig

func NewMockConfig(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockConfig

NewMockConfig creates a new instance of MockConfig. 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 (*MockConfig) EXPECT

func (_m *MockConfig) EXPECT() *MockConfig_Expecter

func (*MockConfig) GetString

func (_mock *MockConfig) GetString(key string) string

GetString provides a mock function for the type MockConfig

func (*MockConfig) Sub

func (_mock *MockConfig) Sub(key string) forge.Config

Sub provides a mock function for the type MockConfig

type MockConfig_Expecter

type MockConfig_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockConfig_Expecter) GetString

GetString is a helper method to define mock.On call

  • key string

func (*MockConfig_Expecter) Sub

Sub is a helper method to define mock.On call

  • key string

type MockConfig_GetString_Call

type MockConfig_GetString_Call struct {
	*mock.Call
}

MockConfig_GetString_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetString'

func (*MockConfig_GetString_Call) Return

func (*MockConfig_GetString_Call) Run

func (*MockConfig_GetString_Call) RunAndReturn

func (_c *MockConfig_GetString_Call) RunAndReturn(run func(key string) string) *MockConfig_GetString_Call

type MockConfig_Sub_Call

type MockConfig_Sub_Call struct {
	*mock.Call
}

MockConfig_Sub_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Sub'

func (*MockConfig_Sub_Call) Return

func (*MockConfig_Sub_Call) Run

func (_c *MockConfig_Sub_Call) Run(run func(key string)) *MockConfig_Sub_Call

func (*MockConfig_Sub_Call) RunAndReturn

func (_c *MockConfig_Sub_Call) RunAndReturn(run func(key string) forge.Config) *MockConfig_Sub_Call

type MockContents added in v0.4.0

type MockContents struct {
	mock.Mock
}

MockContents is an autogenerated mock type for the Contents type

func NewMockContents added in v0.4.0

func NewMockContents(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockContents

NewMockContents creates a new instance of MockContents. 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 (*MockContents) EXPECT added in v0.4.0

func (_m *MockContents) EXPECT() *MockContents_Expecter

func (*MockContents) GetFile added in v0.4.0

func (_mock *MockContents) GetFile(ctx context.Context, owner string, repo string, path string, ref string, maxBytes int64) ([]byte, error)

GetFile provides a mock function for the type MockContents

type MockContents_Expecter added in v0.4.0

type MockContents_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockContents_Expecter) GetFile added in v0.4.0

func (_e *MockContents_Expecter) GetFile(ctx any, owner any, repo any, path any, ref any, maxBytes any) *MockContents_GetFile_Call

GetFile is a helper method to define mock.On call

  • ctx context.Context
  • owner string
  • repo string
  • path string
  • ref string
  • maxBytes int64

type MockContents_GetFile_Call added in v0.4.0

type MockContents_GetFile_Call struct {
	*mock.Call
}

MockContents_GetFile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFile'

func (*MockContents_GetFile_Call) Return added in v0.4.0

func (*MockContents_GetFile_Call) Run added in v0.4.0

func (_c *MockContents_GetFile_Call) Run(run func(ctx context.Context, owner string, repo string, path string, ref string, maxBytes int64)) *MockContents_GetFile_Call

func (*MockContents_GetFile_Call) RunAndReturn added in v0.4.0

func (_c *MockContents_GetFile_Call) RunAndReturn(run func(ctx context.Context, owner string, repo string, path string, ref string, maxBytes int64) ([]byte, error)) *MockContents_GetFile_Call

type MockDraftPublisher added in v0.27.0

type MockDraftPublisher struct {
	mock.Mock
}

MockDraftPublisher is an autogenerated mock type for the DraftPublisher type

func NewMockDraftPublisher added in v0.27.0

func NewMockDraftPublisher(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockDraftPublisher

NewMockDraftPublisher creates a new instance of MockDraftPublisher. 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 (*MockDraftPublisher) EXPECT added in v0.27.0

func (*MockDraftPublisher) PublishRelease added in v0.27.0

func (_mock *MockDraftPublisher) PublishRelease(ctx context.Context, owner string, repo string, tagName string) (forge.Release, error)

PublishRelease provides a mock function for the type MockDraftPublisher

type MockDraftPublisher_Expecter added in v0.27.0

type MockDraftPublisher_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockDraftPublisher_Expecter) PublishRelease added in v0.27.0

func (_e *MockDraftPublisher_Expecter) PublishRelease(ctx any, owner any, repo any, tagName any) *MockDraftPublisher_PublishRelease_Call

PublishRelease is a helper method to define mock.On call

  • ctx context.Context
  • owner string
  • repo string
  • tagName string

type MockDraftPublisher_PublishRelease_Call added in v0.27.0

type MockDraftPublisher_PublishRelease_Call struct {
	*mock.Call
}

MockDraftPublisher_PublishRelease_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PublishRelease'

func (*MockDraftPublisher_PublishRelease_Call) Return added in v0.27.0

func (*MockDraftPublisher_PublishRelease_Call) Run added in v0.27.0

func (*MockDraftPublisher_PublishRelease_Call) RunAndReturn added in v0.27.0

type MockIssueCommenter added in v0.26.0

type MockIssueCommenter struct {
	mock.Mock
}

MockIssueCommenter is an autogenerated mock type for the IssueCommenter type

func NewMockIssueCommenter added in v0.26.0

func NewMockIssueCommenter(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockIssueCommenter

NewMockIssueCommenter creates a new instance of MockIssueCommenter. 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 (*MockIssueCommenter) CreateIssueComment added in v0.26.0

func (_mock *MockIssueCommenter) CreateIssueComment(ctx context.Context, owner string, repo string, number int, draft forge.CommentDraft) (forge.Comment, error)

CreateIssueComment provides a mock function for the type MockIssueCommenter

func (*MockIssueCommenter) EXPECT added in v0.26.0

type MockIssueCommenter_CreateIssueComment_Call added in v0.26.0

type MockIssueCommenter_CreateIssueComment_Call struct {
	*mock.Call
}

MockIssueCommenter_CreateIssueComment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateIssueComment'

func (*MockIssueCommenter_CreateIssueComment_Call) Return added in v0.26.0

func (*MockIssueCommenter_CreateIssueComment_Call) Run added in v0.26.0

func (*MockIssueCommenter_CreateIssueComment_Call) RunAndReturn added in v0.26.0

type MockIssueCommenter_Expecter added in v0.26.0

type MockIssueCommenter_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockIssueCommenter_Expecter) CreateIssueComment added in v0.26.0

func (_e *MockIssueCommenter_Expecter) CreateIssueComment(ctx any, owner any, repo any, number any, draft any) *MockIssueCommenter_CreateIssueComment_Call

CreateIssueComment is a helper method to define mock.On call

  • ctx context.Context
  • owner string
  • repo string
  • number int
  • draft forge.CommentDraft

type MockIssueFiler added in v0.5.0

type MockIssueFiler struct {
	mock.Mock
}

MockIssueFiler is an autogenerated mock type for the IssueFiler type

func NewMockIssueFiler added in v0.5.0

func NewMockIssueFiler(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockIssueFiler

NewMockIssueFiler creates a new instance of MockIssueFiler. 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 (*MockIssueFiler) CreateIssue added in v0.5.0

func (_mock *MockIssueFiler) CreateIssue(ctx context.Context, owner string, repo string, draft forge.IssueDraft) (forge.Issue, error)

CreateIssue provides a mock function for the type MockIssueFiler

func (*MockIssueFiler) EXPECT added in v0.5.0

type MockIssueFiler_CreateIssue_Call added in v0.5.0

type MockIssueFiler_CreateIssue_Call struct {
	*mock.Call
}

MockIssueFiler_CreateIssue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateIssue'

func (*MockIssueFiler_CreateIssue_Call) Return added in v0.5.0

func (*MockIssueFiler_CreateIssue_Call) Run added in v0.5.0

func (*MockIssueFiler_CreateIssue_Call) RunAndReturn added in v0.5.0

type MockIssueFiler_Expecter added in v0.5.0

type MockIssueFiler_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockIssueFiler_Expecter) CreateIssue added in v0.5.0

func (_e *MockIssueFiler_Expecter) CreateIssue(ctx any, owner any, repo any, draft any) *MockIssueFiler_CreateIssue_Call

CreateIssue is a helper method to define mock.On call

  • ctx context.Context
  • owner string
  • repo string
  • draft forge.IssueDraft

type MockIssues added in v0.5.0

type MockIssues struct {
	mock.Mock
}

MockIssues is an autogenerated mock type for the Issues type

func NewMockIssues added in v0.5.0

func NewMockIssues(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockIssues

NewMockIssues creates a new instance of MockIssues. 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 (*MockIssues) EXPECT added in v0.5.0

func (_m *MockIssues) EXPECT() *MockIssues_Expecter

func (*MockIssues) GetIssue added in v0.5.0

func (_mock *MockIssues) GetIssue(ctx context.Context, owner string, repo string, number int) (forge.Issue, error)

GetIssue provides a mock function for the type MockIssues

func (*MockIssues) ListComments added in v0.5.0

func (_mock *MockIssues) ListComments(ctx context.Context, owner string, repo string, number int, q forge.CommentQuery, yield func(forge.Comment) bool) error

ListComments provides a mock function for the type MockIssues

func (*MockIssues) SearchIssues added in v0.5.0

func (_mock *MockIssues) SearchIssues(ctx context.Context, owner string, repo string, q forge.IssueQuery, yield func(forge.Issue) bool) error

SearchIssues provides a mock function for the type MockIssues

type MockIssues_Expecter added in v0.5.0

type MockIssues_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockIssues_Expecter) GetIssue added in v0.5.0

func (_e *MockIssues_Expecter) GetIssue(ctx any, owner any, repo any, number any) *MockIssues_GetIssue_Call

GetIssue is a helper method to define mock.On call

  • ctx context.Context
  • owner string
  • repo string
  • number int

func (*MockIssues_Expecter) ListComments added in v0.5.0

func (_e *MockIssues_Expecter) ListComments(ctx any, owner any, repo any, number any, q any, yield any) *MockIssues_ListComments_Call

ListComments is a helper method to define mock.On call

  • ctx context.Context
  • owner string
  • repo string
  • number int
  • q forge.CommentQuery
  • yield func(forge.Comment) bool

func (*MockIssues_Expecter) SearchIssues added in v0.5.0

func (_e *MockIssues_Expecter) SearchIssues(ctx any, owner any, repo any, q any, yield any) *MockIssues_SearchIssues_Call

SearchIssues is a helper method to define mock.On call

  • ctx context.Context
  • owner string
  • repo string
  • q forge.IssueQuery
  • yield func(forge.Issue) bool

type MockIssues_GetIssue_Call added in v0.5.0

type MockIssues_GetIssue_Call struct {
	*mock.Call
}

MockIssues_GetIssue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetIssue'

func (*MockIssues_GetIssue_Call) Return added in v0.5.0

func (*MockIssues_GetIssue_Call) Run added in v0.5.0

func (_c *MockIssues_GetIssue_Call) Run(run func(ctx context.Context, owner string, repo string, number int)) *MockIssues_GetIssue_Call

func (*MockIssues_GetIssue_Call) RunAndReturn added in v0.5.0

func (_c *MockIssues_GetIssue_Call) RunAndReturn(run func(ctx context.Context, owner string, repo string, number int) (forge.Issue, error)) *MockIssues_GetIssue_Call

type MockIssues_ListComments_Call added in v0.5.0

type MockIssues_ListComments_Call struct {
	*mock.Call
}

MockIssues_ListComments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListComments'

func (*MockIssues_ListComments_Call) Return added in v0.5.0

func (*MockIssues_ListComments_Call) Run added in v0.5.0

func (_c *MockIssues_ListComments_Call) Run(run func(ctx context.Context, owner string, repo string, number int, q forge.CommentQuery, yield func(forge.Comment) bool)) *MockIssues_ListComments_Call

func (*MockIssues_ListComments_Call) RunAndReturn added in v0.5.0

func (_c *MockIssues_ListComments_Call) RunAndReturn(run func(ctx context.Context, owner string, repo string, number int, q forge.CommentQuery, yield func(forge.Comment) bool) error) *MockIssues_ListComments_Call

type MockIssues_SearchIssues_Call added in v0.5.0

type MockIssues_SearchIssues_Call struct {
	*mock.Call
}

MockIssues_SearchIssues_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SearchIssues'

func (*MockIssues_SearchIssues_Call) Return added in v0.5.0

func (*MockIssues_SearchIssues_Call) Run added in v0.5.0

func (*MockIssues_SearchIssues_Call) RunAndReturn added in v0.5.0

func (_c *MockIssues_SearchIssues_Call) RunAndReturn(run func(ctx context.Context, owner string, repo string, q forge.IssueQuery, yield func(forge.Issue) bool) error) *MockIssues_SearchIssues_Call

type MockProvider

type MockProvider struct {
	mock.Mock
}

MockProvider is an autogenerated mock type for the Provider type

func NewMockProvider

func NewMockProvider(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockProvider

NewMockProvider creates a new instance of MockProvider. 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 (*MockProvider) DownloadReleaseAsset

func (_mock *MockProvider) DownloadReleaseAsset(ctx context.Context, owner string, repo string, asset forge.ReleaseAsset) (io.ReadCloser, string, error)

DownloadReleaseAsset provides a mock function for the type MockProvider

func (*MockProvider) EXPECT

func (_m *MockProvider) EXPECT() *MockProvider_Expecter

func (*MockProvider) GetLatestRelease

func (_mock *MockProvider) GetLatestRelease(ctx context.Context, owner string, repo string) (forge.Release, error)

GetLatestRelease provides a mock function for the type MockProvider

func (*MockProvider) GetReleaseByTag

func (_mock *MockProvider) GetReleaseByTag(ctx context.Context, owner string, repo string, tag string) (forge.Release, error)

GetReleaseByTag provides a mock function for the type MockProvider

func (*MockProvider) ListReleases

func (_mock *MockProvider) ListReleases(ctx context.Context, owner string, repo string, limit int) ([]forge.Release, error)

ListReleases provides a mock function for the type MockProvider

type MockProvider_DownloadReleaseAsset_Call

type MockProvider_DownloadReleaseAsset_Call struct {
	*mock.Call
}

MockProvider_DownloadReleaseAsset_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadReleaseAsset'

func (*MockProvider_DownloadReleaseAsset_Call) Return

func (*MockProvider_DownloadReleaseAsset_Call) Run

func (*MockProvider_DownloadReleaseAsset_Call) RunAndReturn

type MockProvider_Expecter

type MockProvider_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockProvider_Expecter) DownloadReleaseAsset

func (_e *MockProvider_Expecter) DownloadReleaseAsset(ctx any, owner any, repo any, asset any) *MockProvider_DownloadReleaseAsset_Call

DownloadReleaseAsset is a helper method to define mock.On call

  • ctx context.Context
  • owner string
  • repo string
  • asset forge.ReleaseAsset

func (*MockProvider_Expecter) GetLatestRelease

func (_e *MockProvider_Expecter) GetLatestRelease(ctx any, owner any, repo any) *MockProvider_GetLatestRelease_Call

GetLatestRelease is a helper method to define mock.On call

  • ctx context.Context
  • owner string
  • repo string

func (*MockProvider_Expecter) GetReleaseByTag

func (_e *MockProvider_Expecter) GetReleaseByTag(ctx any, owner any, repo any, tag any) *MockProvider_GetReleaseByTag_Call

GetReleaseByTag is a helper method to define mock.On call

  • ctx context.Context
  • owner string
  • repo string
  • tag string

func (*MockProvider_Expecter) ListReleases

func (_e *MockProvider_Expecter) ListReleases(ctx any, owner any, repo any, limit any) *MockProvider_ListReleases_Call

ListReleases is a helper method to define mock.On call

  • ctx context.Context
  • owner string
  • repo string
  • limit int

type MockProvider_GetLatestRelease_Call

type MockProvider_GetLatestRelease_Call struct {
	*mock.Call
}

MockProvider_GetLatestRelease_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLatestRelease'

func (*MockProvider_GetLatestRelease_Call) Return

func (*MockProvider_GetLatestRelease_Call) Run

func (*MockProvider_GetLatestRelease_Call) RunAndReturn

type MockProvider_GetReleaseByTag_Call

type MockProvider_GetReleaseByTag_Call struct {
	*mock.Call
}

MockProvider_GetReleaseByTag_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetReleaseByTag'

func (*MockProvider_GetReleaseByTag_Call) Return

func (*MockProvider_GetReleaseByTag_Call) Run

func (*MockProvider_GetReleaseByTag_Call) RunAndReturn

type MockProvider_ListReleases_Call

type MockProvider_ListReleases_Call struct {
	*mock.Call
}

MockProvider_ListReleases_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListReleases'

func (*MockProvider_ListReleases_Call) Return

func (*MockProvider_ListReleases_Call) Run

func (*MockProvider_ListReleases_Call) RunAndReturn

func (_c *MockProvider_ListReleases_Call) RunAndReturn(run func(ctx context.Context, owner string, repo string, limit int) ([]forge.Release, error)) *MockProvider_ListReleases_Call

type MockPullRequestCommenter added in v0.26.0

type MockPullRequestCommenter struct {
	mock.Mock
}

MockPullRequestCommenter is an autogenerated mock type for the PullRequestCommenter type

func NewMockPullRequestCommenter added in v0.26.0

func NewMockPullRequestCommenter(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockPullRequestCommenter

NewMockPullRequestCommenter creates a new instance of MockPullRequestCommenter. 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 (*MockPullRequestCommenter) Comment added in v0.26.0

func (_mock *MockPullRequestCommenter) Comment(ctx context.Context, owner string, repo string, number int, draft forge.CommentDraft) (forge.Comment, error)

Comment provides a mock function for the type MockPullRequestCommenter

func (*MockPullRequestCommenter) EXPECT added in v0.26.0

func (*MockPullRequestCommenter) ListRequestComments added in v0.26.0

func (_mock *MockPullRequestCommenter) ListRequestComments(ctx context.Context, owner string, repo string, number int) ([]forge.Comment, error)

ListRequestComments provides a mock function for the type MockPullRequestCommenter

type MockPullRequestCommenter_Comment_Call added in v0.26.0

type MockPullRequestCommenter_Comment_Call struct {
	*mock.Call
}

MockPullRequestCommenter_Comment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Comment'

func (*MockPullRequestCommenter_Comment_Call) Return added in v0.26.0

func (*MockPullRequestCommenter_Comment_Call) Run added in v0.26.0

func (*MockPullRequestCommenter_Comment_Call) RunAndReturn added in v0.26.0

type MockPullRequestCommenter_Expecter added in v0.26.0

type MockPullRequestCommenter_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockPullRequestCommenter_Expecter) Comment added in v0.26.0

func (_e *MockPullRequestCommenter_Expecter) Comment(ctx any, owner any, repo any, number any, draft any) *MockPullRequestCommenter_Comment_Call

Comment is a helper method to define mock.On call

  • ctx context.Context
  • owner string
  • repo string
  • number int
  • draft forge.CommentDraft

func (*MockPullRequestCommenter_Expecter) ListRequestComments added in v0.26.0

func (_e *MockPullRequestCommenter_Expecter) ListRequestComments(ctx any, owner any, repo any, number any) *MockPullRequestCommenter_ListRequestComments_Call

ListRequestComments is a helper method to define mock.On call

  • ctx context.Context
  • owner string
  • repo string
  • number int

type MockPullRequestCommenter_ListRequestComments_Call added in v0.26.0

type MockPullRequestCommenter_ListRequestComments_Call struct {
	*mock.Call
}

MockPullRequestCommenter_ListRequestComments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListRequestComments'

func (*MockPullRequestCommenter_ListRequestComments_Call) Return added in v0.26.0

func (*MockPullRequestCommenter_ListRequestComments_Call) Run added in v0.26.0

func (*MockPullRequestCommenter_ListRequestComments_Call) RunAndReturn added in v0.26.0

type MockRelease

type MockRelease struct {
	mock.Mock
}

MockRelease is an autogenerated mock type for the Release type

func NewMockRelease

func NewMockRelease(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockRelease

NewMockRelease creates a new instance of MockRelease. 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 (*MockRelease) EXPECT

func (_m *MockRelease) EXPECT() *MockRelease_Expecter

func (*MockRelease) GetAssets

func (_mock *MockRelease) GetAssets() []forge.ReleaseAsset

GetAssets provides a mock function for the type MockRelease

func (*MockRelease) GetBody

func (_mock *MockRelease) GetBody() string

GetBody provides a mock function for the type MockRelease

func (*MockRelease) GetDraft

func (_mock *MockRelease) GetDraft() bool

GetDraft provides a mock function for the type MockRelease

func (*MockRelease) GetName

func (_mock *MockRelease) GetName() string

GetName provides a mock function for the type MockRelease

func (*MockRelease) GetTagName

func (_mock *MockRelease) GetTagName() string

GetTagName provides a mock function for the type MockRelease

type MockReleaseAsset

type MockReleaseAsset struct {
	mock.Mock
}

MockReleaseAsset is an autogenerated mock type for the ReleaseAsset type

func NewMockReleaseAsset

func NewMockReleaseAsset(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockReleaseAsset

NewMockReleaseAsset creates a new instance of MockReleaseAsset. 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 (*MockReleaseAsset) EXPECT

func (*MockReleaseAsset) GetBrowserDownloadURL

func (_mock *MockReleaseAsset) GetBrowserDownloadURL() string

GetBrowserDownloadURL provides a mock function for the type MockReleaseAsset

func (*MockReleaseAsset) GetID

func (_mock *MockReleaseAsset) GetID() int64

GetID provides a mock function for the type MockReleaseAsset

func (*MockReleaseAsset) GetName

func (_mock *MockReleaseAsset) GetName() string

GetName provides a mock function for the type MockReleaseAsset

type MockReleaseAsset_Expecter

type MockReleaseAsset_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockReleaseAsset_Expecter) GetBrowserDownloadURL

GetBrowserDownloadURL is a helper method to define mock.On call

func (*MockReleaseAsset_Expecter) GetID

GetID is a helper method to define mock.On call

func (*MockReleaseAsset_Expecter) GetName

GetName is a helper method to define mock.On call

type MockReleaseAsset_GetBrowserDownloadURL_Call

type MockReleaseAsset_GetBrowserDownloadURL_Call struct {
	*mock.Call
}

MockReleaseAsset_GetBrowserDownloadURL_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBrowserDownloadURL'

func (*MockReleaseAsset_GetBrowserDownloadURL_Call) Return

func (*MockReleaseAsset_GetBrowserDownloadURL_Call) Run

func (*MockReleaseAsset_GetBrowserDownloadURL_Call) RunAndReturn

type MockReleaseAsset_GetID_Call

type MockReleaseAsset_GetID_Call struct {
	*mock.Call
}

MockReleaseAsset_GetID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetID'

func (*MockReleaseAsset_GetID_Call) Return

func (*MockReleaseAsset_GetID_Call) Run

func (*MockReleaseAsset_GetID_Call) RunAndReturn

func (_c *MockReleaseAsset_GetID_Call) RunAndReturn(run func() int64) *MockReleaseAsset_GetID_Call

type MockReleaseAsset_GetName_Call

type MockReleaseAsset_GetName_Call struct {
	*mock.Call
}

MockReleaseAsset_GetName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetName'

func (*MockReleaseAsset_GetName_Call) Return

func (*MockReleaseAsset_GetName_Call) Run

func (*MockReleaseAsset_GetName_Call) RunAndReturn

type MockRelease_Expecter

type MockRelease_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockRelease_Expecter) GetAssets

GetAssets is a helper method to define mock.On call

func (*MockRelease_Expecter) GetBody

GetBody is a helper method to define mock.On call

func (*MockRelease_Expecter) GetDraft

GetDraft is a helper method to define mock.On call

func (*MockRelease_Expecter) GetName

GetName is a helper method to define mock.On call

func (*MockRelease_Expecter) GetTagName

GetTagName is a helper method to define mock.On call

type MockRelease_GetAssets_Call

type MockRelease_GetAssets_Call struct {
	*mock.Call
}

MockRelease_GetAssets_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAssets'

func (*MockRelease_GetAssets_Call) Return

func (*MockRelease_GetAssets_Call) Run

func (*MockRelease_GetAssets_Call) RunAndReturn

type MockRelease_GetBody_Call

type MockRelease_GetBody_Call struct {
	*mock.Call
}

MockRelease_GetBody_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBody'

func (*MockRelease_GetBody_Call) Return

func (*MockRelease_GetBody_Call) Run

func (*MockRelease_GetBody_Call) RunAndReturn

func (_c *MockRelease_GetBody_Call) RunAndReturn(run func() string) *MockRelease_GetBody_Call

type MockRelease_GetDraft_Call

type MockRelease_GetDraft_Call struct {
	*mock.Call
}

MockRelease_GetDraft_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDraft'

func (*MockRelease_GetDraft_Call) Return

func (*MockRelease_GetDraft_Call) Run

func (*MockRelease_GetDraft_Call) RunAndReturn

func (_c *MockRelease_GetDraft_Call) RunAndReturn(run func() bool) *MockRelease_GetDraft_Call

type MockRelease_GetName_Call

type MockRelease_GetName_Call struct {
	*mock.Call
}

MockRelease_GetName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetName'

func (*MockRelease_GetName_Call) Return

func (*MockRelease_GetName_Call) Run

func (*MockRelease_GetName_Call) RunAndReturn

func (_c *MockRelease_GetName_Call) RunAndReturn(run func() string) *MockRelease_GetName_Call

type MockRelease_GetTagName_Call

type MockRelease_GetTagName_Call struct {
	*mock.Call
}

MockRelease_GetTagName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTagName'

func (*MockRelease_GetTagName_Call) Return

func (*MockRelease_GetTagName_Call) Run

func (*MockRelease_GetTagName_Call) RunAndReturn

func (_c *MockRelease_GetTagName_Call) RunAndReturn(run func() string) *MockRelease_GetTagName_Call

type MockRepositories added in v0.4.0

type MockRepositories struct {
	mock.Mock
}

MockRepositories is an autogenerated mock type for the Repositories type

func NewMockRepositories added in v0.4.0

func NewMockRepositories(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockRepositories

NewMockRepositories creates a new instance of MockRepositories. 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 (*MockRepositories) EXPECT added in v0.4.0

func (*MockRepositories) ListRepositories added in v0.4.0

func (_mock *MockRepositories) ListRepositories(ctx context.Context, namespace string, opts forge.RepositoryListOptions, yield func(forge.Repository) bool) error

ListRepositories provides a mock function for the type MockRepositories

type MockRepositories_Expecter added in v0.4.0

type MockRepositories_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockRepositories_Expecter) ListRepositories added in v0.4.0

func (_e *MockRepositories_Expecter) ListRepositories(ctx any, namespace any, opts any, yield any) *MockRepositories_ListRepositories_Call

ListRepositories is a helper method to define mock.On call

  • ctx context.Context
  • namespace string
  • opts forge.RepositoryListOptions
  • yield func(forge.Repository) bool

type MockRepositories_ListRepositories_Call added in v0.4.0

type MockRepositories_ListRepositories_Call struct {
	*mock.Call
}

MockRepositories_ListRepositories_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListRepositories'

func (*MockRepositories_ListRepositories_Call) Return added in v0.4.0

func (*MockRepositories_ListRepositories_Call) Run added in v0.4.0

func (*MockRepositories_ListRepositories_Call) RunAndReturn added in v0.4.0

type MockRepositoryCreator added in v0.26.0

type MockRepositoryCreator struct {
	mock.Mock
}

MockRepositoryCreator is an autogenerated mock type for the RepositoryCreator type

func NewMockRepositoryCreator added in v0.26.0

func NewMockRepositoryCreator(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockRepositoryCreator

NewMockRepositoryCreator creates a new instance of MockRepositoryCreator. 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 (*MockRepositoryCreator) CreateRepository added in v0.26.0

func (_mock *MockRepositoryCreator) CreateRepository(ctx context.Context, owner string, draft forge.RepositoryDraft) (forge.Repository, error)

CreateRepository provides a mock function for the type MockRepositoryCreator

func (*MockRepositoryCreator) EXPECT added in v0.26.0

type MockRepositoryCreator_CreateRepository_Call added in v0.26.0

type MockRepositoryCreator_CreateRepository_Call struct {
	*mock.Call
}

MockRepositoryCreator_CreateRepository_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateRepository'

func (*MockRepositoryCreator_CreateRepository_Call) Return added in v0.26.0

func (*MockRepositoryCreator_CreateRepository_Call) Run added in v0.26.0

func (*MockRepositoryCreator_CreateRepository_Call) RunAndReturn added in v0.26.0

type MockRepositoryCreator_Expecter added in v0.26.0

type MockRepositoryCreator_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockRepositoryCreator_Expecter) CreateRepository added in v0.26.0

CreateRepository is a helper method to define mock.On call

  • ctx context.Context
  • owner string
  • draft forge.RepositoryDraft

type MockSignatureProvider

type MockSignatureProvider struct {
	mock.Mock
}

MockSignatureProvider is an autogenerated mock type for the SignatureProvider type

func NewMockSignatureProvider

func NewMockSignatureProvider(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockSignatureProvider

NewMockSignatureProvider creates a new instance of MockSignatureProvider. 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 (*MockSignatureProvider) DownloadSignature

func (_mock *MockSignatureProvider) DownloadSignature(ctx context.Context, rel forge.Release, maxBytes int64) ([]byte, error)

DownloadSignature provides a mock function for the type MockSignatureProvider

func (*MockSignatureProvider) EXPECT

type MockSignatureProvider_DownloadSignature_Call

type MockSignatureProvider_DownloadSignature_Call struct {
	*mock.Call
}

MockSignatureProvider_DownloadSignature_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadSignature'

func (*MockSignatureProvider_DownloadSignature_Call) Return

func (*MockSignatureProvider_DownloadSignature_Call) Run

func (*MockSignatureProvider_DownloadSignature_Call) RunAndReturn

type MockSignatureProvider_Expecter

type MockSignatureProvider_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockSignatureProvider_Expecter) DownloadSignature

func (_e *MockSignatureProvider_Expecter) DownloadSignature(ctx any, rel any, maxBytes any) *MockSignatureProvider_DownloadSignature_Call

DownloadSignature is a helper method to define mock.On call

  • ctx context.Context
  • rel forge.Release
  • maxBytes int64

type MockSites added in v0.4.0

type MockSites struct {
	mock.Mock
}

MockSites is an autogenerated mock type for the Sites type

func NewMockSites added in v0.4.0

func NewMockSites(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockSites

NewMockSites creates a new instance of MockSites. 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 (*MockSites) EXPECT added in v0.4.0

func (_m *MockSites) EXPECT() *MockSites_Expecter

func (*MockSites) GetSite added in v0.4.0

func (_mock *MockSites) GetSite(ctx context.Context, owner string, repo string) (forge.Site, error)

GetSite provides a mock function for the type MockSites

type MockSites_Expecter added in v0.4.0

type MockSites_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockSites_Expecter) GetSite added in v0.4.0

func (_e *MockSites_Expecter) GetSite(ctx any, owner any, repo any) *MockSites_GetSite_Call

GetSite is a helper method to define mock.On call

  • ctx context.Context
  • owner string
  • repo string

type MockSites_GetSite_Call added in v0.4.0

type MockSites_GetSite_Call struct {
	*mock.Call
}

MockSites_GetSite_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSite'

func (*MockSites_GetSite_Call) Return added in v0.4.0

func (*MockSites_GetSite_Call) Run added in v0.4.0

func (_c *MockSites_GetSite_Call) Run(run func(ctx context.Context, owner string, repo string)) *MockSites_GetSite_Call

func (*MockSites_GetSite_Call) RunAndReturn added in v0.4.0

func (_c *MockSites_GetSite_Call) RunAndReturn(run func(ctx context.Context, owner string, repo string) (forge.Site, error)) *MockSites_GetSite_Call

type MockSnippets added in v0.11.0

type MockSnippets struct {
	mock.Mock
}

MockSnippets is an autogenerated mock type for the Snippets type

func NewMockSnippets added in v0.11.0

func NewMockSnippets(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockSnippets

NewMockSnippets creates a new instance of MockSnippets. 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 (*MockSnippets) CreateSnippet added in v0.11.0

func (_mock *MockSnippets) CreateSnippet(ctx context.Context, scope forge.SnippetScope, opts forge.SnippetCreateOptions) (forge.Snippet, error)

CreateSnippet provides a mock function for the type MockSnippets

func (*MockSnippets) DeleteSnippet added in v0.11.0

func (_mock *MockSnippets) DeleteSnippet(ctx context.Context, scope forge.SnippetScope, id string) error

DeleteSnippet provides a mock function for the type MockSnippets

func (*MockSnippets) EXPECT added in v0.11.0

func (_m *MockSnippets) EXPECT() *MockSnippets_Expecter

func (*MockSnippets) GetSnippet added in v0.11.0

func (_mock *MockSnippets) GetSnippet(ctx context.Context, scope forge.SnippetScope, id string) (forge.Snippet, error)

GetSnippet provides a mock function for the type MockSnippets

func (*MockSnippets) ListSnippets added in v0.11.0

func (_mock *MockSnippets) ListSnippets(ctx context.Context, scope forge.SnippetScope) ([]forge.Snippet, error)

ListSnippets provides a mock function for the type MockSnippets

type MockSnippets_CreateSnippet_Call added in v0.11.0

type MockSnippets_CreateSnippet_Call struct {
	*mock.Call
}

MockSnippets_CreateSnippet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateSnippet'

func (*MockSnippets_CreateSnippet_Call) Return added in v0.11.0

func (*MockSnippets_CreateSnippet_Call) Run added in v0.11.0

func (*MockSnippets_CreateSnippet_Call) RunAndReturn added in v0.11.0

type MockSnippets_DeleteSnippet_Call added in v0.11.0

type MockSnippets_DeleteSnippet_Call struct {
	*mock.Call
}

MockSnippets_DeleteSnippet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteSnippet'

func (*MockSnippets_DeleteSnippet_Call) Return added in v0.11.0

func (*MockSnippets_DeleteSnippet_Call) Run added in v0.11.0

func (*MockSnippets_DeleteSnippet_Call) RunAndReturn added in v0.11.0

type MockSnippets_Expecter added in v0.11.0

type MockSnippets_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockSnippets_Expecter) CreateSnippet added in v0.11.0

func (_e *MockSnippets_Expecter) CreateSnippet(ctx any, scope any, opts any) *MockSnippets_CreateSnippet_Call

CreateSnippet is a helper method to define mock.On call

  • ctx context.Context
  • scope forge.SnippetScope
  • opts forge.SnippetCreateOptions

func (*MockSnippets_Expecter) DeleteSnippet added in v0.11.0

func (_e *MockSnippets_Expecter) DeleteSnippet(ctx any, scope any, id any) *MockSnippets_DeleteSnippet_Call

DeleteSnippet is a helper method to define mock.On call

  • ctx context.Context
  • scope forge.SnippetScope
  • id string

func (*MockSnippets_Expecter) GetSnippet added in v0.11.0

func (_e *MockSnippets_Expecter) GetSnippet(ctx any, scope any, id any) *MockSnippets_GetSnippet_Call

GetSnippet is a helper method to define mock.On call

  • ctx context.Context
  • scope forge.SnippetScope
  • id string

func (*MockSnippets_Expecter) ListSnippets added in v0.11.0

func (_e *MockSnippets_Expecter) ListSnippets(ctx any, scope any) *MockSnippets_ListSnippets_Call

ListSnippets is a helper method to define mock.On call

  • ctx context.Context
  • scope forge.SnippetScope

type MockSnippets_GetSnippet_Call added in v0.11.0

type MockSnippets_GetSnippet_Call struct {
	*mock.Call
}

MockSnippets_GetSnippet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSnippet'

func (*MockSnippets_GetSnippet_Call) Return added in v0.11.0

func (*MockSnippets_GetSnippet_Call) Run added in v0.11.0

func (*MockSnippets_GetSnippet_Call) RunAndReturn added in v0.11.0

type MockSnippets_ListSnippets_Call added in v0.11.0

type MockSnippets_ListSnippets_Call struct {
	*mock.Call
}

MockSnippets_ListSnippets_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListSnippets'

func (*MockSnippets_ListSnippets_Call) Return added in v0.11.0

func (*MockSnippets_ListSnippets_Call) Run added in v0.11.0

func (*MockSnippets_ListSnippets_Call) RunAndReturn added in v0.11.0

type MockWikis added in v0.24.0

type MockWikis struct {
	mock.Mock
}

MockWikis is an autogenerated mock type for the Wikis type

func NewMockWikis added in v0.24.0

func NewMockWikis(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockWikis

NewMockWikis creates a new instance of MockWikis. 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 (*MockWikis) CreateWikiPage added in v0.24.0

func (_mock *MockWikis) CreateWikiPage(ctx context.Context, owner string, repo string, page forge.WikiPage, message string) error

CreateWikiPage provides a mock function for the type MockWikis

func (*MockWikis) EXPECT added in v0.24.0

func (_m *MockWikis) EXPECT() *MockWikis_Expecter

func (*MockWikis) GetWikiPage added in v0.24.0

func (_mock *MockWikis) GetWikiPage(ctx context.Context, owner string, repo string, path string, maxBytes int64) (forge.WikiPage, error)

GetWikiPage provides a mock function for the type MockWikis

func (*MockWikis) ListWikiPages added in v0.24.0

func (_mock *MockWikis) ListWikiPages(ctx context.Context, owner string, repo string) ([]forge.WikiPage, error)

ListWikiPages provides a mock function for the type MockWikis

func (*MockWikis) UpdateWikiPage added in v0.24.0

func (_mock *MockWikis) UpdateWikiPage(ctx context.Context, owner string, repo string, page forge.WikiPage, message string) error

UpdateWikiPage provides a mock function for the type MockWikis

type MockWikis_CreateWikiPage_Call added in v0.24.0

type MockWikis_CreateWikiPage_Call struct {
	*mock.Call
}

MockWikis_CreateWikiPage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateWikiPage'

func (*MockWikis_CreateWikiPage_Call) Return added in v0.24.0

func (*MockWikis_CreateWikiPage_Call) Run added in v0.24.0

func (_c *MockWikis_CreateWikiPage_Call) Run(run func(ctx context.Context, owner string, repo string, page forge.WikiPage, message string)) *MockWikis_CreateWikiPage_Call

func (*MockWikis_CreateWikiPage_Call) RunAndReturn added in v0.24.0

func (_c *MockWikis_CreateWikiPage_Call) RunAndReturn(run func(ctx context.Context, owner string, repo string, page forge.WikiPage, message string) error) *MockWikis_CreateWikiPage_Call

type MockWikis_Expecter added in v0.24.0

type MockWikis_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockWikis_Expecter) CreateWikiPage added in v0.24.0

func (_e *MockWikis_Expecter) CreateWikiPage(ctx any, owner any, repo any, page any, message any) *MockWikis_CreateWikiPage_Call

CreateWikiPage is a helper method to define mock.On call

  • ctx context.Context
  • owner string
  • repo string
  • page forge.WikiPage
  • message string

func (*MockWikis_Expecter) GetWikiPage added in v0.24.0

func (_e *MockWikis_Expecter) GetWikiPage(ctx any, owner any, repo any, path any, maxBytes any) *MockWikis_GetWikiPage_Call

GetWikiPage is a helper method to define mock.On call

  • ctx context.Context
  • owner string
  • repo string
  • path string
  • maxBytes int64

func (*MockWikis_Expecter) ListWikiPages added in v0.24.0

func (_e *MockWikis_Expecter) ListWikiPages(ctx any, owner any, repo any) *MockWikis_ListWikiPages_Call

ListWikiPages is a helper method to define mock.On call

  • ctx context.Context
  • owner string
  • repo string

func (*MockWikis_Expecter) UpdateWikiPage added in v0.24.0

func (_e *MockWikis_Expecter) UpdateWikiPage(ctx any, owner any, repo any, page any, message any) *MockWikis_UpdateWikiPage_Call

UpdateWikiPage is a helper method to define mock.On call

  • ctx context.Context
  • owner string
  • repo string
  • page forge.WikiPage
  • message string

type MockWikis_GetWikiPage_Call added in v0.24.0

type MockWikis_GetWikiPage_Call struct {
	*mock.Call
}

MockWikis_GetWikiPage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetWikiPage'

func (*MockWikis_GetWikiPage_Call) Return added in v0.24.0

func (*MockWikis_GetWikiPage_Call) Run added in v0.24.0

func (_c *MockWikis_GetWikiPage_Call) Run(run func(ctx context.Context, owner string, repo string, path string, maxBytes int64)) *MockWikis_GetWikiPage_Call

func (*MockWikis_GetWikiPage_Call) RunAndReturn added in v0.24.0

func (_c *MockWikis_GetWikiPage_Call) RunAndReturn(run func(ctx context.Context, owner string, repo string, path string, maxBytes int64) (forge.WikiPage, error)) *MockWikis_GetWikiPage_Call

type MockWikis_ListWikiPages_Call added in v0.24.0

type MockWikis_ListWikiPages_Call struct {
	*mock.Call
}

MockWikis_ListWikiPages_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListWikiPages'

func (*MockWikis_ListWikiPages_Call) Return added in v0.24.0

func (*MockWikis_ListWikiPages_Call) Run added in v0.24.0

func (*MockWikis_ListWikiPages_Call) RunAndReturn added in v0.24.0

func (_c *MockWikis_ListWikiPages_Call) RunAndReturn(run func(ctx context.Context, owner string, repo string) ([]forge.WikiPage, error)) *MockWikis_ListWikiPages_Call

type MockWikis_UpdateWikiPage_Call added in v0.24.0

type MockWikis_UpdateWikiPage_Call struct {
	*mock.Call
}

MockWikis_UpdateWikiPage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateWikiPage'

func (*MockWikis_UpdateWikiPage_Call) Return added in v0.24.0

func (*MockWikis_UpdateWikiPage_Call) Run added in v0.24.0

func (_c *MockWikis_UpdateWikiPage_Call) Run(run func(ctx context.Context, owner string, repo string, page forge.WikiPage, message string)) *MockWikis_UpdateWikiPage_Call

func (*MockWikis_UpdateWikiPage_Call) RunAndReturn added in v0.24.0

func (_c *MockWikis_UpdateWikiPage_Call) RunAndReturn(run func(ctx context.Context, owner string, repo string, page forge.WikiPage, message string) error) *MockWikis_UpdateWikiPage_Call

Jump to

Keyboard shortcuts

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