Peter Bacsko created YUNIKORN-1745:
--------------------------------------

             Summary: Add implementation to MockedAPIProvider.AddEventHandler()
                 Key: YUNIKORN-1745
                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1745
             Project: Apache YuniKorn
          Issue Type: Sub-task
          Components: shim - kubernetes, test - unit
            Reporter: Peter Bacsko
            Assignee: Peter Bacsko


Currently, the implementation of MockedAPIProvider.AddEventHandler() is empty:
{noformat}
func (m *MockedAPIProvider) AddEventHandler(handlers *ResourceEventHandlers) {
        // no impl
}
{noformat}

However, if we use {{MockScheduler}}, this method will eventually be called. If 
we save the handlers, we can simulate shared informers on a separate goroutine 
and we can send events for adding/updating/removing pods, nodes and config maps.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to