Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoBuildID = errors.New("no build ID on secret")
ErrNoBuildID indicates that a secret does not have a build ID attached.
Functions ¶
This section is empty.
Types ¶
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.