Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockInstanceDisksExporter
- type MockInstanceDisksExporterMockRecorder
- type MockInstanceExportCleaner
- type MockInstanceExportCleanerMockRecorder
- type MockInstanceExportPreparer
- type MockInstanceExportPreparerMockRecorder
- type MockOvfDescriptorGenerator
- type MockOvfDescriptorGeneratorMockRecorder
- type MockOvfExportParamPopulator
- type MockOvfExportParamPopulatorMockRecorder
- type MockOvfExportParamValidator
- type MockOvfExportParamValidatorMockRecorder
- type MockOvfManifestGenerator
- type MockOvfManifestGeneratorMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInstanceDisksExporter ¶
type MockInstanceDisksExporter struct {
// contains filtered or unexported fields
}
MockInstanceDisksExporter is a mock of InstanceDisksExporter interface.
func NewMockInstanceDisksExporter ¶
func NewMockInstanceDisksExporter(ctrl *gomock.Controller) *MockInstanceDisksExporter
NewMockInstanceDisksExporter creates a new mock instance.
func (*MockInstanceDisksExporter) Cancel ¶
func (m *MockInstanceDisksExporter) Cancel(arg0 string) bool
Cancel mocks base method.
func (*MockInstanceDisksExporter) EXPECT ¶
func (m *MockInstanceDisksExporter) EXPECT() *MockInstanceDisksExporterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInstanceDisksExporter) Export ¶
func (m *MockInstanceDisksExporter) Export(arg0 *compute.Instance, arg1 *ovfexportdomain.OVFExportArgs) ([]*ovfexportdomain.ExportedDisk, error)
Export mocks base method.
type MockInstanceDisksExporterMockRecorder ¶
type MockInstanceDisksExporterMockRecorder struct {
// contains filtered or unexported fields
}
MockInstanceDisksExporterMockRecorder is the mock recorder for MockInstanceDisksExporter.
func (*MockInstanceDisksExporterMockRecorder) Cancel ¶
func (mr *MockInstanceDisksExporterMockRecorder) Cancel(arg0 interface{}) *gomock.Call
Cancel indicates an expected call of Cancel.
func (*MockInstanceDisksExporterMockRecorder) Export ¶
func (mr *MockInstanceDisksExporterMockRecorder) Export(arg0, arg1 interface{}) *gomock.Call
Export indicates an expected call of Export.
type MockInstanceExportCleaner ¶
type MockInstanceExportCleaner struct {
// contains filtered or unexported fields
}
MockInstanceExportCleaner is a mock of InstanceExportCleaner interface.
func NewMockInstanceExportCleaner ¶
func NewMockInstanceExportCleaner(ctrl *gomock.Controller) *MockInstanceExportCleaner
NewMockInstanceExportCleaner creates a new mock instance.
func (*MockInstanceExportCleaner) Cancel ¶
func (m *MockInstanceExportCleaner) Cancel(arg0 string) bool
Cancel mocks base method.
func (*MockInstanceExportCleaner) Clean ¶
func (m *MockInstanceExportCleaner) Clean(arg0 *compute.Instance, arg1 *ovfexportdomain.OVFExportArgs) error
Clean mocks base method.
func (*MockInstanceExportCleaner) EXPECT ¶
func (m *MockInstanceExportCleaner) EXPECT() *MockInstanceExportCleanerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockInstanceExportCleanerMockRecorder ¶
type MockInstanceExportCleanerMockRecorder struct {
// contains filtered or unexported fields
}
MockInstanceExportCleanerMockRecorder is the mock recorder for MockInstanceExportCleaner.
func (*MockInstanceExportCleanerMockRecorder) Cancel ¶
func (mr *MockInstanceExportCleanerMockRecorder) Cancel(arg0 interface{}) *gomock.Call
Cancel indicates an expected call of Cancel.
func (*MockInstanceExportCleanerMockRecorder) Clean ¶
func (mr *MockInstanceExportCleanerMockRecorder) Clean(arg0, arg1 interface{}) *gomock.Call
Clean indicates an expected call of Clean.
type MockInstanceExportPreparer ¶
type MockInstanceExportPreparer struct {
// contains filtered or unexported fields
}
MockInstanceExportPreparer is a mock of InstanceExportPreparer interface.
func NewMockInstanceExportPreparer ¶
func NewMockInstanceExportPreparer(ctrl *gomock.Controller) *MockInstanceExportPreparer
NewMockInstanceExportPreparer creates a new mock instance.
func (*MockInstanceExportPreparer) Cancel ¶
func (m *MockInstanceExportPreparer) Cancel(arg0 string) bool
Cancel mocks base method.
func (*MockInstanceExportPreparer) EXPECT ¶
func (m *MockInstanceExportPreparer) EXPECT() *MockInstanceExportPreparerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInstanceExportPreparer) Prepare ¶
func (m *MockInstanceExportPreparer) Prepare(arg0 *compute.Instance, arg1 *ovfexportdomain.OVFExportArgs) error
Prepare mocks base method.
type MockInstanceExportPreparerMockRecorder ¶
type MockInstanceExportPreparerMockRecorder struct {
// contains filtered or unexported fields
}
MockInstanceExportPreparerMockRecorder is the mock recorder for MockInstanceExportPreparer.
func (*MockInstanceExportPreparerMockRecorder) Cancel ¶
func (mr *MockInstanceExportPreparerMockRecorder) Cancel(arg0 interface{}) *gomock.Call
Cancel indicates an expected call of Cancel.
func (*MockInstanceExportPreparerMockRecorder) Prepare ¶
func (mr *MockInstanceExportPreparerMockRecorder) Prepare(arg0, arg1 interface{}) *gomock.Call
Prepare indicates an expected call of Prepare.
type MockOvfDescriptorGenerator ¶
type MockOvfDescriptorGenerator struct {
// contains filtered or unexported fields
}
MockOvfDescriptorGenerator is a mock of OvfDescriptorGenerator interface.
func NewMockOvfDescriptorGenerator ¶
func NewMockOvfDescriptorGenerator(ctrl *gomock.Controller) *MockOvfDescriptorGenerator
NewMockOvfDescriptorGenerator creates a new mock instance.
func (*MockOvfDescriptorGenerator) Cancel ¶
func (m *MockOvfDescriptorGenerator) Cancel(arg0 string) bool
Cancel mocks base method.
func (*MockOvfDescriptorGenerator) EXPECT ¶
func (m *MockOvfDescriptorGenerator) EXPECT() *MockOvfDescriptorGeneratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOvfDescriptorGenerator) GenerateAndWriteOVFDescriptor ¶
func (m *MockOvfDescriptorGenerator) GenerateAndWriteOVFDescriptor(arg0 *compute.Instance, arg1 []*ovfexportdomain.ExportedDisk, arg2, arg3, arg4 string, arg5 *pb.InspectionResults) error
GenerateAndWriteOVFDescriptor mocks base method.
type MockOvfDescriptorGeneratorMockRecorder ¶
type MockOvfDescriptorGeneratorMockRecorder struct {
// contains filtered or unexported fields
}
MockOvfDescriptorGeneratorMockRecorder is the mock recorder for MockOvfDescriptorGenerator.
func (*MockOvfDescriptorGeneratorMockRecorder) Cancel ¶
func (mr *MockOvfDescriptorGeneratorMockRecorder) Cancel(arg0 interface{}) *gomock.Call
Cancel indicates an expected call of Cancel.
func (*MockOvfDescriptorGeneratorMockRecorder) GenerateAndWriteOVFDescriptor ¶
func (mr *MockOvfDescriptorGeneratorMockRecorder) GenerateAndWriteOVFDescriptor(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
GenerateAndWriteOVFDescriptor indicates an expected call of GenerateAndWriteOVFDescriptor.
type MockOvfExportParamPopulator ¶
type MockOvfExportParamPopulator struct {
// contains filtered or unexported fields
}
MockOvfExportParamPopulator is a mock of OvfExportParamPopulator interface.
func NewMockOvfExportParamPopulator ¶
func NewMockOvfExportParamPopulator(ctrl *gomock.Controller) *MockOvfExportParamPopulator
NewMockOvfExportParamPopulator creates a new mock instance.
func (*MockOvfExportParamPopulator) EXPECT ¶
func (m *MockOvfExportParamPopulator) EXPECT() *MockOvfExportParamPopulatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOvfExportParamPopulator) Populate ¶
func (m *MockOvfExportParamPopulator) Populate(arg0 *ovfexportdomain.OVFExportArgs) error
Populate mocks base method.
type MockOvfExportParamPopulatorMockRecorder ¶
type MockOvfExportParamPopulatorMockRecorder struct {
// contains filtered or unexported fields
}
MockOvfExportParamPopulatorMockRecorder is the mock recorder for MockOvfExportParamPopulator.
func (*MockOvfExportParamPopulatorMockRecorder) Populate ¶
func (mr *MockOvfExportParamPopulatorMockRecorder) Populate(arg0 interface{}) *gomock.Call
Populate indicates an expected call of Populate.
type MockOvfExportParamValidator ¶
type MockOvfExportParamValidator struct {
// contains filtered or unexported fields
}
MockOvfExportParamValidator is a mock of OvfExportParamValidator interface.
func NewMockOvfExportParamValidator ¶
func NewMockOvfExportParamValidator(ctrl *gomock.Controller) *MockOvfExportParamValidator
NewMockOvfExportParamValidator creates a new mock instance.
func (*MockOvfExportParamValidator) EXPECT ¶
func (m *MockOvfExportParamValidator) EXPECT() *MockOvfExportParamValidatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOvfExportParamValidator) ValidateAndParseParams ¶
func (m *MockOvfExportParamValidator) ValidateAndParseParams(arg0 *ovfexportdomain.OVFExportArgs) error
ValidateAndParseParams mocks base method.
type MockOvfExportParamValidatorMockRecorder ¶
type MockOvfExportParamValidatorMockRecorder struct {
// contains filtered or unexported fields
}
MockOvfExportParamValidatorMockRecorder is the mock recorder for MockOvfExportParamValidator.
func (*MockOvfExportParamValidatorMockRecorder) ValidateAndParseParams ¶
func (mr *MockOvfExportParamValidatorMockRecorder) ValidateAndParseParams(arg0 interface{}) *gomock.Call
ValidateAndParseParams indicates an expected call of ValidateAndParseParams.
type MockOvfManifestGenerator ¶
type MockOvfManifestGenerator struct {
// contains filtered or unexported fields
}
MockOvfManifestGenerator is a mock of OvfManifestGenerator interface.
func NewMockOvfManifestGenerator ¶
func NewMockOvfManifestGenerator(ctrl *gomock.Controller) *MockOvfManifestGenerator
NewMockOvfManifestGenerator creates a new mock instance.
func (*MockOvfManifestGenerator) Cancel ¶
func (m *MockOvfManifestGenerator) Cancel(arg0 string) bool
Cancel mocks base method.
func (*MockOvfManifestGenerator) EXPECT ¶
func (m *MockOvfManifestGenerator) EXPECT() *MockOvfManifestGeneratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOvfManifestGenerator) GenerateAndWriteToGCS ¶
func (m *MockOvfManifestGenerator) GenerateAndWriteToGCS(arg0, arg1 string) error
GenerateAndWriteToGCS mocks base method.
type MockOvfManifestGeneratorMockRecorder ¶
type MockOvfManifestGeneratorMockRecorder struct {
// contains filtered or unexported fields
}
MockOvfManifestGeneratorMockRecorder is the mock recorder for MockOvfManifestGenerator.
func (*MockOvfManifestGeneratorMockRecorder) Cancel ¶
func (mr *MockOvfManifestGeneratorMockRecorder) Cancel(arg0 interface{}) *gomock.Call
Cancel indicates an expected call of Cancel.
func (*MockOvfManifestGeneratorMockRecorder) GenerateAndWriteToGCS ¶
func (mr *MockOvfManifestGeneratorMockRecorder) GenerateAndWriteToGCS(arg0, arg1 interface{}) *gomock.Call
GenerateAndWriteToGCS indicates an expected call of GenerateAndWriteToGCS.