Documentation
¶
Index ¶
- func FakeConfigClient(getConfig func(owner, repo string) (plugins.Configuration, error)) plugins.PluginConfigClient
- func FakeGitIssueClient(createIssueComment func(context.Context, plugins.GitIssueComment) error, ...) plugins.GitIssueClient
- func FakeGitPRClient(...) plugins.GitPRClient
- func FakeLoggerClient() plugins.LoggerClient
- func FakeOwnerClient(getOwners func(owner, repo, file string) (plugins.OwnersConfiguration, error)) plugins.OwnersClient
- func FakeRepoClient(funcs map[string]interface{}) plugins.GitRepoClient
- func FakeSearchClient(funcs map[string]interface{}) plugins.GitSearchClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FakeConfigClient ¶
func FakeConfigClient(getConfig func(owner, repo string) (plugins.Configuration, error)) plugins.PluginConfigClient
func FakeGitIssueClient ¶
func FakeGitPRClient ¶
func FakeGitPRClient( listFiles func(context.Context, plugins.GitRepo, plugins.GitPullRequest) ([]plugins.GitCommitFile, error), getPR func(ctx context.Context, repo plugins.GitRepo, number int) (plugins.GitPullRequest, error), mergePR func(ctx context.Context, repo plugins.GitRepo, number int, method string) error, ) plugins.GitPRClient
func FakeLoggerClient ¶
func FakeLoggerClient() plugins.LoggerClient
func FakeOwnerClient ¶
func FakeOwnerClient( getOwners func(owner, repo, file string) (plugins.OwnersConfiguration, error), ) plugins.OwnersClient
func FakeRepoClient ¶
func FakeRepoClient(funcs map[string]interface{}) plugins.GitRepoClient
func FakeSearchClient ¶
func FakeSearchClient(funcs map[string]interface{}) plugins.GitSearchClient
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.