Skip to content

Commit

Permalink
feat: add pull request client mock (#556)
Browse files Browse the repository at this point in the history
Signed-off-by: jzli <[email protected]>
  • Loading branch information
Kinso authored Mar 20, 2024
1 parent 66e0f4f commit 39e68ad
Show file tree
Hide file tree
Showing 2 changed files with 508 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugin/types/pull_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ import (
metav1alpha1 "github.com/katanomi/pkg/apis/meta/v1alpha1"
)

//go:generate mockgen -package=types -destination=../../testing/mock/github.com/katanomi/pkg/plugin/types/pull_request.go github.com/katanomi/pkg/plugin/types GitPullRequestCommentCreator,GitPullRequestCommentUpdater,GitPullRequestCommentLister,GitPullRequestHandler,GitPullRequestLister,GitPullRequestGetter,GitPullRequestCreator

// GitPullRequestCommentCreator create pull request comment functions
type GitPullRequestCommentCreator interface {
Interface
Expand Down
Loading

0 comments on commit 39e68ad

Please sign in to comment.