reporters

package
v0.0.0-...-081ecb4 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2020 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Overview

Package reporters is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GithubReviewer

type GithubReviewer struct {
	*github.Context
	// contains filtered or unexported fields
}

func NewGithubReviewer

func NewGithubReviewer(c *github.Context, client github.Client, ec *experiments.Checker) *GithubReviewer

func (GithubReviewer) Report

func (gr GithubReviewer) Report(ctx context.Context, buildConfig *config.Service, buildLog *envbuildresult.Log,
	ref string, issues []result.Issue) error

type MockReporter

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

MockReporter is a mock of Reporter interface

func NewMockReporter

func NewMockReporter(ctrl *gomock.Controller) *MockReporter

NewMockReporter creates a new mock instance

func (*MockReporter) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockReporter) Report

func (m *MockReporter) Report(ctx context.Context, buildConfig *config.Service, buildLog *result.Log, ref string, issues []result0.Issue) error

Report mocks base method

type MockReporterMockRecorder

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

MockReporterMockRecorder is the mock recorder for MockReporter

func (*MockReporterMockRecorder) Report

func (mr *MockReporterMockRecorder) Report(ctx, buildConfig, buildLog, ref, issues interface{}) *gomock.Call

Report indicates an expected call of Report

type Reporter

type Reporter interface {
	Report(ctx context.Context, buildConfig *config.Service, buildLog *envbuildresult.Log, ref string, issues []result.Issue) error
}

Jump to

Keyboard shortcuts

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