Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶ added in v0.9.0
type Controller struct {
// contains filtered or unexported fields
}
Controller describes a service controller
func NewController ¶ added in v0.9.0
func NewController(cfg ControllerConfig) *Controller
NewController returns a new service controller
func (*Controller) Run ¶ added in v0.9.0
func (c *Controller) Run(threadiness int, stopCh <-chan struct{}) error
Run starts the controller threads
type ControllerConfig ¶ added in v0.8.0
type ControllerConfig struct {
Kubeclientset kubernetes.Interface
Argoprojclientset clientset.Interface
RolloutsInformer informers.RolloutInformer
ServicesInformer coreinformers.ServiceInformer
RolloutWorkqueue workqueue.RateLimitingInterface
ServiceWorkqueue workqueue.RateLimitingInterface
ResyncPeriod time.Duration
MetricsServer *metrics.MetricsServer
}
ControllerConfig describes the data required to instantiate a new service controller
Click to show internal directories.
Click to hide internal directories.