@@ -14,7 +14,17 @@
 
 package domain
 
-import "github.com/vmware/govmomi/ovf"
+import (
+	"context"
+
+	"github.com/vmware/govmomi/ovf"
+
+	"github.com/GoogleCloudPlatform/compute-image-tools/cli_tools/common/image/importer"
+	"github.com/GoogleCloudPlatform/compute-image-tools/cli_tools/common/utils/logging"
+)
+
+// To rebuild mocks, run `go generate ./...`
+//go:generate go run github.com/golang/mock/mockgen -package ovfdomainmocks -source $GOFILE -destination mocks/mock_interfaces.go
 
 // OvfDescriptorValidatorInterface represents OVF descriptor validator
 type OvfDescriptorValidatorInterface interface {
//  Copyright 2019 Google Inc. All Rights Reserved.
//
//  Licensed under the Apache License, Version 2.0 (the "License");
//  you may not use this file except in compliance with the License.
//  You may obtain a copy of the License at
//
//      http://www.apache.org/licenses/LICENSE-2.0
//
//  Unless required by applicable law or agreed to in writing, software
//  distributed under the License is distributed on an "AS IS" BASIS,
//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//  See the License for the specific language governing permissions and
//  limitations under the License.

package domain

import "github.com/vmware/govmomi/ovf"

// OvfDescriptorValidatorInterface represents OVF descriptor validator
type OvfDescriptorValidatorInterface interface {
	ValidateOvfPackage(ovfDescriptor *ovf.Envelope, ovfGcsPath string) (*ovf.Envelope, error)
}

// OvfDescriptorLoaderInterface represents a loader for OVF descriptors
type OvfDescriptorLoaderInterface interface {
	Load(ovfGcsPath string) (*ovf.Envelope, error)
}

// MachineTypeProviderInterface is responsible for providing GCE machine type
type MachineTypeProviderInterface interface {
	GetMachineType() (string, error)
}

these 2 lines are a bit confusion to me, which cmd is needed? Or both?