commandfakes

package
v3.0.0-...-0f0c0e2 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeCommandService

type FakeCommandService struct {
	CancelSubscriptionStub func(context.Context)

	CreateConnectionStub func(context.Context, *v1.Resource) (*v1.CreateConnectionResponse, error)

	IsConnectedStub func() bool

	SendDataPlaneResponseStub func(context.Context, *v1.DataPlaneResponse) error

	UpdateDataPlaneHealthStub func(context.Context, []*v1.InstanceHealth) error

	UpdateDataPlaneStatusStub func(context.Context, *v1.Resource) error
	// contains filtered or unexported fields
}

func (*FakeCommandService) CancelSubscription

func (fake *FakeCommandService) CancelSubscription(arg1 context.Context)

func (*FakeCommandService) CancelSubscriptionArgsForCall

func (fake *FakeCommandService) CancelSubscriptionArgsForCall(i int) context.Context

func (*FakeCommandService) CancelSubscriptionCallCount

func (fake *FakeCommandService) CancelSubscriptionCallCount() int

func (*FakeCommandService) CancelSubscriptionCalls

func (fake *FakeCommandService) CancelSubscriptionCalls(stub func(context.Context))

func (*FakeCommandService) CreateConnection

func (fake *FakeCommandService) CreateConnection(arg1 context.Context, arg2 *v1.Resource) (*v1.CreateConnectionResponse, error)

func (*FakeCommandService) CreateConnectionArgsForCall

func (fake *FakeCommandService) CreateConnectionArgsForCall(i int) (context.Context, *v1.Resource)

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) 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 (fake *FakeCommandService) UpdateDataPlaneStatus(arg1 context.Context, arg2 *v1.Resource) error

func (*FakeCommandService) UpdateDataPlaneStatusArgsForCall

func (fake *FakeCommandService) UpdateDataPlaneStatusArgsForCall(i int) (context.Context, *v1.Resource)

func (*FakeCommandService) UpdateDataPlaneStatusCallCount

func (fake *FakeCommandService) UpdateDataPlaneStatusCallCount() int

func (*FakeCommandService) UpdateDataPlaneStatusCalls

func (fake *FakeCommandService) UpdateDataPlaneStatusCalls(stub func(context.Context, *v1.Resource) error)

func (*FakeCommandService) UpdateDataPlaneStatusReturns

func (fake *FakeCommandService) UpdateDataPlaneStatusReturns(result1 error)

func (*FakeCommandService) UpdateDataPlaneStatusReturnsOnCall

func (fake *FakeCommandService) UpdateDataPlaneStatusReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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