proto

package
v3.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 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 MockCrowAuthClient

type MockCrowAuthClient struct {
	mock.Mock
}

MockCrowAuthClient is an autogenerated mock type for the CrowAuthClient type

func NewMockCrowAuthClient

func NewMockCrowAuthClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockCrowAuthClient

NewMockCrowAuthClient creates a new instance of MockCrowAuthClient. 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 (*MockCrowAuthClient) Auth

Auth provides a mock function for the type MockCrowAuthClient

func (*MockCrowAuthClient) EXPECT

type MockCrowAuthClient_Auth_Call

type MockCrowAuthClient_Auth_Call struct {
	*mock.Call
}

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

func (*MockCrowAuthClient_Auth_Call) Return

func (*MockCrowAuthClient_Auth_Call) Run

func (*MockCrowAuthClient_Auth_Call) RunAndReturn

type MockCrowAuthClient_Expecter

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

func (*MockCrowAuthClient_Expecter) Auth

func (_e *MockCrowAuthClient_Expecter) Auth(ctx interface{}, in interface{}, opts ...interface{}) *MockCrowAuthClient_Auth_Call

Auth is a helper method to define mock.On call

  • ctx
  • in
  • opts

type MockCrowAuthServer

type MockCrowAuthServer struct {
	mock.Mock
}

MockCrowAuthServer is an autogenerated mock type for the CrowAuthServer type

func NewMockCrowAuthServer

func NewMockCrowAuthServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockCrowAuthServer

NewMockCrowAuthServer creates a new instance of MockCrowAuthServer. 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 (*MockCrowAuthServer) Auth

func (_mock *MockCrowAuthServer) Auth(context1 context.Context, authRequest *proto.AuthRequest) (*proto.AuthResponse, error)

Auth provides a mock function for the type MockCrowAuthServer

func (*MockCrowAuthServer) EXPECT

type MockCrowAuthServer_Auth_Call

type MockCrowAuthServer_Auth_Call struct {
	*mock.Call
}

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

func (*MockCrowAuthServer_Auth_Call) Return

func (*MockCrowAuthServer_Auth_Call) Run

func (*MockCrowAuthServer_Auth_Call) RunAndReturn

func (_c *MockCrowAuthServer_Auth_Call) RunAndReturn(run func(context1 context.Context, authRequest *proto.AuthRequest) (*proto.AuthResponse, error)) *MockCrowAuthServer_Auth_Call

type MockCrowAuthServer_Expecter

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

func (*MockCrowAuthServer_Expecter) Auth

func (_e *MockCrowAuthServer_Expecter) Auth(context1 interface{}, authRequest interface{}) *MockCrowAuthServer_Auth_Call

Auth is a helper method to define mock.On call

  • context1
  • authRequest

type MockCrowAuthServer_mustEmbedUnimplementedCrowAuthServer_Call

type MockCrowAuthServer_mustEmbedUnimplementedCrowAuthServer_Call struct {
	*mock.Call
}

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

func (*MockCrowAuthServer_mustEmbedUnimplementedCrowAuthServer_Call) Return

func (*MockCrowAuthServer_mustEmbedUnimplementedCrowAuthServer_Call) Run

func (*MockCrowAuthServer_mustEmbedUnimplementedCrowAuthServer_Call) RunAndReturn

type MockCrowClient

type MockCrowClient struct {
	mock.Mock
}

MockCrowClient is an autogenerated mock type for the CrowClient type

func NewMockCrowClient

func NewMockCrowClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockCrowClient

NewMockCrowClient creates a new instance of MockCrowClient. 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 (*MockCrowClient) Done

func (_mock *MockCrowClient) Done(ctx context.Context, in *proto.DoneRequest, opts ...grpc.CallOption) (*proto.Empty, error)

Done provides a mock function for the type MockCrowClient

func (*MockCrowClient) EXPECT

