fake

package
v0.19.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockMachineSetDeployer

type MockMachineSetDeployer struct {
	mock.Mock
}

MockMachineSetDeployer is an autogenerated mock type for the MachineSetDeployer type

func NewMockMachineSetDeployer

func NewMockMachineSetDeployer(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockMachineSetDeployer

NewMockMachineSetDeployer creates a new instance of MockMachineSetDeployer. 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 (*MockMachineSetDeployer) Delete

func (_m *MockMachineSetDeployer) Delete(machineSet *unstructured.Unstructured) error

Delete provides a mock function with given fields: machineSet

func (*MockMachineSetDeployer) DeleteByName added in v0.13.4

func (_m *MockMachineSetDeployer) DeleteByName(name string, namespace string) error

DeleteByName provides a mock function with given fields: name, namespace

func (*MockMachineSetDeployer) Deploy

func (_m *MockMachineSetDeployer) Deploy(machineSet *unstructured.Unstructured) error

Deploy provides a mock function with given fields: machineSet

func (*MockMachineSetDeployer) EXPECT

func (*MockMachineSetDeployer) GetWorkerNodeImage

func (_m *MockMachineSetDeployer) GetWorkerNodeImage(machineSet *unstructured.Unstructured, infraID string) (string, error)

GetWorkerNodeImage provides a mock function with given fields: machineSet, infraID

func (*MockMachineSetDeployer) List added in v0.13.4

List provides a mock function with given fields:

type MockMachineSetDeployer_DeleteByName_Call added in v0.19.0

type MockMachineSetDeployer_DeleteByName_Call struct {
	*mock.Call
}

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

func (*MockMachineSetDeployer_DeleteByName_Call) Return added in v0.19.0

func (*MockMachineSetDeployer_DeleteByName_Call) Run added in v0.19.0

func (*MockMachineSetDeployer_DeleteByName_Call) RunAndReturn added in v0.19.0

type MockMachineSetDeployer_Delete_Call added in v0.19.0

type MockMachineSetDeployer_Delete_Call struct {
	*mock.Call
}

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

func (*MockMachineSetDeployer_Delete_Call) Return added in v0.19.0

func (*MockMachineSetDeployer_Delete_Call) Run added in v0.19.0

func (*MockMachineSetDeployer_Delete_Call) RunAndReturn added in v0.19.0

type MockMachineSetDeployer_Deploy_Call added in v0.19.0

type MockMachineSetDeployer_Deploy_Call struct {
	*mock.Call
}

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

func (*MockMachineSetDeployer_Deploy_Call) Return added in v0.19.0

func (*MockMachineSetDeployer_Deploy_Call) Run added in v0.19.0

func (*MockMachineSetDeployer_Deploy_Call) RunAndReturn added in v0.19.0

type MockMachineSetDeployer_Expecter added in v0.19.0

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

func (*MockMachineSetDeployer_Expecter) Delete added in v0.19.0

func (_e *MockMachineSetDeployer_Expecter) Delete(machineSet interface{}) *MockMachineSetDeployer_Delete_Call

Delete is a helper method to define mock.On call

  • machineSet *unstructured.Unstructured

func (*MockMachineSetDeployer_Expecter) DeleteByName added in v0.19.0

func (_e *MockMachineSetDeployer_Expecter) DeleteByName(name interface{}, namespace interface{}) *MockMachineSetDeployer_DeleteByName_Call

DeleteByName is a helper method to define mock.On call

  • name string
  • namespace string

func (*MockMachineSetDeployer_Expecter) Deploy added in v0.19.0

func (_e *MockMachineSetDeployer_Expecter) Deploy(machineSet interface{}) *MockMachineSetDeployer_Deploy_Call

Deploy is a helper method to define mock.On call

  • machineSet *unstructured.Unstructured

func (*MockMachineSetDeployer_Expecter) GetWorkerNodeImage added in v0.19.0

func (_e *MockMachineSetDeployer_Expecter) GetWorkerNodeImage(machineSet interface{}, infraID interface{}) *MockMachineSetDeployer_GetWorkerNodeImage_Call

GetWorkerNodeImage is a helper method to define mock.On call

  • machineSet *unstructured.Unstructured
  • infraID string

func (*MockMachineSetDeployer_Expecter) List added in v0.19.0

List is a helper method to define mock.On call

type MockMachineSetDeployer_GetWorkerNodeImage_Call added in v0.19.0

type MockMachineSetDeployer_GetWorkerNodeImage_Call struct {
	*mock.Call
}

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

func (*MockMachineSetDeployer_GetWorkerNodeImage_Call) Return added in v0.19.0

func (*MockMachineSetDeployer_GetWorkerNodeImage_Call) Run added in v0.19.0

func (*MockMachineSetDeployer_GetWorkerNodeImage_Call) RunAndReturn added in v0.19.0

type MockMachineSetDeployer_List_Call added in v0.19.0

type MockMachineSetDeployer_List_Call struct {
	*mock.Call
}

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

func (*MockMachineSetDeployer_List_Call) Return added in v0.19.0

func (*MockMachineSetDeployer_List_Call) Run added in v0.19.0

func (*MockMachineSetDeployer_List_Call) RunAndReturn added in v0.19.0

Jump to

Keyboard shortcuts

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