Documentation ¶
Overview ¶
Package reporter contains helpers for publishing statues to Pub statuses in Github.
Index ¶
Constants ¶
View Source
const ( // PubSubProjectLabel annotation PubSubProjectLabel = "prow.k8s.io/pubsub.project" // PubSubTopicLabel annotation PubSubTopicLabel = "prow.k8s.io/pubsub.topic" // PubSubRunIDLabel annotation PubSubRunIDLabel = "prow.k8s.io/pubsub.runID" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { }
Client is a reporter client fed to crier controller
type ReportMessage ¶
type ReportMessage struct { Project string `json:"project"` Topic string `json:"topic"` RunID string `json:"runid"` Status kube.ProwJobState `json:"status"` URL string `json:"url"` }
ReportMessage is a message structure used to pass a prowjob status to Pub/Sub topic.s
Click to show internal directories.
Click to hide internal directories.