In Blender it could be curve or bend modifier to bend the thing around barrel, then shrinkwrap modifier to lay /project bottom vertexes perfectly on the barrel surface and data transfer modifier in case you need to project / grab UV from the barrel to the thing .