Regenerate Go

This commit is contained in:
Bryce Lampe
2024-03-26 17:06:19 -07:00
parent cbf957533e
commit 91c652a702
10 changed files with 88 additions and 90 deletions

View File

@@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//go:generate go run go.uber.org/mock/mockgen -typed -package internal -source client.go -destination mockcli_test.go --self_package github.com/pulumi/pulumi-dockerbuild/provider/internal
package internal
import (
@@ -58,6 +60,11 @@ type cli struct {
done chan struct{} // signaled when all logs have been forwarded to the engine.
}
// Cli wraps the Docker interface for mock generation.
type Cli interface {
command.Cli
}
// wrap creates a new cli client with auth configs layered on top of our host's
// auth.
func wrap(host *host, registries ...Registry) (*cli, error) {