func (*MockCrowClient) Extend

func (_mock *MockCrowClient) Extend(ctx context.Context, in *proto.ExtendRequest, opts ...grpc.CallOption) (*proto.Empty, error)

Extend provides a mock function for the type MockCrowClient

func (*MockCrowClient) Init

func (_mock *MockCrowClient) Init(ctx context.Context, in *proto.InitRequest, opts ...grpc.CallOption) (*proto.Empty, error)

Init provides a mock function for the type MockCrowClient

func (*MockCrowClient) Log

func (_mock *MockCrowClient) Log(ctx context.Context, in *proto.LogRequest, opts ...grpc.CallOption) (*proto.Empty, error)

Log provides a mock function for the type MockCrowClient

func (*MockCrowClient) Next

Next provides a mock function for the type MockCrowClient

func (*MockCrowClient) RegisterAgent

RegisterAgent provides a mock function for the type MockCrowClient

func (*MockCrowClient) ReportHealth

func (_mock *MockCrowClient) ReportHealth(ctx context.Context, in *proto.ReportHealthRequest, opts ...grpc.CallOption) (*proto.Empty, error)

ReportHealth provides a mock function for the type MockCrowClient

func (*MockCrowClient) UnregisterAgent

func (_mock *MockCrowClient) UnregisterAgent(ctx context.Context, in *proto.Empty, opts ...grpc.CallOption) (*proto.Empty, error)

UnregisterAgent provides a mock function for the type MockCrowClient

func (*MockCrowClient) Update

func (_mock *MockCrowClient) Update(ctx context.Context, in *proto.UpdateRequest, opts ...grpc.CallOption) (*proto.Empty, error)

Update provides a mock function for the type MockCrowClient

func (*MockCrowClient) Version

func (_mock *MockCrowClient) Version(ctx context.Context, in *proto.Empty, opts ...grpc.CallOption) (*proto.VersionResponse, error)

Version provides a mock function for the type MockCrowClient

func (*MockCrowClient) Wait

func (_mock *MockCrowClient) Wait(ctx context.Context, in *proto.WaitRequest, opts ...grpc.CallOption) (*proto.Empty, error)

Wait provides a mock function for the type MockCrowClient

type MockCrowClient_Done_Call

type MockCrowClient_Done_Call struct {
	*mock.Call
}

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

func (*MockCrowClient_Done_Call) Return

func (*MockCrowClient_Done_Call) Run

func (*MockCrowClient_Done_Call) RunAndReturn

type MockCrowClient_Expecter

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

func (*MockCrowClient_Expecter) Done

func (_e *MockCrowClient_Expecter) Done(ctx interface{}, in interface{}, opts ...interface{}) *MockCrowClient_Done_Call

Done is a helper method to define mock.On call

  • ctx
  • in
  • opts

func (*MockCrowClient_Expecter) Extend

func (_e *MockCrowClient_Expecter) Extend(ctx interface{}, in interface{}, opts ...interface{}) *MockCrowClient_Extend_Call

Extend is a helper method to define mock.On call

  • ctx
  • in
  • opts

func (*MockCrowClient_Expecter) Init

func (_e *MockCrowClient_Expecter) Init(ctx interface{}, in interface{}, opts ...interface{}) *MockCrowClient_Init_Call

Init is a helper method to define mock.On call

  • ctx
  • in
  • opts

func (*MockCrowClient_Expecter) Log

func (_e *MockCrowClient_Expecter) Log(ctx interface{}, in interface{}, opts ...interface{}) *MockCrowClient_Log_Call

Log is a helper method to define mock.On call

  • ctx
  • in
  • opts

func (*MockCrowClient_Expecter) Next

func (_e *MockCrowClient_Expecter) Next(ctx interface{}, in interface{}, opts ...interface{}) *MockCrowClient_Next_Call

Next is a helper method to define mock.On call

  • ctx
  • in
  • opts

func (*MockCrowClient_Expecter) RegisterAgent

func (_e *MockCrowClient_Expecter) RegisterAgent(ctx interface{}, in interface{}, opts ...interface{}) *MockCrowClient_RegisterAgent_Call

RegisterAgent is a helper method to define mock.On call

  • ctx
  • in
  • opts

func (*MockCrowClient_Expecter) ReportHealth

func (_e *MockCrowClient_Expecter) ReportHealth(ctx interface{}, in interface{}, opts ...interface{}) *MockCrowClient_ReportHealth_Call

ReportHealth is a helper method to define mock.On call

  • ctx
  • in
  • opts

func (*MockCrowClient_Expecter) UnregisterAgent

func (_e *MockCrowClient_Expecter) UnregisterAgent(ctx interface{}, in interface{}, opts ...interface{}) *MockCrowClient_UnregisterAgent_Call

UnregisterAgent is a helper method to define mock.On call

  • ctx
  • in
  • opts

func (*MockCrowClient_Expecter) Update

func (_e *MockCrowClient_Expecter) Update(ctx interface{}, in interface{}, opts ...interface{}) *MockCrowClient_Update_Call

Update is a helper method to define mock.On call

  • ctx
  • in
  • opts

func (*MockCrowClient_Expecter) Version

func (_e *MockCrowClient_Expecter) Version(ctx interface{}, in interface{}, opts ...interface{}) *MockCrowClient_Version_Call

Version is a helper method to define mock.On call

  • ctx
  • in
  • opts

func (*MockCrowClient_Expecter) Wait

func (_e *MockCrowClient_Expecter) Wait(ctx interface{}, in interface{}, opts ...interface{}) *MockCrowClient_Wait_Call

Wait is a helper method to define mock.On call

  • ctx
  • in
  • opts

type MockCrowClient_Extend_Call

type MockCrowClient_Extend_Call struct {
	*mock.Call
}

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

func (*MockCrowClient_Extend_Call) Return

func (*MockCrowClient_Extend_Call) Run

func (*MockCrowClient_Extend_Call) RunAndReturn

type MockCrowClient_Init_Call

type MockCrowClient_Init_Call struct {
	*mock.Call
}

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

func (*MockCrowClient_Init_Call) Return

func (*MockCrowClient_Init_Call) Run

func (*MockCrowClient_Init_Call) RunAndReturn

type MockCrowClient_Log_Call

type MockCrowClient_Log_Call struct {
	*mock.Call
}

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

func (*MockCrowClient_Log_Call) Return

func (*MockCrowClient_Log_Call) Run

func (*MockCrowClient_Log_Call) RunAndReturn

func (_c *MockCrowClient_Log_Call) RunAndReturn(run func(ctx context.Context, in *proto.LogRequest, opts ...grpc.CallOption) (*proto.Empty, error)) *MockCrowClient_Log_Call

type MockCrowClient_Next_Call

type MockCrowClient_Next_Call struct {
	*mock.Call
}

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

func (*MockCrowClient_Next_Call) Return

func (*MockCrowClient_Next_Call) Run

func (*MockCrowClient_Next_Call) RunAndReturn

type MockCrowClient_RegisterAgent_Call

type MockCrowClient_RegisterAgent_Call struct {
	*mock.Call
}

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

func (*MockCrowClient_RegisterAgent_Call) Return

func (*MockCrowClient_RegisterAgent_Call) Run

func (*MockCrowClient_RegisterAgent_Call) RunAndReturn

type MockCrowClient_ReportHealth_Call

type MockCrowClient_ReportHealth_Call struct {
	*mock.Call
}

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

func (*MockCrowClient_ReportHealth_Call) Return

func (*MockCrowClient_ReportHealth_Call) Run

func (*MockCrowClient_ReportHealth_Call) RunAndReturn

type MockCrowClient_UnregisterAgent_Call

