mocks

package
v0.0.0-...-cf01e4d Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

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 MockBlockChecker

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

MockBlockChecker is a mock of BlockChecker interface.

func NewMockBlockChecker

func NewMockBlockChecker(ctrl *gomock.Controller) *MockBlockChecker

NewMockBlockChecker creates a new mock instance.

func (*MockBlockChecker) ChangeAllowed

func (m *MockBlockChecker) ChangeAllowed() error

ChangeAllowed mocks base method.

func (*MockBlockChecker) EXPECT

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

func (*MockBlockChecker) RemoveAllowed

func (m *MockBlockChecker) RemoveAllowed() error

RemoveAllowed mocks base method.

type MockBlockCheckerMockRecorder

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

MockBlockCheckerMockRecorder is the mock recorder for MockBlockChecker.

func (*MockBlockCheckerMockRecorder) ChangeAllowed

func (mr *MockBlockCheckerMockRecorder) ChangeAllowed() *gomock.Call

ChangeAllowed indicates an expected call of ChangeAllowed.

func (*MockBlockCheckerMockRecorder) RemoveAllowed

func (mr *MockBlockCheckerMockRecorder) RemoveAllowed() *gomock.Call

RemoveAllowed indicates an expected call of RemoveAllowed.

type MockModel

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

MockModel is a mock of Model interface.

func NewMockModel

func NewMockModel(ctrl *gomock.Controller) *MockModel

NewMockModel creates a new mock instance.

func (*MockModel) EXPECT

func (m *MockModel) EXPECT() *MockModelMockRecorder

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

func (*MockModel) ModelConfig

func (m *MockModel) ModelConfig() (*config.Config, error)

ModelConfig mocks base method.

func (*MockModel) ModelTag

func (m *MockModel) ModelTag() names.ModelTag

ModelTag mocks base method.

func (*MockModel) UpdateModelConfig

func (m *MockModel) UpdateModelConfig(arg0 map[string]any, arg1 []string, arg2 ...state.ValidateConfigFunc) error

UpdateModelConfig mocks base method.

type MockModelMockRecorder

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

MockModelMockRecorder is the mock recorder for MockModel.

func (*MockModelMockRecorder) ModelConfig

func (mr *MockModelMockRecorder) ModelConfig() *gomock.Call

ModelConfig indicates an expected call of ModelConfig.

func (*MockModelMockRecorder) ModelTag

func (mr *MockModelMockRecorder) ModelTag() *gomock.Call

ModelTag indicates an expected call of ModelTag.

func (*MockModelMockRecorder) UpdateModelConfig

func (mr *MockModelMockRecorder) UpdateModelConfig(arg0, arg1 any, arg2 ...any) *gomock.Call

UpdateModelConfig indicates an expected call of UpdateModelConfig.

Jump to

Keyboard shortcuts

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