Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProvider ¶
func NewProvider(params Params) changeprovider.ChangeProvider
NewProvider creates a new GitHub ChangeProvider.
Types ¶
type Params ¶
type Params struct {
// Config is the per-queue identity handed to the Factory that built
// this provider.
Config changeprovider.Config
// HTTPClient is a pre-configured HTTP client. The caller is responsible for
// configuring the base URL (via BaseURLTransport) and auth (via a transport layer).
HTTPClient *http.Client
// Logger is the structured logger.
Logger *zap.SugaredLogger
// MetricsScope is the metrics scope for instrumentation.
MetricsScope tally.Scope
}
Params holds the dependencies for the GitHub ChangeProvider.
Click to show internal directories.
Click to hide internal directories.