type MockCrowClient_UnregisterAgent_Call struct {
	*mock.Call
}

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

func (*MockCrowClient_UnregisterAgent_Call) Return

func (*MockCrowClient_UnregisterAgent_Call) Run

func (*MockCrowClient_UnregisterAgent_Call) RunAndReturn

type MockCrowClient_Update_Call

type MockCrowClient_Update_Call struct {
	*mock.Call
}

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

func (*MockCrowClient_Update_Call) Return

func (*MockCrowClient_Update_Call) Run

func (*MockCrowClient_Update_Call) RunAndReturn

type MockCrowClient_Version_Call

type MockCrowClient_Version_Call struct {
	*mock.Call
}

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

func (*MockCrowClient_Version_Call) Return

func (*MockCrowClient_Version_Call) Run

func (*MockCrowClient_Version_Call) RunAndReturn

type MockCrowClient_Wait_Call

type MockCrowClient_Wait_Call struct {
	*mock.Call
}

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

func (*MockCrowClient_Wait_Call) Return

func (*MockCrowClient_Wait_Call) Run

func (*MockCrowClient_Wait_Call) RunAndReturn

type MockCrowServer

type MockCrowServer struct {
	mock.Mock
}

MockCrowServer is an autogenerated mock type for the CrowServer type

func NewMockCrowServer

func NewMockCrowServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockCrowServer

NewMockCrowServer creates a new instance of MockCrowServer. 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 (*MockCrowServer) Done

func (_mock *MockCrowServer) Done(context1 context.Context, doneRequest *proto.DoneRequest) (*proto.Empty, error)

Done provides a mock function for the type MockCrowServer

func (*MockCrowServer) EXPECT

func (*MockCrowServer) Extend

func (_mock *MockCrowServer) Extend(context1 context.Context, extendRequest *proto.ExtendRequest) (*proto.Empty, error)

Extend provides a mock function for the type MockCrowServer

func (*MockCrowServer) Init

func (_mock *MockCrowServer) Init(context1 context.Context, initRequest *proto.InitRequest) (*proto.Empty, error)

Init provides a mock function for the type MockCrowServer

func (*MockCrowServer) Log

func (_mock *MockCrowServer) Log(context1 context.Context, logRequest *proto.LogRequest) (*proto.Empty, error)

Log provides a mock function for the type MockCrowServer

func (*MockCrowServer) Next

func (_mock *MockCrowServer) Next(context1 context.Context, nextRequest *proto.NextRequest) (*proto.NextResponse, error)

Next provides a mock function for the type MockCrowServer

func (*MockCrowServer) RegisterAgent

func (_mock *MockCrowServer) RegisterAgent(context1 context.Context, registerAgentRequest *proto.RegisterAgentRequest) (*proto.RegisterAgentResponse, error)

RegisterAgent provides a mock function for the type MockCrowServer

func (*MockCrowServer) ReportHealth

func (_mock *MockCrowServer) ReportHealth(context1 context.Context, reportHealthRequest *proto.ReportHealthRequest) (*proto.Empty, error)

ReportHealth provides a mock function for the type MockCrowServer

func (*MockCrowServer) UnregisterAgent

func (_mock *MockCrowServer) UnregisterAgent(context1 context.Context, empty *proto.Empty) (*proto.Empty, error)

UnregisterAgent provides a mock function for the type MockCrowServer

func (*MockCrowServer) Update

func (_mock *MockCrowServer) Update(context1 context.Context, updateRequest *proto.UpdateRequest) (*proto.Empty, error)

Update provides a mock function for the type MockCrowServer

func (*MockCrowServer) Version

func (_mock *MockCrowServer) Version(context1 context.Context, empty *proto.Empty) (*proto.VersionResponse, error)

Version provides a mock function for the type MockCrowServer

func (*MockCrowServer) Wait

func (_mock *MockCrowServer) Wait(context1 context.Context, waitRequest *proto.WaitRequest) (*proto.Empty, error)

