mocks

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCloseableClient

type MockCloseableClient struct {
	mock.Mock
}

MockCloseableClient is an autogenerated mock type for the CloseableClient type

func NewMockCloseableClient

func NewMockCloseableClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockCloseableClient

NewMockCloseableClient creates a new instance of MockCloseableClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockCloseableClient) Close

func (_m *MockCloseableClient) Close() error

Close provides a mock function with given fields:

func (*MockCloseableClient) EXPECT

type MockCloseableClient_Close_Call

type MockCloseableClient_Close_Call struct {
	*mock.Call
}

MockCloseableClient_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'

func (*MockCloseableClient_Close_Call) Return

func (*MockCloseableClient_Close_Call) Run

func (*MockCloseableClient_Close_Call) RunAndReturn

type MockCloseableClient_Expecter

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

func (*MockCloseableClient_Expecter) Close

Close is a helper method to define mock.On call

type MockGCPClienter

type MockGCPClienter struct {
	mock.Mock
}

MockGCPClienter is an autogenerated mock type for the GCPClienter type

func NewMockGCPClienter

func NewMockGCPClienter(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockGCPClienter

NewMockGCPClienter creates a new instance of MockGCPClienter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockGCPClienter) CheckAuthentication

func (_m *MockGCPClienter) CheckAuthentication(ctx context.Context) error

CheckAuthentication provides a mock function with given fields: ctx

func (*MockGCPClienter) CheckFirewallRuleExists

func (_m *MockGCPClienter) CheckFirewallRuleExists(ctx context.Context, projectID string, ruleName string) error

CheckFirewallRuleExists provides a mock function with given fields: ctx, projectID, ruleName

func (*MockGCPClienter) CheckPermissions

func (_m *MockGCPClienter) CheckPermissions(ctx context.Context) error

CheckPermissions provides a mock function with given fields: ctx

func (*MockGCPClienter) CreateFirewallRules

func (_m *MockGCPClienter) CreateFirewallRules(ctx context.Context, networkName string) error

CreateFirewallRules provides a mock function with given fields: ctx, networkName

func (*MockGCPClienter) CreateIP

func (_m *MockGCPClienter) CreateIP(ctx context.Context, projectID string, location string, addressName string) (string, error)

CreateIP provides a mock function with given fields: ctx, projectID, location, addressName

func (*MockGCPClienter) CreateServiceAccount

func (_m *MockGCPClienter) CreateServiceAccount(ctx context.Context, projectID string) (*iam.ServiceAccount, error)

CreateServiceAccount provides a mock function with given fields: ctx, projectID

func (*MockGCPClienter) CreateVM

func (_m *MockGCPClienter) CreateVM(ctx context.Context, projectID string, machine models.Machiner) (*computepb.Instance, error)

CreateVM provides a mock function with given fields: ctx, projectID, machine

func (*MockGCPClienter) CreateVPCNetwork

func (_m *MockGCPClienter) CreateVPCNetwork(ctx context.Context, networkName string) error

CreateVPCNetwork provides a mock function with given fields: ctx, networkName

func (*MockGCPClienter) DestroyProject

func (_m *MockGCPClienter) DestroyProject(ctx context.Context, projectID string) error

DestroyProject provides a mock function with given fields: ctx, projectID

func (*MockGCPClienter) EXPECT

func (*MockGCPClienter) EnableAPI

func (_m *MockGCPClienter) EnableAPI(ctx context.Context, projectID string, apiName string) error

EnableAPI provides a mock function with given fields: ctx, projectID, apiName

func (*MockGCPClienter) EnsureFirewallRules

func (_m *MockGCPClienter) EnsureFirewallRules(ctx context.Context, networkName string) error

EnsureFirewallRules provides a mock function with given fields: ctx, networkName

func (*MockGCPClienter) EnsureProject

func (_m *MockGCPClienter) EnsureProject(ctx context.Context, organizationID string, projectID string, billingAccountID string) (string, error)

EnsureProject provides a mock function with given fields: ctx, organizationID, projectID, billingAccountID

func (*MockGCPClienter) EnsureVPCNetwork

func (_m *MockGCPClienter) EnsureVPCNetwork(ctx context.Context, networkName string) error

EnsureVPCNetwork provides a mock function with given fields: ctx, networkName

func (*MockGCPClienter) GetParentString

func (_m *MockGCPClienter) GetParentString() string

GetParentString provides a mock function with given fields:

func (*MockGCPClienter) GetVMExternalIP

func (_m *MockGCPClienter) GetVMExternalIP(ctx context.Context, vmName string, locationData map[string]string) (string, error)

GetVMExternalIP provides a mock function with given fields: ctx, vmName, locationData

func (*MockGCPClienter) GetVMZone

func (_m *MockGCPClienter) GetVMZone(ctx context.Context, projectID string, vmName string) (string, error)

GetVMZone provides a mock function with given fields: ctx, projectID, vmName

func (*MockGCPClienter) IsAPIEnabled

func (_m *MockGCPClienter) IsAPIEnabled(ctx context.Context, projectID string, apiName string) (bool, error)

IsAPIEnabled provides a mock function with given fields: ctx, projectID, apiName

func (*MockGCPClienter) ListAllAssetsInProject

func (_m *MockGCPClienter) ListAllAssetsInProject(ctx context.Context, projectID string) ([]*assetpb.Asset, error)

ListAllAssetsInProject provides a mock function with given fields: ctx, projectID

func (*MockGCPClienter) ListBillingAccounts

func (_m *MockGCPClienter) ListBillingAccounts(ctx context.Context) ([]string, error)

ListBillingAccounts provides a mock function with given fields: ctx

func (*MockGCPClienter) ListProjects

ListProjects provides a mock function with given fields: ctx, req

func (*MockGCPClienter) ProjectExists

func (_m *MockGCPClienter) ProjectExists(ctx context.Context, projectID string) (bool, error)

ProjectExists provides a mock function with given fields: ctx, projectID

func (*MockGCPClienter) SetBillingAccount

func (_m *MockGCPClienter) SetBillingAccount(ctx context.Context, projectID string, billingAccountID string) error

SetBillingAccount provides a mock function with given fields: ctx, projectID, billingAccountID

func (*MockGCPClienter) SetParentString

func (_m *MockGCPClienter) SetParentString(organizationID string)

SetParentString provides a mock function with given fields: organizationID

func (*MockGCPClienter) StartResourcePolling

func (_m *MockGCPClienter) StartResourcePolling(ctx context.Context) error

StartResourcePolling provides a mock function with given fields: ctx

func (*MockGCPClienter) ValidateMachineType

func (_m *MockGCPClienter) ValidateMachineType(ctx context.Context, machineType string, location string) (bool, error)

ValidateMachineType provides a mock function with given fields: ctx, machineType, location

type MockGCPClienter_CheckAuthentication_Call

type MockGCPClienter_CheckAuthentication_Call struct {
	*mock.Call
}

MockGCPClienter_CheckAuthentication_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckAuthentication'

func (*MockGCPClienter_CheckAuthentication_Call) Return

func (*MockGCPClienter_CheckAuthentication_Call) Run

func (*MockGCPClienter_CheckAuthentication_Call) RunAndReturn

type MockGCPClienter_CheckFirewallRuleExists_Call

type MockGCPClienter_CheckFirewallRuleExists_Call struct {
	*mock.Call
}

MockGCPClienter_CheckFirewallRuleExists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckFirewallRuleExists'

func (*MockGCPClienter_CheckFirewallRuleExists_Call) Return

func (*MockGCPClienter_CheckFirewallRuleExists_Call) Run

func (*MockGCPClienter_CheckFirewallRuleExists_Call) RunAndReturn

type MockGCPClienter_CheckPermissions_Call

type MockGCPClienter_CheckPermissions_Call struct {
	*mock.Call
}

MockGCPClienter_CheckPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckPermissions'

func (*MockGCPClienter_CheckPermissions_Call) Return

func (*MockGCPClienter_CheckPermissions_Call) Run

func (*MockGCPClienter_CheckPermissions_Call) RunAndReturn

type MockGCPClienter_CreateFirewallRules_Call

type MockGCPClienter_CreateFirewallRules_Call struct {
	*mock.Call
}

MockGCPClienter_CreateFirewallRules_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateFirewallRules'

func (*MockGCPClienter_CreateFirewallRules_Call) Return

func (*MockGCPClienter_CreateFirewallRules_Call) Run

func (*MockGCPClienter_CreateFirewallRules_Call) RunAndReturn

type MockGCPClienter_CreateIP_Call

type MockGCPClienter_CreateIP_Call struct {
	*mock.Call
}

MockGCPClienter_CreateIP_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateIP'

func (*MockGCPClienter_CreateIP_Call) Return

func (*MockGCPClienter_CreateIP_Call) Run

func (_c *MockGCPClienter_CreateIP_Call) Run(run func(ctx context.Context, projectID string, location string, addressName string)) *MockGCPClienter_CreateIP_Call

func (*MockGCPClienter_CreateIP_Call) RunAndReturn

type MockGCPClienter_CreateServiceAccount_Call

type MockGCPClienter_CreateServiceAccount_Call struct {
	*mock.Call
}

MockGCPClienter_CreateServiceAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateServiceAccount'

func (*MockGCPClienter_CreateServiceAccount_Call) Return

func (*MockGCPClienter_CreateServiceAccount_Call) Run

func (*MockGCPClienter_CreateServiceAccount_Call) RunAndReturn

type MockGCPClienter_CreateVM_Call

type MockGCPClienter_CreateVM_Call struct {
	*mock.Call
}

MockGCPClienter_CreateVM_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateVM'

func (*MockGCPClienter_CreateVM_Call) Return

func (*MockGCPClienter_CreateVM_Call) Run

func (*MockGCPClienter_CreateVM_Call) RunAndReturn

type MockGCPClienter_CreateVPCNetwork_Call

type MockGCPClienter_CreateVPCNetwork_Call struct {
	*mock.Call
}

MockGCPClienter_CreateVPCNetwork_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateVPCNetwork'

func (*MockGCPClienter_CreateVPCNetwork_Call) Return

func (*MockGCPClienter_CreateVPCNetwork_Call) Run

func (*MockGCPClienter_CreateVPCNetwork_Call) RunAndReturn

type MockGCPClienter_DestroyProject_Call

type MockGCPClienter_DestroyProject_Call struct {
	*mock.Call
}

MockGCPClienter_DestroyProject_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DestroyProject'

func (*MockGCPClienter_DestroyProject_Call) Return

func (*MockGCPClienter_DestroyProject_Call) Run

func (*MockGCPClienter_DestroyProject_Call) RunAndReturn

type MockGCPClienter_EnableAPI_Call

type MockGCPClienter_EnableAPI_Call struct {
	*mock.Call
}

MockGCPClienter_EnableAPI_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnableAPI'

func (*MockGCPClienter_EnableAPI_Call) Return

func (*MockGCPClienter_EnableAPI_Call) Run

func (_c *MockGCPClienter_EnableAPI_Call) Run(run func(ctx context.Context, projectID string, apiName string)) *MockGCPClienter_EnableAPI_Call

func (*MockGCPClienter_EnableAPI_Call) RunAndReturn

type MockGCPClienter_EnsureFirewallRules_Call

type MockGCPClienter_EnsureFirewallRules_Call struct {
	*mock.Call
}

MockGCPClienter_EnsureFirewallRules_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnsureFirewallRules'

func (*MockGCPClienter_EnsureFirewallRules_Call) Return

func (*MockGCPClienter_EnsureFirewallRules_Call) Run

func (*MockGCPClienter_EnsureFirewallRules_Call) RunAndReturn

type MockGCPClienter_EnsureProject_Call

type MockGCPClienter_EnsureProject_Call struct {
	*mock.Call
}

MockGCPClienter_EnsureProject_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnsureProject'

func (*MockGCPClienter_EnsureProject_Call) Return

func (*MockGCPClienter_EnsureProject_Call) Run

func (_c *MockGCPClienter_EnsureProject_Call) Run(run func(ctx context.Context, organizationID string, projectID string, billingAccountID string)) *MockGCPClienter_EnsureProject_Call

func (*MockGCPClienter_EnsureProject_Call) RunAndReturn

type MockGCPClienter_EnsureVPCNetwork_Call

type MockGCPClienter_EnsureVPCNetwork_Call struct {
	*mock.Call
}

MockGCPClienter_EnsureVPCNetwork_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnsureVPCNetwork'

func (*MockGCPClienter_EnsureVPCNetwork_Call) Return

func (*MockGCPClienter_EnsureVPCNetwork_Call) Run

func (*MockGCPClienter_EnsureVPCNetwork_Call) RunAndReturn

type MockGCPClienter_Expecter

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

func (*MockGCPClienter_Expecter) CheckAuthentication

func (_e *MockGCPClienter_Expecter) CheckAuthentication(ctx interface{}) *MockGCPClienter_CheckAuthentication_Call

CheckAuthentication is a helper method to define mock.On call

  • ctx context.Context

func (*MockGCPClienter_Expecter) CheckFirewallRuleExists

func (_e *MockGCPClienter_Expecter) CheckFirewallRuleExists(ctx interface{}, projectID interface{}, ruleName interface{}) *MockGCPClienter_CheckFirewallRuleExists_Call

CheckFirewallRuleExists is a helper method to define mock.On call

  • ctx context.Context
  • projectID string
  • ruleName string

func (*MockGCPClienter_Expecter) CheckPermissions

func (_e *MockGCPClienter_Expecter) CheckPermissions(ctx interface{}) *MockGCPClienter_CheckPermissions_Call

CheckPermissions is a helper method to define mock.On call

  • ctx context.Context

func (*MockGCPClienter_Expecter) CreateFirewallRules

func (_e *MockGCPClienter_Expecter) CreateFirewallRules(ctx interface{}, networkName interface{}) *MockGCPClienter_CreateFirewallRules_Call

CreateFirewallRules is a helper method to define mock.On call

  • ctx context.Context
  • networkName string

func (*MockGCPClienter_Expecter) CreateIP

func (_e *MockGCPClienter_Expecter) CreateIP(ctx interface{}, projectID interface{}, location interface{}, addressName interface{}) *MockGCPClienter_CreateIP_Call

CreateIP is a helper method to define mock.On call

  • ctx context.Context
  • projectID string
  • location string
  • addressName string

func (*MockGCPClienter_Expecter) CreateServiceAccount

func (_e *MockGCPClienter_Expecter) CreateServiceAccount(ctx interface{}, projectID interface{}) *MockGCPClienter_CreateServiceAccount_Call

CreateServiceAccount is a helper method to define mock.On call

  • ctx context.Context
  • projectID string

func (*MockGCPClienter_Expecter) CreateVM

func (_e *MockGCPClienter_Expecter) CreateVM(ctx interface{}, projectID interface{}, machine interface{}) *MockGCPClienter_CreateVM_Call

CreateVM is a helper method to define mock.On call

  • ctx context.Context
  • projectID string
  • machine models.Machiner

func (*MockGCPClienter_Expecter) CreateVPCNetwork

func (_e *MockGCPClienter_Expecter) CreateVPCNetwork(ctx interface{}, networkName interface{}) *MockGCPClienter_CreateVPCNetwork_Call

CreateVPCNetwork is a helper method to define mock.On call

  • ctx context.Context
  • networkName string

func (*MockGCPClienter_Expecter) DestroyProject

func (_e *MockGCPClienter_Expecter) DestroyProject(ctx interface{}, projectID interface{}) *MockGCPClienter_DestroyProject_Call

DestroyProject is a helper method to define mock.On call

  • ctx context.Context
  • projectID string

func (*MockGCPClienter_Expecter) EnableAPI

func (_e *MockGCPClienter_Expecter) EnableAPI(ctx interface{}, projectID interface{}, apiName interface{}) *MockGCPClienter_EnableAPI_Call

EnableAPI is a helper method to define mock.On call

  • ctx context.Context
  • projectID string
  • apiName string

func (*MockGCPClienter_Expecter) EnsureFirewallRules

func (_e *MockGCPClienter_Expecter) EnsureFirewallRules(ctx interface{}, networkName interface{}) *MockGCPClienter_EnsureFirewallRules_Call

EnsureFirewallRules is a helper method to define mock.On call

  • ctx context.Context
  • networkName string

func (*MockGCPClienter_Expecter) EnsureProject

func (_e *MockGCPClienter_Expecter) EnsureProject(ctx interface{}, organizationID interface{}, projectID interface{}, billingAccountID interface{}) *MockGCPClienter_EnsureProject_Call

EnsureProject is a helper method to define mock.On call

  • ctx context.Context
  • organizationID string
  • projectID string
  • billingAccountID string

func (*MockGCPClienter_Expecter) EnsureVPCNetwork

func (_e *MockGCPClienter_Expecter) EnsureVPCNetwork(ctx interface{}, networkName interface{}) *MockGCPClienter_EnsureVPCNetwork_Call

EnsureVPCNetwork is a helper method to define mock.On call

  • ctx context.Context
  • networkName string

func (*MockGCPClienter_Expecter) GetParentString

GetParentString is a helper method to define mock.On call

func (*MockGCPClienter_Expecter) GetVMExternalIP

func (_e *MockGCPClienter_Expecter) GetVMExternalIP(ctx interface{}, vmName interface{}, locationData interface{}) *MockGCPClienter_GetVMExternalIP_Call

GetVMExternalIP is a helper method to define mock.On call

  • ctx context.Context
  • vmName string
  • locationData map[string]string

func (*MockGCPClienter_Expecter) GetVMZone

func (_e *MockGCPClienter_Expecter) GetVMZone(ctx interface{}, projectID interface{}, vmName interface{}) *MockGCPClienter_GetVMZone_Call

GetVMZone is a helper method to define mock.On call

  • ctx context.Context
  • projectID string
  • vmName string

func (*MockGCPClienter_Expecter) IsAPIEnabled

func (_e *MockGCPClienter_Expecter) IsAPIEnabled(ctx interface{}, projectID interface{}, apiName interface{}) *MockGCPClienter_IsAPIEnabled_Call

IsAPIEnabled is a helper method to define mock.On call

  • ctx context.Context
  • projectID string
  • apiName string

func (*MockGCPClienter_Expecter) ListAllAssetsInProject

func (_e *MockGCPClienter_Expecter) ListAllAssetsInProject(ctx interface{}, projectID interface{}) *MockGCPClienter_ListAllAssetsInProject_Call

ListAllAssetsInProject is a helper method to define mock.On call

  • ctx context.Context
  • projectID string

func (*MockGCPClienter_Expecter) ListBillingAccounts

func (_e *MockGCPClienter_Expecter) ListBillingAccounts(ctx interface{}) *MockGCPClienter_ListBillingAccounts_Call

ListBillingAccounts is a helper method to define mock.On call

  • ctx context.Context

func (*MockGCPClienter_Expecter) ListProjects

func (_e *MockGCPClienter_Expecter) ListProjects(ctx interface{}, req interface{}) *MockGCPClienter_ListProjects_Call

ListProjects is a helper method to define mock.On call

  • ctx context.Context
  • req *resourcemanagerpb.ListProjectsRequest

func (*MockGCPClienter_Expecter) ProjectExists

func (_e *MockGCPClienter_Expecter) ProjectExists(ctx interface{}, projectID interface{}) *MockGCPClienter_ProjectExists_Call

ProjectExists is a helper method to define mock.On call

  • ctx context.Context
  • projectID string

func (*MockGCPClienter_Expecter) SetBillingAccount

func (_e *MockGCPClienter_Expecter) SetBillingAccount(ctx interface{}, projectID interface{}, billingAccountID interface{}) *MockGCPClienter_SetBillingAccount_Call

SetBillingAccount is a helper method to define mock.On call

  • ctx context.Context
  • projectID string
  • billingAccountID string

func (*MockGCPClienter_Expecter) SetParentString

func (_e *MockGCPClienter_Expecter) SetParentString(organizationID interface{}) *MockGCPClienter_SetParentString_Call

SetParentString is a helper method to define mock.On call

  • organizationID string

func (*MockGCPClienter_Expecter) StartResourcePolling

func (_e *MockGCPClienter_Expecter) StartResourcePolling(ctx interface{}) *MockGCPClienter_StartResourcePolling_Call

StartResourcePolling is a helper method to define mock.On call

  • ctx context.Context

func (*MockGCPClienter_Expecter) ValidateMachineType

func (_e *MockGCPClienter_Expecter) ValidateMachineType(ctx interface{}, machineType interface{}, location interface{}) *MockGCPClienter_ValidateMachineType_Call

ValidateMachineType is a helper method to define mock.On call

  • ctx context.Context
  • machineType string
  • location string

type MockGCPClienter_GetParentString_Call

type MockGCPClienter_GetParentString_Call struct {
	*mock.Call
}

MockGCPClienter_GetParentString_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetParentString'

func (*MockGCPClienter_GetParentString_Call) Return

func (*MockGCPClienter_GetParentString_Call) Run

func (*MockGCPClienter_GetParentString_Call) RunAndReturn

type MockGCPClienter_GetVMExternalIP_Call

type MockGCPClienter_GetVMExternalIP_Call struct {
	*mock.Call
}

MockGCPClienter_GetVMExternalIP_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetVMExternalIP'

func (*MockGCPClienter_GetVMExternalIP_Call) Return

func (*MockGCPClienter_GetVMExternalIP_Call) Run

func (*MockGCPClienter_GetVMExternalIP_Call) RunAndReturn

type MockGCPClienter_GetVMZone_Call

type MockGCPClienter_GetVMZone_Call struct {
	*mock.Call
}

MockGCPClienter_GetVMZone_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetVMZone'

func (*MockGCPClienter_GetVMZone_Call) Return

func (*MockGCPClienter_GetVMZone_Call) Run

func (*MockGCPClienter_GetVMZone_Call) RunAndReturn

type MockGCPClienter_IsAPIEnabled_Call

type MockGCPClienter_IsAPIEnabled_Call struct {
	*mock.Call
}

MockGCPClienter_IsAPIEnabled_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsAPIEnabled'

func (*MockGCPClienter_IsAPIEnabled_Call) Return

func (*MockGCPClienter_IsAPIEnabled_Call) Run

func (*MockGCPClienter_IsAPIEnabled_Call) RunAndReturn

type MockGCPClienter_ListAllAssetsInProject_Call

type MockGCPClienter_ListAllAssetsInProject_Call struct {
	*mock.Call
}

MockGCPClienter_ListAllAssetsInProject_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAllAssetsInProject'

func (*MockGCPClienter_ListAllAssetsInProject_Call) Return

func (*MockGCPClienter_ListAllAssetsInProject_Call) Run

func (*MockGCPClienter_ListAllAssetsInProject_Call) RunAndReturn

type MockGCPClienter_ListBillingAccounts_Call

type MockGCPClienter_ListBillingAccounts_Call struct {
	*mock.Call
}

MockGCPClienter_ListBillingAccounts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListBillingAccounts'

func (*MockGCPClienter_ListBillingAccounts_Call) Return

func (*MockGCPClienter_ListBillingAccounts_Call) Run

func (*MockGCPClienter_ListBillingAccounts_Call) RunAndReturn

type MockGCPClienter_ListProjects_Call

type MockGCPClienter_ListProjects_Call struct {
	*mock.Call
}

MockGCPClienter_ListProjects_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListProjects'

func (*MockGCPClienter_ListProjects_Call) Return

func (*MockGCPClienter_ListProjects_Call) Run

type MockGCPClienter_ProjectExists_Call

type MockGCPClienter_ProjectExists_Call struct {
	*mock.Call
}

MockGCPClienter_ProjectExists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProjectExists'

func (*MockGCPClienter_ProjectExists_Call) Return

func (*MockGCPClienter_ProjectExists_Call) Run

func (*MockGCPClienter_ProjectExists_Call) RunAndReturn

type MockGCPClienter_SetBillingAccount_Call

type MockGCPClienter_SetBillingAccount_Call struct {
	*mock.Call
}

MockGCPClienter_SetBillingAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetBillingAccount'

func (*MockGCPClienter_SetBillingAccount_Call) Return

func (*MockGCPClienter_SetBillingAccount_Call) Run

func (*MockGCPClienter_SetBillingAccount_Call) RunAndReturn

type MockGCPClienter_SetParentString_Call

type MockGCPClienter_SetParentString_Call struct {
	*mock.Call
}

MockGCPClienter_SetParentString_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetParentString'

func (*MockGCPClienter_SetParentString_Call) Return

func (*MockGCPClienter_SetParentString_Call) Run

func (*MockGCPClienter_SetParentString_Call) RunAndReturn

type MockGCPClienter_StartResourcePolling_Call

type MockGCPClienter_StartResourcePolling_Call struct {
	*mock.Call
}

MockGCPClienter_StartResourcePolling_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartResourcePolling'

func (*MockGCPClienter_StartResourcePolling_Call) Return

func (*MockGCPClienter_StartResourcePolling_Call) Run

func (*MockGCPClienter_StartResourcePolling_Call) RunAndReturn

type MockGCPClienter_ValidateMachineType_Call

type MockGCPClienter_ValidateMachineType_Call struct {
	*mock.Call
}

MockGCPClienter_ValidateMachineType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ValidateMachineType'

func (*MockGCPClienter_ValidateMachineType_Call) Return

func (*MockGCPClienter_ValidateMachineType_Call) Run

func (*MockGCPClienter_ValidateMachineType_Call) RunAndReturn

Jump to

Keyboard shortcuts

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