Documentation ¶
Index ¶
Constants ¶
View Source
const LabelCleanPHI string = "Clean scan by no-phi-ai"
View Source
const LabelDirtyPHI string = "PHI detected by AI"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientManager ¶
type ClientManager struct {
githubapp.ClientCreator
}
ClientManager implements the methods of the githubapp.ClientCreator interface and adds additional methods for implementing the business logic of the app.
func NewClientManager ¶
func NewClientManager(config *cfg.Config) (*ClientManager, error)
NewClientManager() function initializes a new ClientManager object using the provided config.
func (*ClientManager) ApplyLabelForIssueComment ¶
func (cms *ClientManager) ApplyLabelForIssueComment(ctx context.Context, event github.IssueCommentEvent, label string) error
ApplyLabelForIssueComment() method applies the specified label to the GitHub issue.
Click to show internal directories.
Click to hide internal directories.