Wait provides a mock function for the type MockCrowServer

type MockCrowServer_Done_Call

type MockCrowServer_Done_Call struct {
	*mock.Call
}

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

func (*MockCrowServer_Done_Call) Return

func (*MockCrowServer_Done_Call) Run

func (_c *MockCrowServer_Done_Call) Run(run func(context1 context.Context, doneRequest *proto.DoneRequest)) *MockCrowServer_Done_Call

func (*MockCrowServer_Done_Call) RunAndReturn

func (_c *MockCrowServer_Done_Call) RunAndReturn(run func(context1 context.Context, doneRequest *proto.DoneRequest) (*proto.Empty, error)) *MockCrowServer_Done_Call

type MockCrowServer_Expecter

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

func (*MockCrowServer_Expecter) Done

func (_e *MockCrowServer_Expecter) Done(context1 interface{}, doneRequest interface{}) *MockCrowServer_Done_Call

Done is a helper method to define mock.On call

  • context1
  • doneRequest

func (*MockCrowServer_Expecter) Extend

func (_e *MockCrowServer_Expecter) Extend(context1 interface{}, extendRequest interface{}) *MockCrowServer_Extend_Call

Extend is a helper method to define mock.On call

  • context1
  • extendRequest

func (*MockCrowServer_Expecter) Init

func (_e *MockCrowServer_Expecter) Init(context1 interface{}, initRequest interface{}) *MockCrowServer_Init_Call

Init is a helper method to define mock.On call

  • context1
  • initRequest

func (*MockCrowServer_Expecter) Log

func (_e *MockCrowServer_Expecter) Log(context1 interface{}, logRequest interface{}) *MockCrowServer_Log_Call

Log is a helper method to define mock.On call

  • context1
  • logRequest

func (*MockCrowServer_Expecter) Next

func (_e *MockCrowServer_Expecter) Next(context1 interface{}, nextRequest interface{}) *MockCrowServer_Next_Call

Next is a helper method to define mock.On call

  • context1
  • nextRequest

func (*MockCrowServer_Expecter) RegisterAgent

func (_e *MockCrowServer_Expecter) RegisterAgent(context1 interface{}, registerAgentRequest interface{}) *MockCrowServer_RegisterAgent_Call

RegisterAgent is a helper method to define mock.On call

  • context1
  • registerAgentRequest

func (*MockCrowServer_Expecter) ReportHealth

func (_e *MockCrowServer_Expecter) ReportHealth(context1 interface{}, reportHealthRequest interface{}) *MockCrowServer_ReportHealth_Call

ReportHealth is a helper method to define mock.On call

  • context1
  • reportHealthRequest

func (*MockCrowServer_Expecter) UnregisterAgent

func (_e *MockCrowServer_Expecter) UnregisterAgent(context1 interface{}, empty interface{}) *MockCrowServer_UnregisterAgent_Call

UnregisterAgent is a helper method to define mock.On call

  • context1
  • empty

func (*MockCrowServer_Expecter) Update

func (_e *MockCrowServer_Expecter) Update(context1 interface{}, updateRequest interface{}) *MockCrowServer_Update_Call

Update is a helper method to define mock.On call

  • context1
  • updateRequest

func (*MockCrowServer_Expecter) Version

func (_e *MockCrowServer_Expecter) Version(context1 interface{}, empty interface{}) *MockCrowServer_Version_Call

Version is a helper method to define mock.On call

  • context1
  • empty

func (*MockCrowServer_Expecter) Wait

func (_e *MockCrowServer_Expecter) Wait(context1 interface{}, waitRequest interface{}) *MockCrowServer_Wait_Call

Wait is a helper method to define mock.On call

  • context1
  • waitRequest

type MockCrowServer_Extend_Call

type MockCrowServer_Extend_Call struct {
	*mock.Call
}

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

