What type of hardware was used for these fence gates

hardware

I would like to build a gate like the ones below. What hardware do I have to buy for this?

enter image description here
enter image description here

Best Answer

First one is a small pipe inside a large pipe, perhaps with some actual bearings, perhaps not.

Second one is just hinges mounted at the corner of the wooden post.