Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller is responsible for synchronizing service objects.
func NewController ¶
func NewController( clusterName string, getter v1.ServicesGetter, informer coreinformers.ServiceInformer, syncService func(context.Context, string, *corev1.Service) error, deleteService func(context.Context, string, string) error, ) *Controller
NewController creates a new service controller
func (*Controller) ReconcileAllServices ¶
func (c *Controller) ReconcileAllServices()
ReconcileAllServices reconcile all the services
func (*Controller) ReconcileServices ¶
func (c *Controller) ReconcileServices(ns *model.Namespace)
ReconcileServices reconcile services in a certain namespace
func (*Controller) Run ¶
func (c *Controller) Run(workers int, stopCh <-chan struct{})
Run begins watching and syncing.
Click to show internal directories.
Click to hide internal directories.