func (*MockCrowServer_Extend_Call) Return

func (*MockCrowServer_Extend_Call) Run

func (_c *MockCrowServer_Extend_Call) Run(run func(context1 context.Context, extendRequest *proto.ExtendRequest)) *MockCrowServer_Extend_Call

func (*MockCrowServer_Extend_Call) RunAndReturn

func (_c *MockCrowServer_Extend_Call) RunAndReturn(run func(context1 context.Context, extendRequest *proto.ExtendRequest) (*proto.Empty, error)) *MockCrowServer_Extend_Call

type MockCrowServer_Init_Call

type MockCrowServer_Init_Call struct {
	*mock.Call
}

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

func (*MockCrowServer_Init_Call) Return

func (*MockCrowServer_Init_Call) Run

func (_c *MockCrowServer_Init_Call) Run(run func(context1 context.Context, initRequest *proto.InitRequest)) *MockCrowServer_Init_Call

func (*MockCrowServer_Init_Call) RunAndReturn

func (_c *MockCrowServer_Init_Call) RunAndReturn(run func(context1 context.Context, initRequest *proto.InitRequest) (*proto.Empty, error)) *MockCrowServer_Init_Call

type MockCrowServer_Log_Call

type MockCrowServer_Log_Call struct {
	*mock.Call
}

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

func (*MockCrowServer_Log_Call) Return

func (*MockCrowServer_Log_Call) Run

func (_c *MockCrowServer_Log_Call) Run(run func(context1 context.Context, logRequest *proto.LogRequest)) *MockCrowServer_Log_Call

func (*MockCrowServer_Log_Call) RunAndReturn

func (_c *MockCrowServer_Log_Call) RunAndReturn(run func(context1 context.Context, logRequest *proto.LogRequest) (*proto.Empty, error)) *MockCrowServer_Log_Call

type MockCrowServer_Next_Call

type MockCrowServer_Next_Call struct {
	*mock.Call
}

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

func (*MockCrowServer_Next_Call) Return

func (*MockCrowServer_Next_Call) Run

func (_c *MockCrowServer_Next_Call) Run(run func(context1 context.Context, nextRequest *proto.NextRequest)) *MockCrowServer_Next_Call

func (*MockCrowServer_Next_Call) RunAndReturn

func (_c *MockCrowServer_Next_Call) RunAndReturn(run func(context1 context.Context, nextRequest *proto.NextRequest) (*proto.NextResponse, error)) *MockCrowServer_Next_Call

type MockCrowServer_RegisterAgent_Call

type MockCrowServer_RegisterAgent_Call struct {
	*mock.Call
}

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

func (*MockCrowServer_RegisterAgent_Call) Return

func (*MockCrowServer_RegisterAgent_Call) Run

func (*MockCrowServer_RegisterAgent_Call) RunAndReturn

type MockCrowServer_ReportHealth_Call

type MockCrowServer_ReportHealth_Call struct {
	*mock.Call
}

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

func (*MockCrowServer_ReportHealth_Call) Return

func (*MockCrowServer_ReportHealth_Call) Run

func (*MockCrowServer_ReportHealth_Call) RunAndReturn

func (_c *MockCrowServer_ReportHealth_Call) RunAndReturn(run func(context1 context.Context, reportHealthRequest *proto.ReportHealthRequest) (*proto.Empty, error)) *MockCrowServer_ReportHealth_Call

type MockCrowServer_UnregisterAgent_Call

type MockCrowServer_UnregisterAgent_Call struct {
	*mock.Call
}

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

func (*MockCrowServer_UnregisterAgent_Call) Return

func (*MockCrowServer_UnregisterAgent_Call) Run

func (*MockCrowServer_UnregisterAgent_Call) RunAndReturn

type MockCrowServer_Update_Call

type MockCrowServer_Update_Call struct {
	*mock.Call
}

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

func (*MockCrowServer_Update_Call) Return

