fakes

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

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 FakeClientInterface

type FakeClientInterface struct {
	CloseStub func() error

	FindBundleThatProvidesStub func(context.Context, string, string, string, map[string]struct{}) (*api.Bundle, error)

	GetBundleStub func(context.Context, string, string, string) (*api.Bundle, error)

	GetBundleInPackageChannelStub func(context.Context, string, string) (*api.Bundle, error)

	GetBundleThatProvidesStub func(context.Context, string, string, string) (*api.Bundle, error)

	GetLatestChannelEntriesThatProvideStub func(context.Context, string, string, string) (*registry.ChannelEntryIterator, error)

	GetPackageStub func(context.Context, string) (*api.Package, error)

	GetReplacementBundleInPackageChannelStub func(context.Context, string, string, string) (*api.Bundle, error)

	HealthCheckStub func(context.Context, time.Duration) (bool, error)

	ListBundlesStub func(context.Context) (*client.BundleIterator, error)
	// contains filtered or unexported fields
}

func (*FakeClientInterface) Close

func (fake *FakeClientInterface) Close() error

func (*FakeClientInterface) CloseCallCount

func (fake *FakeClientInterface) CloseCallCount() int

func (*FakeClientInterface) CloseCalls

func (fake *FakeClientInterface) CloseCalls(stub func() error)

func (*FakeClientInterface) CloseReturns

func (fake *FakeClientInterface) CloseReturns(result1 error)

func (*FakeClientInterface) CloseReturnsOnCall

func (fake *FakeClientInterface) CloseReturnsOnCall(i int, result1 error)

func (*FakeClientInterface) FindBundleThatProvides

func (fake *FakeClientInterface) FindBundleThatProvides(arg1 context.Context, arg2 string, arg3 string, arg4 string, arg5 map[string]struct{}) (*api.Bundle, error)

func (*FakeClientInterface) FindBundleThatProvidesArgsForCall

func (fake *FakeClientInterface) FindBundleThatProvidesArgsForCall(i int) (context.Context, string, string, string, map[string]struct{})

func (*FakeClientInterface) FindBundleThatProvidesCallCount

func (fake *FakeClientInterface) FindBundleThatProvidesCallCount() int

func (*FakeClientInterface) FindBundleThatProvidesCalls

func (fake *FakeClientInterface) FindBundleThatProvidesCalls(stub func(context.Context, string, string, string, map[string]struct{}) (*api.Bundle, error))

func (*FakeClientInterface) FindBundleThatProvidesReturns

func (fake *FakeClientInterface) FindBundleThatProvidesReturns(result1 *api.Bundle, result2 error)

func (*FakeClientInterface) FindBundleThatProvidesReturnsOnCall

func (fake *FakeClientInterface) FindBundleThatProvidesReturnsOnCall(i int, result1 *api.Bundle, result2 error)

func (*FakeClientInterface) GetBundle

func (fake *FakeClientInterface) GetBundle(arg1 context.Context, arg2 string, arg3 string, arg4 string) (*api.Bundle, error)

func (*FakeClientInterface) GetBundleArgsForCall

func (fake *FakeClientInterface) GetBundleArgsForCall(i int) (context.Context, string, string, string)

func (*FakeClientInterface) GetBundleCallCount

func (fake *FakeClientInterface) GetBundleCallCount() int

func (*FakeClientInterface) GetBundleCalls

func (fake *FakeClientInterface) GetBundleCalls(stub func(context.Context, string, string, string) (*api.Bundle, error))

func (*FakeClientInterface) GetBundleInPackageChannel

func (fake *FakeClientInterface) GetBundleInPackageChannel(arg1 context.Context, arg2 string, arg3 string) (*api.Bundle, error)

func (*FakeClientInterface) GetBundleInPackageChannelArgsForCall

func (fake *FakeClientInterface) GetBundleInPackageChannelArgsForCall(i int) (context.Context, string, string)

func (*FakeClientInterface) GetBundleInPackageChannelCallCount

func (fake *FakeClientInterface) GetBundleInPackageChannelCallCount() int

func (*FakeClientInterface) GetBundleInPackageChannelCalls

