Documentation
¶
Index ¶
- type ValueService
- func (_m *ValueService) EXPECT() *ValueService_Expecter
- func (_m *ValueService) GetValue(ctx context.Context, in *v0.GetValueRequest, opts ...client.CallOption) (*v0.GetValueResponse, error)
- func (_m *ValueService) GetValueByUniqueIdentifiers(ctx context.Context, in *v0.GetValueByUniqueIdentifiersRequest, ...) (*v0.GetValueResponse, error)
- func (_m *ValueService) ListValues(ctx context.Context, in *v0.ListValuesRequest, opts ...client.CallOption) (*v0.ListValuesResponse, error)
- func (_m *ValueService) SaveValue(ctx context.Context, in *v0.SaveValueRequest, opts ...client.CallOption) (*v0.SaveValueResponse, error)
- type ValueService_Expecter
- func (_e *ValueService_Expecter) GetValue(ctx interface{}, in interface{}, opts ...interface{}) *ValueService_GetValue_Call
- func (_e *ValueService_Expecter) GetValueByUniqueIdentifiers(ctx interface{}, in interface{}, opts ...interface{}) *ValueService_GetValueByUniqueIdentifiers_Call
- func (_e *ValueService_Expecter) ListValues(ctx interface{}, in interface{}, opts ...interface{}) *ValueService_ListValues_Call
- func (_e *ValueService_Expecter) SaveValue(ctx interface{}, in interface{}, opts ...interface{}) *ValueService_SaveValue_Call
- type ValueService_GetValueByUniqueIdentifiers_Call
- func (_c *ValueService_GetValueByUniqueIdentifiers_Call) Return(_a0 *v0.GetValueResponse, _a1 error) *ValueService_GetValueByUniqueIdentifiers_Call
- func (_c *ValueService_GetValueByUniqueIdentifiers_Call) Run(run func(ctx context.Context, in *v0.GetValueByUniqueIdentifiersRequest, ...)) *ValueService_GetValueByUniqueIdentifiers_Call
- func (_c *ValueService_GetValueByUniqueIdentifiers_Call) RunAndReturn(...) *ValueService_GetValueByUniqueIdentifiers_Call
- type ValueService_GetValue_Call
- type ValueService_ListValues_Call
- type ValueService_SaveValue_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ValueService ¶
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 ¶
func (_m *ValueService) GetValue(ctx context.Context, in *v0.GetValueRequest, opts ...client.CallOption) (*v0.GetValueResponse, error)
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 ¶
func (_m *ValueService) ListValues(ctx context.Context, in *v0.ListValuesRequest, opts ...client.CallOption) (*v0.ListValuesResponse, error)
ListValues provides a mock function with given fields: ctx, in, opts
func (*ValueService) SaveValue ¶
func (_m *ValueService) SaveValue(ctx context.Context, in *v0.SaveValueRequest, opts ...client.CallOption) (*v0.SaveValueResponse, error)
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 ¶
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 (_c *ValueService_GetValueByUniqueIdentifiers_Call) Return(_a0 *v0.GetValueResponse, _a1 error) *ValueService_GetValueByUniqueIdentifiers_Call
func (*ValueService_GetValueByUniqueIdentifiers_Call) Run ¶
func (_c *ValueService_GetValueByUniqueIdentifiers_Call) Run(run func(ctx context.Context, in *v0.GetValueByUniqueIdentifiersRequest, opts ...client.CallOption)) *ValueService_GetValueByUniqueIdentifiers_Call
func (*ValueService_GetValueByUniqueIdentifiers_Call) RunAndReturn ¶
func (_c *ValueService_GetValueByUniqueIdentifiers_Call) RunAndReturn(run func(context.Context, *v0.GetValueByUniqueIdentifiersRequest, ...client.CallOption) (*v0.GetValueResponse, error)) *ValueService_GetValueByUniqueIdentifiers_Call
type ValueService_GetValue_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 (_c *ValueService_GetValue_Call) Return(_a0 *v0.GetValueResponse, _a1 error) *ValueService_GetValue_Call
func (*ValueService_GetValue_Call) Run ¶
func (_c *ValueService_GetValue_Call) Run(run func(ctx context.Context, in *v0.GetValueRequest, opts ...client.CallOption)) *ValueService_GetValue_Call
func (*ValueService_GetValue_Call) RunAndReturn ¶
func (_c *ValueService_GetValue_Call) RunAndReturn(run func(context.Context, *v0.GetValueRequest, ...client.CallOption) (*v0.GetValueResponse, error)) *ValueService_GetValue_Call
type ValueService_ListValues_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 (_c *ValueService_ListValues_Call) Return(_a0 *v0.ListValuesResponse, _a1 error) *ValueService_ListValues_Call
func (*ValueService_ListValues_Call) Run ¶
func (_c *ValueService_ListValues_Call) Run(run func(ctx context.Context, in *v0.ListValuesRequest, opts ...client.CallOption)) *ValueService_ListValues_Call
func (*ValueService_ListValues_Call) RunAndReturn ¶
func (_c *ValueService_ListValues_Call) RunAndReturn(run func(context.Context, *v0.ListValuesRequest, ...client.CallOption) (*v0.ListValuesResponse, error)) *ValueService_ListValues_Call
type ValueService_SaveValue_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 (_c *ValueService_SaveValue_Call) Return(_a0 *v0.SaveValueResponse, _a1 error) *ValueService_SaveValue_Call
func (*ValueService_SaveValue_Call) Run ¶
func (_c *ValueService_SaveValue_Call) Run(run func(ctx context.Context, in *v0.SaveValueRequest, opts ...client.CallOption)) *ValueService_SaveValue_Call
func (*ValueService_SaveValue_Call) RunAndReturn ¶
func (_c *ValueService_SaveValue_Call) RunAndReturn(run func(context.Context, *v0.SaveValueRequest, ...client.CallOption) (*v0.SaveValueResponse, error)) *ValueService_SaveValue_Call