mocks

package
v0.0.0-...-75616c8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

README

cli_tools uses gomock. The mocks are stored as source code, and need to be updated whenever the referenced interface is changed.

Setup

To use existing mocks, no setup is required.

To generate new mocks, or update existing mocks, you need the mockgen tool:

go install github.com/golang/mock/mockgen
export PATH=$PATH:~/go/bin

Example: Updating mocks with go generate

For interfaces within cli_tools that require mocking, we create go generate definitions. These definitions codify naming convention, and simplify future updates.

For example, to update the mock for shell.Executor:

cd cli_tools/common/utils/shell
go generate ./...

Example: Update external mocks

For interfaces that are external to cli_tools, we run mockgen directly.

For example, to update the mock for daisy.Logger:

cd cli_tools/mocks
mockgen -package mocks -mock_names Logger=MockDaisyLogger \
  github.com/GoogleCloudPlatform/compute-daisy Logger  > mock_daisy_logger.go

Tips:

  1. The headers of existing mocks typically include the package and interface names required to generate mocks.
  2. To avoid namespace clashing, it may be required to use the -mock_names flag. Executing git diff will help you to determine whether that flag is required.

Best Practices

  • If the mock will be used throughout *cli_tools, consider creating it in cli_tools/mocks.
  • If the mock is used in a single place (to test a particular component), consider creating it near that component. For example: cli_tools/common/image/importer/mocks/source_mocks.go

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.

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.

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.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBucketIteratorCreatorInterface

type MockBucketIteratorCreatorInterface struct {
	// contains filtered or unexported fields
}

MockBucketIteratorCreatorInterface is a mock of BucketIteratorCreatorInterface interface

func NewMockBucketIteratorCreatorInterface

func NewMockBucketIteratorCreatorInterface(ctrl *gomock.Controller) *MockBucketIteratorCreatorInterface

NewMockBucketIteratorCreatorInterface creates a new mock instance

func (*MockBucketIteratorCreatorInterface) CreateBucketIterator

CreateBucketIterator mocks base method

func (*MockBucketIteratorCreatorInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

type MockBucketIteratorCreatorInterfaceMockRecorder

type MockBucketIteratorCreatorInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockBucketIteratorCreatorInterfaceMockRecorder is the mock recorder for MockBucketIteratorCreatorInterface

func (*MockBucketIteratorCreatorInterfaceMockRecorder) CreateBucketIterator

func (mr *MockBucketIteratorCreatorInterfaceMockRecorder) CreateBucketIterator(arg0, arg1, arg2 interface{}) *gomock.Call

CreateBucketIterator indicates an expected call of CreateBucketIterator

type MockBucketIteratorInterface

type MockBucketIteratorInterface struct {
	// contains filtered or unexported fields
}

MockBucketIteratorInterface is a mock of BucketIteratorInterface interface

func NewMockBucketIteratorInterface

func NewMockBucketIteratorInterface(ctrl *gomock.Controller) *MockBucketIteratorInterface

NewMockBucketIteratorInterface creates a new mock instance

func (*MockBucketIteratorInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockBucketIteratorInterface) Next

Next mocks base method

type MockBucketIteratorInterfaceMockRecorder

type MockBucketIteratorInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockBucketIteratorInterfaceMockRecorder is the mock recorder for MockBucketIteratorInterface

func (*MockBucketIteratorInterfaceMockRecorder) Next

Next indicates an expected call of Next

type MockClient

type MockClient struct {
	// contains filtered or unexported fields
}

MockClient is a mock of Client interface

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance

func (*MockClient) AggregatedListDisks

func (m *MockClient) AggregatedListDisks(arg0 string, arg1 ...daisyCompute.ListCallOption) ([]*v1.Disk, error)

AggregatedListDisks mocks base method

func (*MockClient) AggregatedListInstances

func (m *MockClient) AggregatedListInstances(arg0 string, arg1 ...daisyCompute.ListCallOption) ([]*v1.Instance, error)

AggregatedListInstances mocks base method

func (*MockClient) AggregatedListSubnetworks

func (m *MockClient) AggregatedListSubnetworks(arg0 string, arg1 ...daisyCompute.ListCallOption) ([]*v1.Subnetwork, error)

AggregatedListSubnetworks mocks base method

func (*MockClient) AttachDisk

func (m *MockClient) AttachDisk(arg0, arg1, arg2 string, arg3 *v1.AttachedDisk) error

AttachDisk mocks base method

func (*MockClient) BasePath

func (m *MockClient) BasePath() string

BasePath mocks base method

func (*MockClient) CreateDisk

func (m *MockClient) CreateDisk(arg0, arg1 string, arg2 *v1.Disk) error

CreateDisk mocks base method

func (*MockClient) CreateDiskAlpha

func (m *MockClient) CreateDiskAlpha(arg0, arg1 string, arg2 *v0_alpha.Disk) error

CreateDiskAlpha mocks base method

func (*MockClient) CreateDiskBeta

func (m *MockClient) CreateDiskBeta(arg0, arg1 string, arg2 *v0_beta.Disk) error

CreateDiskBeta mocks base method

func (*MockClient) CreateFirewallRule

func (m *MockClient) CreateFirewallRule(arg0 string, arg1 *v1.Firewall) error

CreateFirewallRule mocks base method

func (*MockClient) CreateForwardingRule

func (m *MockClient) CreateForwardingRule(arg0, arg1 string, arg2 *v1.ForwardingRule) error

CreateForwardingRule mocks base method

func (*MockClient) CreateImage

func (m *MockClient) CreateImage(arg0 string, arg1 *v1.Image) error

CreateImage mocks base method

func (*MockClient) CreateImageAlpha

func (m *MockClient) CreateImageAlpha(arg0 string, arg1 *v0_alpha.Image) error

CreateImageAlpha mocks base method

func (*MockClient) CreateImageBeta

func (m *MockClient) CreateImageBeta(arg0 string, arg1 *v0_beta.Image) error

CreateImageBeta mocks base method

func (*MockClient) CreateInstance

func (m *MockClient) CreateInstance(arg0, arg1 string, arg2 *v1.Instance) error

CreateInstance mocks base method

func (*MockClient) CreateInstanceAlpha

func (m *MockClient) CreateInstanceAlpha(arg0, arg1 string, arg2 *v0_alpha.Instance) error

CreateInstanceAlpha mocks base method

func (*MockClient) CreateInstanceBeta

func (m *MockClient) CreateInstanceBeta(arg0, arg1 string, arg2 *v0_beta.Instance) error

CreateInstanceBeta mocks base method

func (*MockClient) CreateMachineImage

func (m *MockClient) CreateMachineImage(arg0 string, arg1 *v1.MachineImage) error

CreateMachineImage mocks base method

func (*MockClient) CreateNetwork

func (m *MockClient) CreateNetwork(arg0 string, arg1 *v1.Network) error

CreateNetwork mocks base method

func (*MockClient) CreateSnapshot

func (m *MockClient) CreateSnapshot(arg0, arg1, arg2 string, arg3 *v1.Snapshot) error

CreateSnapshot mocks base method

func (*MockClient) CreateSubnetwork

func (m *MockClient) CreateSubnetwork(arg0, arg1 string, arg2 *v1.Subnetwork) error

CreateSubnetwork mocks base method

func (*MockClient) CreateTargetInstance

func (m *MockClient) CreateTargetInstance(arg0, arg1 string, arg2 *v1.TargetInstance) error

CreateTargetInstance mocks base method

func (*MockClient) DeleteDisk

func (m *MockClient) DeleteDisk(arg0, arg1, arg2 string) error

DeleteDisk mocks base method

func (*MockClient) DeleteFirewallRule

func (m *MockClient) DeleteFirewallRule(arg0, arg1 string) error

DeleteFirewallRule mocks base method

func (*MockClient) DeleteForwardingRule

func (m *MockClient) DeleteForwardingRule(arg0, arg1, arg2 string) error

DeleteForwardingRule mocks base method

func (*MockClient) DeleteImage

func (m *MockClient) DeleteImage(arg0, arg1 string) error

DeleteImage mocks base method

func (*MockClient) DeleteInstance

func (m *MockClient) DeleteInstance(arg0, arg1, arg2 string) error

DeleteInstance mocks base method

func (*MockClient) DeleteMachineImage

func (m *MockClient) DeleteMachineImage(arg0, arg1 string) error

DeleteMachineImage mocks base method

func (*MockClient) DeleteNetwork

func (m *MockClient) DeleteNetwork(arg0, arg1 string) error

DeleteNetwork mocks base method

func (*MockClient) DeleteSnapshot

func (m *MockClient) DeleteSnapshot(arg0, arg1 string) error

DeleteSnapshot mocks base method

func (*MockClient) DeleteSubnetwork

func (m *MockClient) DeleteSubnetwork(arg0, arg1, arg2 string) error

DeleteSubnetwork mocks base method

func (*MockClient) DeleteTargetInstance

func (m *MockClient) DeleteTargetInstance(arg0, arg1, arg2 string) error

DeleteTargetInstance mocks base method

func (*MockClient) DeprecateImage

func (m *MockClient) DeprecateImage(arg0, arg1 string, arg2 *v1.DeprecationStatus) error

DeprecateImage mocks base method

func (*MockClient) DeprecateImageAlpha

func (m *MockClient) DeprecateImageAlpha(arg0, arg1 string, arg2 *v0_alpha.DeprecationStatus) error

DeprecateImageAlpha mocks base method

func (*MockClient) DetachDisk

func (m *MockClient) DetachDisk(arg0, arg1, arg2, arg3 string) error

DetachDisk mocks base method

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockClient) GetDisk