func (fake *FakeClientInterface) GetBundleInPackageChannelCalls(stub func(context.Context, string, string) (*api.Bundle, error))

func (*FakeClientInterface) GetBundleInPackageChannelReturns

func (fake *FakeClientInterface) GetBundleInPackageChannelReturns(result1 *api.Bundle, result2 error)

func (*FakeClientInterface) GetBundleInPackageChannelReturnsOnCall

func (fake *FakeClientInterface) GetBundleInPackageChannelReturnsOnCall(i int, result1 *api.Bundle, result2 error)

func (*FakeClientInterface) GetBundleReturns

func (fake *FakeClientInterface) GetBundleReturns(result1 *api.Bundle, result2 error)

func (*FakeClientInterface) GetBundleReturnsOnCall

func (fake *FakeClientInterface) GetBundleReturnsOnCall(i int, result1 *api.Bundle, result2 error)

func (*FakeClientInterface) GetBundleThatProvides

func (fake *FakeClientInterface) GetBundleThatProvides(arg1 context.Context, arg2 string, arg3 string, arg4 string) (*api.Bundle, error)

func (*FakeClientInterface) GetBundleThatProvidesArgsForCall

func (fake *FakeClientInterface) GetBundleThatProvidesArgsForCall(i int) (context.Context, string, string, string)

func (*FakeClientInterface) GetBundleThatProvidesCallCount

func (fake *FakeClientInterface) GetBundleThatProvidesCallCount() int

func (*FakeClientInterface) GetBundleThatProvidesCalls

func (fake *FakeClientInterface) GetBundleThatProvidesCalls(stub func(context.Context, string, string, string) (*api.Bundle, error))

func (*FakeClientInterface) GetBundleThatProvidesReturns

func (fake *FakeClientInterface) GetBundleThatProvidesReturns(result1 *api.Bundle, result2 error)

func (*FakeClientInterface) GetBundleThatProvidesReturnsOnCall

func (fake *FakeClientInterface) GetBundleThatProvidesReturnsOnCall(i int, result1 *api.Bundle, result2 error)

func (*FakeClientInterface) GetLatestChannelEntriesThatProvide

func (fake *FakeClientInterface) GetLatestChannelEntriesThatProvide(arg1 context.Context, arg2 string, arg3 string, arg4 string) (*registry.ChannelEntryIterator, error)

func (*FakeClientInterface) GetLatestChannelEntriesThatProvideArgsForCall

func (fake *FakeClientInterface) GetLatestChannelEntriesThatProvideArgsForCall(i int) (context.Context, string, string, string)

func (*FakeClientInterface) GetLatestChannelEntriesThatProvideCallCount

func (fake *FakeClientInterface) GetLatestChannelEntriesThatProvideCallCount() int

func (*FakeClientInterface) GetLatestChannelEntriesThatProvideCalls

func (fake *FakeClientInterface) GetLatestChannelEntriesThatProvideCalls(stub func(context.Context, string, string, string) (*registry.ChannelEntryIterator, error))

func (*FakeClientInterface) GetLatestChannelEntriesThatProvideReturns

func (fake *FakeClientInterface) GetLatestChannelEntriesThatProvideReturns(result1 *registry.ChannelEntryIterator, result2 error)

func (*FakeClientInterface) GetLatestChannelEntriesThatProvideReturnsOnCall

func (fake *FakeClientInterface) GetLatestChannelEntriesThatProvideReturnsOnCall(i int, result1 *registry.ChannelEntryIterator, result2 error)

func (*FakeClientInterface) GetPackage

func (fake *FakeClientInterface) GetPackage(arg1 context.Context, arg2 string) (*api.Package, error)

func (*FakeClientInterface) GetPackageArgsForCall

func (fake *FakeClientInterface) GetPackageArgsForCall(i int) (context.Context, string)

func (*FakeClientInterface) GetPackageCallCount

func (fake *FakeClientInterface) GetPackageCallCount() int

func (*FakeClientInterface) GetPackageCalls

func (fake *FakeClientInterface) GetPackageCalls(stub func(context.Context, string) (*api.Package, error))

func (*FakeClientInterface) GetPackageReturns

func (fake *FakeClientInterface) GetPackageReturns(result1 *api.Package, result2 error)

