Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUpgradeNotificationController ¶
func NewUpgradeNotificationController( configInformer configinformer.SharedInformerFactory, operatorClient v1helpers.OperatorClient, operatorConfigInformer operatorv1informers.ConsoleInformer, consoleNotificationClient consoleclientv1.ConsoleNotificationInterface, recorder events.Recorder, ) factory.Controller
factory func needs clients and informers informers to start them up, clients to pass
Types ¶
type UpgradeNotificationController ¶
type UpgradeNotificationController 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 (*UpgradeNotificationController) Sync ¶
func (c *UpgradeNotificationController) Sync(ctx context.Context, controllerContext factory.SyncContext) error
Click to show internal directories.
Click to hide internal directories.