func (m *MockClient) GetDisk(arg0, arg1, arg2 string) (*v1.Disk, error)

GetDisk mocks base method

func (*MockClient) GetDiskAlpha

func (m *MockClient) GetDiskAlpha(arg0, arg1, arg2 string) (*v0_alpha.Disk, error)

GetDiskAlpha mocks base method

func (*MockClient) GetDiskBeta

func (m *MockClient) GetDiskBeta(arg0, arg1, arg2 string) (*v0_beta.Disk, error)

GetDiskBeta mocks base method

func (*MockClient) GetFirewallRule

func (m *MockClient) GetFirewallRule(arg0, arg1 string) (*v1.Firewall, error)

GetFirewallRule mocks base method

func (*MockClient) GetForwardingRule

func (m *MockClient) GetForwardingRule(arg0, arg1, arg2 string) (*v1.ForwardingRule, error)

GetForwardingRule mocks base method

func (*MockClient) GetGuestAttributes

func (m *MockClient) GetGuestAttributes(arg0, arg1, arg2, arg3, arg4 string) (*v1.GuestAttributes, error)

GetGuestAttributes mocks base method

func (*MockClient) GetImage

func (m *MockClient) GetImage(arg0, arg1 string) (*v1.Image, error)

GetImage mocks base method

func (*MockClient) GetImageAlpha

func (m *MockClient) GetImageAlpha(arg0, arg1 string) (*v0_alpha.Image, error)

GetImageAlpha mocks base method

func (*MockClient) GetImageBeta

func (m *MockClient) GetImageBeta(arg0, arg1 string) (*v0_beta.Image, error)

GetImageBeta mocks base method

func (*MockClient) GetImageFromFamily

func (m *MockClient) GetImageFromFamily(arg0, arg1 string) (*v1.Image, error)

GetImageFromFamily mocks base method

func (*MockClient) GetInstance

func (m *MockClient) GetInstance(arg0, arg1, arg2 string) (*v1.Instance, error)

GetInstance mocks base method

func (*MockClient) GetInstanceAlpha

func (m *MockClient) GetInstanceAlpha(arg0, arg1, arg2 string) (*v0_alpha.Instance, error)

GetInstanceAlpha mocks base method

func (*MockClient) GetInstanceBeta

func (m *MockClient) GetInstanceBeta(arg0, arg1, arg2 string) (*v0_beta.Instance, error)

GetInstanceBeta mocks base method

func (*MockClient) GetLicense

func (m *MockClient) GetLicense(arg0, arg1 string) (*v1.License, error)

GetLicense mocks base method

func (*MockClient) GetMachineImage

func (m *MockClient) GetMachineImage(arg0, arg1 string) (*v1.MachineImage, error)

GetMachineImage mocks base method

func (*MockClient) GetMachineType

func (m *MockClient) GetMachineType(arg0, arg1, arg2 string) (*v1.MachineType, error)

GetMachineType mocks base method

func (*MockClient) GetNetwork

func (m *MockClient) GetNetwork(arg0, arg1 string) (*v1.Network, error)

GetNetwork mocks base method

func (*MockClient) GetProject

func (m *MockClient) GetProject(arg0 string) (*v1.Project, error)

GetProject mocks base method

func (*MockClient) GetSerialPortOutput

func (m *MockClient) GetSerialPortOutput(arg0, arg1, arg2 string, arg3, arg4 int64) (*v1.SerialPortOutput, error)

GetSerialPortOutput mocks base method

func (*MockClient) GetSnapshot

func (m *MockClient) GetSnapshot(arg0, arg1 string) (*v1.Snapshot, error)

GetSnapshot mocks base method

func (*MockClient) GetSubnetwork

func (m *MockClient) GetSubnetwork(arg0, arg1, arg2 string) (*v1.Subnetwork, error)

GetSubnetwork mocks base method

func (*MockClient) GetTargetInstance

func (m *MockClient) GetTargetInstance(arg0, arg1, arg2 string) (*v1.TargetInstance, error)

GetTargetInstance mocks base method

func (*MockClient) GetZone

func (m *MockClient) GetZone(arg0, arg1 string) (*v1.Zone, error)

GetZone mocks base method

func (*MockClient) InstanceStatus

func (m *MockClient) InstanceStatus(arg0, arg1, arg2 string) (string, error)

InstanceStatus mocks base method

func (*MockClient) InstanceStopped

func (m *MockClient) InstanceStopped(arg0, arg1, arg2 string) (bool, error)

InstanceStopped mocks base method

func (*MockClient) ListDisks

func (m *MockClient) ListDisks(arg0, arg1 string, arg2 ...daisyCompute.ListCallOption) ([]*v1.Disk, error)

ListDisks mocks base method

func (*MockClient) ListFirewallRules

func (m *MockClient) ListFirewallRules(arg0 string, arg1 ...daisyCompute.ListCallOption) ([]*v1.Firewall, error)

ListFirewallRules mocks base method

func (*MockClient) ListForwardingRules

func (m *MockClient) ListForwardingRules(arg0, arg1 string, arg2 ...daisyCompute.ListCallOption) ([]*v1.ForwardingRule, error)

ListForwardingRules mocks base method

func (*MockClient) ListImages

func (m *MockClient) ListImages(arg0 string, arg1 ...daisyCompute.ListCallOption) ([]*v1.Image, error)

ListImages mocks base method

func (*MockClient) ListImagesAlpha

func (m *MockClient) ListImagesAlpha(arg0 string, arg1 ...daisyCompute.ListCallOption) ([]*v0_alpha.Image, error)

ListImagesAlpha mocks base method

func (*MockClient) ListInstances

func (m *MockClient) ListInstances(arg0, arg1 string, arg2 ...daisyCompute.ListCallOption) ([]*v1.Instance, error)

ListInstances mocks base method

func (*MockClient) ListLicenses

func (m *MockClient) ListLicenses(arg0 string, arg1 ...daisyCompute.ListCallOption) ([]*v1.License, error)

ListLicenses mocks base method

func (*MockClient) ListMachineImages

func (m *MockClient) ListMachineImages(arg0 string, arg1 ...daisyCompute.ListCallOption) ([]*v1.MachineImage, error)

ListMachineImages mocks base method

func (*MockClient) ListMachineTypes

func (m *MockClient) ListMachineTypes(arg0, arg1 string, arg2 ...daisyCompute.ListCallOption) ([]*v1.MachineType, error)

ListMachineTypes mocks base method

func (*MockClient) ListNetworks

func (m *MockClient) ListNetworks(arg0 string, arg1 ...daisyCompute.ListCallOption) ([]*v1.Network, error)

ListNetworks mocks base method

func (*MockClient) ListRegions

func (m *MockClient) ListRegions(arg0 string, arg1 ...daisyCompute.ListCallOption) ([]*v1.Region, error)

ListRegions mocks base method

func (*MockClient) ListSnapshots

func (m *MockClient) ListSnapshots(arg0 string, arg1 ...daisyCompute.ListCallOption) ([]*v1.Snapshot, error)

ListSnapshots mocks base method

func (*MockClient) ListSubnetworks

func (m *MockClient) ListSubnetworks(arg0, arg1 string, arg2 ...daisyCompute.ListCallOption) ([]*v1.Subnetwork, error)

ListSubnetworks mocks base method

func (*MockClient) ListTargetInstances

func (m *MockClient) ListTargetInstances(arg0, arg1 string, arg2 ...daisyCompute.ListCallOption) ([]*v1.TargetInstance, error)

ListTargetInstances mocks base method

func (*MockClient) ListZones

func (m *MockClient) ListZones(arg0 string, arg1 ...daisyCompute.ListCallOption) ([]*v1.Zone, error)

ListZones mocks base method

func (*MockClient) ResizeDisk

func (m *MockClient) ResizeDisk(arg0, arg1, arg2 string, arg3 *v1.DisksResizeRequest) error

ResizeDisk mocks base method

func (*MockClient) Retry

func (m *MockClient) Retry(arg0 func(...googleapi.CallOption) (*v1.Operation, error), arg1 ...googleapi.CallOption) (*v1.Operation, error)

Retry mocks base method

func (*MockClient) RetryBeta

func (m *MockClient) RetryBeta(arg0 func(...googleapi.CallOption) (*v0_beta.Operation, error), arg1 ...googleapi.CallOption) (*v0_beta.Operation, error)

RetryBeta mocks base method

func (*MockClient) SetCommonInstanceMetadata

func (m *MockClient) SetCommonInstanceMetadata(arg0 string, arg1 *v1.Metadata) error

SetCommonInstanceMetadata mocks base method

func (*MockClient) SetDiskAutoDelete

func (m *MockClient) SetDiskAutoDelete(arg0, arg1, arg2 string, arg3 bool, arg4 string) error

SetDiskAutoDelete mocks base method

func (*MockClient) SetInstanceMetadata

func (m *MockClient) SetInstanceMetadata(arg0, arg1, arg2 string, arg3 *v1.Metadata) error

SetInstanceMetadata mocks base method

func (*MockClient) StartInstance

func (m *MockClient) StartInstance(arg0, arg1, arg2 string) error

StartInstance mocks base method

func (*MockClient) StopInstance

func (m *MockClient) StopInstance(arg0, arg1, arg2 string) error

StopInstance mocks base method

type MockClientMockRecorder

type MockClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockClientMockRecorder is the mock recorder for MockClient

func (*MockClientMockRecorder) AggregatedListDisks

func (mr *MockClientMockRecorder) AggregatedListDisks(arg0 interface{}, arg1 ...interface{}) *gomock.Call

AggregatedListDisks indicates an expected call of AggregatedListDisks

func (*MockClientMockRecorder) AggregatedListInstances

func (mr *MockClientMockRecorder) AggregatedListInstances(arg0 interface{}, arg1 ...interface{}) *gomock.Call

AggregatedListInstances indicates an expected call of AggregatedListInstances

func (*MockClientMockRecorder) AggregatedListSubnetworks

func (mr *MockClientMockRecorder) AggregatedListSubnetworks(arg0 interface{}, arg1 ...interface{}) *gomock.Call

AggregatedListSubnetworks indicates an expected call of AggregatedListSubnetworks

func (*MockClientMockRecorder) AttachDisk

func (mr *MockClientMockRecorder) AttachDisk(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

AttachDisk indicates an expected call of AttachDisk

func (*MockClientMockRecorder) BasePath

func (mr *MockClientMockRecorder) BasePath() *gomock.Call

BasePath indicates an expected call of BasePath

func (*MockClientMockRecorder) CreateDisk

func (mr *MockClientMockRecorder) CreateDisk(arg0, arg1, arg2 interface{}) *gomock.Call

CreateDisk indicates an expected call of CreateDisk

func (*MockClientMockRecorder) CreateDiskAlpha

func (mr *MockClientMockRecorder) CreateDiskAlpha(arg0, arg1, arg2 interface{}) *gomock.Call

CreateDiskAlpha indicates an expected call of CreateDiskAlpha

func (*MockClientMockRecorder) CreateDiskBeta

func (mr *MockClientMockRecorder) CreateDiskBeta(arg0, arg1, arg2 interface{}) *gomock.Call

CreateDiskBeta indicates an expected call of CreateDiskBeta

func (*MockClientMockRecorder) CreateFirewallRule

func (mr *MockClientMockRecorder) CreateFirewallRule(arg0, arg1 interface{}) *gomock.Call

CreateFirewallRule indicates an expected call of CreateFirewallRule

func (*MockClientMockRecorder) CreateForwardingRule

func (mr *MockClientMockRecorder) CreateForwardingRule(arg0, arg1, arg2 interface{}) *gomock.Call

CreateForwardingRule indicates an expected call of CreateForwardingRule

func (*MockClientMockRecorder) CreateImage

func (mr *MockClientMockRecorder) CreateImage(arg0, arg1 interface{}) *gomock.Call

CreateImage indicates an expected call of CreateImage

func (*MockClientMockRecorder) CreateImageAlpha

func (mr *MockClientMockRecorder) CreateImageAlpha(arg0, arg1 interface{}) *gomock.Call

CreateImageAlpha indicates an expected call of CreateImageAlpha

func (*MockClientMockRecorder) CreateImageBeta

func (mr *MockClientMockRecorder) CreateImageBeta(arg0, arg1 interface{}) *gomock.Call

CreateImageBeta indicates an expected call of CreateImageBeta

func (*MockClientMockRecorder) CreateInstance

func (mr *MockClientMockRecorder) CreateInstance(arg0, arg1, arg2 interface{}) *gomock.Call

CreateInstance indicates an expected call of CreateInstance

func (*MockClientMockRecorder) CreateInstanceAlpha

func (mr *MockClientMockRecorder) CreateInstanceAlpha(arg0, arg1, arg2 interface{}) *gomock.Call

CreateInstanceAlpha indicates an expected call of CreateInstanceAlpha

func (*MockClientMockRecorder) CreateInstanceBeta

func (mr *MockClientMockRecorder) CreateInstanceBeta(arg0, arg1, arg2 interface{}) *gomock.Call

CreateInstanceBeta indicates an expected call of CreateInstanceBeta

func (*MockClientMockRecorder) CreateMachineImage

func (mr *MockClientMockRecorder) CreateMachineImage(arg0, arg1 interface{}) *gomock.Call

CreateMachineImage indicates an expected call of CreateMachineImage

func (*MockClientMockRecorder) CreateNetwork

func (mr *MockClientMockRecorder) CreateNetwork(arg0, arg1 interface{}) *gomock.Call

CreateNetwork indicates an expected call of CreateNetwork

func (*MockClientMockRecorder) CreateSnapshot

func (mr *MockClientMockRecorder) CreateSnapshot(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

CreateSnapshot indicates an expected call of CreateSnapshot

func (*MockClientMockRecorder) CreateSubnetwork

func (mr *MockClientMockRecorder) CreateSubnetwork(arg0, arg1, arg2 interface{}) *gomock.Call

CreateSubnetwork indicates an expected call of CreateSubnetwork

func (*MockClientMockRecorder) CreateTargetInstance

func (mr *MockClientMockRecorder) CreateTargetInstance(arg0, arg1, arg2 interface{}) *gomock.Call

CreateTargetInstance indicates an expected call of CreateTargetInstance

func (*MockClientMockRecorder) DeleteDisk

func (mr *MockClientMockRecorder) DeleteDisk(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteDisk indicates an expected call of DeleteDisk

func (*MockClientMockRecorder) DeleteFirewallRule

func (mr *MockClientMockRecorder) DeleteFirewallRule(arg0, arg1 interface{}) *gomock.Call

DeleteFirewallRule indicates an expected call of DeleteFirewallRule

func (*MockClientMockRecorder) DeleteForwardingRule

func (mr *MockClientMockRecorder) DeleteForwardingRule(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteForwardingRule indicates an expected call of DeleteForwardingRule

func (*MockClientMockRecorder) DeleteImage

func (mr *MockClientMockRecorder) DeleteImage(arg0, arg1 interface{}) *gomock.Call

DeleteImage indicates an expected call of DeleteImage

func (*MockClientMockRecorder) DeleteInstance

func (mr *MockClientMockRecorder) DeleteInstance(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteInstance indicates an expected call of DeleteInstance

func (*MockClientMockRecorder) DeleteMachineImage

func (mr *MockClientMockRecorder) DeleteMachineImage(arg0, arg1 interface{}) *gomock.Call

DeleteMachineImage indicates an expected call of DeleteMachineImage

func (*MockClientMockRecorder) DeleteNetwork

func (mr *MockClientMockRecorder) DeleteNetwork(arg0, arg1 interface{}) *gomock.Call

DeleteNetwork indicates an expected call of DeleteNetwork

func (*MockClientMockRecorder) DeleteSnapshot

func (mr *MockClientMockRecorder) DeleteSnapshot(arg0, arg1 interface{}) *gomock.Call

DeleteSnapshot indicates an expected call of DeleteSnapshot

func (*MockClientMockRecorder) DeleteSubnetwork

func (mr *MockClientMockRecorder) DeleteSubnetwork(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteSubnetwork indicates an expected call of DeleteSubnetwork

func (*MockClientMockRecorder) DeleteTargetInstance

func (mr *MockClientMockRecorder) DeleteTargetInstance(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteTargetInstance indicates an expected call of DeleteTargetInstance

func (*MockClientMockRecorder) DeprecateImage

func (mr *MockClientMockRecorder) DeprecateImage(arg0, arg1, arg2 interface{}) *gomock.Call

DeprecateImage indicates an expected call of DeprecateImage

func (*MockClientMockRecorder) DeprecateImageAlpha

func (mr *MockClientMockRecorder) DeprecateImageAlpha(arg0, arg1, arg2 interface{}) *gomock.Call

DeprecateImageAlpha indicates an expected call of DeprecateImageAlpha

func (*MockClientMockRecorder) DetachDisk

func (mr *MockClientMockRecorder) DetachDisk(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

DetachDisk indicates an expected call of DetachDisk

func (*MockClientMockRecorder) GetDisk

func (mr *MockClientMockRecorder) GetDisk(arg0, arg1, arg2 interface{}) *gomock.Call

GetDisk indicates an expected call of GetDisk

func (*MockClientMockRecorder) GetDiskAlpha

func (mr *MockClientMockRecorder) GetDiskAlpha(arg0, arg1, arg2 interface{}) *gomock.Call

GetDiskAlpha indicates an expected call of GetDiskAlpha

func (*MockClientMockRecorder) GetDiskBeta

func (mr *MockClientMockRecorder) GetDiskBeta(arg0, arg1, arg2 interface{}) *gomock.Call

GetDiskBeta indicates an expected call of GetDiskBeta

func (*MockClientMockRecorder) GetFirewallRule

func (mr *MockClientMockRecorder) GetFirewallRule(arg0, arg1 interface{}) *gomock.Call

GetFirewallRule indicates an expected call of GetFirewallRule

func (*MockClientMockRecorder) GetForwardingRule

func (mr *MockClientMockRecorder) GetForwardingRule(arg0, arg1, arg2 interface{}) *gomock.Call

GetForwardingRule indicates an expected call of GetForwardingRule

func (*MockClientMockRecorder) GetGuestAttributes

func (mr *MockClientMockRecorder) GetGuestAttributes(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

GetGuestAttributes indicates an expected call of GetGuestAttributes

func (*MockClientMockRecorder) GetImage

func (mr *MockClientMockRecorder) GetImage(arg0, arg1 interface{}) *gomock.Call

GetImage indicates an expected call of GetImage

func (*MockClientMockRecorder) GetImageAlpha

func (mr *MockClientMockRecorder) GetImageAlpha(arg0, arg1 interface{}) *gomock.Call

GetImageAlpha indicates an expected call of GetImageAlpha

func (*MockClientMockRecorder) GetImageBeta

func (mr *MockClientMockRecorder) GetImageBeta(arg0, arg1 interface{}) *gomock.Call

GetImageBeta indicates an expected call of GetImageBeta

func (*MockClientMockRecorder) GetImageFromFamily

func (mr *MockClientMockRecorder) GetImageFromFamily(arg0, arg1 interface{}) *gomock.Call

GetImageFromFamily indicates an expected call of GetImageFromFamily

func (*MockClientMockRecorder) GetInstance

func (mr *MockClientMockRecorder) GetInstance(arg0, arg1, arg2 interface{}) *gomock.Call

GetInstance indicates an expected call of GetInstance

func (*MockClientMockRecorder) GetInstanceAlpha

func (mr *MockClientMockRecorder) GetInstanceAlpha(arg0, arg1, arg2 interface{}) *gomock.Call

GetInstanceAlpha indicates an expected call of GetInstanceAlpha

func (*MockClientMockRecorder) GetInstanceBeta

func (mr *MockClientMockRecorder) GetInstanceBeta(arg0, arg1, arg2 interface{}) *gomock.Call

GetInstanceBeta indicates an expected call of GetInstanceBeta

func (*MockClientMockRecorder) GetLicense

func (mr *MockClientMockRecorder) GetLicense(arg0, arg1 interface{}) *gomock.Call

GetLicense indicates an expected call of GetLicense

func (*MockClientMockRecorder) GetMachineImage

func (mr *MockClientMockRecorder) GetMachineImage(arg0, arg1 interface{}) *gomock.Call

GetMachineImage indicates an expected call of GetMachineImage

func (*MockClientMockRecorder) GetMachineType

func (mr *MockClientMockRecorder) GetMachineType(arg0, arg1, arg2 interface{}) *gomock.Call

GetMachineType indicates an expected call of GetMachineType

func (*MockClientMockRecorder) GetNetwork

func (mr *MockClientMockRecorder) GetNetwork(arg0, arg1 interface{}) *gomock.Call

GetNetwork indicates an expected call of GetNetwork

func (*MockClientMockRecorder) GetProject

func (mr *MockClientMockRecorder) GetProject(arg0 interface{}) *gomock.Call

GetProject indicates an expected call of GetProject

func (*MockClientMockRecorder) GetSerialPortOutput

func (mr *MockClientMockRecorder) GetSerialPortOutput(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

GetSerialPortOutput indicates an expected call of GetSerialPortOutput

func (*MockClientMockRecorder) GetSnapshot

func (mr *MockClientMockRecorder) GetSnapshot(arg0, arg1 interface{}) *gomock.Call

GetSnapshot indicates an expected call of GetSnapshot

func (*MockClientMockRecorder) GetSubnetwork

func (mr *MockClientMockRecorder) GetSubnetwork(arg0, arg1, arg2 interface{}) *gomock.Call

GetSubnetwork indicates an expected call of GetSubnetwork

func (*MockClientMockRecorder) GetTargetInstance

func (mr *MockClientMockRecorder) GetTargetInstance(arg0, arg1, arg2 interface{}) *gomock.Call

GetTargetInstance indicates an expected call of GetTargetInstance

func (*MockClientMockRecorder) GetZone

func (mr *MockClientMockRecorder) GetZone(arg0, arg1 interface{}) *gomock.Call

GetZone indicates an expected call of GetZone

func (*MockClientMockRecorder) InstanceStatus

func (mr *MockClientMockRecorder) InstanceStatus(arg0, arg1, arg2 interface{}) *gomock.Call

InstanceStatus indicates an expected call of InstanceStatus

func (*MockClientMockRecorder) InstanceStopped

func (mr *MockClientMockRecorder) InstanceStopped(arg0, arg1, arg2 interface{}) *gomock.Call

InstanceStopped indicates an expected call of InstanceStopped

func (*MockClientMockRecorder) ListDisks

func (mr *MockClientMockRecorder) ListDisks(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListDisks indicates an expected call of ListDisks

func (*MockClientMockRecorder) ListFirewallRules

func (mr *MockClientMockRecorder) ListFirewallRules(arg0 interface{}, arg1 ...interface{}) *gomock.Call

ListFirewallRules indicates an expected call of ListFirewallRules

func (*MockClientMockRecorder) ListForwardingRules

func (mr *MockClientMockRecorder) ListForwardingRules(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListForwardingRules indicates an expected call of ListForwardingRules

func (*MockClientMockRecorder) ListImages

func (mr *MockClientMockRecorder) ListImages(arg0 interface{}, arg1 ...interface{}) *gomock.Call

ListImages indicates an expected call of ListImages

func (*MockClientMockRecorder) ListImagesAlpha

func (mr *MockClientMockRecorder) ListImagesAlpha(arg0 interface{}, arg1 ...interface{}) *gomock.Call

ListImagesAlpha indicates an expected call of ListImagesAlpha

func (*MockClientMockRecorder) ListInstances

func (mr *MockClientMockRecorder) ListInstances(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListInstances indicates an expected call of ListInstances

func (*MockClientMockRecorder) ListLicenses

func (mr *MockClientMockRecorder) ListLicenses(arg0 interface{}, arg1 ...interface{}) *gomock.Call

ListLicenses indicates an expected call of ListLicenses

func (*MockClientMockRecorder) ListMachineImages

func (mr *MockClientMockRecorder) ListMachineImages(arg0 interface{}, arg1 ...interface{}) *gomock.Call

ListMachineImages indicates an expected call of ListMachineImages

func (*MockClientMockRecorder) ListMachineTypes

func (mr *MockClientMockRecorder) ListMachineTypes(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListMachineTypes indicates an expected call of ListMachineTypes

func (*MockClientMockRecorder) ListNetworks

func (mr *MockClientMockRecorder) ListNetworks(arg0 interface{}, arg1 ...interface{}) *gomock.Call

ListNetworks indicates an expected call of ListNetworks

func (*MockClientMockRecorder) ListRegions

func (mr *MockClientMockRecorder) ListRegions(arg0 interface{}, arg1 ...interface{}) *gomock.Call

ListRegions indicates an expected call of ListRegions

func (*MockClientMockRecorder) ListSnapshots

func (mr *MockClientMockRecorder) ListSnapshots(arg0 interface{}, arg1 ...interface{}) *gomock.Call

ListSnapshots indicates an expected call of ListSnapshots

func (*MockClientMockRecorder) ListSubnetworks

func (mr *MockClientMockRecorder) ListSubnetworks(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListSubnetworks indicates an expected call of ListSubnetworks

func (*MockClientMockRecorder) ListTargetInstances

func (mr *MockClientMockRecorder) ListTargetInstances(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListTargetInstances indicates an expected call of ListTargetInstances

func (*MockClientMockRecorder) ListZones

func (mr *MockClientMockRecorder) ListZones(arg0 interface{}, arg1 ...interface{}) *gomock.Call

ListZones indicates an expected call of ListZones

func (*MockClientMockRecorder) ResizeDisk

func (mr *MockClientMockRecorder) ResizeDisk(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

ResizeDisk indicates an expected call of ResizeDisk

func (*MockClientMockRecorder) Retry

func (mr *MockClientMockRecorder) Retry(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Retry indicates an expected call of Retry

func (*MockClientMockRecorder) RetryBeta

func (mr *MockClientMockRecorder) RetryBeta(arg0 interface{}, arg1 ...interface{}) *gomock.Call

RetryBeta indicates an expected call of RetryBeta

func (*MockClientMockRecorder) SetCommonInstanceMetadata

func (mr *MockClientMockRecorder) SetCommonInstanceMetadata(arg0, arg1 interface{}) *gomock.Call

SetCommonInstanceMetadata indicates an expected call of SetCommonInstanceMetadata

func (*MockClientMockRecorder) SetDiskAutoDelete

func (mr *MockClientMockRecorder) SetDiskAutoDelete(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

SetDiskAutoDelete indicates an expected call of SetDiskAutoDelete

func (*MockClientMockRecorder) SetInstanceMetadata

func (mr *MockClientMockRecorder) SetInstanceMetadata(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

SetInstanceMetadata indicates an expected call of SetInstanceMetadata

func (*MockClientMockRecorder) StartInstance

func (mr *MockClientMockRecorder) StartInstance(arg0, arg1, arg2 interface{}) *gomock.Call

StartInstance indicates an expected call of StartInstance

func (*MockClientMockRecorder) StopInstance

func (mr *MockClientMockRecorder) StopInstance(arg0, arg1, arg2 interface{}) *gomock.Call

StopInstance indicates an expected call of StopInstance

type MockComputeServiceInterface

type MockComputeServiceInterface struct {
	// contains filtered or unexported fields
}

MockComputeServiceInterface is a mock of ComputeServiceInterface interface

func NewMockComputeServiceInterface

func NewMockComputeServiceInterface(ctrl *gomock.Controller) *MockComputeServiceInterface

NewMockComputeServiceInterface creates a new mock instance

func (*MockComputeServiceInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockComputeServiceInterface) GetZones

func (m *MockComputeServiceInterface) GetZones(arg0 string) ([]*v1.Zone, error)

GetZones mocks base method

type MockComputeServiceInterfaceMockRecorder

type MockComputeServiceInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockComputeServiceInterfaceMockRecorder is the mock recorder for MockComputeServiceInterface

func (*MockComputeServiceInterfaceMockRecorder) GetZones

func (mr *MockComputeServiceInterfaceMockRecorder) GetZones(arg0 interface{}) *gomock.Call

GetZones indicates an expected call of GetZones

type MockDaisyLogger

type MockDaisyLogger struct {
	// contains filtered or unexported fields
}

MockDaisyLogger is a mock of Logger interface.

func NewMockDaisyLogger

func NewMockDaisyLogger(ctrl *gomock.Controller) *MockDaisyLogger

NewMockDaisyLogger creates a new mock instance.

func (*MockDaisyLogger) AppendSerialPortLogs

func (m *MockDaisyLogger) AppendSerialPortLogs(arg0 *daisy.Workflow, arg1, arg2 string)

AppendSerialPortLogs mocks base method.

func (*MockDaisyLogger) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockDaisyLogger) Flush

func (m *MockDaisyLogger) Flush()

Flush mocks base method.

func (*MockDaisyLogger) ReadSerialPortLogs

func (m *MockDaisyLogger) ReadSerialPortLogs() []string

ReadSerialPortLogs mocks base method.

func (*MockDaisyLogger) WriteLogEntry

func (m *MockDaisyLogger) WriteLogEntry(arg0 *daisy.LogEntry)

WriteLogEntry mocks base method.

func (*MockDaisyLogger) WriteSerialPortLogsToCloudLogging

func (m *MockDaisyLogger) WriteSerialPortLogsToCloudLogging(arg0 *daisy.Workflow, arg1 string)

WriteSerialPortLogsToCloudLogging mocks base method.

type MockDaisyLoggerMockRecorder

type MockDaisyLoggerMockRecorder struct {
	// contains filtered or unexported fields
}

MockDaisyLoggerMockRecorder is the mock recorder for MockDaisyLogger.

func (*MockDaisyLoggerMockRecorder) AppendSerialPortLogs

func (mr *MockDaisyLoggerMockRecorder) AppendSerialPortLogs(arg0, arg1, arg2 interface{}) *gomock.Call

AppendSerialPortLogs indicates an expected call of AppendSerialPortLogs.

func (*MockDaisyLoggerMockRecorder) Flush

Flush indicates an expected call of Flush.

func (*MockDaisyLoggerMockRecorder) ReadSerialPortLogs

func (mr *MockDaisyLoggerMockRecorder) ReadSerialPortLogs() *gomock.Call

ReadSerialPortLogs indicates an expected call of ReadSerialPortLogs.

func (*MockDaisyLoggerMockRecorder) WriteLogEntry

func (mr *MockDaisyLoggerMockRecorder) WriteLogEntry(arg0 interface{}) *gomock.Call

WriteLogEntry indicates an expected call of WriteLogEntry.

func (*MockDaisyLoggerMockRecorder) WriteSerialPortLogsToCloudLogging

func (mr *MockDaisyLoggerMockRecorder) WriteSerialPortLogsToCloudLogging(arg0, arg1 interface{}) *gomock.Call

WriteSerialPortLogsToCloudLogging indicates an expected call of WriteSerialPortLogsToCloudLogging.

type MockDaisyWorker

type MockDaisyWorker struct {
	// contains filtered or unexported fields
}

MockDaisyWorker is a mock of DaisyWorker interface.

func NewMockDaisyWorker

func NewMockDaisyWorker(ctrl *gomock.Controller) *MockDaisyWorker

NewMockDaisyWorker creates a new mock instance.

func (*MockDaisyWorker) Cancel

func (m *MockDaisyWorker) Cancel(reason string) bool

Cancel mocks base method.

func (*MockDaisyWorker) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockDaisyWorker) Run

func (m *MockDaisyWorker) Run(vars map[string]string) error

Run mocks base method.

func (*MockDaisyWorker) RunAndReadSerialValue

func (m *MockDaisyWorker) RunAndReadSerialValue(key string, vars map[string]string) (string, error)

RunAndReadSerialValue mocks base method.

func (*MockDaisyWorker) RunAndReadSerialValues

func (m *MockDaisyWorker) RunAndReadSerialValues(vars map[string]string, keys ...string) (map[string]string, error)

RunAndReadSerialValues mocks base method.

type MockDaisyWorkerMockRecorder

type MockDaisyWorkerMockRecorder struct {
	// contains filtered or unexported fields
}

MockDaisyWorkerMockRecorder is the mock recorder for MockDaisyWorker.

func (*MockDaisyWorkerMockRecorder) Cancel

func (mr *MockDaisyWorkerMockRecorder) Cancel(reason interface{}) *gomock.Call

Cancel indicates an expected call of Cancel.

func (*MockDaisyWorkerMockRecorder) Run

func (mr *MockDaisyWorkerMockRecorder) Run(vars interface{}) *gomock.Call

Run indicates an expected call of Run.

func (*MockDaisyWorkerMockRecorder) RunAndReadSerialValue

func (mr *MockDaisyWorkerMockRecorder) RunAndReadSerialValue(key, vars interface{}) *gomock.Call

RunAndReadSerialValue indicates an expected call of RunAndReadSerialValue.

func (*MockDaisyWorkerMockRecorder) RunAndReadSerialValues

func (mr *MockDaisyWorkerMockRecorder) RunAndReadSerialValues(vars interface{}, keys ...interface{}) *gomock.Call

RunAndReadSerialValues indicates an expected call of RunAndReadSerialValues.

type MockHttpClientInterface

type MockHttpClientInterface struct {
	// contains filtered or unexported fields
}

MockHttpClientInterface is a mock of HttpClientInterface interface

func NewMockHttpClientInterface

func NewMockHttpClientInterface(ctrl *gomock.Controller) *MockHttpClientInterface

NewMockHttpClientInterface creates a new mock instance

func (*MockHttpClientInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockHttpClientInterface) Get

Get mocks base method

type MockHttpClientInterfaceMockRecorder

type MockHttpClientInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockHttpClientInterfaceMockRecorder is the mock recorder for MockHttpClientInterface

func (*MockHttpClientInterfaceMockRecorder) Get

func (mr *MockHttpClientInterfaceMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get

type MockImageDeleter

type MockImageDeleter struct {
	// contains filtered or unexported fields
}

MockImageDeleter is a mock of ImageDeleter interface.

func NewMockImageDeleter

func NewMockImageDeleter(ctrl *gomock.Controller) *MockImageDeleter

NewMockImageDeleter creates a new mock instance.

func (*MockImageDeleter) DeleteImagesIfExist

func (m *MockImageDeleter) DeleteImagesIfExist(arg0 []domain.Image)

DeleteImagesIfExist mocks base method.

func (*MockImageDeleter) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

type MockImageDeleterMockRecorder

type MockImageDeleterMockRecorder struct {
	// contains filtered or unexported fields
}

MockImageDeleterMockRecorder is the mock recorder for MockImageDeleter.

func (*MockImageDeleterMockRecorder) DeleteImagesIfExist

func (mr *MockImageDeleterMockRecorder) DeleteImagesIfExist(arg0 interface{}) *gomock.Call

DeleteImagesIfExist indicates an expected call of DeleteImagesIfExist.

type MockLogger

type MockLogger struct {
	// contains filtered or unexported fields
}

MockLogger is a mock of Logger interface.

func NewMockLogger

func NewMockLogger(ctrl *gomock.Controller) *MockLogger

NewMockLogger creates a new mock instance.

func (*MockLogger) Debug

func (m *MockLogger) Debug(message string)

Debug mocks base method.

func (*MockLogger) EXPECT

func (m *MockLogger) EXPECT() *MockLoggerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLogger) Metric

func (m *MockLogger) Metric(metric *pb.OutputInfo)

Metric mocks base method.

func (*MockLogger) Trace

func (m *MockLogger) Trace(message string)

Trace mocks base method.

func (*MockLogger) User

func (m *MockLogger) User(message string)

User mocks base method.

type MockLoggerMockRecorder

type MockLoggerMockRecorder struct {
	// contains filtered or unexported fields
}

MockLoggerMockRecorder is the mock recorder for MockLogger.

func (*MockLoggerMockRecorder) Debug

func (mr *MockLoggerMockRecorder) Debug(message interface{}) *gomock.Call

Debug indicates an expected call of Debug.

func (*MockLoggerMockRecorder) Metric

func (mr *MockLoggerMockRecorder) Metric(metric interface{}) *gomock.Call

Metric indicates an expected call of Metric.

func (*MockLoggerMockRecorder) Trace

func (mr *MockLoggerMockRecorder) Trace(message interface{}) *gomock.Call

Trace indicates an expected call of Trace.

func (*MockLoggerMockRecorder) User

func (mr *MockLoggerMockRecorder) User(message interface{}) *gomock.Call

User indicates an expected call of User.

type MockMetadataGCEInterface

type MockMetadataGCEInterface struct {
	// contains filtered or unexported fields
}

MockMetadataGCEInterface is a mock of MetadataGCEInterface interface

func NewMockMetadataGCEInterface

func NewMockMetadataGCEInterface(ctrl *gomock.Controller) *MockMetadataGCEInterface

NewMockMetadataGCEInterface creates a new mock instance

func (*MockMetadataGCEInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockMetadataGCEInterface) OnGCE

func (m *MockMetadataGCEInterface) OnGCE() bool

OnGCE mocks base method

func (*MockMetadataGCEInterface) ProjectID

func (m *MockMetadataGCEInterface) ProjectID() (string, error)

ProjectID mocks base method

func (*MockMetadataGCEInterface) Zone

func (m *MockMetadataGCEInterface) Zone() (string, error)

Zone mocks base method

type MockMetadataGCEInterfaceMockRecorder

type MockMetadataGCEInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockMetadataGCEInterfaceMockRecorder is the mock recorder for MockMetadataGCEInterface

func (*MockMetadataGCEInterfaceMockRecorder) OnGCE

OnGCE indicates an expected call of OnGCE

func (*MockMetadataGCEInterfaceMockRecorder) ProjectID

ProjectID indicates an expected call of ProjectID

func (*MockMetadataGCEInterfaceMockRecorder) Zone

Zone indicates an expected call of Zone

type MockNetworkResolver

type MockNetworkResolver struct {
	// contains filtered or unexported fields
}

MockNetworkResolver is a mock of NetworkResolver interface.

func NewMockNetworkResolver

func NewMockNetworkResolver(ctrl *gomock.Controller) *MockNetworkResolver

NewMockNetworkResolver creates a new mock instance.

func (*MockNetworkResolver) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockNetworkResolver) Resolve

func (m *MockNetworkResolver) Resolve(originalNetwork, originalSubnet, region, project string) (string, string, error)

ResolveAndValidateNetworkAndSubnet mocks base method.

type MockNetworkResolverMockRecorder

type MockNetworkResolverMockRecorder struct {
	// contains filtered or unexported fields
}

MockNetworkResolverMockRecorder is the mock recorder for MockNetworkResolver.

func (*MockNetworkResolverMockRecorder) ResolveAndValidateNetworkAndSubnet

func (mr *MockNetworkResolverMockRecorder) ResolveAndValidateNetworkAndSubnet(originalNetwork, originalSubnet, region, project interface{}) *gomock.Call

ResolveAndValidateNetworkAndSubnet indicates an expected call of ResolveAndValidateNetworkAndSubnet.

type MockObjectIteratorCreatorInterface

type MockObjectIteratorCreatorInterface struct {
	// contains filtered or unexported fields
}

MockObjectIteratorCreatorInterface is a mock of ObjectIteratorCreatorInterface interface

func NewMockObjectIteratorCreatorInterface

func NewMockObjectIteratorCreatorInterface(ctrl *gomock.Controller) *MockObjectIteratorCreatorInterface

NewMockObjectIteratorCreatorInterface creates a new mock instance

func (*MockObjectIteratorCreatorInterface) CreateObjectIterator

func (m *MockObjectIteratorCreatorInterface) CreateObjectIterator(arg0, arg1 string) domain.ObjectIteratorInterface

CreateObjectIterator mocks base method

func (*MockObjectIteratorCreatorInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

type MockObjectIteratorCreatorInterfaceMockRecorder

type MockObjectIteratorCreatorInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockObjectIteratorCreatorInterfaceMockRecorder is the mock recorder for MockObjectIteratorCreatorInterface

func (*MockObjectIteratorCreatorInterfaceMockRecorder) CreateObjectIterator

func (mr *MockObjectIteratorCreatorInterfaceMockRecorder) CreateObjectIterator(arg0, arg1 interface{}) *gomock.Call

CreateObjectIterator indicates an expected call of CreateObjectIterator

type MockObjectIteratorInterface

type MockObjectIteratorInterface struct {
	// contains filtered or unexported fields
}

MockObjectIteratorInterface is a mock of ObjectIteratorInterface interface

func NewMockObjectIteratorInterface

func NewMockObjectIteratorInterface(ctrl *gomock.Controller) *MockObjectIteratorInterface

NewMockObjectIteratorInterface creates a new mock instance

func (*MockObjectIteratorInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockObjectIteratorInterface) Next

Next mocks base method

type MockObjectIteratorInterfaceMockRecorder

type MockObjectIteratorInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockObjectIteratorInterfaceMockRecorder is the mock recorder for MockObjectIteratorInterface

func (*MockObjectIteratorInterfaceMockRecorder) Next

Next indicates an expected call of Next

type MockOutputInfoReader

type MockOutputInfoReader struct {
	// contains filtered or unexported fields
}

MockOutputInfoReader is a mock of OutputInfoReader interface.

func NewMockOutputInfoReader

func NewMockOutputInfoReader(ctrl *gomock.Controller) *MockOutputInfoReader

NewMockOutputInfoReader creates a new mock instance.

func (*MockOutputInfoReader) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockOutputInfoReader) ReadOutputInfo

func (m *MockOutputInfoReader) ReadOutputInfo() *pb.OutputInfo

ReadOutputInfo mocks base method.

type MockOutputInfoReaderMockRecorder

type MockOutputInfoReaderMockRecorder struct {
	// contains filtered or unexported fields
}

MockOutputInfoReaderMockRecorder is the mock recorder for MockOutputInfoReader.

func (*MockOutputInfoReaderMockRecorder) ReadOutputInfo

func (mr *MockOutputInfoReaderMockRecorder) ReadOutputInfo() *gomock.Call

ReadOutputInfo indicates an expected call of ReadOutputInfo.

type MockPopulator

type MockPopulator struct {
	// contains filtered or unexported fields
}

MockPopulator is a mock of Populator interface.

func NewMockPopulator

func NewMockPopulator(ctrl *gomock.Controller) *MockPopulator

NewMockPopulator creates a new mock instance.

func (*MockPopulator) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockPopulator) PopulateMissingParameters

func (m *MockPopulator) PopulateMissingParameters(project *string, clientID string, zone, region, scratchBucketGcsPath *string, file string, storageLocation, network, subnet *string) error

PopulateMissingParameters mocks base method.

type MockPopulatorMockRecorder

type MockPopulatorMockRecorder struct {
	// contains filtered or unexported fields
}

MockPopulatorMockRecorder is the mock recorder for MockPopulator.

func (*MockPopulatorMockRecorder) PopulateMissingParameters

func (mr *MockPopulatorMockRecorder) PopulateMissingParameters(project, clientID, zone, region, scratchBucketGcsPath, file, storageLocation, network, subnet interface{}) *gomock.Call

PopulateMissingParameters indicates an expected call of PopulateMissingParameters.

type MockReadCloser

type MockReadCloser struct {
	// contains filtered or unexported fields
}

MockReadCloser is a mock of ReadCloser interface

func NewMockReadCloser

func NewMockReadCloser(ctrl *gomock.Controller) *MockReadCloser

NewMockReadCloser creates a new mock instance

func (*MockReadCloser) Close

func (m *MockReadCloser) Close() error

Close mocks base method

func (*MockReadCloser) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockReadCloser) Read

func (m *MockReadCloser) Read(arg0 []byte) (int, error)

Read mocks base method

type MockReadCloserMockRecorder

type MockReadCloserMockRecorder struct {
	// contains filtered or unexported fields
}

MockReadCloserMockRecorder is the mock recorder for MockReadCloser

func (*MockReadCloserMockRecorder) Close

func (mr *MockReadCloserMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockReadCloserMockRecorder) Read

func (mr *MockReadCloserMockRecorder) Read(arg0 interface{}) *gomock.Call

Read indicates an expected call of Read

type MockResourceLocationRetrieverInterface

type MockResourceLocationRetrieverInterface struct {
	// contains filtered or unexported fields
}

MockResourceLocationRetrieverInterface is a mock of ResourceLocationRetrieverInterface interface.

func NewMockResourceLocationRetrieverInterface

func NewMockResourceLocationRetrieverInterface(ctrl *gomock.Controller) *MockResourceLocationRetrieverInterface

NewMockResourceLocationRetrieverInterface creates a new mock instance.

func (*MockResourceLocationRetrieverInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockResourceLocationRetrieverInterface) GetLargestStorageLocation

func (m *MockResourceLocationRetrieverInterface) GetLargestStorageLocation(arg0 string) string

GetLargestStorageLocation mocks base method.

func (*MockResourceLocationRetrieverInterface) GetZone

func (m *MockResourceLocationRetrieverInterface) GetZone(arg0, arg1 string) (string, error)

GetZone mocks base method.

type MockResourceLocationRetrieverInterfaceMockRecorder

type MockResourceLocationRetrieverInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockResourceLocationRetrieverInterfaceMockRecorder is the mock recorder for MockResourceLocationRetrieverInterface.

func (*MockResourceLocationRetrieverInterfaceMockRecorder) GetLargestStorageLocation

func (mr *MockResourceLocationRetrieverInterfaceMockRecorder) GetLargestStorageLocation(arg0 interface{}) *gomock.Call

GetLargestStorageLocation indicates an expected call of GetLargestStorageLocation.

func (*MockResourceLocationRetrieverInterfaceMockRecorder) GetZone

func (mr *MockResourceLocationRetrieverInterfaceMockRecorder) GetZone(arg0, arg1 interface{}) *gomock.Call

GetZone indicates an expected call of GetZone.

type MockScratchBucketCreatorInterface

type MockScratchBucketCreatorInterface struct {
	// contains filtered or unexported fields
}

MockScratchBucketCreatorInterface is a mock of ScratchBucketCreatorInterface interface

func NewMockScratchBucketCreatorInterface

func NewMockScratchBucketCreatorInterface(ctrl *gomock.Controller) *MockScratchBucketCreatorInterface

NewMockScratchBucketCreatorInterface creates a new mock instance

func (*MockScratchBucketCreatorInterface) CreateScratchBucket

func (m *MockScratchBucketCreatorInterface) CreateScratchBucket(arg0, arg1, arg2 string) (string, string, error)

CreateScratchBucket mocks base method

func (*MockScratchBucketCreatorInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockScratchBucketCreatorInterface) IsBucketInProject

func (m *MockScratchBucketCreatorInterface) IsBucketInProject(arg0, arg1 string) bool

IsBucketInProject mocks base method

type MockScratchBucketCreatorInterfaceMockRecorder

type MockScratchBucketCreatorInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockScratchBucketCreatorInterfaceMockRecorder is the mock recorder for MockScratchBucketCreatorInterface

func (*MockScratchBucketCreatorInterfaceMockRecorder) CreateScratchBucket

func (mr *MockScratchBucketCreatorInterfaceMockRecorder) CreateScratchBucket(arg0, arg1, arg2 interface{}) *gomock.Call

CreateScratchBucket indicates an expected call of CreateScratchBucket

func (*MockScratchBucketCreatorInterfaceMockRecorder) IsBucketInProject

func (mr *MockScratchBucketCreatorInterfaceMockRecorder) IsBucketInProject(arg0, arg1 interface{}) *gomock.Call

IsBucketInProject indicates an expected call of IsBucketInProject

type MockShellExecutor

type MockShellExecutor struct {
	// contains filtered or unexported fields
}

MockShellExecutor is a mock of Executor interface.

func NewMockShellExecutor

func NewMockShellExecutor(ctrl *gomock.Controller) *MockShellExecutor

NewMockShellExecutor creates a new mock instance.

func (*MockShellExecutor) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockShellExecutor) Exec

func (m *MockShellExecutor) Exec(program string, args ...string) (string, error)

Exec mocks base method.

func (*MockShellExecutor) ExecLines

func (m *MockShellExecutor) ExecLines(program string, args ...string) ([]string, error)

ExecLines mocks base method.

type MockShellExecutorMockRecorder

type MockShellExecutorMockRecorder struct {
	// contains filtered or unexported fields
}

MockShellExecutorMockRecorder is the mock recorder for MockShellExecutor.

func (*MockShellExecutorMockRecorder) Exec

func (mr *MockShellExecutorMockRecorder) Exec(program interface{}, args ...interface{}) *gomock.Call

Exec indicates an expected call of Exec.

func (*MockShellExecutorMockRecorder) ExecLines

func (mr *MockShellExecutorMockRecorder) ExecLines(program interface{}, args ...interface{}) *gomock.Call

ExecLines indicates an expected call of ExecLines.

type MockStorageClientInterface

type MockStorageClientInterface struct {
	// contains filtered or unexported fields
}

MockStorageClientInterface is a mock of StorageClientInterface interface.

func NewMockStorageClientInterface

func NewMockStorageClientInterface(ctrl *gomock.Controller) *MockStorageClientInterface

NewMockStorageClientInterface creates a new mock instance.

func (*MockStorageClientInterface) Buckets

Buckets mocks base method.

func (*MockStorageClientInterface) Close

func (m *MockStorageClientInterface) Close() error

Close mocks base method.

func (*MockStorageClientInterface) CreateBucket

func (m *MockStorageClientInterface) CreateBucket(arg0, arg1 string, arg2 *storage.BucketAttrs) error

CreateBucket mocks base method.

func (*MockStorageClientInterface) DeleteGcsPath

func (m *MockStorageClientInterface) DeleteGcsPath(arg0 string) error

DeleteGcsPath mocks base method.

func (*MockStorageClientInterface) DeleteObject

func (m *MockStorageClientInterface) DeleteObject(arg0 string) error

DeleteObject mocks base method.

func (*MockStorageClientInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockStorageClientInterface) FindGcsFile

func (m *MockStorageClientInterface) FindGcsFile(arg0, arg1 string) (*storage.ObjectHandle, error)

FindGcsFile mocks base method.

func (*MockStorageClientInterface) FindGcsFileDepthLimited

func (m *MockStorageClientInterface) FindGcsFileDepthLimited(arg0, arg1 string, arg2 int) (*storage.ObjectHandle, error)

FindGcsFileDepthLimited mocks base method.

func (*MockStorageClientInterface) GetBucket

GetBucket mocks base method.

func (*MockStorageClientInterface) GetBucketAttrs

func (m *MockStorageClientInterface) GetBucketAttrs(arg0 string) (*storage.BucketAttrs, error)

GetBucketAttrs mocks base method.

func (*MockStorageClientInterface) GetGcsFileContent

func (m *MockStorageClientInterface) GetGcsFileContent(arg0 *storage.ObjectHandle) ([]byte, error)

GetGcsFileContent mocks base method.

func (*MockStorageClientInterface) GetObject

func (m *MockStorageClientInterface) GetObject(arg0, arg1 string) domain.StorageObject

GetObject mocks base method.

func (*MockStorageClientInterface) GetObjectAttrs

func (m *MockStorageClientInterface) GetObjectAttrs(arg0, arg1 string) (*storage.ObjectAttrs, error)

GetObjectAttrs mocks base method.

func (*MockStorageClientInterface) GetObjects

GetObjects mocks base method.

func (*MockStorageClientInterface) WriteToGCS

func (m *MockStorageClientInterface) WriteToGCS(arg0, arg1 string, arg2 io.Reader) error

WriteToGCS mocks base method.

type MockStorageClientInterfaceMockRecorder

type MockStorageClientInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockStorageClientInterfaceMockRecorder is the mock recorder for MockStorageClientInterface.

func (*MockStorageClientInterfaceMockRecorder) Buckets

func (mr *MockStorageClientInterfaceMockRecorder) Buckets(arg0 interface{}) *gomock.Call

Buckets indicates an expected call of Buckets.

func (*MockStorageClientInterfaceMockRecorder) Close

Close indicates an expected call of Close.

func (*MockStorageClientInterfaceMockRecorder) CreateBucket

func (mr *MockStorageClientInterfaceMockRecorder) CreateBucket(arg0, arg1, arg2 interface{}) *gomock.Call

CreateBucket indicates an expected call of CreateBucket.

func (*MockStorageClientInterfaceMockRecorder) DeleteGcsPath

func (mr *MockStorageClientInterfaceMockRecorder) DeleteGcsPath(arg0 interface{}) *gomock.Call

DeleteGcsPath indicates an expected call of DeleteGcsPath.

func (*MockStorageClientInterfaceMockRecorder) DeleteObject

func (mr *MockStorageClientInterfaceMockRecorder) DeleteObject(arg0 interface{}) *gomock.Call

DeleteObject indicates an expected call of DeleteObject.

func (*MockStorageClientInterfaceMockRecorder) FindGcsFile

func (mr *MockStorageClientInterfaceMockRecorder) FindGcsFile(arg0, arg1 interface{}) *gomock.Call

FindGcsFile indicates an expected call of FindGcsFile.

func (*MockStorageClientInterfaceMockRecorder) FindGcsFileDepthLimited

func (mr *MockStorageClientInterfaceMockRecorder) FindGcsFileDepthLimited(arg0, arg1, arg2 interface{}) *gomock.Call

FindGcsFileDepthLimited indicates an expected call of FindGcsFileDepthLimited.

func (*MockStorageClientInterfaceMockRecorder) GetBucket

func (mr *MockStorageClientInterfaceMockRecorder) GetBucket(arg0 interface{}) *gomock.Call

GetBucket indicates an expected call of GetBucket.

func (*MockStorageClientInterfaceMockRecorder) GetBucketAttrs

func (mr *MockStorageClientInterfaceMockRecorder) GetBucketAttrs(arg0 interface{}) *gomock.Call

GetBucketAttrs indicates an expected call of GetBucketAttrs.

func (*MockStorageClientInterfaceMockRecorder) GetGcsFileContent

func (mr *MockStorageClientInterfaceMockRecorder) GetGcsFileContent(arg0 interface{}) *gomock.Call

GetGcsFileContent indicates an expected call of GetGcsFileContent.

func (*MockStorageClientInterfaceMockRecorder) GetObject

func (mr *MockStorageClientInterfaceMockRecorder) GetObject(arg0, arg1 interface{}) *gomock.Call

GetObject indicates an expected call of GetObject.

func (*MockStorageClientInterfaceMockRecorder) GetObjectAttrs

func (mr *MockStorageClientInterfaceMockRecorder) GetObjectAttrs(arg0, arg1 interface{}) *gomock.Call

GetObjectAttrs indicates an expected call of GetObjectAttrs.

func (*MockStorageClientInterfaceMockRecorder) GetObjects

func (mr *MockStorageClientInterfaceMockRecorder) GetObjects(arg0, arg1 interface{}) *gomock.Call

GetObjects indicates an expected call of GetObjects.

func (*MockStorageClientInterfaceMockRecorder) WriteToGCS

func (mr *MockStorageClientInterfaceMockRecorder) WriteToGCS(arg0, arg1, arg2 interface{}) *gomock.Call

WriteToGCS indicates an expected call of WriteToGCS.

type MockStorageObject

type MockStorageObject struct {
	// contains filtered or unexported fields
}

MockStorageObject is a mock of StorageObject interface.

func NewMockStorageObject

func NewMockStorageObject(ctrl *gomock.Controller) *MockStorageObject

NewMockStorageObject creates a new mock instance.

func (*MockStorageObject) Compose

Compose mocks base method.

func (*MockStorageObject) CopyFrom

CopyFrom mocks base method.

func (*MockStorageObject) Delete

func (m *MockStorageObject) Delete() error

Delete mocks base method.

func (*MockStorageObject) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockStorageObject) GetObjectHandle

func (m *MockStorageObject) GetObjectHandle() *storage.ObjectHandle

GetObjectHandle mocks base method.

func (*MockStorageObject) NewReader

func (m *MockStorageObject) NewReader() (io.ReadCloser, error)

NewReader mocks base method.

func (*MockStorageObject) NewWriter

func (m *MockStorageObject) NewWriter() io.WriteCloser

NewWriter mocks base method.

func (*MockStorageObject) ObjectName

func (m *MockStorageObject) ObjectName() string

ObjectName mocks base method.

type MockStorageObjectCreatorInterface

type MockStorageObjectCreatorInterface struct {
	// contains filtered or unexported fields
}

MockStorageObjectCreatorInterface is a mock of StorageObjectCreatorInterface interface.

func NewMockStorageObjectCreatorInterface

func NewMockStorageObjectCreatorInterface(ctrl *gomock.Controller) *MockStorageObjectCreatorInterface

NewMockStorageObjectCreatorInterface creates a new mock instance.

func (*MockStorageObjectCreatorInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockStorageObjectCreatorInterface) GetObject

GetObject mocks base method.

type MockStorageObjectCreatorInterfaceMockRecorder

type MockStorageObjectCreatorInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockStorageObjectCreatorInterfaceMockRecorder is the mock recorder for MockStorageObjectCreatorInterface.

func (*MockStorageObjectCreatorInterfaceMockRecorder) GetObject

func (mr *MockStorageObjectCreatorInterfaceMockRecorder) GetObject(arg0, arg1 interface{}) *gomock.Call

GetObject indicates an expected call of GetObject.

type MockStorageObjectMockRecorder

type MockStorageObjectMockRecorder struct {
	// contains filtered or unexported fields
}

MockStorageObjectMockRecorder is the mock recorder for MockStorageObject.

func (*MockStorageObjectMockRecorder) Compose

func (mr *MockStorageObjectMockRecorder) Compose(arg0 ...interface{}) *gomock.Call

Compose indicates an expected call of Compose.

func (*MockStorageObjectMockRecorder) CopyFrom

func (mr *MockStorageObjectMockRecorder) CopyFrom(arg0 interface{}) *gomock.Call

CopyFrom indicates an expected call of CopyFrom.

func (*MockStorageObjectMockRecorder) Delete

Delete indicates an expected call of Delete.

func (*MockStorageObjectMockRecorder) GetObjectHandle

func (mr *MockStorageObjectMockRecorder) GetObjectHandle() *gomock.Call

GetObjectHandle indicates an expected call of GetObjectHandle.

func (*MockStorageObjectMockRecorder) NewReader

func (mr *MockStorageObjectMockRecorder) NewReader() *gomock.Call

NewReader indicates an expected call of NewReader.

func (*MockStorageObjectMockRecorder) NewWriter

func (mr *MockStorageObjectMockRecorder) NewWriter() *gomock.Call

NewWriter indicates an expected call of NewWriter.

func (*MockStorageObjectMockRecorder) ObjectName

func (mr *MockStorageObjectMockRecorder) ObjectName() *gomock.Call

ObjectName indicates an expected call of ObjectName.

type MockTarGcsExtractorInterface

type MockTarGcsExtractorInterface struct {
	// contains filtered or unexported fields
}

MockTarGcsExtractorInterface is a mock of TarGcsExtractorInterface interface

func NewMockTarGcsExtractorInterface

func NewMockTarGcsExtractorInterface(ctrl *gomock.Controller) *MockTarGcsExtractorInterface

NewMockTarGcsExtractorInterface creates a new mock instance

func (*MockTarGcsExtractorInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockTarGcsExtractorInterface) ExtractTarToGcs

func (m *MockTarGcsExtractorInterface) ExtractTarToGcs(arg0, arg1 string) error

ExtractTarToGcs mocks base method

type MockTarGcsExtractorInterfaceMockRecorder

type MockTarGcsExtractorInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockTarGcsExtractorInterfaceMockRecorder is the mock recorder for MockTarGcsExtractorInterface

func (*MockTarGcsExtractorInterfaceMockRecorder) ExtractTarToGcs

func (mr *MockTarGcsExtractorInterfaceMockRecorder) ExtractTarToGcs(arg0, arg1 interface{}) *gomock.Call

ExtractTarToGcs indicates an expected call of ExtractTarToGcs

type MockToolLogger

type MockToolLogger struct {
	// contains filtered or unexported fields
}

MockToolLogger is a mock of ToolLogger interface.

func NewMockToolLogger

func NewMockToolLogger(ctrl *gomock.Controller) *MockToolLogger

NewMockToolLogger creates a new mock instance.

func (*MockToolLogger) Debug

func (m *MockToolLogger) Debug(message string)

Debug mocks base method.

func (*MockToolLogger) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockToolLogger) Metric

func (m *MockToolLogger) Metric(metric *pb.OutputInfo)

Metric mocks base method.

func (*MockToolLogger) NewLogger

func (m *MockToolLogger) NewLogger(userPrefix string) logging.Logger

NewLogger mocks base method.

func (*MockToolLogger) ReadOutputInfo

func (m *MockToolLogger) ReadOutputInfo() *pb.OutputInfo

ReadOutputInfo mocks base method.

func (*MockToolLogger) Trace

func (m *MockToolLogger) Trace(message string)

Trace mocks base method.

func (*MockToolLogger) User

func (m *MockToolLogger) User(message string)

User mocks base method.

type MockToolLoggerMockRecorder

type MockToolLoggerMockRecorder struct {
	// contains filtered or unexported fields
}

MockToolLoggerMockRecorder is the mock recorder for MockToolLogger.

func (*MockToolLoggerMockRecorder) Debug

func (mr *MockToolLoggerMockRecorder) Debug(message interface{}) *gomock.Call

Debug indicates an expected call of Debug.

func (*MockToolLoggerMockRecorder) Metric

func (mr *MockToolLoggerMockRecorder) Metric(metric interface{}) *gomock.Call

Metric indicates an expected call of Metric.

func (*MockToolLoggerMockRecorder) NewLogger

func (mr *MockToolLoggerMockRecorder) NewLogger(userPrefix interface{}) *gomock.Call

NewLogger indicates an expected call of NewLogger.

func (*MockToolLoggerMockRecorder) ReadOutputInfo

func (mr *MockToolLoggerMockRecorder) ReadOutputInfo() *gomock.Call

ReadOutputInfo indicates an expected call of ReadOutputInfo.

func (*MockToolLoggerMockRecorder) Trace

func (mr *MockToolLoggerMockRecorder) Trace(message interface{}) *gomock.Call

Trace indicates an expected call of Trace.

func (*MockToolLoggerMockRecorder) User

func (mr *MockToolLoggerMockRecorder) User(message interface{}) *gomock.Call

User indicates an expected call of User.

type MockWorkflowPostHook

type MockWorkflowPostHook struct {
	// contains filtered or unexported fields
}

MockWorkflowPostHook is a mock of WorkflowPostHook interface.

func NewMockWorkflowPostHook

func NewMockWorkflowPostHook(ctrl *gomock.Controller) *MockWorkflowPostHook

NewMockWorkflowPostHook creates a new mock instance.

func (*MockWorkflowPostHook) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockWorkflowPostHook) PostRunHook

func (m *MockWorkflowPostHook) PostRunHook(err error) (bool, error)

PostRunHook mocks base method.

type MockWorkflowPostHookMockRecorder

type MockWorkflowPostHookMockRecorder struct {
	// contains filtered or unexported fields
}

MockWorkflowPostHookMockRecorder is the mock recorder for MockWorkflowPostHook.

func (*MockWorkflowPostHookMockRecorder) PostRunHook

func (mr *MockWorkflowPostHookMockRecorder) PostRunHook(err interface{}) *gomock.Call

PostRunHook indicates an expected call of PostRunHook.

type MockWorkflowPreHook

type MockWorkflowPreHook struct {
	// contains filtered or unexported fields
}

MockWorkflowPreHook is a mock of WorkflowPreHook interface.

func NewMockWorkflowPreHook

func NewMockWorkflowPreHook(ctrl *gomock.Controller) *MockWorkflowPreHook

NewMockWorkflowPreHook creates a new mock instance.

func (*MockWorkflowPreHook) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockWorkflowPreHook) PreRunHook

func (m *MockWorkflowPreHook) PreRunHook(wf *daisy.Workflow) error

PreRunHook mocks base method.

type MockWorkflowPreHookMockRecorder

type MockWorkflowPreHookMockRecorder struct {
	// contains filtered or unexported fields
}

MockWorkflowPreHookMockRecorder is the mock recorder for MockWorkflowPreHook.

func (*MockWorkflowPreHookMockRecorder) PreRunHook

func (mr *MockWorkflowPreHookMockRecorder) PreRunHook(wf interface{}) *gomock.Call

PreRunHook indicates an expected call of PreRunHook.

type MockZoneValidatorInterface

type MockZoneValidatorInterface struct {
	// contains filtered or unexported fields
}

MockZoneValidatorInterface is a mock of ZoneValidatorInterface interface

func NewMockZoneValidatorInterface

func NewMockZoneValidatorInterface(ctrl *gomock.Controller) *MockZoneValidatorInterface

NewMockZoneValidatorInterface creates a new mock instance

func (*MockZoneValidatorInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockZoneValidatorInterface) ZoneValid

func (m *MockZoneValidatorInterface) ZoneValid(arg0, arg1 string) error

ZoneValid mocks base method

type MockZoneValidatorInterfaceMockRecorder

type MockZoneValidatorInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockZoneValidatorInterfaceMockRecorder is the mock recorder for MockZoneValidatorInterface

func (*MockZoneValidatorInterfaceMockRecorder) ZoneValid

func (mr *MockZoneValidatorInterfaceMockRecorder) ZoneValid(arg0, arg1 interface{}) *gomock.Call

ZoneValid indicates an expected call of ZoneValid

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL