mocks

package
v0.0.0-...-a74b21b Latest Latest
Warning

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

Go to latest
Published: Nov 7, 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.

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(project string, opts ...compute.ListCallOption) ([]*compute2.Disk, error)

AggregatedListDisks mocks base method.

func (*MockClient) AggregatedListInstances

func (m *MockClient) AggregatedListInstances(project string, opts ...compute.ListCallOption) ([]*compute2.Instance, error)

AggregatedListInstances mocks base method.

func (*MockClient) AggregatedListSubnetworks

func (m *MockClient) AggregatedListSubnetworks(project string, opts ...compute.ListCallOption) ([]*compute2.Subnetwork, error)

AggregatedListSubnetworks mocks base method.

func (*MockClient) AttachDisk

func (m *MockClient) AttachDisk(project, zone, instance string, d *compute2.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(project, zone string, d *compute2.Disk) error

CreateDisk mocks base method.

func (*MockClient) CreateDiskAlpha

func (m *MockClient) CreateDiskAlpha(project, zone string, d *compute0.Disk) error

CreateDiskAlpha mocks base method.

func (*MockClient) CreateDiskBeta

func (m *MockClient) CreateDiskBeta(project, zone string, d *compute1.Disk) error

CreateDiskBeta mocks base method.

func (*MockClient) CreateFirewallRule

func (m *MockClient) CreateFirewallRule(project string, i *compute2.Firewall) error

CreateFirewallRule mocks base method.

func (*MockClient) CreateForwardingRule

func (m *MockClient) CreateForwardingRule(project, region string, fr *compute2.ForwardingRule) error

CreateForwardingRule mocks base method.

func (*MockClient) CreateImage

func (m *MockClient) CreateImage(project string, i *compute2.Image) error

CreateImage mocks base method.

func (*MockClient) CreateImageAlpha

func (m *MockClient) CreateImageAlpha(project string, i *compute0.Image) error

CreateImageAlpha mocks base method.

func (*MockClient) CreateImageBeta

func (m *MockClient) CreateImageBeta(project string, i *compute1.Image) error

CreateImageBeta mocks base method.

func (*MockClient) CreateInstance

func (m *MockClient) CreateInstance(project, zone string, i *compute2.Instance) error

CreateInstance mocks base method.

func (*MockClient) CreateInstanceAlpha

func (m *MockClient) CreateInstanceAlpha(project, zone string, i *compute0.Instance) error

CreateInstanceAlpha mocks base method.

func (*MockClient) CreateInstanceBeta

func (m *MockClient) CreateInstanceBeta(project, zone string, i *compute1.Instance) error

CreateInstanceBeta mocks base method.

func (*MockClient) CreateMachineImage

func (m *MockClient) CreateMachineImage(project string, i *compute2.MachineImage) error

CreateMachineImage mocks base method.

func (*MockClient) CreateNetwork

func (m *MockClient) CreateNetwork(project string, n *compute2.Network) error

CreateNetwork mocks base method.

func (*MockClient) CreateSnapshot

func (m *MockClient) CreateSnapshot(project, zone, disk string, s *compute2.Snapshot) error

CreateSnapshot mocks base method.

func (*MockClient) CreateSubnetwork

func (m *MockClient) CreateSubnetwork(project, region string, n *compute2.Subnetwork) error

CreateSubnetwork mocks base method.

func (*MockClient) CreateTargetInstance

func (m *MockClient) CreateTargetInstance(project, zone string, ti *compute2.TargetInstance) error

CreateTargetInstance mocks base method.

func (*MockClient) DeleteDisk

func (m *MockClient) DeleteDisk(project, zone, name string) error

DeleteDisk mocks base method.

func (*MockClient) DeleteFirewallRule

func (m *MockClient) DeleteFirewallRule(project, name string) error

DeleteFirewallRule mocks base method.

func (*MockClient) DeleteForwardingRule

func (m *MockClient) DeleteForwardingRule(project, region, name string) error

DeleteForwardingRule mocks base method.

func (*MockClient) DeleteImage

func (m *MockClient) DeleteImage(project, name string) error

DeleteImage mocks base method.

func (*MockClient) DeleteInstance

func (m *MockClient) DeleteInstance(project, zone, name string) error

DeleteInstance mocks base method.

func (*MockClient) DeleteMachineImage

func (m *MockClient) DeleteMachineImage(project, name string) error

DeleteMachineImage mocks base method.

func (*MockClient) DeleteNetwork

func (m *MockClient) DeleteNetwork(project, name string) error

DeleteNetwork mocks base method.

func (*MockClient) DeleteSnapshot

func (m *MockClient) DeleteSnapshot(project, name string) error

DeleteSnapshot mocks base method.

func (*MockClient) DeleteSubnetwork

func (m *MockClient) DeleteSubnetwork(project, region, name string) error

DeleteSubnetwork mocks base method.

func (*MockClient) DeleteTargetInstance

func (m *MockClient) DeleteTargetInstance(project, zone, name string) error

DeleteTargetInstance mocks base method.

func (*MockClient) DeprecateImage

func (m *MockClient) DeprecateImage(project, name string, deprecationstatus *compute2.DeprecationStatus) error

DeprecateImage mocks base method.

func (*MockClient) DeprecateImageAlpha

func (m *MockClient) DeprecateImageAlpha(project, name string, deprecationstatus *compute0.DeprecationStatus) error

DeprecateImageAlpha mocks base method.

func (*MockClient) DetachDisk

func (m *MockClient) DetachDisk(project, zone, instance, disk 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(project, zone, name string) (*compute2.Disk, error)

GetDisk mocks base method.

func (*MockClient) GetDiskAlpha

func (m *MockClient) GetDiskAlpha(project, zone, name string) (*compute0.Disk, error)

GetDiskAlpha mocks base method.

func (*MockClient) GetDiskBeta

func (m *MockClient) GetDiskBeta(project, zone, name string) (*compute1.Disk, error)

GetDiskBeta mocks base method.

func (*MockClient) GetFirewallRule

func (m *MockClient) GetFirewallRule(project, name string) (*compute2.Firewall, error)

GetFirewallRule mocks base method.

func (*MockClient) GetForwardingRule

func (m *MockClient) GetForwardingRule(project, region, name string) (*compute2.ForwardingRule, error)

GetForwardingRule mocks base method.

func (*MockClient) GetGuestAttributes

func (m *MockClient) GetGuestAttributes(project, zone, name, queryPath, variableKey string) (*compute2.GuestAttributes, error)

GetGuestAttributes mocks base method.

func (*MockClient) GetImage

func (m *MockClient) GetImage(project, name string) (*compute2.Image, error)

GetImage mocks base method.

func (*MockClient) GetImageAlpha

func (m *MockClient) GetImageAlpha(project, name string) (*compute0.Image, error)

GetImageAlpha mocks base method.

func (*MockClient) GetImageBeta

func (m *MockClient) GetImageBeta(project, name string) (*compute1.Image, error)

GetImageBeta mocks base method.

func (*MockClient) GetImageFromFamily

func (m *MockClient) GetImageFromFamily(project, family string) (*compute2.Image, error)

GetImageFromFamily mocks base method.

func (*MockClient) GetInstance

func (m *MockClient) GetInstance(project, zone, name string) (*compute2.Instance, error)

GetInstance mocks base method.

func (*MockClient) GetInstanceAlpha

func (m *MockClient) GetInstanceAlpha(project, zone, name string) (*compute0.Instance, error)

GetInstanceAlpha mocks base method.

func (*MockClient) GetInstanceBeta

func (m *MockClient) GetInstanceBeta(project, zone, name string) (*compute1.Instance, error)

GetInstanceBeta mocks base method.

func (*MockClient) GetLicense

func (m *MockClient) GetLicense(project, name string) (*compute2.License, error)

GetLicense mocks base method.

func (*MockClient) GetMachineImage

func (m *MockClient) GetMachineImage(project, name string) (*compute2.MachineImage, error)

GetMachineImage mocks base method.

func (*MockClient) GetMachineType

func (m *MockClient) GetMachineType(project, zone, machineType string) (*compute2.MachineType, error)

GetMachineType mocks base method.

func (*MockClient) GetNetwork

func (m *MockClient) GetNetwork(project, name string) (*compute2.Network, error)

GetNetwork mocks base method.

func (*MockClient) GetProject

func (m *MockClient) GetProject(project string) (*compute2.Project, error)

GetProject mocks base method.

func (*MockClient) GetRegion

func (m *MockClient) GetRegion(project, region string) (*compute2.Region, error)

GetRegion mocks base method.

func (*MockClient) GetSerialPortOutput

func (m *MockClient) GetSerialPortOutput(project, zone, name string, port, start int64) (*compute2.SerialPortOutput, error)

GetSerialPortOutput mocks base method.

func (*MockClient) GetSnapshot

func (m *MockClient) GetSnapshot(project, name string) (*compute2.Snapshot, error)

GetSnapshot mocks base method.

func (*MockClient) GetSubnetwork

func (m *MockClient) GetSubnetwork(project, region, name string) (*compute2.Subnetwork, error)

GetSubnetwork mocks base method.

func (*MockClient) GetTargetInstance

func (m *MockClient) GetTargetInstance(project, zone, name string) (*compute2.TargetInstance, error)

GetTargetInstance mocks base method.

func (*MockClient) GetZone

func (m *MockClient) GetZone(project, zone string) (*compute2.Zone, error)

GetZone mocks base method.

func (*MockClient) InstanceStatus

func (m *MockClient) InstanceStatus(project, zone, name string) (string, error)

InstanceStatus mocks base method.

func (*MockClient) InstanceStopped

func (m *MockClient) InstanceStopped(project, zone, name string) (bool, error)

InstanceStopped mocks base method.

func (*MockClient) ListDisks

func (m *MockClient) ListDisks(project, zone string, opts ...compute.ListCallOption) ([]*compute2.Disk, error)

ListDisks mocks base method.

func (*MockClient) ListFirewallRules

func (m *MockClient) ListFirewallRules(project string, opts ...compute.ListCallOption) ([]*compute2.Firewall, error)

ListFirewallRules mocks base method.

func (*MockClient) ListForwardingRules

func (m *MockClient) ListForwardingRules(project, zone string, opts ...compute.ListCallOption) ([]*compute2.ForwardingRule, error)

ListForwardingRules mocks base method.

func (*MockClient) ListImages

func (m *MockClient) ListImages(project string, opts ...compute.ListCallOption) ([]*compute2.Image, error)

ListImages mocks base method.

func (*MockClient) ListImagesAlpha

func (m *MockClient) ListImagesAlpha(project string, opts ...compute.ListCallOption) ([]*compute0.Image, error)

ListImagesAlpha mocks base method.

func (*MockClient) ListInstances

func (m *MockClient) ListInstances(project, zone string, opts ...compute.ListCallOption) ([]*compute2.Instance, error)

ListInstances mocks base method.

func (*MockClient) ListLicenses

func (m *MockClient) ListLicenses(project string, opts ...compute.ListCallOption) ([]*compute2.License, error)

ListLicenses mocks base method.

func (*MockClient) ListMachineImages

func (m *MockClient) ListMachineImages(project string, opts ...compute.ListCallOption) ([]*compute2.MachineImage, error)

ListMachineImages mocks base method.

func (*MockClient) ListMachineTypes

func (m *MockClient) ListMachineTypes(project, zone string, opts ...compute.ListCallOption) ([]*compute2.MachineType, error)

ListMachineTypes mocks base method.

func (*MockClient) ListNetworks

func (m *MockClient) ListNetworks(project string, opts ...compute.ListCallOption) ([]*compute2.Network, error)

ListNetworks mocks base method.

func (*MockClient) ListRegions

func (m *MockClient) ListRegions(project string, opts ...compute.ListCallOption) ([]*compute2.Region, error)

ListRegions mocks base method.

func (*MockClient) ListSnapshots

func (m *MockClient) ListSnapshots(project string, opts ...compute.ListCallOption) ([]*compute2.Snapshot, error)

ListSnapshots mocks base method.

func (*MockClient) ListSubnetworks

func (m *MockClient) ListSubnetworks(project, region string, opts ...compute.ListCallOption) ([]*compute2.Subnetwork, error)

ListSubnetworks mocks base method.

func (*MockClient) ListTargetInstances

func (m *MockClient) ListTargetInstances(project, zone string, opts ...compute.ListCallOption) ([]*compute2.TargetInstance, error)

ListTargetInstances mocks base method.

func (*MockClient) ListZones

func (m *MockClient) ListZones(project string, opts ...compute.ListCallOption) ([]*compute2.Zone, error)

ListZones mocks base method.

func (*MockClient) ResizeDisk

func (m *MockClient) ResizeDisk(project, zone, disk string, drr *compute2.DisksResizeRequest) error

ResizeDisk mocks base method.

func (*MockClient) Retry

Retry mocks base method.

func (*MockClient) RetryBeta

RetryBeta mocks base method.

func (*MockClient) SetCommonInstanceMetadata

func (m *MockClient) SetCommonInstanceMetadata(project string, md *compute2.Metadata) error

SetCommonInstanceMetadata mocks base method.

func (*MockClient) SetDiskAutoDelete

func (m *MockClient) SetDiskAutoDelete(project, zone, instance string, autoDelete bool, deviceName string) error

SetDiskAutoDelete mocks base method.

func (*MockClient) SetInstanceMetadata

func (m *MockClient) SetInstanceMetadata(project, zone, name string, md *compute2.Metadata) error

SetInstanceMetadata mocks base method.

func (*MockClient) StartInstance

func (m *MockClient) StartInstance(project, zone, name string) error

StartInstance mocks base method.

func (*MockClient) StopInstance

func (m *MockClient) StopInstance(project, zone, name 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(project interface{}, opts ...interface{}) *gomock.Call

AggregatedListDisks indicates an expected call of AggregatedListDisks.

func (*MockClientMockRecorder) AggregatedListInstances

func (mr *MockClientMockRecorder) AggregatedListInstances(project interface{}, opts ...interface{}) *gomock.Call

AggregatedListInstances indicates an expected call of AggregatedListInstances.

func (*MockClientMockRecorder) AggregatedListSubnetworks

func (mr *MockClientMockRecorder) AggregatedListSubnetworks(project interface{}, opts ...interface{}) *gomock.Call

AggregatedListSubnetworks indicates an expected call of AggregatedListSubnetworks.

func (*MockClientMockRecorder) AttachDisk

func (mr *MockClientMockRecorder) AttachDisk(project, zone, instance, d 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(project, zone, d interface{}) *gomock.Call

CreateDisk indicates an expected call of CreateDisk.

func (*MockClientMockRecorder) CreateDiskAlpha

func (mr *MockClientMockRecorder) CreateDiskAlpha(project, zone, d interface{}) *gomock.Call

CreateDiskAlpha indicates an expected call of CreateDiskAlpha.

func (*MockClientMockRecorder) CreateDiskBeta

func (mr *MockClientMockRecorder) CreateDiskBeta(project, zone, d interface{}) *gomock.Call

CreateDiskBeta indicates an expected call of CreateDiskBeta.

func (*MockClientMockRecorder) CreateFirewallRule

func (mr *MockClientMockRecorder) CreateFirewallRule(project, i interface{}) *gomock.Call

CreateFirewallRule indicates an expected call of CreateFirewallRule.

func (*MockClientMockRecorder) CreateForwardingRule

func (mr *MockClientMockRecorder) CreateForwardingRule(project, region, fr interface{}) *gomock.Call

CreateForwardingRule indicates an expected call of CreateForwardingRule.

func (*MockClientMockRecorder) CreateImage

func (mr *MockClientMockRecorder) CreateImage(project, i interface{}) *gomock.Call

CreateImage indicates an expected call of CreateImage.

func (*MockClientMockRecorder) CreateImageAlpha

func (mr *MockClientMockRecorder) CreateImageAlpha(project, i interface{}) *gomock.Call

CreateImageAlpha indicates an expected call of CreateImageAlpha.

func (*MockClientMockRecorder) CreateImageBeta

func (mr *MockClientMockRecorder) CreateImageBeta(project, i interface{}) *gomock.Call

CreateImageBeta indicates an expected call of CreateImageBeta.

func (*MockClientMockRecorder) CreateInstance

func (mr *MockClientMockRecorder) CreateInstance(project, zone, i interface{}) *gomock.Call

CreateInstance indicates an expected call of CreateInstance.

func (*MockClientMockRecorder) CreateInstanceAlpha

func (mr *MockClientMockRecorder) CreateInstanceAlpha(project, zone, i interface{}) *gomock.Call

CreateInstanceAlpha indicates an expected call of CreateInstanceAlpha.

func (*MockClientMockRecorder) CreateInstanceBeta

func (mr *MockClientMockRecorder) CreateInstanceBeta(project, zone, i interface{}) *gomock.Call

CreateInstanceBeta indicates an expected call of CreateInstanceBeta.

func (*MockClientMockRecorder) CreateMachineImage

func (mr *MockClientMockRecorder) CreateMachineImage(project, i interface{}) *gomock.Call

CreateMachineImage indicates an expected call of CreateMachineImage.

func (*MockClientMockRecorder) CreateNetwork

func (mr *MockClientMockRecorder) CreateNetwork(project, n interface{}) *gomock.Call

CreateNetwork indicates an expected call of CreateNetwork.

func (*MockClientMockRecorder) CreateSnapshot

func (mr *MockClientMockRecorder) CreateSnapshot(project, zone, disk, s interface{}) *gomock.Call

CreateSnapshot indicates an expected call of CreateSnapshot.

func (*MockClientMockRecorder) CreateSubnetwork

func (mr *MockClientMockRecorder) CreateSubnetwork(project, region, n interface{}) *gomock.Call

CreateSubnetwork indicates an expected call of CreateSubnetwork.

func (*MockClientMockRecorder) CreateTargetInstance

func (mr *MockClientMockRecorder) CreateTargetInstance(project, zone, ti interface{}) *gomock.Call

CreateTargetInstance indicates an expected call of CreateTargetInstance.

func (*MockClientMockRecorder) DeleteDisk

func (mr *MockClientMockRecorder) DeleteDisk(project, zone, name interface{}) *gomock.Call

DeleteDisk indicates an expected call of DeleteDisk.

func (*MockClientMockRecorder) DeleteFirewallRule

func (mr *MockClientMockRecorder) DeleteFirewallRule(project, name interface{}) *gomock.Call

DeleteFirewallRule indicates an expected call of DeleteFirewallRule.

func (*MockClientMockRecorder) DeleteForwardingRule

func (mr *MockClientMockRecorder) DeleteForwardingRule(project, region, name interface{}) *gomock.Call

DeleteForwardingRule indicates an expected call of DeleteForwardingRule.

func (*MockClientMockRecorder) DeleteImage

func (mr *MockClientMockRecorder) DeleteImage(project, name interface{}) *gomock.Call

DeleteImage indicates an expected call of DeleteImage.

func (*MockClientMockRecorder) DeleteInstance

func (mr *MockClientMockRecorder) DeleteInstance(project, zone, name interface{}) *gomock.Call

DeleteInstance indicates an expected call of DeleteInstance.

func (*MockClientMockRecorder) DeleteMachineImage

func (mr *MockClientMockRecorder) DeleteMachineImage(project, name interface{}) *gomock.Call

DeleteMachineImage indicates an expected call of DeleteMachineImage.

func (*MockClientMockRecorder) DeleteNetwork

func (mr *MockClientMockRecorder) DeleteNetwork(project, name interface{}) *gomock.Call

DeleteNetwork indicates an expected call of DeleteNetwork.

func (*MockClientMockRecorder) DeleteSnapshot

func (mr *MockClientMockRecorder) DeleteSnapshot(project, name interface{}) *gomock.Call

DeleteSnapshot indicates an expected call of DeleteSnapshot.

func (*MockClientMockRecorder) DeleteSubnetwork

func (mr *MockClientMockRecorder) DeleteSubnetwork(project, region, name interface{}) *gomock.Call

DeleteSubnetwork indicates an expected call of DeleteSubnetwork.

func (*MockClientMockRecorder) DeleteTargetInstance

func (mr *MockClientMockRecorder) DeleteTargetInstance(project, zone, name interface{}) *gomock.Call

DeleteTargetInstance indicates an expected call of DeleteTargetInstance.

func (*MockClientMockRecorder) DeprecateImage

func (mr *MockClientMockRecorder) DeprecateImage(project, name, deprecationstatus interface{}) *gomock.Call

DeprecateImage indicates an expected call of DeprecateImage.

func (*MockClientMockRecorder) DeprecateImageAlpha

func (mr *MockClientMockRecorder) DeprecateImageAlpha(project, name, deprecationstatus interface{}) *gomock.Call

DeprecateImageAlpha indicates an expected call of DeprecateImageAlpha.

func (*MockClientMockRecorder) DetachDisk

func (mr *MockClientMockRecorder) DetachDisk(project, zone, instance, disk interface{}) *gomock.Call

DetachDisk indicates an expected call of DetachDisk.

func (*MockClientMockRecorder) GetDisk

func (mr *MockClientMockRecorder) GetDisk(project, zone, name interface{}) *gomock.Call

GetDisk indicates an expected call of GetDisk.

func (*MockClientMockRecorder) GetDiskAlpha

func (mr *MockClientMockRecorder) GetDiskAlpha(project, zone, name interface{}) *gomock.Call

GetDiskAlpha indicates an expected call of GetDiskAlpha.

func (*MockClientMockRecorder) GetDiskBeta

func (mr *MockClientMockRecorder) GetDiskBeta(project, zone, name interface{}) *gomock.Call

GetDiskBeta indicates an expected call of GetDiskBeta.

func (*MockClientMockRecorder) GetFirewallRule

func (mr *MockClientMockRecorder) GetFirewallRule(project, name interface{}) *gomock.Call

GetFirewallRule indicates an expected call of GetFirewallRule.

func (*MockClientMockRecorder) GetForwardingRule

func (mr *MockClientMockRecorder) GetForwardingRule(project, region, name interface{}) *gomock.Call

GetForwardingRule indicates an expected call of GetForwardingRule.

func (*MockClientMockRecorder) GetGuestAttributes

func (mr *MockClientMockRecorder) GetGuestAttributes(project, zone, name, queryPath, variableKey interface{}) *gomock.Call

GetGuestAttributes indicates an expected call of GetGuestAttributes.

func (*MockClientMockRecorder) GetImage

func (mr *MockClientMockRecorder) GetImage(project, name interface{}) *gomock.Call

GetImage indicates an expected call of GetImage.

func (*MockClientMockRecorder) GetImageAlpha

func (mr *MockClientMockRecorder) GetImageAlpha(project, name interface{}) *gomock.Call

GetImageAlpha indicates an expected call of GetImageAlpha.

func (*MockClientMockRecorder) GetImageBeta

func (mr *MockClientMockRecorder) GetImageBeta(project, name interface{}) *gomock.Call

GetImageBeta indicates an expected call of GetImageBeta.

func (*MockClientMockRecorder) GetImageFromFamily

func (mr *MockClientMockRecorder) GetImageFromFamily(project, family interface{}) *gomock.Call

GetImageFromFamily indicates an expected call of GetImageFromFamily.

func (*MockClientMockRecorder) GetInstance

func (mr *MockClientMockRecorder) GetInstance(project, zone, name interface{}) *gomock.Call

GetInstance indicates an expected call of GetInstance.

func (*MockClientMockRecorder) GetInstanceAlpha

func (mr *MockClientMockRecorder) GetInstanceAlpha(project, zone, name interface{}) *gomock.Call

GetInstanceAlpha indicates an expected call of GetInstanceAlpha.

func (*MockClientMockRecorder) GetInstanceBeta

func (mr *MockClientMockRecorder) GetInstanceBeta(project, zone, name interface{}) *gomock.Call

GetInstanceBeta indicates an expected call of GetInstanceBeta.

func (*MockClientMockRecorder) GetLicense

func (mr *MockClientMockRecorder) GetLicense(project, name interface{}) *gomock.Call

GetLicense indicates an expected call of GetLicense.

func (*MockClientMockRecorder) GetMachineImage

func (mr *MockClientMockRecorder) GetMachineImage(project, name interface{}) *gomock.Call

GetMachineImage indicates an expected call of GetMachineImage.

func (*MockClientMockRecorder) GetMachineType

func (mr *MockClientMockRecorder) GetMachineType(project, zone, machineType interface{}) *gomock.Call

GetMachineType indicates an expected call of GetMachineType.

func (*MockClientMockRecorder) GetNetwork

func (mr *MockClientMockRecorder) GetNetwork(project, name interface{}) *gomock.Call

GetNetwork indicates an expected call of GetNetwork.

func (*MockClientMockRecorder) GetProject

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

GetProject indicates an expected call of GetProject.

func (*MockClientMockRecorder) GetRegion

func (mr *MockClientMockRecorder) GetRegion(project, region interface{}) *gomock.Call

GetRegion indicates an expected call of GetRegion.

func (*MockClientMockRecorder) GetSerialPortOutput

func (mr *MockClientMockRecorder) GetSerialPortOutput(project, zone, name, port, start interface{}) *gomock.Call

GetSerialPortOutput indicates an expected call of GetSerialPortOutput.

func (*MockClientMockRecorder) GetSnapshot

func (mr *MockClientMockRecorder) GetSnapshot(project, name interface{}) *gomock.Call

GetSnapshot indicates an expected call of GetSnapshot.

func (*MockClientMockRecorder) GetSubnetwork

func (mr *MockClientMockRecorder) GetSubnetwork(project, region, name interface{}) *gomock.Call

GetSubnetwork indicates an expected call of GetSubnetwork.

func (*MockClientMockRecorder) GetTargetInstance

func (mr *MockClientMockRecorder) GetTargetInstance(project, zone, name interface{}) *gomock.Call

GetTargetInstance indicates an expected call of GetTargetInstance.

func (*MockClientMockRecorder) GetZone

func (mr *MockClientMockRecorder) GetZone(project, zone interface{}) *gomock.Call

GetZone indicates an expected call of GetZone.

func (*MockClientMockRecorder) InstanceStatus

func (mr *MockClientMockRecorder) InstanceStatus(project, zone, name interface{}) *gomock.Call

InstanceStatus indicates an expected call of InstanceStatus.

func (*MockClientMockRecorder) InstanceStopped

func (mr *MockClientMockRecorder) InstanceStopped(project, zone, name interface{}) *gomock.Call

InstanceStopped indicates an expected call of InstanceStopped.

func (*MockClientMockRecorder) ListDisks

func (mr *MockClientMockRecorder) ListDisks(project, zone interface{}, opts ...interface{}) *gomock.Call

ListDisks indicates an expected call of ListDisks.

func (*MockClientMockRecorder) ListFirewallRules

func (mr *MockClientMockRecorder) ListFirewallRules(project interface{}, opts ...interface{}) *gomock.Call

ListFirewallRules indicates an expected call of ListFirewallRules.

func (*MockClientMockRecorder) ListForwardingRules

func (mr *MockClientMockRecorder) ListForwardingRules(project, zone interface{}, opts ...interface{}) *gomock.Call

ListForwardingRules indicates an expected call of ListForwardingRules.

func (*MockClientMockRecorder) ListImages

func (mr *MockClientMockRecorder) ListImages(project interface{}, opts ...interface{}) *gomock.Call

ListImages indicates an expected call of ListImages.

func (*MockClientMockRecorder) ListImagesAlpha

func (mr *MockClientMockRecorder) ListImagesAlpha(project interface{}, opts ...interface{}) *gomock.Call

ListImagesAlpha indicates an expected call of ListImagesAlpha.

func (*MockClientMockRecorder) ListInstances

func (mr *MockClientMockRecorder) ListInstances(project, zone interface{}, opts ...interface{}) *gomock.Call

ListInstances indicates an expected call of ListInstances.

func (*MockClientMockRecorder) ListLicenses

func (mr *MockClientMockRecorder) ListLicenses(project interface{}, opts ...interface{}) *gomock.Call

ListLicenses indicates an expected call of ListLicenses.

func (*MockClientMockRecorder) ListMachineImages

func (mr *MockClientMockRecorder) ListMachineImages(project interface{}, opts ...interface{}) *gomock.Call

ListMachineImages indicates an expected call of ListMachineImages.

func (*MockClientMockRecorder) ListMachineTypes

func (mr *MockClientMockRecorder) ListMachineTypes(project, zone interface{}, opts ...interface{}) *gomock.Call

ListMachineTypes indicates an expected call of ListMachineTypes.

func (*MockClientMockRecorder) ListNetworks

func (mr *MockClientMockRecorder) ListNetworks(project interface{}, opts ...interface{}) *gomock.Call

ListNetworks indicates an expected call of ListNetworks.

func (*MockClientMockRecorder) ListRegions

func (mr *MockClientMockRecorder) ListRegions(project interface{}, opts ...interface{}) *gomock.Call

ListRegions indicates an expected call of ListRegions.

func (*MockClientMockRecorder) ListSnapshots

func (mr *MockClientMockRecorder) ListSnapshots(project interface{}, opts ...interface{}) *gomock.Call

ListSnapshots indicates an expected call of ListSnapshots.

func (*MockClientMockRecorder) ListSubnetworks

func (mr *MockClientMockRecorder) ListSubnetworks(project, region interface{}, opts ...interface{}) *gomock.Call

ListSubnetworks indicates an expected call of ListSubnetworks.

func (*MockClientMockRecorder) ListTargetInstances

func (mr *MockClientMockRecorder) ListTargetInstances(project, zone interface{}, opts ...interface{}) *gomock.Call

ListTargetInstances indicates an expected call of ListTargetInstances.

func (*MockClientMockRecorder) ListZones

func (mr *MockClientMockRecorder) ListZones(project interface{}, opts ...interface{}) *gomock.Call

ListZones indicates an expected call of ListZones.

func (*MockClientMockRecorder) ResizeDisk

func (mr *MockClientMockRecorder) ResizeDisk(project, zone, disk, drr interface{}) *gomock.Call

ResizeDisk indicates an expected call of ResizeDisk.

func (*MockClientMockRecorder) Retry

func (mr *MockClientMockRecorder) Retry(f interface{}, opts ...interface{}) *gomock.Call

Retry indicates an expected call of Retry.

func (*MockClientMockRecorder) RetryBeta

func (mr *MockClientMockRecorder) RetryBeta(f interface{}, opts ...interface{}) *gomock.Call

RetryBeta indicates an expected call of RetryBeta.

func (*MockClientMockRecorder) SetCommonInstanceMetadata

func (mr *MockClientMockRecorder) SetCommonInstanceMetadata(project, md interface{}) *gomock.Call

SetCommonInstanceMetadata indicates an expected call of SetCommonInstanceMetadata.

func (*MockClientMockRecorder) SetDiskAutoDelete

func (mr *MockClientMockRecorder) SetDiskAutoDelete(project, zone, instance, autoDelete, deviceName interface{}) *gomock.Call

SetDiskAutoDelete indicates an expected call of SetDiskAutoDelete.

func (*MockClientMockRecorder) SetInstanceMetadata

func (mr *MockClientMockRecorder) SetInstanceMetadata(project, zone, name, md interface{}) *gomock.Call

SetInstanceMetadata indicates an expected call of SetInstanceMetadata.

func (*MockClientMockRecorder) StartInstance

func (mr *MockClientMockRecorder) StartInstance(project, zone, name interface{}) *gomock.Call

StartInstance indicates an expected call of StartInstance.

func (*MockClientMockRecorder) StopInstance

func (mr *MockClientMockRecorder) StopInstance(project, zone, name 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 MockListCallOption

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

MockListCallOption is a mock of ListCallOption interface.

func NewMockListCallOption

func NewMockListCallOption(ctrl *gomock.Controller) *MockListCallOption

NewMockListCallOption creates a new mock instance.

func (*MockListCallOption) EXPECT

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

type MockListCallOptionMockRecorder

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

MockListCallOptionMockRecorder is the mock recorder for MockListCallOption.

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 MockMachineSeriesDetector

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

MockMachineSeriesDetector is a mock of MachineSeriesDetector interface.

func NewMockMachineSeriesDetector

func NewMockMachineSeriesDetector(ctrl *gomock.Controller) *MockMachineSeriesDetector

NewMockMachineSeriesDetector creates a new mock instance.

func (*MockMachineSeriesDetector) Detect

func (m *MockMachineSeriesDetector) Detect(project, zone string) ([]string, error)

Detect mocks base method.

func (*MockMachineSeriesDetector) EXPECT

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

type MockMachineSeriesDetectorMockRecorder

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

MockMachineSeriesDetectorMockRecorder is the mock recorder for MockMachineSeriesDetector.

func (*MockMachineSeriesDetectorMockRecorder) Detect

func (mr *MockMachineSeriesDetectorMockRecorder) Detect(project, zone interface{}) *gomock.Call

Detect indicates an expected call of Detect.

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, workerMachineSeries *[]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, workerMachineSeries 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, arg3 bool) (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, arg3 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) UpdateBucket

CreateBucket 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) UpdateBucket

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

UpdateBucket indicates an expected call of UpdateBucket.

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

type MockclientImpl

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

MockclientImpl is a mock of clientImpl interface.

func NewMockclientImpl

func NewMockclientImpl(ctrl *gomock.Controller) *MockclientImpl

NewMockclientImpl creates a new mock instance.

func (*MockclientImpl) AggregatedListDisks

func (m *MockclientImpl) AggregatedListDisks(project string, opts ...compute.ListCallOption) ([]*compute2.Disk, error)

AggregatedListDisks mocks base method.

func (*MockclientImpl) AggregatedListInstances

func (m *MockclientImpl) AggregatedListInstances(project string, opts ...compute.ListCallOption) ([]*compute2.Instance, error)

AggregatedListInstances mocks base method.

func (*MockclientImpl) AggregatedListSubnetworks

func (m *MockclientImpl) AggregatedListSubnetworks(project string, opts ...compute.ListCallOption) ([]*compute2.Subnetwork, error)

AggregatedListSubnetworks mocks base method.

func (*MockclientImpl) AttachDisk

func (m *MockclientImpl) AttachDisk(project, zone, instance string, d *compute2.AttachedDisk) error

AttachDisk mocks base method.

func (*MockclientImpl) BasePath

func (m *MockclientImpl) BasePath() string

BasePath mocks base method.

func (*MockclientImpl) CreateDisk

func (m *MockclientImpl) CreateDisk(project, zone string, d *compute2.Disk) error

CreateDisk mocks base method.

func (*MockclientImpl) CreateDiskAlpha

func (m *MockclientImpl) CreateDiskAlpha(project, zone string, d *compute0.Disk) error

CreateDiskAlpha mocks base method.

func (*MockclientImpl) CreateDiskBeta

func (m *MockclientImpl) CreateDiskBeta(project, zone string, d *compute1.Disk) error

CreateDiskBeta mocks base method.

func (*MockclientImpl) CreateFirewallRule

func (m *MockclientImpl) CreateFirewallRule(project string, i *compute2.Firewall) error

CreateFirewallRule mocks base method.

func (*MockclientImpl) CreateForwardingRule

func (m *MockclientImpl) CreateForwardingRule(project, region string, fr *compute2.ForwardingRule) error

CreateForwardingRule mocks base method.

func (*MockclientImpl) CreateImage

func (m *MockclientImpl) CreateImage(project string, i *compute2.Image) error

CreateImage mocks base method.

func (*MockclientImpl) CreateImageAlpha

func (m *MockclientImpl) CreateImageAlpha(project string, i *compute0.Image) error

CreateImageAlpha mocks base method.

func (*MockclientImpl) CreateImageBeta

func (m *MockclientImpl) CreateImageBeta(project string, i *compute1.Image) error

CreateImageBeta mocks base method.

func (*MockclientImpl) CreateInstance

func (m *MockclientImpl) CreateInstance(project, zone string, i *compute2.Instance) error

CreateInstance mocks base method.

func (*MockclientImpl) CreateInstanceAlpha

func (m *MockclientImpl) CreateInstanceAlpha(project, zone string, i *compute0.Instance) error

CreateInstanceAlpha mocks base method.

func (*MockclientImpl) CreateInstanceBeta

func (m *MockclientImpl) CreateInstanceBeta(project, zone string, i *compute1.Instance) error

CreateInstanceBeta mocks base method.

func (*MockclientImpl) CreateMachineImage

func (m *MockclientImpl) CreateMachineImage(project string, i *compute2.MachineImage) error

CreateMachineImage mocks base method.

func (*MockclientImpl) CreateNetwork

func (m *MockclientImpl) CreateNetwork(project string, n *compute2.Network) error

CreateNetwork mocks base method.

func (*MockclientImpl) CreateSnapshot

func (m *MockclientImpl) CreateSnapshot(project, zone, disk string, s *compute2.Snapshot) error

CreateSnapshot mocks base method.

func (*MockclientImpl) CreateSubnetwork

func (m *MockclientImpl) CreateSubnetwork(project, region string, n *compute2.Subnetwork) error

CreateSubnetwork mocks base method.

func (*MockclientImpl) CreateTargetInstance

func (m *MockclientImpl) CreateTargetInstance(project, zone string, ti *compute2.TargetInstance) error

CreateTargetInstance mocks base method.

func (*MockclientImpl) DeleteDisk

func (m *MockclientImpl) DeleteDisk(project, zone, name string) error

DeleteDisk mocks base method.

func (*MockclientImpl) DeleteFirewallRule

func (m *MockclientImpl) DeleteFirewallRule(project, name string) error

DeleteFirewallRule mocks base method.

func (*MockclientImpl) DeleteForwardingRule

func (m *MockclientImpl) DeleteForwardingRule(project, region, name string) error

DeleteForwardingRule mocks base method.

func (*MockclientImpl) DeleteImage

func (m *MockclientImpl) DeleteImage(project, name string) error

DeleteImage mocks base method.

func (*MockclientImpl) DeleteInstance

func (m *MockclientImpl) DeleteInstance(project, zone, name string) error

DeleteInstance mocks base method.

func (*MockclientImpl) DeleteMachineImage

func (m *MockclientImpl) DeleteMachineImage(project, name string) error

DeleteMachineImage mocks base method.

func (*MockclientImpl) DeleteNetwork

func (m *MockclientImpl) DeleteNetwork(project, name string) error

DeleteNetwork mocks base method.

func (*MockclientImpl) DeleteSnapshot

func (m *MockclientImpl) DeleteSnapshot(project, name string) error

DeleteSnapshot mocks base method.

func (*MockclientImpl) DeleteSubnetwork

func (m *MockclientImpl) DeleteSubnetwork(project, region, name string) error

DeleteSubnetwork mocks base method.

func (*MockclientImpl) DeleteTargetInstance

func (m *MockclientImpl) DeleteTargetInstance(project, zone, name string) error

DeleteTargetInstance mocks base method.

func (*MockclientImpl) DeprecateImage

func (m *MockclientImpl) DeprecateImage(project, name string, deprecationstatus *compute2.DeprecationStatus) error

DeprecateImage mocks base method.

func (*MockclientImpl) DeprecateImageAlpha

func (m *MockclientImpl) DeprecateImageAlpha(project, name string, deprecationstatus *compute0.DeprecationStatus) error

DeprecateImageAlpha mocks base method.

func (*MockclientImpl) DetachDisk

func (m *MockclientImpl) DetachDisk(project, zone, instance, disk string) error

DetachDisk mocks base method.

func (*MockclientImpl) EXPECT

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

func (*MockclientImpl) GetDisk

func (m *MockclientImpl) GetDisk(project, zone, name string) (*compute2.Disk, error)

GetDisk mocks base method.

func (*MockclientImpl) GetDiskAlpha

func (m *MockclientImpl) GetDiskAlpha(project, zone, name string) (*compute0.Disk, error)

GetDiskAlpha mocks base method.

func (*MockclientImpl) GetDiskBeta

func (m *MockclientImpl) GetDiskBeta(project, zone, name string) (*compute1.Disk, error)

GetDiskBeta mocks base method.

func (*MockclientImpl) GetFirewallRule

func (m *MockclientImpl) GetFirewallRule(project, name string) (*compute2.Firewall, error)

GetFirewallRule mocks base method.

func (*MockclientImpl) GetForwardingRule

func (m *MockclientImpl) GetForwardingRule(project, region, name string) (*compute2.ForwardingRule, error)

GetForwardingRule mocks base method.

func (*MockclientImpl) GetGuestAttributes

func (m *MockclientImpl) GetGuestAttributes(project, zone, name, queryPath, variableKey string) (*compute2.GuestAttributes, error)

GetGuestAttributes mocks base method.

func (*MockclientImpl) GetImage

func (m *MockclientImpl) GetImage(project, name string) (*compute2.Image, error)

GetImage mocks base method.

func (*MockclientImpl) GetImageAlpha

func (m *MockclientImpl) GetImageAlpha(project, name string) (*compute0.Image, error)

GetImageAlpha mocks base method.

func (*MockclientImpl) GetImageBeta

func (m *MockclientImpl) GetImageBeta(project, name string) (*compute1.Image, error)

GetImageBeta mocks base method.

func (*MockclientImpl) GetImageFromFamily

func (m *MockclientImpl) GetImageFromFamily(project, family string) (*compute2.Image, error)

GetImageFromFamily mocks base method.

func (*MockclientImpl) GetInstance

func (m *MockclientImpl) GetInstance(project, zone, name string) (*compute2.Instance, error)

GetInstance mocks base method.

func (*MockclientImpl) GetInstanceAlpha

func (m *MockclientImpl) GetInstanceAlpha(project, zone, name string) (*compute0.Instance, error)

GetInstanceAlpha mocks base method.

func (*MockclientImpl) GetInstanceBeta

func (m *MockclientImpl) GetInstanceBeta(project, zone, name string) (*compute1.Instance, error)

GetInstanceBeta mocks base method.

func (*MockclientImpl) GetLicense

func (m *MockclientImpl) GetLicense(project, name string) (*compute2.License, error)

GetLicense mocks base method.

func (*MockclientImpl) GetMachineImage

func (m *MockclientImpl) GetMachineImage(project, name string) (*compute2.MachineImage, error)

GetMachineImage mocks base method.

func (*MockclientImpl) GetMachineType

func (m *MockclientImpl) GetMachineType(project, zone, machineType string) (*compute2.MachineType, error)

GetMachineType mocks base method.

func (*MockclientImpl) GetNetwork

func (m *MockclientImpl) GetNetwork(project, name string) (*compute2.Network, error)

GetNetwork mocks base method.

func (*MockclientImpl) GetProject

func (m *MockclientImpl) GetProject(project string) (*compute2.Project, error)

GetProject mocks base method.

func (*MockclientImpl) GetRegion

func (m *MockclientImpl) GetRegion(project, region string) (*compute2.Region, error)

GetRegion mocks base method.

func (*MockclientImpl) GetSerialPortOutput

func (m *MockclientImpl) GetSerialPortOutput(project, zone, name string, port, start int64) (*compute2.SerialPortOutput, error)

GetSerialPortOutput mocks base method.

func (*MockclientImpl) GetSnapshot

func (m *MockclientImpl) GetSnapshot(project, name string) (*compute2.Snapshot, error)

GetSnapshot mocks base method.

func (*MockclientImpl) GetSubnetwork

func (m *MockclientImpl) GetSubnetwork(project, region, name string) (*compute2.Subnetwork, error)

GetSubnetwork mocks base method.

func (*MockclientImpl) GetTargetInstance

func (m *MockclientImpl) GetTargetInstance(project, zone, name string) (*compute2.TargetInstance, error)

GetTargetInstance mocks base method.

func (*MockclientImpl) GetZone

func (m *MockclientImpl) GetZone(project, zone string) (*compute2.Zone, error)

GetZone mocks base method.

func (*MockclientImpl) InstanceStatus

func (m *MockclientImpl) InstanceStatus(project, zone, name string) (string, error)

InstanceStatus mocks base method.

func (*MockclientImpl) InstanceStopped

func (m *MockclientImpl) InstanceStopped(project, zone, name string) (bool, error)

InstanceStopped mocks base method.

func (*MockclientImpl) ListDisks

func (m *MockclientImpl) ListDisks(project, zone string, opts ...compute.ListCallOption) ([]*compute2.Disk, error)

ListDisks mocks base method.

func (*MockclientImpl) ListFirewallRules

func (m *MockclientImpl) ListFirewallRules(project string, opts ...compute.ListCallOption) ([]*compute2.Firewall, error)

ListFirewallRules mocks base method.

func (*MockclientImpl) ListForwardingRules

func (m *MockclientImpl) ListForwardingRules(project, zone string, opts ...compute.ListCallOption) ([]*compute2.ForwardingRule, error)

ListForwardingRules mocks base method.

func (*MockclientImpl) ListImages

func (m *MockclientImpl) ListImages(project string, opts ...compute.ListCallOption) ([]*compute2.Image, error)

ListImages mocks base method.

func (*MockclientImpl) ListImagesAlpha

func (m *MockclientImpl) ListImagesAlpha(project string, opts ...compute.ListCallOption) ([]*compute0.Image, error)

ListImagesAlpha mocks base method.

func (*MockclientImpl) ListInstances

func (m *MockclientImpl) ListInstances(project, zone string, opts ...compute.ListCallOption) ([]*compute2.Instance, error)

ListInstances mocks base method.

func (*MockclientImpl) ListLicenses

func (m *MockclientImpl) ListLicenses(project string, opts ...compute.ListCallOption) ([]*compute2.License, error)

ListLicenses mocks base method.

func (*MockclientImpl) ListMachineImages

func (m *MockclientImpl) ListMachineImages(project string, opts ...compute.ListCallOption) ([]*compute2.MachineImage, error)

ListMachineImages mocks base method.

func (*MockclientImpl) ListMachineTypes

func (m *MockclientImpl) ListMachineTypes(project, zone string, opts ...compute.ListCallOption) ([]*compute2.MachineType, error)

ListMachineTypes mocks base method.

func (*MockclientImpl) ListNetworks

func (m *MockclientImpl) ListNetworks(project string, opts ...compute.ListCallOption) ([]*compute2.Network, error)

ListNetworks mocks base method.

func (*MockclientImpl) ListRegions

func (m *MockclientImpl) ListRegions(project string, opts ...compute.ListCallOption) ([]*compute2.Region, error)

ListRegions mocks base method.

func (*MockclientImpl) ListSnapshots

func (m *MockclientImpl) ListSnapshots(project string, opts ...compute.ListCallOption) ([]*compute2.Snapshot, error)

ListSnapshots mocks base method.

func (*MockclientImpl) ListSubnetworks

func (m *MockclientImpl) ListSubnetworks(project, region string, opts ...compute.ListCallOption) ([]*compute2.Subnetwork, error)

ListSubnetworks mocks base method.

func (*MockclientImpl) ListTargetInstances

func (m *MockclientImpl) ListTargetInstances(project, zone string, opts ...compute.ListCallOption) ([]*compute2.TargetInstance, error)

ListTargetInstances mocks base method.

func (*MockclientImpl) ListZones

func (m *MockclientImpl) ListZones(project string, opts ...compute.ListCallOption) ([]*compute2.Zone, error)

ListZones mocks base method.

func (*MockclientImpl) ResizeDisk

func (m *MockclientImpl) ResizeDisk(project, zone, disk string, drr *compute2.DisksResizeRequest) error

ResizeDisk mocks base method.

func (*MockclientImpl) Retry

Retry mocks base method.

func (*MockclientImpl) RetryBeta

RetryBeta mocks base method.

func (*MockclientImpl) SetCommonInstanceMetadata

func (m *MockclientImpl) SetCommonInstanceMetadata(project string, md *compute2.Metadata) error

SetCommonInstanceMetadata mocks base method.

func (*MockclientImpl) SetDiskAutoDelete

func (m *MockclientImpl) SetDiskAutoDelete(project, zone, instance string, autoDelete bool, deviceName string) error

SetDiskAutoDelete mocks base method.

func (*MockclientImpl) SetInstanceMetadata

func (m *MockclientImpl) SetInstanceMetadata(project, zone, name string, md *compute2.Metadata) error

SetInstanceMetadata mocks base method.

func (*MockclientImpl) StartInstance

func (m *MockclientImpl) StartInstance(project, zone, name string) error

StartInstance mocks base method.

func (*MockclientImpl) StopInstance

func (m *MockclientImpl) StopInstance(project, zone, name string) error

StopInstance mocks base method.

type MockclientImplMockRecorder

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

MockclientImplMockRecorder is the mock recorder for MockclientImpl.

func (*MockclientImplMockRecorder) AggregatedListDisks

func (mr *MockclientImplMockRecorder) AggregatedListDisks(project interface{}, opts ...interface{}) *gomock.Call

AggregatedListDisks indicates an expected call of AggregatedListDisks.

func (*MockclientImplMockRecorder) AggregatedListInstances

func (mr *MockclientImplMockRecorder) AggregatedListInstances(project interface{}, opts ...interface{}) *gomock.Call

AggregatedListInstances indicates an expected call of AggregatedListInstances.

func (*MockclientImplMockRecorder) AggregatedListSubnetworks

func (mr *MockclientImplMockRecorder) AggregatedListSubnetworks(project interface{}, opts ...interface{}) *gomock.Call

AggregatedListSubnetworks indicates an expected call of AggregatedListSubnetworks.

func (*MockclientImplMockRecorder) AttachDisk

func (mr *MockclientImplMockRecorder) AttachDisk(project, zone, instance, d interface{}) *gomock.Call

AttachDisk indicates an expected call of AttachDisk.

func (*MockclientImplMockRecorder) BasePath

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

BasePath indicates an expected call of BasePath.

func (*MockclientImplMockRecorder) CreateDisk

func (mr *MockclientImplMockRecorder) CreateDisk(project, zone, d interface{}) *gomock.Call

CreateDisk indicates an expected call of CreateDisk.

func (*MockclientImplMockRecorder) CreateDiskAlpha

func (mr *MockclientImplMockRecorder) CreateDiskAlpha(project, zone, d interface{}) *gomock.Call

CreateDiskAlpha indicates an expected call of CreateDiskAlpha.

func (*MockclientImplMockRecorder) CreateDiskBeta

func (mr *MockclientImplMockRecorder) CreateDiskBeta(project, zone, d interface{}) *gomock.Call

CreateDiskBeta indicates an expected call of CreateDiskBeta.

func (*MockclientImplMockRecorder) CreateFirewallRule

func (mr *MockclientImplMockRecorder) CreateFirewallRule(project, i interface{}) *gomock.Call

CreateFirewallRule indicates an expected call of CreateFirewallRule.

func (*MockclientImplMockRecorder) CreateForwardingRule

func (mr *MockclientImplMockRecorder) CreateForwardingRule(project, region, fr interface{}) *gomock.Call

CreateForwardingRule indicates an expected call of CreateForwardingRule.

func (*MockclientImplMockRecorder) CreateImage

func (mr *MockclientImplMockRecorder) CreateImage(project, i interface{}) *gomock.Call

CreateImage indicates an expected call of CreateImage.

func (*MockclientImplMockRecorder) CreateImageAlpha

func (mr *MockclientImplMockRecorder) CreateImageAlpha(project, i interface{}) *gomock.Call

CreateImageAlpha indicates an expected call of CreateImageAlpha.

func (*MockclientImplMockRecorder) CreateImageBeta

func (mr *MockclientImplMockRecorder) CreateImageBeta(project, i interface{}) *gomock.Call

CreateImageBeta indicates an expected call of CreateImageBeta.

func (*MockclientImplMockRecorder) CreateInstance

func (mr *MockclientImplMockRecorder) CreateInstance(project, zone, i interface{}) *gomock.Call

CreateInstance indicates an expected call of CreateInstance.

func (*MockclientImplMockRecorder) CreateInstanceAlpha

func (mr *MockclientImplMockRecorder) CreateInstanceAlpha(project, zone, i interface{}) *gomock.Call

CreateInstanceAlpha indicates an expected call of CreateInstanceAlpha.

func (*MockclientImplMockRecorder) CreateInstanceBeta

func (mr *MockclientImplMockRecorder) CreateInstanceBeta(project, zone, i interface{}) *gomock.Call

CreateInstanceBeta indicates an expected call of CreateInstanceBeta.

func (*MockclientImplMockRecorder) CreateMachineImage

func (mr *MockclientImplMockRecorder) CreateMachineImage(project, i interface{}) *gomock.Call

CreateMachineImage indicates an expected call of CreateMachineImage.

func (*MockclientImplMockRecorder) CreateNetwork

func (mr *MockclientImplMockRecorder) CreateNetwork(project, n interface{}) *gomock.Call

CreateNetwork indicates an expected call of CreateNetwork.

func (*MockclientImplMockRecorder) CreateSnapshot

func (mr *MockclientImplMockRecorder) CreateSnapshot(project, zone, disk, s interface{}) *gomock.Call

CreateSnapshot indicates an expected call of CreateSnapshot.

func (*MockclientImplMockRecorder) CreateSubnetwork

func (mr *MockclientImplMockRecorder) CreateSubnetwork(project, region, n interface{}) *gomock.Call

CreateSubnetwork indicates an expected call of CreateSubnetwork.

func (*MockclientImplMockRecorder) CreateTargetInstance

func (mr *MockclientImplMockRecorder) CreateTargetInstance(project, zone, ti interface{}) *gomock.Call

CreateTargetInstance indicates an expected call of CreateTargetInstance.

func (*MockclientImplMockRecorder) DeleteDisk

func (mr *MockclientImplMockRecorder) DeleteDisk(project, zone, name interface{}) *gomock.Call

DeleteDisk indicates an expected call of DeleteDisk.

func (*MockclientImplMockRecorder) DeleteFirewallRule

func (mr *MockclientImplMockRecorder) DeleteFirewallRule(project, name interface{}) *gomock.Call

DeleteFirewallRule indicates an expected call of DeleteFirewallRule.

func (*MockclientImplMockRecorder) DeleteForwardingRule

func (mr *MockclientImplMockRecorder) DeleteForwardingRule(project, region, name interface{}) *gomock.Call

DeleteForwardingRule indicates an expected call of DeleteForwardingRule.

func (*MockclientImplMockRecorder) DeleteImage

func (mr *MockclientImplMockRecorder) DeleteImage(project, name interface{}) *gomock.Call

DeleteImage indicates an expected call of DeleteImage.

func (*MockclientImplMockRecorder) DeleteInstance

func (mr *MockclientImplMockRecorder) DeleteInstance(project, zone, name interface{}) *gomock.Call

DeleteInstance indicates an expected call of DeleteInstance.

func (*MockclientImplMockRecorder) DeleteMachineImage

func (mr *MockclientImplMockRecorder) DeleteMachineImage(project, name interface{}) *gomock.Call

DeleteMachineImage indicates an expected call of DeleteMachineImage.

func (*MockclientImplMockRecorder) DeleteNetwork

func (mr *MockclientImplMockRecorder) DeleteNetwork(project, name interface{}) *gomock.Call

DeleteNetwork indicates an expected call of DeleteNetwork.

func (*MockclientImplMockRecorder) DeleteSnapshot

func (mr *MockclientImplMockRecorder) DeleteSnapshot(project, name interface{}) *gomock.Call

DeleteSnapshot indicates an expected call of DeleteSnapshot.

func (*MockclientImplMockRecorder) DeleteSubnetwork

func (mr *MockclientImplMockRecorder) DeleteSubnetwork(project, region, name interface{}) *gomock.Call

DeleteSubnetwork indicates an expected call of DeleteSubnetwork.

func (*MockclientImplMockRecorder) DeleteTargetInstance

func (mr *MockclientImplMockRecorder) DeleteTargetInstance(project, zone, name interface{}) *gomock.Call

DeleteTargetInstance indicates an expected call of DeleteTargetInstance.

func (*MockclientImplMockRecorder) DeprecateImage

func (mr *MockclientImplMockRecorder) DeprecateImage(project, name, deprecationstatus interface{}) *gomock.Call

DeprecateImage indicates an expected call of DeprecateImage.

func (*MockclientImplMockRecorder) DeprecateImageAlpha

func (mr *MockclientImplMockRecorder) DeprecateImageAlpha(project, name, deprecationstatus interface{}) *gomock.Call

DeprecateImageAlpha indicates an expected call of DeprecateImageAlpha.

func (*MockclientImplMockRecorder) DetachDisk

func (mr *MockclientImplMockRecorder) DetachDisk(project, zone, instance, disk interface{}) *gomock.Call

DetachDisk indicates an expected call of DetachDisk.

func (*MockclientImplMockRecorder) GetDisk

func (mr *MockclientImplMockRecorder) GetDisk(project, zone, name interface{}) *gomock.Call

GetDisk indicates an expected call of GetDisk.

func (*MockclientImplMockRecorder) GetDiskAlpha

func (mr *MockclientImplMockRecorder) GetDiskAlpha(project, zone, name interface{}) *gomock.Call

GetDiskAlpha indicates an expected call of GetDiskAlpha.

func (*MockclientImplMockRecorder) GetDiskBeta

func (mr *MockclientImplMockRecorder) GetDiskBeta(project, zone, name interface{}) *gomock.Call

GetDiskBeta indicates an expected call of GetDiskBeta.

func (*MockclientImplMockRecorder) GetFirewallRule

func (mr *MockclientImplMockRecorder) GetFirewallRule(project, name interface{}) *gomock.Call

GetFirewallRule indicates an expected call of GetFirewallRule.

func (*MockclientImplMockRecorder) GetForwardingRule

func (mr *MockclientImplMockRecorder) GetForwardingRule(project, region, name interface{}) *gomock.Call

GetForwardingRule indicates an expected call of GetForwardingRule.

func (*MockclientImplMockRecorder) GetGuestAttributes

func (mr *MockclientImplMockRecorder) GetGuestAttributes(project, zone, name, queryPath, variableKey interface{}) *gomock.Call

GetGuestAttributes indicates an expected call of GetGuestAttributes.

func (*MockclientImplMockRecorder) GetImage

func (mr *MockclientImplMockRecorder) GetImage(project, name interface{}) *gomock.Call

GetImage indicates an expected call of GetImage.

func (*MockclientImplMockRecorder) GetImageAlpha

func (mr *MockclientImplMockRecorder) GetImageAlpha(project, name interface{}) *gomock.Call

GetImageAlpha indicates an expected call of GetImageAlpha.

func (*MockclientImplMockRecorder) GetImageBeta

func (mr *MockclientImplMockRecorder) GetImageBeta(project, name interface{}) *gomock.Call

GetImageBeta indicates an expected call of GetImageBeta.

func (*MockclientImplMockRecorder) GetImageFromFamily

func (mr *MockclientImplMockRecorder) GetImageFromFamily(project, family interface{}) *gomock.Call

GetImageFromFamily indicates an expected call of GetImageFromFamily.

func (*MockclientImplMockRecorder) GetInstance

func (mr *MockclientImplMockRecorder) GetInstance(project, zone, name interface{}) *gomock.Call

GetInstance indicates an expected call of GetInstance.

func (*MockclientImplMockRecorder) GetInstanceAlpha

func (mr *MockclientImplMockRecorder) GetInstanceAlpha(project, zone, name interface{}) *gomock.Call

GetInstanceAlpha indicates an expected call of GetInstanceAlpha.

func (*MockclientImplMockRecorder) GetInstanceBeta

func (mr *MockclientImplMockRecorder) GetInstanceBeta(project, zone, name interface{}) *gomock.Call

GetInstanceBeta indicates an expected call of GetInstanceBeta.

func (*MockclientImplMockRecorder) GetLicense

func (mr *MockclientImplMockRecorder) GetLicense(project, name interface{}) *gomock.Call

GetLicense indicates an expected call of GetLicense.

func (*MockclientImplMockRecorder) GetMachineImage

func (mr *MockclientImplMockRecorder) GetMachineImage(project, name interface{}) *gomock.Call

GetMachineImage indicates an expected call of GetMachineImage.

func (*MockclientImplMockRecorder) GetMachineType

func (mr *MockclientImplMockRecorder) GetMachineType(project, zone, machineType interface{}) *gomock.Call

GetMachineType indicates an expected call of GetMachineType.

func (*MockclientImplMockRecorder) GetNetwork

func (mr *MockclientImplMockRecorder) GetNetwork(project, name interface{}) *gomock.Call

GetNetwork indicates an expected call of GetNetwork.

func (*MockclientImplMockRecorder) GetProject

func (mr *MockclientImplMockRecorder) GetProject(project interface{}) *gomock.Call

GetProject indicates an expected call of GetProject.

func (*MockclientImplMockRecorder) GetRegion

func (mr *MockclientImplMockRecorder) GetRegion(project, region interface{}) *gomock.Call

GetRegion indicates an expected call of GetRegion.

func (*MockclientImplMockRecorder) GetSerialPortOutput

func (mr *MockclientImplMockRecorder) GetSerialPortOutput(project, zone, name, port, start interface{}) *gomock.Call

GetSerialPortOutput indicates an expected call of GetSerialPortOutput.

func (*MockclientImplMockRecorder) GetSnapshot

func (mr *MockclientImplMockRecorder) GetSnapshot(project, name interface{}) *gomock.Call

GetSnapshot indicates an expected call of GetSnapshot.

func (*MockclientImplMockRecorder) GetSubnetwork

func (mr *MockclientImplMockRecorder) GetSubnetwork(project, region, name interface{}) *gomock.Call

GetSubnetwork indicates an expected call of GetSubnetwork.

func (*MockclientImplMockRecorder) GetTargetInstance

func (mr *MockclientImplMockRecorder) GetTargetInstance(project, zone, name interface{}) *gomock.Call

GetTargetInstance indicates an expected call of GetTargetInstance.

func (*MockclientImplMockRecorder) GetZone

func (mr *MockclientImplMockRecorder) GetZone(project, zone interface{}) *gomock.Call

GetZone indicates an expected call of GetZone.

func (*MockclientImplMockRecorder) InstanceStatus

func (mr *MockclientImplMockRecorder) InstanceStatus(project, zone, name interface{}) *gomock.Call

InstanceStatus indicates an expected call of InstanceStatus.

func (*MockclientImplMockRecorder) InstanceStopped

func (mr *MockclientImplMockRecorder) InstanceStopped(project, zone, name interface{}) *gomock.Call

InstanceStopped indicates an expected call of InstanceStopped.

func (*MockclientImplMockRecorder) ListDisks

func (mr *MockclientImplMockRecorder) ListDisks(project, zone interface{}, opts ...interface{}) *gomock.Call

ListDisks indicates an expected call of ListDisks.

func (*MockclientImplMockRecorder) ListFirewallRules

func (mr *MockclientImplMockRecorder) ListFirewallRules(project interface{}, opts ...interface{}) *gomock.Call

ListFirewallRules indicates an expected call of ListFirewallRules.

func (*MockclientImplMockRecorder) ListForwardingRules

func (mr *MockclientImplMockRecorder) ListForwardingRules(project, zone interface{}, opts ...interface{}) *gomock.Call

ListForwardingRules indicates an expected call of ListForwardingRules.

func (*MockclientImplMockRecorder) ListImages

func (mr *MockclientImplMockRecorder) ListImages(project interface{}, opts ...interface{}) *gomock.Call

ListImages indicates an expected call of ListImages.

func (*MockclientImplMockRecorder) ListImagesAlpha

func (mr *MockclientImplMockRecorder) ListImagesAlpha(project interface{}, opts ...interface{}) *gomock.Call

ListImagesAlpha indicates an expected call of ListImagesAlpha.

func (*MockclientImplMockRecorder) ListInstances

func (mr *MockclientImplMockRecorder) ListInstances(project, zone interface{}, opts ...interface{}) *gomock.Call

ListInstances indicates an expected call of ListInstances.

func (*MockclientImplMockRecorder) ListLicenses

func (mr *MockclientImplMockRecorder) ListLicenses(project interface{}, opts ...interface{}) *gomock.Call

ListLicenses indicates an expected call of ListLicenses.

func (*MockclientImplMockRecorder) ListMachineImages

func (mr *MockclientImplMockRecorder) ListMachineImages(project interface{}, opts ...interface{}) *gomock.Call

ListMachineImages indicates an expected call of ListMachineImages.

func (*MockclientImplMockRecorder) ListMachineTypes

func (mr *MockclientImplMockRecorder) ListMachineTypes(project, zone interface{}, opts ...interface{}) *gomock.Call

ListMachineTypes indicates an expected call of ListMachineTypes.

func (*MockclientImplMockRecorder) ListNetworks

func (mr *MockclientImplMockRecorder) ListNetworks(project interface{}, opts ...interface{}) *gomock.Call

ListNetworks indicates an expected call of ListNetworks.

func (*MockclientImplMockRecorder) ListRegions

func (mr *MockclientImplMockRecorder) ListRegions(project interface{}, opts ...interface{}) *gomock.Call

ListRegions indicates an expected call of ListRegions.

func (*MockclientImplMockRecorder) ListSnapshots

func (mr *MockclientImplMockRecorder) ListSnapshots(project interface{}, opts ...interface{}) *gomock.Call

ListSnapshots indicates an expected call of ListSnapshots.

func (*MockclientImplMockRecorder) ListSubnetworks

func (mr *MockclientImplMockRecorder) ListSubnetworks(project, region interface{}, opts ...interface{}) *gomock.Call

ListSubnetworks indicates an expected call of ListSubnetworks.

func (*MockclientImplMockRecorder) ListTargetInstances

func (mr *MockclientImplMockRecorder) ListTargetInstances(project, zone interface{}, opts ...interface{}) *gomock.Call

ListTargetInstances indicates an expected call of ListTargetInstances.

func (*MockclientImplMockRecorder) ListZones

func (mr *MockclientImplMockRecorder) ListZones(project interface{}, opts ...interface{}) *gomock.Call

ListZones indicates an expected call of ListZones.

func (*MockclientImplMockRecorder) ResizeDisk

func (mr *MockclientImplMockRecorder) ResizeDisk(project, zone, disk, drr interface{}) *gomock.Call

ResizeDisk indicates an expected call of ResizeDisk.

func (*MockclientImplMockRecorder) Retry

func (mr *MockclientImplMockRecorder) Retry(f interface{}, opts ...interface{}) *gomock.Call

Retry indicates an expected call of Retry.

func (*MockclientImplMockRecorder) RetryBeta

func (mr *MockclientImplMockRecorder) RetryBeta(f interface{}, opts ...interface{}) *gomock.Call

RetryBeta indicates an expected call of RetryBeta.

func (*MockclientImplMockRecorder) SetCommonInstanceMetadata

func (mr *MockclientImplMockRecorder) SetCommonInstanceMetadata(project, md interface{}) *gomock.Call

SetCommonInstanceMetadata indicates an expected call of SetCommonInstanceMetadata.

func (*MockclientImplMockRecorder) SetDiskAutoDelete

func (mr *MockclientImplMockRecorder) SetDiskAutoDelete(project, zone, instance, autoDelete, deviceName interface{}) *gomock.Call

SetDiskAutoDelete indicates an expected call of SetDiskAutoDelete.

func (*MockclientImplMockRecorder) SetInstanceMetadata

func (mr *MockclientImplMockRecorder) SetInstanceMetadata(project, zone, name, md interface{}) *gomock.Call

SetInstanceMetadata indicates an expected call of SetInstanceMetadata.

func (*MockclientImplMockRecorder) StartInstance

func (mr *MockclientImplMockRecorder) StartInstance(project, zone, name interface{}) *gomock.Call

StartInstance indicates an expected call of StartInstance.

func (*MockclientImplMockRecorder) StopInstance

func (mr *MockclientImplMockRecorder) StopInstance(project, zone, name interface{}) *gomock.Call

StopInstance indicates an expected call of StopInstance.

Jump to

Keyboard shortcuts

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