fakes

package
v0.0.0-...-44e52ee Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: MPL-2.0 Imports: 6 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 FakeClient

type FakeClient struct {
	CloseStub func()

	CreateMicroVMStub func(context.Context, *v1alpha1.CreateMicroVMRequest, ...grpc.CallOption) (*v1alpha1.CreateMicroVMResponse, error)

	DeleteMicroVMStub func(context.Context, *v1alpha1.DeleteMicroVMRequest, ...grpc.CallOption) (*emptypb.Empty, error)

	GetMicroVMStub func(context.Context, *v1alpha1.GetMicroVMRequest, ...grpc.CallOption) (*v1alpha1.GetMicroVMResponse, error)

	ListMicroVMsStub func(context.Context, *v1alpha1.ListMicroVMsRequest, ...grpc.CallOption) (*v1alpha1.ListMicroVMsResponse, error)

	ListMicroVMsStreamStub func(context.Context, *v1alpha1.ListMicroVMsRequest, ...grpc.CallOption) (v1alpha1.MicroVM_ListMicroVMsStreamClient, error)
	// contains filtered or unexported fields
}

func (*FakeClient) Close

func (fake *FakeClient) Close()

func (*FakeClient) CloseCallCount

func (fake *FakeClient) CloseCallCount() int

func (*FakeClient) CloseCalls

func (fake *FakeClient) CloseCalls(stub func())

func (*FakeClient) CreateMicroVM

func (*FakeClient) CreateMicroVMArgsForCall

func (fake *FakeClient) CreateMicroVMArgsForCall(i int) (context.Context, *v1alpha1.CreateMicroVMRequest, []grpc.CallOption)

func (*FakeClient) CreateMicroVMCallCount

func (fake *FakeClient) CreateMicroVMCallCount() int

func (*FakeClient) CreateMicroVMCalls

func (*FakeClient) CreateMicroVMReturns

func (fake *FakeClient) CreateMicroVMReturns(result1 *v1alpha1.CreateMicroVMResponse, result2 error)

func (*FakeClient) CreateMicroVMReturnsOnCall

func (fake *FakeClient) CreateMicroVMReturnsOnCall(i int, result1 *v1alpha1.CreateMicroVMResponse, result2 error)

func (*FakeClient) DeleteMicroVM

func (fake *FakeClient) DeleteMicroVM(arg1 context.Context, arg2 *v1alpha1.DeleteMicroVMRequest, arg3 ...grpc.CallOption) (*emptypb.Empty, error)

func (*FakeClient) DeleteMicroVMArgsForCall

func (fake *FakeClient) DeleteMicroVMArgsForCall(i int) (context.Context, *v1alpha1.DeleteMicroVMRequest, []grpc.CallOption)

func (*FakeClient) DeleteMicroVMCallCount

func (fake *FakeClient) DeleteMicroVMCallCount() int

func (*FakeClient) DeleteMicroVMCalls

func (fake *FakeClient) DeleteMicroVMCalls(stub func(context.Context, *v1alpha1.DeleteMicroVMRequest, ...grpc.CallOption) (*emptypb.Empty, error))

func (*FakeClient) DeleteMicroVMReturns

func (fake *FakeClient) DeleteMicroVMReturns(result1 *emptypb.Empty, result2 error)

func (*FakeClient) DeleteMicroVMReturnsOnCall

func (fake *FakeClient) DeleteMicroVMReturnsOnCall(i int, result1 *emptypb.Empty, result2 error)

func (*FakeClient) GetMicroVM

func (*FakeClient) GetMicroVMArgsForCall

func (fake *FakeClient) GetMicroVMArgsForCall(i int) (context.Context, *v1alpha1.GetMicroVMRequest, []grpc.CallOption)

func (*FakeClient) GetMicroVMCallCount

func (fake *FakeClient) GetMicroVMCallCount() int

func (*FakeClient) GetMicroVMCalls

func (*FakeClient) GetMicroVMReturns

func (fake *FakeClient) GetMicroVMReturns(result1 *v1alpha1.GetMicroVMResponse, result2 error)

func (*FakeClient) GetMicroVMReturnsOnCall

func (fake *FakeClient) GetMicroVMReturnsOnCall(i int, result1 *v1alpha1.GetMicroVMResponse, result2 error)

func (*FakeClient) Invocations

func (fake *FakeClient) Invocations() map[string][][]interface{}

func (*FakeClient) ListMicroVMs

func (*FakeClient) ListMicroVMsArgsForCall

func (fake *FakeClient) ListMicroVMsArgsForCall(i int) (context.Context, *v1alpha1.ListMicroVMsRequest, []grpc.CallOption)

func (*FakeClient) ListMicroVMsCallCount

func (fake *FakeClient) ListMicroVMsCallCount() int

func (*FakeClient) ListMicroVMsCalls

func (*FakeClient) ListMicroVMsReturns

func (fake *FakeClient) ListMicroVMsReturns(result1 *v1alpha1.ListMicroVMsResponse, result2 error)

func (*FakeClient) ListMicroVMsReturnsOnCall

func (fake *FakeClient) ListMicroVMsReturnsOnCall(i int, result1 *v1alpha1.ListMicroVMsResponse, result2 error)

func (*FakeClient) ListMicroVMsStream

func (*FakeClient) ListMicroVMsStreamArgsForCall

func (fake *FakeClient) ListMicroVMsStreamArgsForCall(i int) (context.Context, *v1alpha1.ListMicroVMsRequest, []grpc.CallOption)

func (*FakeClient) ListMicroVMsStreamCallCount

func (fake *FakeClient) ListMicroVMsStreamCallCount() int

func (*FakeClient) ListMicroVMsStreamCalls

func (*FakeClient) ListMicroVMsStreamReturns

func (fake *FakeClient) ListMicroVMsStreamReturns(result1 v1alpha1.MicroVM_ListMicroVMsStreamClient, result2 error)

func (*FakeClient) ListMicroVMsStreamReturnsOnCall

func (fake *FakeClient) ListMicroVMsStreamReturnsOnCall(i int, result1 v1alpha1.MicroVM_ListMicroVMsStreamClient, result2 error)

Jump to

Keyboard shortcuts

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