commenter

package
v0.0.0-...-34cbb95 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 26, 2024 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Overview

Package commenter contains an implementation of the code_review.ChangelistCommenter interface. It should be CRS-agnostic.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Impl

type Impl struct {
	// contains filtered or unexported fields
}

func New

func New(db *pgxpool.Pool, systems []ReviewSystem, messageTemplate, instanceURL string, windowSize int) (*Impl, error)

func (*Impl) CommentOnChangelistsWithUntriagedDigests

func (i *Impl) CommentOnChangelistsWithUntriagedDigests(ctx context.Context) error

CommentOnChangelistsWithUntriagedDigests implements the code_review.ChangelistCommenter interface.

type ReviewSystem

type ReviewSystem struct {
	ID     string // e.g. "gerrit", "gerrit-internal"
	Client code_review.Client
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL