reporter

package
v0.0.0-...-d7867ec Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package reporter implements a reporter interface for github TODO(krzyzacy): move logic from report.go here

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client is a github reporter client

func NewReporter

func NewReporter(gc report.GithubClient, ca configAgent) *Client

NewReporter returns a reporter client

func (*Client) GetName

func (c *Client) GetName() string

GetName returns the name of the reporter

func (*Client) Report

func (c *Client) Report(pj *v1.ProwJob) error

Report will report via reportlib

func (*Client) ShouldReport

func (c *Client) ShouldReport(pj *v1.ProwJob) bool

ShouldReport returns if this prowjob should be reported by the github reporter

Jump to

Keyboard shortcuts

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