Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeCommandService
- func (fake *FakeCommandService) CreateConnection(arg1 context.Context, arg2 *v1.Resource) (*v1.CreateConnectionResponse, error)
- func (fake *FakeCommandService) CreateConnectionArgsForCall(i int) (context.Context, *v1.Resource)
- func (fake *FakeCommandService) CreateConnectionCallCount() int
- func (fake *FakeCommandService) CreateConnectionCalls(stub func(context.Context, *v1.Resource) (*v1.CreateConnectionResponse, error))
- func (fake *FakeCommandService) CreateConnectionReturns(result1 *v1.CreateConnectionResponse, result2 error)
- func (fake *FakeCommandService) CreateConnectionReturnsOnCall(i int, result1 *v1.CreateConnectionResponse, result2 error)
- func (fake *FakeCommandService) Invocations() map[string][][]interface{}
- func (fake *FakeCommandService) IsConnected() bool
- func (fake *FakeCommandService) IsConnectedCallCount() int
- func (fake *FakeCommandService) IsConnectedCalls(stub func() bool)
- func (fake *FakeCommandService) IsConnectedReturns(result1 bool)
- func (fake *FakeCommandService) IsConnectedReturnsOnCall(i int, result1 bool)
- func (fake *FakeCommandService) SendDataPlaneResponse(arg1 context.Context, arg2 *v1.DataPlaneResponse) error
- func (fake *FakeCommandService) SendDataPlaneResponseArgsForCall(i int) (context.Context, *v1.DataPlaneResponse)
- func (fake *FakeCommandService) SendDataPlaneResponseCallCount() int
- func (fake *FakeCommandService) SendDataPlaneResponseCalls(stub func(context.Context, *v1.DataPlaneResponse) error)
- func (fake *FakeCommandService) SendDataPlaneResponseReturns(result1 error)
- func (fake *FakeCommandService) SendDataPlaneResponseReturnsOnCall(i int, result1 error)
- func (fake *FakeCommandService) Subscribe(arg1 context.Context)
- func (fake *FakeCommandService) SubscribeArgsForCall(i int) context.Context
- func (fake *FakeCommandService) SubscribeCallCount() int
- func (fake *FakeCommandService) SubscribeCalls(stub func(context.Context))
- func (fake *FakeCommandService) UpdateClient(arg1 context.Context, arg2 v1.CommandServiceClient) error
- func (fake *FakeCommandService) UpdateClientArgsForCall(i int) (context.Context, v1.CommandServiceClient)
- func (fake *FakeCommandService) UpdateClientCallCount() int
- func (fake *FakeCommandService) UpdateClientCalls(stub func(context.Context, v1.CommandServiceClient) error)
- func (fake *FakeCommandService) UpdateClientReturns(result1 error)
- func (fake *FakeCommandService) UpdateClientReturnsOnCall(i int, result1 error)
- func (fake *FakeCommandService) UpdateDataPlaneHealth(arg1 context.Context, arg2 []*v1.InstanceHealth) error
- func (fake *FakeCommandService) UpdateDataPlaneHealthArgsForCall(i int) (context.Context, []*v1.InstanceHealth)
- func (fake *FakeCommandService) UpdateDataPlaneHealthCallCount() int
- func (fake *FakeCommandService) UpdateDataPlaneHealthCalls(stub func(context.Context, []*v1.InstanceHealth) error)
- func (fake *FakeCommandService) UpdateDataPlaneHealthReturns(result1 error)
- func (fake *FakeCommandService) UpdateDataPlaneHealthReturnsOnCall(i int, result1 error)
- func (fake *FakeCommandService) UpdateDataPlaneStatus(arg1 context.Context, arg2 *v1.Resource) error
- func (fake *FakeCommandService) UpdateDataPlaneStatusArgsForCall(i int) (context.Context, *v1.Resource)
- func (fake *FakeCommandService) UpdateDataPlaneStatusCallCount() int
- func (fake *FakeCommandService) UpdateDataPlaneStatusCalls(stub func(context.Context, *v1.Resource) error)
- func (fake *FakeCommandService) UpdateDataPlaneStatusReturns(result1 error)
- func (fake *FakeCommandService) UpdateDataPlaneStatusReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCommandService ¶
type FakeCommandService struct {
CreateConnectionStub func(context.Context, *v1.Resource) (*v1.CreateConnectionResponse, error)
IsConnectedStub func() bool
SendDataPlaneResponseStub func(context.Context, *v1.DataPlaneResponse) error
SubscribeStub func(context.Context)
UpdateClientStub func(context.Context, v1.CommandServiceClient) error
UpdateDataPlaneHealthStub func(context.Context, []*v1.InstanceHealth) error
UpdateDataPlaneStatusStub func(context.Context, *v1.Resource) error
// contains filtered or unexported fields
}
func (*FakeCommandService) CreateConnection ¶
func (fake *FakeCommandService) CreateConnection(arg1 context.Context, arg2 *v1.Resource) (*v1.CreateConnectionResponse, error)
func (*FakeCommandService) CreateConnectionArgsForCall ¶
func (*FakeCommandService) CreateConnectionCallCount ¶
func (fake *FakeCommandService) CreateConnectionCallCount() int
func (*FakeCommandService) CreateConnectionCalls ¶
func (fake *FakeCommandService) CreateConnectionCalls(stub func(context.Context, *v1.Resource) (*v1.CreateConnectionResponse, error))
func (*FakeCommandService) CreateConnectionReturns ¶
func (fake *FakeCommandService) CreateConnectionReturns(result1 *v1.CreateConnectionResponse, result2 error)
func (*FakeCommandService) CreateConnectionReturnsOnCall ¶
func (fake *FakeCommandService) CreateConnectionReturnsOnCall(i int, result1 *v1.CreateConnectionResponse, result2 error)
func (*FakeCommandService) Invocations ¶
func (fake *FakeCommandService) Invocations() map[string][][]interface{}
func (*FakeCommandService) IsConnected ¶
func (fake *FakeCommandService) IsConnected() bool
func (*FakeCommandService) IsConnectedCallCount ¶
func (fake *FakeCommandService) IsConnectedCallCount() int
func (*FakeCommandService) IsConnectedCalls ¶
func (fake *FakeCommandService) IsConnectedCalls(stub func() bool)
func (*FakeCommandService) IsConnectedReturns ¶
func (fake *FakeCommandService) IsConnectedReturns(result1 bool)
func (*FakeCommandService) IsConnectedReturnsOnCall ¶
func (fake *FakeCommandService) IsConnectedReturnsOnCall(i int, result1 bool)
func (*FakeCommandService) SendDataPlaneResponse ¶
func (fake *FakeCommandService) SendDataPlaneResponse(arg1 context.Context, arg2 *v1.DataPlaneResponse) error
func (*FakeCommandService) SendDataPlaneResponseArgsForCall ¶
func (fake *FakeCommandService) SendDataPlaneResponseArgsForCall(i int) (context.Context, *v1.DataPlaneResponse)
func (*FakeCommandService) SendDataPlaneResponseCallCount ¶
func (fake *FakeCommandService) SendDataPlaneResponseCallCount() int
func (*FakeCommandService) SendDataPlaneResponseCalls ¶
func (fake *FakeCommandService) SendDataPlaneResponseCalls(stub func(context.Context, *v1.DataPlaneResponse) error)
func (*FakeCommandService) SendDataPlaneResponseReturns ¶
func (fake *FakeCommandService) SendDataPlaneResponseReturns(result1 error)
func (*FakeCommandService) SendDataPlaneResponseReturnsOnCall ¶
func (fake *FakeCommandService) SendDataPlaneResponseReturnsOnCall(i int, result1 error)
func (*FakeCommandService) Subscribe ¶
func (fake *FakeCommandService) Subscribe(arg1 context.Context)
func (*FakeCommandService) SubscribeArgsForCall ¶
func (fake *FakeCommandService) SubscribeArgsForCall(i int) context.Context
func (*FakeCommandService) SubscribeCallCount ¶
func (fake *FakeCommandService) SubscribeCallCount() int
func (*FakeCommandService) SubscribeCalls ¶
func (fake *FakeCommandService) SubscribeCalls(stub func(context.Context))
func (*FakeCommandService) UpdateClient ¶
func (fake *FakeCommandService) UpdateClient(arg1 context.Context, arg2 v1.CommandServiceClient) error
func (*FakeCommandService) UpdateClientArgsForCall ¶
func (fake *FakeCommandService) UpdateClientArgsForCall(i int) (context.Context, v1.CommandServiceClient)
func (*FakeCommandService) UpdateClientCallCount ¶
func (fake *FakeCommandService) UpdateClientCallCount() int
func (*FakeCommandService) UpdateClientCalls ¶
func (fake *FakeCommandService) UpdateClientCalls(stub func(context.Context, v1.CommandServiceClient) error)
func (*FakeCommandService) UpdateClientReturns ¶
func (fake *FakeCommandService) UpdateClientReturns(result1 error)
func (*FakeCommandService) UpdateClientReturnsOnCall ¶
func (fake *FakeCommandService) UpdateClientReturnsOnCall(i int, result1 error)
func (*FakeCommandService) UpdateDataPlaneHealth ¶
func (fake *FakeCommandService) UpdateDataPlaneHealth(arg1 context.Context, arg2 []*v1.InstanceHealth) error
func (*FakeCommandService) UpdateDataPlaneHealthArgsForCall ¶
func (fake *FakeCommandService) UpdateDataPlaneHealthArgsForCall(i int) (context.Context, []*v1.InstanceHealth)
func (*FakeCommandService) UpdateDataPlaneHealthCallCount ¶
func (fake *FakeCommandService) UpdateDataPlaneHealthCallCount() int
func (*FakeCommandService) UpdateDataPlaneHealthCalls ¶
func (fake *FakeCommandService) UpdateDataPlaneHealthCalls(stub func(context.Context, []*v1.InstanceHealth) error)
func (*FakeCommandService) UpdateDataPlaneHealthReturns ¶
func (fake *FakeCommandService) UpdateDataPlaneHealthReturns(result1 error)
func (*FakeCommandService) UpdateDataPlaneHealthReturnsOnCall ¶
func (fake *FakeCommandService) UpdateDataPlaneHealthReturnsOnCall(i int, result1 error)
func (*FakeCommandService) UpdateDataPlaneStatus ¶
func (*FakeCommandService) UpdateDataPlaneStatusArgsForCall ¶
func (*FakeCommandService) UpdateDataPlaneStatusCallCount ¶
func (fake *FakeCommandService) UpdateDataPlaneStatusCallCount() int
func (*FakeCommandService) UpdateDataPlaneStatusCalls ¶
func (*FakeCommandService) UpdateDataPlaneStatusReturns ¶
func (fake *FakeCommandService) UpdateDataPlaneStatusReturns(result1 error)
func (*FakeCommandService) UpdateDataPlaneStatusReturnsOnCall ¶
func (fake *FakeCommandService) UpdateDataPlaneStatusReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.