Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for StopFunc (0.07 sec)

  1. staging/src/k8s.io/apimachinery/pkg/watch/watch.go

    	return pw.stopCh
    }
    
    // MockWatcher implements watch.Interface with mockable functions.
    type MockWatcher struct {
    	StopFunc       func()
    	ResultChanFunc func() <-chan Event
    }
    
    var _ Interface = &MockWatcher{}
    
    // Stop calls StopFunc
    func (mw MockWatcher) Stop() {
    	mw.StopFunc()
    }
    
    // ResultChan calls ResultChanFunc
    func (mw MockWatcher) ResultChan() <-chan Event {
    	return mw.ResultChanFunc()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 20:06:22 UTC 2024
    - 8.1K bytes
    - Viewed (1)
Back to top