There could come a time when you will see Domingo German remain in the starting rotation … or be put to use as a multi-inning reliever … or work the eighth inning … or possibly the ninth.

With the entire baseball universe expecting the Yankees to secure a starting pitcher via a trade, what that possibility means for German isn’t clear.

What isn’t shrouded in fog is what German has meant to the Yankees and how he has bounced back from a hip injury that cost him three weeks last month.

“A lot of good hitters took some funky swings,’’ Aaron Boone said after German pitched the Yankees to a 4-0 win over the hapless Blue Jays on Friday night in front of a sold-out Yankee Stadium crowd of 47,162.

German (11-2), who went to the Dominican Republic to work out during the All-Star break, went six innings, gave up three hits, didn’t issue a walk and fanned seven. He is 2-0 in two starts since returning from the hip issue.

“My command of the fastball, curveball and change-up,’’ German said when asked what made him so efficient. “When you got all going you can attack hitters and get ahead.’’

The victory enabled the Yankees (58-31) to remain 6½ games ahead of the second-place Rays in the AL East and improved their record against divisional opponents to 30-9.

German, who gave up a leadoff homer to the Mets’ Jeff McNeil in his last start, surrendered a single to Eric Sogard to open the game. Sogard went to second on a wild pitch and German retired the next 15 batters.

By the time Danny Jansen stopped the streak with a leadoff single in the sixth inning, the Yankees led 4-0.

Brett Gardner started the fifth inning with a triple into the right field corner and scored on DJ LeMahieu’s ground out to the right side. Aaron Judge and Aaron Hicks singled and Aaron Sanchez (3-13) hit Gary Sanchez on the left arm to load the bases for Edwin Encarnacion.

Encarnacion entered the game in a 4-for-37 (.108) slide and was hitting .123 (8-for-65) with four homers and seven RBIs in 16 games as a Yankee.

“Not worried too much. I know what I can do,’’ said Encarnacion, who smoked a 1-0 pitch off the left-center field wall for a double, clearing the bases and upping the lead to 4-0.

German gave up a one-out single to Sogard to put runners at first and second for Freddy Galvis in the sixth. Galvis flied to center and German’s night ended when he induced Lourdes Gurriel Jr. to ground out to the right side.

Tommy Kahnle took over in the seventh and benefitted from Vladimir Guerrero Jr.’s bad baserunning to pick up an out. With Cavan Biggio on first via a leadoff single, Guerrero singled to left and foolishly attempted to stretch it to a double. Gardner fielded the ball and threw Guerrero out at second. Kahnle retired the next two batters on routine fly balls to right to keep the 4-0 advantage intact.

With Zack Britton and Aroldis Chapman rested, Boone called for Chad Green and he closed out the game with two scoreless innings.

“We felt good about [Green] and we weren’t going to use Chapman in a non-save situation,’’ said Boone, who had Chapman up and throwing after Gurriel greeted Green with a leadoff single in the ninth. Boone said had a save situation surfaced, Chapman would have been in the game.

As for Gardner, who went 2-for-4 and added a double to the triple, he said coming off the All-Star break with a victory was because of one man.

“It’s nice to see us pick up where we left off and obviously it all starts with Domingo,’’ Gardner said. “I thought he was great on the mound tonight. He has pretty nasty stuff and acts like he has been there before.’’

Where German fits in after July 31 isn’t known, but he will likely be prominently featured somewhere on the staff.