func (*FakeClientInterface) GetPackageReturnsOnCall

func (fake *FakeClientInterface) GetPackageReturnsOnCall(i int, result1 *api.Package, result2 error)

func (*FakeClientInterface) GetReplacementBundleInPackageChannel

func (fake *FakeClientInterface) GetReplacementBundleInPackageChannel(arg1 context.Context, arg2 string, arg3 string, arg4 string) (*api.Bundle, error)

func (*FakeClientInterface) GetReplacementBundleInPackageChannelArgsForCall

func (fake *FakeClientInterface) GetReplacementBundleInPackageChannelArgsForCall(i int) (context.Context, string, string, string)

func (*FakeClientInterface) GetReplacementBundleInPackageChannelCallCount

func (fake *FakeClientInterface) GetReplacementBundleInPackageChannelCallCount() int

func (*FakeClientInterface) GetReplacementBundleInPackageChannelCalls

func (fake *FakeClientInterface) GetReplacementBundleInPackageChannelCalls(stub func(context.Context, string, string, string) (*api.Bundle, error))

func (*FakeClientInterface) GetReplacementBundleInPackageChannelReturns

func (fake *FakeClientInterface) GetReplacementBundleInPackageChannelReturns(result1 *api.Bundle, result2 error)

func (*FakeClientInterface) GetReplacementBundleInPackageChannelReturnsOnCall

func (fake *FakeClientInterface) GetReplacementBundleInPackageChannelReturnsOnCall(i int, result1 *api.Bundle, result2 error)

func (*FakeClientInterface) HealthCheck

func (fake *FakeClientInterface) HealthCheck(arg1 context.Context, arg2 time.Duration) (bool, error)

func (*FakeClientInterface) HealthCheckArgsForCall

func (fake *FakeClientInterface) HealthCheckArgsForCall(i int) (context.Context, time.Duration)

func (*FakeClientInterface) HealthCheckCallCount

func (fake *FakeClientInterface) HealthCheckCallCount() int

func (*FakeClientInterface) HealthCheckCalls

func (fake *FakeClientInterface) HealthCheckCalls(stub func(context.Context, time.Duration) (bool, error))

func (*FakeClientInterface) HealthCheckReturns

func (fake *FakeClientInterface) HealthCheckReturns(result1 bool, result2 error)

func (*FakeClientInterface) HealthCheckReturnsOnCall

func (fake *FakeClientInterface) HealthCheckReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeClientInterface) Invocations

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

func (*FakeClientInterface) ListBundles

func (fake *FakeClientInterface) ListBundles(arg1 context.Context) (*client.BundleIterator, error)

func (*FakeClientInterface) ListBundlesArgsForCall

func (fake *FakeClientInterface) ListBundlesArgsForCall(i int) context.Context

func (*FakeClientInterface) ListBundlesCallCount

func (fake *FakeClientInterface) ListBundlesCallCount() int

func (*FakeClientInterface) ListBundlesCalls

func (fake *FakeClientInterface) ListBundlesCalls(stub func(context.Context) (*client.BundleIterator, error))

func (*FakeClientInterface) ListBundlesReturns

func (fake *FakeClientInterface) ListBundlesReturns(result1 *client.BundleIterator, result2 error)

func (*FakeClientInterface) ListBundlesReturnsOnCall

func (fake *FakeClientInterface) ListBundlesReturnsOnCall(i int, result1 *client.BundleIterator, result2 error)

type FakeRegistryClient

type FakeRegistryClient struct {
	GetBundleStub func(context.Context, *api.GetBundleRequest, ...grpc.CallOption) (*api.Bundle, error)

	GetBundleForChannelStub func(context.Context, *api.GetBundleInChannelRequest, ...grpc.CallOption) (*api.Bundle, error)

	GetBundleThatReplacesStub func(context.Context, *api.GetReplacementRequest, ...grpc.CallOption) (*api.Bundle, error)

	GetChannelEntriesThatProvideStub func(context.Context, *api.GetAllProvidersRequest, ...grpc.CallOption) (api.Registry_GetChannelEntriesThatProvideClient, error)

	GetChannelEntriesThatReplaceStub func(context.Context, *api.GetAllReplacementsRequest, ...grpc.CallOption) (api.Registry_GetChannelEntriesThatReplaceClient, error)

	GetDefaultBundleThatProvidesStub func(context.Context, *api.GetDefaultProviderRequest, ...grpc.CallOption) (*api.Bundle, error)

	GetLatestChannelEntriesThatProvideStub func(context.Context, *api.GetLatestProvidersRequest, ...grpc.CallOption) (api.Registry_GetLatestChannelEntriesThatProvideClient, error)

	GetPackageStub func(context.Context, *api.GetPackageRequest, ...grpc.CallOption) (*api.Package, error)

	ListBundlesStub func(context.Context, *api.ListBundlesRequest, ...grpc.CallOption) (api.Registry_ListBundlesClient, error)

	ListPackagesStub func(context.Context, *api.ListPackageRequest, ...grpc.CallOption) (api.Registry_ListPackagesClient, error)
	// contains filtered or unexported fields
}

func (*FakeRegistryClient) GetBundle

func (fake *FakeRegistryClient) GetBundle(arg1 context.Context, arg2 *api.GetBundleRequest, arg3 ...grpc.CallOption) (*api.Bundle, error)

func (*FakeRegistryClient) GetBundleArgsForCall

func (fake *FakeRegistryClient) GetBundleArgsForCall(i int) (context.Context, *api.GetBundleRequest, []grpc.CallOption)

func (*FakeRegistryClient) GetBundleCallCount

func (fake *FakeRegistryClient) GetBundleCallCount() int

func (*FakeRegistryClient) GetBundleCalls

func (fake *FakeRegistryClient) GetBundleCalls(stub func(context.Context, *api.GetBundleRequest, ...grpc.CallOption) (*api.Bundle, error))

func (*FakeRegistryClient) GetBundleForChannel

func (fake *FakeRegistryClient) GetBundleForChannel(arg1 context.Context, arg2 *api.GetBundleInChannelRequest, arg3 ...grpc.CallOption) (*api.Bundle, error)

func (*FakeRegistryClient) GetBundleForChannelArgsForCall

func (fake *FakeRegistryClient) GetBundleForChannelArgsForCall(i int) (context.Context, *api.GetBundleInChannelRequest, []grpc.CallOption)

func (*FakeRegistryClient) GetBundleForChannelCallCount

func (fake *FakeRegistryClient) GetBundleForChannelCallCount() int

func (*FakeRegistryClient) GetBundleForChannelCalls

func (fake *FakeRegistryClient) GetBundleForChannelCalls(stub func(context.Context, *api.GetBundleInChannelRequest, ...grpc.CallOption) (*api.Bundle, error))

func (*FakeRegistryClient) GetBundleForChannelReturns

func (fake *FakeRegistryClient) GetBundleForChannelReturns(result1 *api.Bundle, result2 error)

func (*FakeRegistryClient) GetBundleForChannelReturnsOnCall

func (fake *FakeRegistryClient) GetBundleForChannelReturnsOnCall(i int, result1 *api.Bundle, result2 error)

func (*FakeRegistryClient) GetBundleReturns

func (fake *FakeRegistryClient) GetBundleReturns(result1 *api.Bundle, result2 error)

func (*FakeRegistryClient) GetBundleReturnsOnCall

func (fake *FakeRegistryClient) GetBundleReturnsOnCall(i int, result1 *api.Bundle, result2 error)

func (*FakeRegistryClient) GetBundleThatReplaces

func (fake *FakeRegistryClient) GetBundleThatReplaces(arg1 context.Context, arg2 *api.GetReplacementRequest, arg3 ...grpc.CallOption) (*api.Bundle, error)

func (*FakeRegistryClient) GetBundleThatReplacesArgsForCall

func (fake *FakeRegistryClient) GetBundleThatReplacesArgsForCall(i int) (context.Context, *api.GetReplacementRequest, []grpc.CallOption)

func (*FakeRegistryClient) GetBundleThatReplacesCallCount

func (fake *FakeRegistryClient) GetBundleThatReplacesCallCount() int

func (*FakeRegistryClient) GetBundleThatReplacesCalls

func (fake *FakeRegistryClient) GetBundleThatReplacesCalls(stub func(context.Context, *api.GetReplacementRequest, ...grpc.CallOption) (*api.Bundle, error))

func (*FakeRegistryClient) GetBundleThatReplacesReturns

func (fake *FakeRegistryClient) GetBundleThatReplacesReturns(result1 *api.Bundle, result2 error)

func (*FakeRegistryClient) GetBundleThatReplacesReturnsOnCall

func (fake *FakeRegistryClient) GetBundleThatReplacesReturnsOnCall(i int, result1 *api.Bundle, result2 error)

func (*FakeRegistryClient) GetChannelEntriesThatProvide

func (*FakeRegistryClient) GetChannelEntriesThatProvideArgsForCall

func (fake *FakeRegistryClient) GetChannelEntriesThatProvideArgsForCall(i int) (context.Context, *api.GetAllProvidersRequest, []grpc.CallOption)

func (*FakeRegistryClient) GetChannelEntriesThatProvideCallCount

func (fake *FakeRegistryClient) GetChannelEntriesThatProvideCallCount() int

func (*FakeRegistryClient) GetChannelEntriesThatProvideCalls

func (*FakeRegistryClient) GetChannelEntriesThatProvideReturns

func (fake *FakeRegistryClient) GetChannelEntriesThatProvideReturns(result1 api.Registry_GetChannelEntriesThatProvideClient, result2 error)

func (*FakeRegistryClient) GetChannelEntriesThatProvideReturnsOnCall

func (fake *FakeRegistryClient) GetChannelEntriesThatProvideReturnsOnCall(i int, result1 api.Registry_GetChannelEntriesThatProvideClient, result2 error)

func (*FakeRegistryClient) GetChannelEntriesThatReplace

func (*FakeRegistryClient) GetChannelEntriesThatReplaceArgsForCall

func (fake *FakeRegistryClient) GetChannelEntriesThatReplaceArgsForCall(i int) (context.Context, *api.GetAllReplacementsRequest, []grpc.CallOption)

func (*FakeRegistryClient) GetChannelEntriesThatReplaceCallCount

func (fake *FakeRegistryClient) GetChannelEntriesThatReplaceCallCount() int

func (*FakeRegistryClient) GetChannelEntriesThatReplaceCalls

func (*FakeRegistryClient) GetChannelEntriesThatReplaceReturns

func (fake *FakeRegistryClient) GetChannelEntriesThatReplaceReturns(result1 api.Registry_GetChannelEntriesThatReplaceClient, result2 error)

func (*FakeRegistryClient) GetChannelEntriesThatReplaceReturnsOnCall

func (fake *FakeRegistryClient) GetChannelEntriesThatReplaceReturnsOnCall(i int, result1 api.Registry_GetChannelEntriesThatReplaceClient, result2 error)

func (*FakeRegistryClient) GetDefaultBundleThatProvides

func (fake *FakeRegistryClient) GetDefaultBundleThatProvides(arg1 context.Context, arg2 *api.GetDefaultProviderRequest, arg3 ...grpc.CallOption) (*api.Bundle, error)

func (*FakeRegistryClient) GetDefaultBundleThatProvidesArgsForCall

func (fake *FakeRegistryClient) GetDefaultBundleThatProvidesArgsForCall(i int) (context.Context, *api.GetDefaultProviderRequest, []grpc.CallOption)

func (*FakeRegistryClient) GetDefaultBundleThatProvidesCallCount

func (fake *FakeRegistryClient) GetDefaultBundleThatProvidesCallCount() int

func (*FakeRegistryClient) GetDefaultBundleThatProvidesCalls

func (fake *FakeRegistryClient) GetDefaultBundleThatProvidesCalls(stub func(context.Context, *api.GetDefaultProviderRequest, ...grpc.CallOption) (*api.Bundle, error))

func (*FakeRegistryClient) GetDefaultBundleThatProvidesReturns

func (fake *FakeRegistryClient) GetDefaultBundleThatProvidesReturns(result1 *api.Bundle, result2 error)

func (*FakeRegistryClient) GetDefaultBundleThatProvidesReturnsOnCall

func (fake *FakeRegistryClient) GetDefaultBundleThatProvidesReturnsOnCall(i int, result1 *api.Bundle, result2 error)

func (*FakeRegistryClient) GetLatestChannelEntriesThatProvide

func (*FakeRegistryClient) GetLatestChannelEntriesThatProvideArgsForCall

func (fake *FakeRegistryClient) GetLatestChannelEntriesThatProvideArgsForCall(i int) (context.Context, *api.GetLatestProvidersRequest, []grpc.CallOption)

func (*FakeRegistryClient) GetLatestChannelEntriesThatProvideCallCount

func (fake *FakeRegistryClient) GetLatestChannelEntriesThatProvideCallCount() int

func (*FakeRegistryClient) GetLatestChannelEntriesThatProvideReturns

func (fake *FakeRegistryClient) GetLatestChannelEntriesThatProvideReturns(result1 api.Registry_GetLatestChannelEntriesThatProvideClient, result2 error)

func (*FakeRegistryClient) GetLatestChannelEntriesThatProvideReturnsOnCall

func (fake *FakeRegistryClient) GetLatestChannelEntriesThatProvideReturnsOnCall(i int, result1 api.Registry_GetLatestChannelEntriesThatProvideClient, result2 error)

func (*FakeRegistryClient) GetPackage

func (fake *FakeRegistryClient) GetPackage(arg1 context.Context, arg2 *api.GetPackageRequest, arg3 ...grpc.CallOption) (*api.Package, error)

func (*FakeRegistryClient) GetPackageArgsForCall

func (fake *FakeRegistryClient) GetPackageArgsForCall(i int) (context.Context, *api.GetPackageRequest, []grpc.CallOption)

func (*FakeRegistryClient) GetPackageCallCount

func (fake *FakeRegistryClient) GetPackageCallCount() int

func (*FakeRegistryClient) GetPackageCalls

func (fake *FakeRegistryClient) GetPackageCalls(stub func(context.Context, *api.GetPackageRequest, ...grpc.CallOption) (*api.Package, error))

func (*FakeRegistryClient) GetPackageReturns

func (fake *FakeRegistryClient) GetPackageReturns(result1 *api.Package, result2 error)

func (*FakeRegistryClient) GetPackageReturnsOnCall

func (fake *FakeRegistryClient) GetPackageReturnsOnCall(i int, result1 *api.Package, result2 error)

func (*FakeRegistryClient) Invocations

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

func (*FakeRegistryClient) ListBundles

func (*FakeRegistryClient) ListBundlesArgsForCall

func (fake *FakeRegistryClient) ListBundlesArgsForCall(i int) (context.Context, *api.ListBundlesRequest, []grpc.CallOption)

func (*FakeRegistryClient) ListBundlesCallCount

func (fake *FakeRegistryClient) ListBundlesCallCount() int

func (*FakeRegistryClient) ListBundlesCalls

func (*FakeRegistryClient) ListBundlesReturns

func (fake *FakeRegistryClient) ListBundlesReturns(result1 api.Registry_ListBundlesClient, result2 error)

func (*FakeRegistryClient) ListBundlesReturnsOnCall

func (fake *FakeRegistryClient) ListBundlesReturnsOnCall(i int, result1 api.Registry_ListBundlesClient, result2 error)

func (*FakeRegistryClient) ListPackages

func (*FakeRegistryClient) ListPackagesArgsForCall

func (fake *FakeRegistryClient) ListPackagesArgsForCall(i int) (context.Context, *api.ListPackageRequest, []grpc.CallOption)

func (*FakeRegistryClient) ListPackagesCallCount

func (fake *FakeRegistryClient) ListPackagesCallCount() int

func (*FakeRegistryClient) ListPackagesCalls

func (*FakeRegistryClient) ListPackagesReturns

func (fake *FakeRegistryClient) ListPackagesReturns(result1 api.Registry_ListPackagesClient, result2 error)

func (*FakeRegistryClient) ListPackagesReturnsOnCall

func (fake *FakeRegistryClient) ListPackagesReturnsOnCall(i int, result1 api.Registry_ListPackagesClient, result2 error)

Jump to

Keyboard shortcuts

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