foghorn

package
v0.0.703 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2020 License: Apache-2.0 Imports: 52 Imported by: 0

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(kubeClient kubernetes.Interface, lhClient clientset.Interface, lhInformer lhinformers.LighthouseJobInformer, ns string, logger *logrus.Entry) (*Controller, error)

NewController returns a new controller for syncing LighthouseJobs and commit statuses

func (*Controller) Run

func (c *Controller) Run(threadiness int, stopCh <-chan struct{}) error

Run actually runs the controller

Jump to

Keyboard shortcuts

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