func (*MockCrowServer_Update_Call) Run

func (_c *MockCrowServer_Update_Call) Run(run func(context1 context.Context, updateRequest *proto.UpdateRequest)) *MockCrowServer_Update_Call

func (*MockCrowServer_Update_Call) RunAndReturn

func (_c *MockCrowServer_Update_Call) RunAndReturn(run func(context1 context.Context, updateRequest *proto.UpdateRequest) (*proto.Empty, error)) *MockCrowServer_Update_Call

type MockCrowServer_Version_Call

type MockCrowServer_Version_Call struct {
	*mock.Call
}

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

func (*MockCrowServer_Version_Call) Return

func (*MockCrowServer_Version_Call) Run

func (*MockCrowServer_Version_Call) RunAndReturn

type MockCrowServer_Wait_Call

type MockCrowServer_Wait_Call struct {
	*mock.Call
}

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

func (*MockCrowServer_Wait_Call) Return

func (*MockCrowServer_Wait_Call) Run

func (_c *MockCrowServer_Wait_Call) Run(run func(context1 context.Context, waitRequest *proto.WaitRequest)) *MockCrowServer_Wait_Call

func (*MockCrowServer_Wait_Call) RunAndReturn

func (_c *MockCrowServer_Wait_Call) RunAndReturn(run func(context1 context.Context, waitRequest *proto.WaitRequest) (*proto.Empty, error)) *MockCrowServer_Wait_Call

type MockCrowServer_mustEmbedUnimplementedCrowServer_Call

type MockCrowServer_mustEmbedUnimplementedCrowServer_Call struct {
	*mock.Call
}

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

func (*MockCrowServer_mustEmbedUnimplementedCrowServer_Call) Return

func (*MockCrowServer_mustEmbedUnimplementedCrowServer_Call) Run

func (*MockCrowServer_mustEmbedUnimplementedCrowServer_Call) RunAndReturn

type MockUnsafeCrowAuthServer

type MockUnsafeCrowAuthServer struct {
	mock.Mock
}

MockUnsafeCrowAuthServer is an autogenerated mock type for the UnsafeCrowAuthServer type

func NewMockUnsafeCrowAuthServer

func NewMockUnsafeCrowAuthServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockUnsafeCrowAuthServer

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

type MockUnsafeCrowAuthServer_Expecter

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

type MockUnsafeCrowAuthServer_mustEmbedUnimplementedCrowAuthServer_Call

type MockUnsafeCrowAuthServer_mustEmbedUnimplementedCrowAuthServer_Call struct {
	*mock.Call
}

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

func (*MockUnsafeCrowAuthServer_mustEmbedUnimplementedCrowAuthServer_Call) Return

func (*MockUnsafeCrowAuthServer_mustEmbedUnimplementedCrowAuthServer_Call) Run

func (*MockUnsafeCrowAuthServer_mustEmbedUnimplementedCrowAuthServer_Call) RunAndReturn

type MockUnsafeCrowServer

type MockUnsafeCrowServer struct {
	mock.Mock
}

MockUnsafeCrowServer is an autogenerated mock type for the UnsafeCrowServer type

func NewMockUnsafeCrowServer

func NewMockUnsafeCrowServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockUnsafeCrowServer

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

type MockUnsafeCrowServer_Expecter

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

type MockUnsafeCrowServer_mustEmbedUnimplementedCrowServer_Call

type MockUnsafeCrowServer_mustEmbedUnimplementedCrowServer_Call struct {
	*mock.Call
}

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

func (*MockUnsafeCrowServer_mustEmbedUnimplementedCrowServer_Call) Return

func (*MockUnsafeCrowServer_mustEmbedUnimplementedCrowServer_Call) Run

func (*MockUnsafeCrowServer_mustEmbedUnimplementedCrowServer_Call) RunAndReturn

Jump to

Keyboard shortcuts

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