Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNoBuildID indicates that a secret does not have a build ID attached. ErrNoBuildID = errors.New("no build ID on secret") )
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v0.4.0
type Config struct {
Namespace string
WorkerImage string
WorkerPullPolicy string
WorkerServiceAccount string
}
Config is config for setting Controller
type Controller ¶
type Controller struct {
*Config
// contains filtered or unexported fields
}
Controller listens for new brigade builds and starts the worker pods.
func NewController ¶
func NewController(clientset kubernetes.Interface, config *Config) *Controller
NewController creates a new Controller.
func (*Controller) HasSynced ¶
func (c *Controller) HasSynced() bool
HasSynced returns true if the controller has synced.
func (*Controller) Run ¶
func (c *Controller) Run(threadiness int, stopCh chan struct{})
Run executes the controller.
Click to show internal directories.
Click to hide internal directories.