Documentation ¶
Index ¶
Constants ¶
View Source
const ( AgentName = "application-controller" DefaultRevisionHistoryLimit = 20 MinRevisionHistoryLimit = 1 MaxRevisionHistoryLimit = 1000 )
View Source
const ( TransitioningMessageFormat = `Transitioning from %q to %q` ReleaseActiveMessageFormat = `Release %q is active` InitialReleaseMessageFormat = `Rolling out initial release %q` )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller is a Kubernetes controller that creates Releases from Applications.
func NewController ¶
func NewController( shipperClientset clientset.Interface, shipperInformerFactory informers.SharedInformerFactory, versionResolver shipperrepo.ChartVersionResolver, recorder record.EventRecorder, ) *Controller
NewController returns a new Application controller.
func (*Controller) Run ¶
func (c *Controller) Run(threadiness int, stopCh <-chan struct{})
Run starts Application controller workers and blocks until stopCh is closed.
Click to show internal directories.
Click to hide internal directories.