Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServiceSyncController ¶
func NewServiceSyncController( serviceName string, configClient configclientv1.ConfigV1Interface, configInformer configinformer.SharedInformerFactory, operatorClient v1helpers.OperatorClient, corev1Client coreclientv1.CoreV1Interface, operatorConfigInformer operatorinformersv1.ConsoleInformer, serviceInformer coreinformersv1.ServiceInformer, recorder events.Recorder, ) factory.Controller
factory func needs clients and informers informers to start them up, clients to pass
Types ¶
type ServiceSyncController ¶
type ServiceSyncController struct {
// contains filtered or unexported fields
}
ctrl just needs the clients so it can make requests the informers will automatically notify it of changes and kick the sync loop
func (*ServiceSyncController) Sync ¶
func (c *ServiceSyncController) Sync(ctx context.Context, controllerContext factory.SyncContext) error
func (*ServiceSyncController) SyncRedirectService ¶
func (c *ServiceSyncController) SyncRedirectService(ctx context.Context, routeConfig *routesub.RouteConfig, controllerContext factory.SyncContext) (string, error)
Click to show internal directories.
Click to hide internal directories.