func NewFakeControllerSource() *FakeControllerSource { return &FakeControllerSource{ items: map[nnu]runtime.Object{}, broadcaster: watch.NewBroadcaster(100, watch.WaitIfChannelFull), } }
// Creates a new event broadcaster. func NewBroadcaster() EventBroadcaster { return &eventBroadcasterImpl{watch.NewBroadcaster(maxQueuedEvents, watch.DropIfChannelFull)} }
// NewFake makes a new fake MasterElector. func NewFake() *Fake { // 0 means block for clients. return &Fake{mux: watch.NewBroadcaster(0, watch.WaitIfChannelFull)} }