At the end of Star Wars: A New Hope (1977), I noticed one ground tech closing a plastic true union ball valve and disconnecting a plastic flexible corrugated hose from a side port of one of the X-Wings in the vast hangar of the hidden Rebel base in the Massassi temple on Yavin IV, while the Rebel ground crew was loading droids into the sockets and the pilots were rode around on transport scooters to their ships in preparation for the battle.
Here other still image from the movie and detail showing the hose/valve.
There are some tiny letters near the bottom left of the port but illegible. They appear to be Aurebesh, despite the fact that that language did not exist at the time.
The hose with the valve in question is connected at the other end to a ground crew vehicle. Only the Legends mention the vehicle as Vehicle Maintenance Energizer, which isn't very helpful.
I did research some cross-sections of the X-Wing without success. I also discovered that non-metallic (i.e., PVC) hoses and valves are commonly used in water, chemical processing, and marine applications, among others, but are never used with fuel or other flammable fluids for safety and chemical resistance reasons, predisposing the pipes and valves to damage, leak quickly, and burst, leaving me to wonder what fluid they were pumping.
Here a picture of a standard (out of universe) PVC true union ball valve.