Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Commenter ¶
type Commenter struct { Config Dependencies Client *github.IssuesService }
Commenter is a github based commenter.
func NewCommenter ¶
func NewCommenter(cfg Config, deps Dependencies) *Commenter
NewCommenter creates a new Commenter
type Dependencies ¶
type Dependencies struct { Logger zerolog.Logger Converter providers.EnvironmentConverter }
Dependencies defines the dependencies of this commenter
type PullRequestsService ¶
type PullRequestsService interface {
CreateComment(ctx context.Context, owner string, repo string, number int, comment *github.IssueComment) (*github.IssueComment, *github.Response, error)
}
PullRequestsService is an interface defining the Wrapper Interface needed to test the github client.
Click to show internal directories.
Click to hide internal directories.