They have an electron gun like a klystron, but with a control grid in front of it like a triode, with a very close spacing of around 0.1 mm. The high frequency RF voltage on the grid allows the electrons through in bunches. High voltage DC on a cylindrical anode accelerates the modulated electron beam through a small drift tube like a klystron.