Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultRolloutResyncPeriod Default time in seconds for rollout resync period DefaultRolloutResyncPeriod = 15 * 60 // DefaultMetricsPort Default port to expose the metrics endpoint DefaultMetricsPort = 8090 // DefaultRolloutThreads Default numnber of worker threads to start with the controller DefaultRolloutThreads = 10 // DefaultRolloutThreads Default numnber of worker threads to start with the controller DefaultExperimentThreads = 10 // DefaultRolloutThreads Default numnber of worker threads to start with the controller DefaultServiceThreads = 10 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶ added in v0.5.0
type Manager struct {
// contains filtered or unexported fields
}
Manager is the controller implementation for Argo-Rollout resources
func NewManager ¶ added in v0.5.0
func NewManager( kubeclientset kubernetes.Interface, rolloutsclientset clientset.Interface, replicaSetInformer appsinformers.ReplicaSetInformer, servicesInformer coreinformers.ServiceInformer, rolloutsInformer informers.RolloutInformer, experimentsInformer informers.ExperimentInformer, resyncPeriod time.Duration, metricsPort int) *Manager
NewManager returns a new manager to manage all the controllers
func (*Manager) Run ¶ added in v0.5.0
func (c *Manager) Run(rolloutThreadiness, serviceThreadiness, experimentThreadiness int, stopCh <-chan struct{}) error
Run will set up the event handlers for types we are interested in, as well as syncing informer caches and starting workers. It will block until stopCh is closed, at which point it will shutdown the workqueue and wait for workers to finish processing their current work items.
Click to show internal directories.
Click to hide internal directories.