MCPcopy
hub / github.com/akuity/kargo / mockPullRequestClient

Struct mockPullRequestClient

pkg/gitprovider/bitbucket/bitbucket_test.go:14–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12)
13
14type mockPullRequestClient struct {
15 createFunc func(opt *bitbucket.PullRequestsOptions) (any, error)
16 getsFunc func(opt *bitbucket.PullRequestsOptions) (any, error)
17 getFunc func(opt *bitbucket.PullRequestsOptions) (any, error)
18 getCommitFunc func(opt *bitbucket.CommitsOptions) (any, error)
19 mergeFunc func(opt *bitbucket.PullRequestsOptions) (any, error)
20}
21
22func (m *mockPullRequestClient) Create(
23 opt *bitbucket.PullRequestsOptions,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected