mock_lifecycle

package
v1.4.6 Latest Latest
Warning

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

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

Documentation

Overview

Package mock_lifecycle is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockController

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

MockController is a mock of Controller interface.

func NewMockController

func NewMockController(ctrl *gomock.Controller) *MockController

NewMockController creates a new mock instance.

func (*MockController) AddPod

func (m *MockController) AddPod(arg0 lifecycle.Job) error

AddPod mocks base method.

func (*MockController) AllAdded

func (m *MockController) AllAdded(arg0 string) error

AllAdded mocks base method.

func (*MockController) Config

func (m *MockController) Config() config.Config

Config mocks base method.

func (*MockController) EXPECT

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

func (*MockController) Has

func (m *MockController) Has(arg0, arg1 string) bool

Has mocks base method.

func (*MockController) NewExecution

func (m *MockController) NewExecution(arg0 int) string

NewExecution mocks base method.

func (*MockController) PodTerminated

func (m *MockController) PodTerminated(arg0, arg1 string, arg2 v1.PodPhase) error

PodTerminated mocks base method.

func (*MockController) ReportReceived

func (m *MockController) ReportReceived(arg0, arg1 string, arg2 error, arg3 metrics.Results)

ReportReceived mocks base method.

type MockControllerMockRecorder

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

MockControllerMockRecorder is the mock recorder for MockController.

func (*MockControllerMockRecorder) AddPod

func (mr *MockControllerMockRecorder) AddPod(arg0 any) *gomock.Call

AddPod indicates an expected call of AddPod.

func (*MockControllerMockRecorder) AllAdded

func (mr *MockControllerMockRecorder) AllAdded(arg0 any) *gomock.Call

AllAdded indicates an expected call of AllAdded.

func (*MockControllerMockRecorder) Config

func (mr *MockControllerMockRecorder) Config() *gomock.Call

Config indicates an expected call of Config.

func (*MockControllerMockRecorder) Has

func (mr *MockControllerMockRecorder) Has(arg0, arg1 any) *gomock.Call

Has indicates an expected call of Has.

func (*MockControllerMockRecorder) NewExecution

func (mr *MockControllerMockRecorder) NewExecution(arg0 any) *gomock.Call

NewExecution indicates an expected call of NewExecution.

func (*MockControllerMockRecorder) PodTerminated

func (mr *MockControllerMockRecorder) PodTerminated(arg0, arg1, arg2 any) *gomock.Call

PodTerminated indicates an expected call of PodTerminated.

func (*MockControllerMockRecorder) ReportReceived

func (mr *MockControllerMockRecorder) ReportReceived(arg0, arg1, arg2, arg3 any) *gomock.Call

ReportReceived indicates an expected call of ReportReceived.

Jump to

Keyboard shortcuts

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