The General Secretary of the Confederation of African Football (CAF) has resigned amid a chaotic time for football on the continent.