mocks

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NestingClient

type NestingClient struct {
	mock.Mock
}

NestingClient is an autogenerated mock type for the NestingClient type

func NewNestingClient

func NewNestingClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *NestingClient

NewNestingClient creates a new instance of NestingClient. 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 (*NestingClient) Create

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

func (*NestingClient) Delete

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

func (*NestingClient) EXPECT

func (_m *NestingClient) EXPECT() *NestingClient_Expecter

func (*NestingClient) Init

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

func (*NestingClient) List

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

func (*NestingClient) Shutdown

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

type NestingClient_Create_Call

type NestingClient_Create_Call struct {
	*mock.Call
}

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

func (*NestingClient_Create_Call) Return

func (*NestingClient_Create_Call) Run

func (*NestingClient_Create_Call) RunAndReturn added in v0.3.0

type NestingClient_Delete_Call

type NestingClient_Delete_Call struct {
	*mock.Call
}

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

func (*NestingClient_Delete_Call) Return

func (*NestingClient_Delete_Call) Run

func (*NestingClient_Delete_Call) RunAndReturn added in v0.3.0

type NestingClient_Expecter

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

func (*NestingClient_Expecter) Create

func (_e *NestingClient_Expecter) Create(ctx interface{}, in interface{}, opts ...interface{}) *NestingClient_Create_Call

Create is a helper method to define mock.On call

  • ctx context.Context
  • in *proto.CreateRequest
  • opts ...grpc.CallOption

func (*NestingClient_Expecter) Delete

func (_e *NestingClient_Expecter) Delete(ctx interface{}, in interface{}, opts ...interface{}) *NestingClient_Delete_Call

Delete is a helper method to define mock.On call

  • ctx context.Context
  • in *proto.DeleteRequest
  • opts ...grpc.CallOption

func (*NestingClient_Expecter) Init

func (_e *NestingClient_Expecter) Init(ctx interface{}, in interface{}, opts ...interface{}) *NestingClient_Init_Call

Init is a helper method to define mock.On call

  • ctx context.Context
  • in *proto.InitRequest
  • opts ...grpc.CallOption

func (*NestingClient_Expecter) List

func (_e *NestingClient_Expecter) List(ctx interface{}, in interface{}, opts ...interface{}) *NestingClient_List_Call

List is a helper method to define mock.On call

  • ctx context.Context
  • in *proto.ListRequest
  • opts ...grpc.CallOption

func (*NestingClient_Expecter) Shutdown

func (_e *NestingClient_Expecter) Shutdown(ctx interface{}, in interface{}, opts ...interface{}) *NestingClient_Shutdown_Call

Shutdown is a helper method to define mock.On call

  • ctx context.Context
  • in *proto.ShutdownRequest
  • opts ...grpc.CallOption

type NestingClient_Init_Call

type NestingClient_Init_Call struct {
	*mock.Call
}

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

func (*NestingClient_Init_Call) Return

func (*NestingClient_Init_Call) Run

func (*NestingClient_Init_Call) RunAndReturn added in v0.3.0

type NestingClient_List_Call

type NestingClient_List_Call struct {
	*mock.Call
}

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

func (*NestingClient_List_Call) Return

func (*NestingClient_List_Call) Run

func (*NestingClient_List_Call) RunAndReturn added in v0.3.0

type NestingClient_Shutdown_Call

type NestingClient_Shutdown_Call struct {
	*mock.Call
}

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

func (*NestingClient_Shutdown_Call) Return

func (*NestingClient_Shutdown_Call) Run

func (*NestingClient_Shutdown_Call) RunAndReturn added in v0.3.0

Jump to

Keyboard shortcuts

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