Cylinder end cap