code: func (m *MockServerInfoSource) NewEvent(t go_lifecycle.Type, opts ...go_lifecycle.Option) error {
  	varargs := []interface{}{t}
  	for _, a := range opts {
  		varargs = append(varargs, a)
  	}
  	ret := m.ctrl.Call(m, "NewEvent", varargs...)
  	ret0, _ := ret[0].(error)
  	return ret0
  }
docs: // NewEvent mocks base method