Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RateLimiter ¶
func RateLimiter() workqueue.RateLimitingInterface
RateLimiter creates a ratelimiting queue for the foghorn controller.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller listens for changes to PipelineActivitys and updates the corresponding LighthouseJobs and provider commit statuses.
func NewController ¶
func NewController(jxClient jxclient.Interface, lhClient clientset.Interface, activityInformer jxinformers.PipelineActivityInformer, lhInformer lhinformers.LighthouseJobInformer, ns string, logger *logrus.Entry) *Controller
NewController returns a new controller for syncing PipelineActivity updates to LighthouseJobs and commit statuses
func (*Controller) GetBotName ¶
func (c *Controller) GetBotName() string
GetBotName returns the bot name
func (*Controller) Run ¶
func (c *Controller) Run(threadiness int, stopCh <-chan struct{}) error
Run actually runs the controller
type ReportParams ¶
type ReportParams struct {
BaseURL, Owner, Repository, Branch, Build, Context, Team string
}
ReportParams contains the parameters for target URL templates
Click to show internal directories.
Click to hide internal directories.