mocks

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ValueService

type ValueService struct {
	mock.Mock
}

ValueService is an autogenerated mock type for the ValueService type

func NewValueService

func NewValueService(t interface {
	mock.TestingT
	Cleanup(func())
}) *ValueService

NewValueService creates a new instance of ValueService. 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 (*ValueService) EXPECT

func (_m *ValueService) EXPECT() *ValueService_Expecter

func (*ValueService) GetValue

GetValue provides a mock function with given fields: ctx, in, opts

func (*ValueService) GetValueByUniqueIdentifiers

func (_m *ValueService) GetValueByUniqueIdentifiers(ctx context.Context, in *v0.GetValueByUniqueIdentifiersRequest, opts ...client.CallOption) (*v0.GetValueResponse, error)

GetValueByUniqueIdentifiers provides a mock function with given fields: ctx, in, opts

func (*ValueService) ListValues

ListValues provides a mock function with given fields: ctx, in, opts

func (*ValueService) SaveValue

SaveValue provides a mock function with given fields: ctx, in, opts

type ValueService_Expecter

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

func (*ValueService_Expecter) GetValue

func (_e *ValueService_Expecter) GetValue(ctx interface{}, in interface{}, opts ...interface{}) *ValueService_GetValue_Call

GetValue is a helper method to define mock.On call

  • ctx context.Context
  • in *v0.GetValueRequest
  • opts ...client.CallOption

func (*ValueService_Expecter) GetValueByUniqueIdentifiers

func (_e *ValueService_Expecter) GetValueByUniqueIdentifiers(ctx interface{}, in interface{}, opts ...interface{}) *ValueService_GetValueByUniqueIdentifiers_Call

GetValueByUniqueIdentifiers is a helper method to define mock.On call

  • ctx context.Context
  • in *v0.GetValueByUniqueIdentifiersRequest
  • opts ...client.CallOption

func (*ValueService_Expecter) ListValues

func (_e *ValueService_Expecter) ListValues(ctx interface{}, in interface{}, opts ...interface{}) *ValueService_ListValues_Call

ListValues is a helper method to define mock.On call

  • ctx context.Context
  • in *v0.ListValuesRequest
  • opts ...client.CallOption

func (*ValueService_Expecter) SaveValue

func (_e *ValueService_Expecter) SaveValue(ctx interface{}, in interface{}, opts ...interface{}) *ValueService_SaveValue_Call

SaveValue is a helper method to define mock.On call

  • ctx context.Context
  • in *v0.SaveValueRequest
  • opts ...client.CallOption

type ValueService_GetValueByUniqueIdentifiers_Call

type ValueService_GetValueByUniqueIdentifiers_Call struct {
	*mock.Call
}

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

func (*ValueService_GetValueByUniqueIdentifiers_Call) Return

func (*ValueService_GetValueByUniqueIdentifiers_Call) Run

type ValueService_GetValue_Call

type ValueService_GetValue_Call struct {
	*mock.Call
}

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

func (*ValueService_GetValue_Call) Return

func (*ValueService_GetValue_Call) Run

func (*ValueService_GetValue_Call) RunAndReturn

type ValueService_ListValues_Call

type ValueService_ListValues_Call struct {
	*mock.Call
}

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

func (*ValueService_ListValues_Call) Return

func (*ValueService_ListValues_Call) Run

func (*ValueService_ListValues_Call) RunAndReturn

type ValueService_SaveValue_Call

type ValueService_SaveValue_Call struct {
	*mock.Call
}

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

func (*ValueService_SaveValue_Call) Return

func (*ValueService_SaveValue_Call) Run

func (*ValueService_SaveValue_Call) RunAndReturn

Jump to

Keyboard shortcuts

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