fakes

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

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 FakeQuery

type FakeQuery struct {
	GetApisForEntryStub func(context.Context, int64) ([]*api.GroupVersionKind, []*api.GroupVersionKind, error)

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

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

	GetBundlePathIfExistsStub func(context.Context, string) (string, error)

	GetBundlePathsForPackageStub func(context.Context, string) ([]string, error)

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

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

	GetBundleVersionStub func(context.Context, string) (string, error)

	GetBundlesForPackageStub func(context.Context, string) (map[registry.BundleKey]struct{}, error)

	GetChannelEntriesFromPackageStub func(context.Context, string) ([]registry.ChannelEntryAnnotated, error)

	GetChannelEntriesThatProvideStub func(context.Context, string, string, string) ([]*registry.ChannelEntry, error)

	GetChannelEntriesThatReplaceStub func(context.Context, string) ([]*registry.ChannelEntry, error)

	GetCurrentCSVNameForChannelStub func(context.Context, string, string) (string, error)

	GetDefaultChannelForPackageStub func(context.Context, string) (string, error)

	GetDefaultPackageStub func(context.Context, string) (string, error)

	GetDependenciesForBundleStub func(context.Context, string, string, string) ([]*api.Dependency, error)

	GetImagesForBundleStub func(context.Context, string) ([]string, error)

	GetLatestChannelEntriesThatProvideStub func(context.Context, string, string, string) ([]*registry.ChannelEntry, error)

	GetPackageStub func(context.Context, string) (*registry.PackageManifest, error)

	ListBundlesStub func(context.Context) ([]*api.Bundle, error)

	ListChannelsStub func(context.Context, string) ([]string, error)

	ListImagesStub func(context.Context) ([]string, error)

	ListPackagesStub func(context.Context) ([]string, error)

	ListRegistryBundlesStub func(context.Context) ([]*registry.Bundle, error)

	ListTablesStub func(context.Context) ([]string, error)
	// contains filtered or unexported fields
}

func (*FakeQuery) GetApisForEntry

func (fake *FakeQuery) GetApisForEntry(arg1 context.Context, arg2 int64) ([]*api.GroupVersionKind, []*api.GroupVersionKind, error)

func (*FakeQuery) GetApisForEntryArgsForCall

func (fake *FakeQuery) GetApisForEntryArgsForCall(i int) (context.Context, int64)

func (*FakeQuery) GetApisForEntryCallCount

func (fake *FakeQuery) GetApisForEntryCallCount() int

func (*FakeQuery) GetApisForEntryCalls

func (fake *FakeQuery) GetApisForEntryCalls(stub func(context.Context, int64) ([]*api.GroupVersionKind, []*api.GroupVersionKind, error))

func (*FakeQuery) GetApisForEntryReturns

func (fake *FakeQuery) GetApisForEntryReturns(result1 []*api.GroupVersionKind, result2 []*api.GroupVersionKind, result3 error)

func (*FakeQuery) GetApisForEntryReturnsOnCall

func (fake *FakeQuery) GetApisForEntryReturnsOnCall(i int, result1 []*api.GroupVersionKind, result2 []*api.GroupVersionKind, result3 error)

func (*FakeQuery) GetBundle

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

func (*FakeQuery) GetBundleArgsForCall

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

func (*FakeQuery) GetBundleCallCount

func (fake *FakeQuery) GetBundleCallCount() int

func (*FakeQuery) GetBundleCalls

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

func (*FakeQuery) GetBundleForChannel

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

func (*FakeQuery) GetBundleForChannelArgsForCall

func (fake *FakeQuery) GetBundleForChannelArgsForCall(i int) (context.Context, string, string)

func (*FakeQuery) GetBundleForChannelCallCount

func (fake *FakeQuery) GetBundleForChannelCallCount() int

func (*FakeQuery) GetBundleForChannelCalls

func (fake *FakeQuery) GetBundleForChannelCalls(stub func(context.Context, string, string) (*api.Bundle, error))

func (*FakeQuery) GetBundleForChannelReturns

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

func (*FakeQuery) GetBundleForChannelReturnsOnCall

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

func (*FakeQuery) GetBundlePathIfExists added in v0.19.0

func (fake *FakeQuery) GetBundlePathIfExists(arg1 context.Context, arg2 string) (string, error)

func (*FakeQuery) GetBundlePathIfExistsArgsForCall added in v0.19.0

func (fake *FakeQuery) GetBundlePathIfExistsArgsForCall(i int) (context.Context, string)

func (*FakeQuery) GetBundlePathIfExistsCallCount added in v0.19.0

func (fake *FakeQuery) GetBundlePathIfExistsCallCount() int

func (*FakeQuery) GetBundlePathIfExistsCalls added in v0.19.0

func (fake *FakeQuery) GetBundlePathIfExistsCalls(stub func(context.Context, string) (string, error))

func (*FakeQuery) GetBundlePathIfExistsReturns added in v0.19.0

func (fake *FakeQuery) GetBundlePathIfExistsReturns(result1 string, result2 error)

func (*FakeQuery) GetBundlePathIfExistsReturnsOnCall added in v0.19.0

func (fake *FakeQuery) GetBundlePathIfExistsReturnsOnCall(i int, result1 string, result2 error)

func (*FakeQuery) GetBundlePathsForPackage

func (fake *FakeQuery) GetBundlePathsForPackage(arg1 context.Context, arg2 string) ([]string, error)

func (*FakeQuery) GetBundlePathsForPackageArgsForCall

func (fake *FakeQuery) GetBundlePathsForPackageArgsForCall(i int) (context.Context, string)

func (*FakeQuery) GetBundlePathsForPackageCallCount

func (fake *FakeQuery) GetBundlePathsForPackageCallCount() int

func (*FakeQuery) GetBundlePathsForPackageCalls

func (fake *FakeQuery) GetBundlePathsForPackageCalls(stub func(context.Context, string) ([]string, error))

func (*FakeQuery) GetBundlePathsForPackageReturns

func (fake *FakeQuery) GetBundlePathsForPackageReturns(result1 []string, result2 error)

func (*FakeQuery) GetBundlePathsForPackageReturnsOnCall

func (fake *FakeQuery) GetBundlePathsForPackageReturnsOnCall(i int, result1 []string, result2 error)

func (*FakeQuery) GetBundleReturns

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

func (*FakeQuery) GetBundleReturnsOnCall

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

func (*FakeQuery) GetBundleThatProvides

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

func (*FakeQuery) GetBundleThatProvidesArgsForCall

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

func (*FakeQuery) GetBundleThatProvidesCallCount

func (fake *FakeQuery) GetBundleThatProvidesCallCount() int

func (*FakeQuery) GetBundleThatProvidesCalls

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

func (*FakeQuery) GetBundleThatProvidesReturns

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

func (*FakeQuery) GetBundleThatProvidesReturnsOnCall

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

func (*FakeQuery) GetBundleThatReplaces

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

func (*FakeQuery) GetBundleThatReplacesArgsForCall

func (fake *FakeQuery) GetBundleThatReplacesArgsForCall(i int) (context.Context, string, string, string)

func (*FakeQuery) GetBundleThatReplacesCallCount

func (fake *FakeQuery) GetBundleThatReplacesCallCount() int

func (*FakeQuery) GetBundleThatReplacesCalls

func (fake *FakeQuery) GetBundleThatReplacesCalls(stub func(context.Context, string, string, string) (*api.Bundle, error))

func (*FakeQuery) GetBundleThatReplacesReturns

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

func (*FakeQuery) GetBundleThatReplacesReturnsOnCall

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

func (*FakeQuery) GetBundleVersion

func (fake *FakeQuery) GetBundleVersion(arg1 context.Context, arg2 string) (string, error)

func (*FakeQuery) GetBundleVersionArgsForCall

func (fake *FakeQuery) GetBundleVersionArgsForCall(i int) (context.Context, string)

func (*FakeQuery) GetBundleVersionCallCount

func (fake *FakeQuery) GetBundleVersionCallCount() int

func (*FakeQuery) GetBundleVersionCalls

func (fake *FakeQuery) GetBundleVersionCalls(stub func(context.Context, string) (string, error))

func (*FakeQuery) GetBundleVersionReturns

func (fake *FakeQuery) GetBundleVersionReturns(result1 string, result2 error)

func (*FakeQuery) GetBundleVersionReturnsOnCall

func (fake *FakeQuery) GetBundleVersionReturnsOnCall(i int, result1 string, result2 error)

func (*FakeQuery) GetBundlesForPackage

func (fake *FakeQuery) GetBundlesForPackage(arg1 context.Context, arg2 string) (map[registry.BundleKey]struct{}, error)

func (*FakeQuery) GetBundlesForPackageArgsForCall

func (fake *FakeQuery) GetBundlesForPackageArgsForCall(i int) (context.Context, string)

func (*FakeQuery) GetBundlesForPackageCallCount

func (fake *FakeQuery) GetBundlesForPackageCallCount() int

func (*FakeQuery) GetBundlesForPackageCalls

func (fake *FakeQuery) GetBundlesForPackageCalls(stub func(context.Context, string) (map[registry.BundleKey]struct{}, error))

func (*FakeQuery) GetBundlesForPackageReturns

func (fake *FakeQuery) GetBundlesForPackageReturns(result1 map[registry.BundleKey]struct{}, result2 error)

func (*FakeQuery) GetBundlesForPackageReturnsOnCall

func (fake *FakeQuery) GetBundlesForPackageReturnsOnCall(i int, result1 map[registry.BundleKey]struct{}, result2 error)

func (*FakeQuery) GetChannelEntriesFromPackage

func (fake *FakeQuery) GetChannelEntriesFromPackage(arg1 context.Context, arg2 string) ([]registry.ChannelEntryAnnotated, error)

func (*FakeQuery) GetChannelEntriesFromPackageArgsForCall

func (fake *FakeQuery) GetChannelEntriesFromPackageArgsForCall(i int) (context.Context, string)

func (*FakeQuery) GetChannelEntriesFromPackageCallCount

func (fake *FakeQuery) GetChannelEntriesFromPackageCallCount() int

func (*FakeQuery) GetChannelEntriesFromPackageCalls

func (fake *FakeQuery) GetChannelEntriesFromPackageCalls(stub func(context.Context, string) ([]registry.ChannelEntryAnnotated, error))

func (*FakeQuery) GetChannelEntriesFromPackageReturns

func (fake *FakeQuery) GetChannelEntriesFromPackageReturns(result1 []registry.ChannelEntryAnnotated, result2 error)

func (*FakeQuery) GetChannelEntriesFromPackageReturnsOnCall

func (fake *FakeQuery) GetChannelEntriesFromPackageReturnsOnCall(i int, result1 []registry.ChannelEntryAnnotated, result2 error)

func (*FakeQuery) GetChannelEntriesThatProvide

func (fake *FakeQuery) GetChannelEntriesThatProvide(arg1 context.Context, arg2 string, arg3 string, arg4 string) ([]*registry.ChannelEntry, error)

func (*FakeQuery) GetChannelEntriesThatProvideArgsForCall

func (fake *FakeQuery) GetChannelEntriesThatProvideArgsForCall(i int) (context.Context, string, string, string)

func (*FakeQuery) GetChannelEntriesThatProvideCallCount

func (fake *FakeQuery) GetChannelEntriesThatProvideCallCount() int

func (*FakeQuery) GetChannelEntriesThatProvideCalls

func (fake *FakeQuery) GetChannelEntriesThatProvideCalls(stub func(context.Context, string, string, string) ([]*registry.ChannelEntry, error))

func (*FakeQuery) GetChannelEntriesThatProvideReturns

func (fake *FakeQuery) GetChannelEntriesThatProvideReturns(result1 []*registry.ChannelEntry, result2 error)

func (*FakeQuery) GetChannelEntriesThatProvideReturnsOnCall

func (fake *FakeQuery) GetChannelEntriesThatProvideReturnsOnCall(i int, result1 []*registry.ChannelEntry, result2 error)

func (*FakeQuery) GetChannelEntriesThatReplace

func (fake *FakeQuery) GetChannelEntriesThatReplace(arg1 context.Context, arg2 string) ([]*registry.ChannelEntry, error)

func (*FakeQuery) GetChannelEntriesThatReplaceArgsForCall

func (fake *FakeQuery) GetChannelEntriesThatReplaceArgsForCall(i int) (context.Context, string)

func (*FakeQuery) GetChannelEntriesThatReplaceCallCount

func (fake *FakeQuery) GetChannelEntriesThatReplaceCallCount() int

func (*FakeQuery) GetChannelEntriesThatReplaceCalls

func (fake *FakeQuery) GetChannelEntriesThatReplaceCalls(stub func(context.Context, string) ([]*registry.ChannelEntry, error))

func (*FakeQuery) GetChannelEntriesThatReplaceReturns

func (fake *FakeQuery) GetChannelEntriesThatReplaceReturns(result1 []*registry.ChannelEntry, result2 error)

func (*FakeQuery) GetChannelEntriesThatReplaceReturnsOnCall

func (fake *FakeQuery) GetChannelEntriesThatReplaceReturnsOnCall(i int, result1 []*registry.ChannelEntry, result2 error)

func (*FakeQuery) GetCurrentCSVNameForChannel

func (fake *FakeQuery) GetCurrentCSVNameForChannel(arg1 context.Context, arg2 string, arg3 string) (string, error)

func (*FakeQuery) GetCurrentCSVNameForChannelArgsForCall

func (fake *FakeQuery) GetCurrentCSVNameForChannelArgsForCall(i int) (context.Context, string, string)

func (*FakeQuery) GetCurrentCSVNameForChannelCallCount

func (fake *FakeQuery) GetCurrentCSVNameForChannelCallCount() int

func (*FakeQuery) GetCurrentCSVNameForChannelCalls

func (fake *FakeQuery) GetCurrentCSVNameForChannelCalls(stub func(context.Context, string, string) (string, error))

func (*FakeQuery) GetCurrentCSVNameForChannelReturns

func (fake *FakeQuery) GetCurrentCSVNameForChannelReturns(result1 string, result2 error)

func (*FakeQuery) GetCurrentCSVNameForChannelReturnsOnCall

func (fake *FakeQuery) GetCurrentCSVNameForChannelReturnsOnCall(i int, result1 string, result2 error)

func (*FakeQuery) GetDefaultChannelForPackage

func (fake *FakeQuery) GetDefaultChannelForPackage(arg1 context.Context, arg2 string) (string, error)

func (*FakeQuery) GetDefaultChannelForPackageArgsForCall

func (fake *FakeQuery) GetDefaultChannelForPackageArgsForCall(i int) (context.Context, string)

func (*FakeQuery) GetDefaultChannelForPackageCallCount

func (fake *FakeQuery) GetDefaultChannelForPackageCallCount() int

func (*FakeQuery) GetDefaultChannelForPackageCalls

func (fake *FakeQuery) GetDefaultChannelForPackageCalls(stub func(context.Context, string) (string, error))

func (*FakeQuery) GetDefaultChannelForPackageReturns

func (fake *FakeQuery) GetDefaultChannelForPackageReturns(result1 string, result2 error)

func (*FakeQuery) GetDefaultChannelForPackageReturnsOnCall

func (fake *FakeQuery) GetDefaultChannelForPackageReturnsOnCall(i int, result1 string, result2 error)

func (*FakeQuery) GetDefaultPackage

func (fake *FakeQuery) GetDefaultPackage(arg1 context.Context, arg2 string) (string, error)

func (*FakeQuery) GetDefaultPackageArgsForCall

func (fake *FakeQuery) GetDefaultPackageArgsForCall(i int) (context.Context, string)

func (*FakeQuery) GetDefaultPackageCallCount

func (fake *FakeQuery) GetDefaultPackageCallCount() int

func (*FakeQuery) GetDefaultPackageCalls

func (fake *FakeQuery) GetDefaultPackageCalls(stub func(context.Context, string) (string, error))

func (*FakeQuery) GetDefaultPackageReturns

func (fake *FakeQuery) GetDefaultPackageReturns(result1 string, result2 error)

func (*FakeQuery) GetDefaultPackageReturnsOnCall

func (fake *FakeQuery) GetDefaultPackageReturnsOnCall(i int, result1 string, result2 error)

func (*FakeQuery) GetDependenciesForBundle

func (fake *FakeQuery) GetDependenciesForBundle(arg1 context.Context, arg2 string, arg3 string, arg4 string) ([]*api.Dependency, error)

func (*FakeQuery) GetDependenciesForBundleArgsForCall

func (fake *FakeQuery) GetDependenciesForBundleArgsForCall(i int) (context.Context, string, string, string)

func (*FakeQuery) GetDependenciesForBundleCallCount

func (fake *FakeQuery) GetDependenciesForBundleCallCount() int

func (*FakeQuery) GetDependenciesForBundleCalls

func (fake *FakeQuery) GetDependenciesForBundleCalls(stub func(context.Context, string, string, string) ([]*api.Dependency, error))

func (*FakeQuery) GetDependenciesForBundleReturns

func (fake *FakeQuery) GetDependenciesForBundleReturns(result1 []*api.Dependency, result2 error)

func (*FakeQuery) GetDependenciesForBundleReturnsOnCall

func (fake *FakeQuery) GetDependenciesForBundleReturnsOnCall(i int, result1 []*api.Dependency, result2 error)

func (*FakeQuery) GetImagesForBundle

func (fake *FakeQuery) GetImagesForBundle(arg1 context.Context, arg2 string) ([]string, error)

func (*FakeQuery) GetImagesForBundleArgsForCall

func (fake *FakeQuery) GetImagesForBundleArgsForCall(i int) (context.Context, string)

func (*FakeQuery) GetImagesForBundleCallCount

func (fake *FakeQuery) GetImagesForBundleCallCount() int

func (*FakeQuery) GetImagesForBundleCalls

func (fake *FakeQuery) GetImagesForBundleCalls(stub func(context.Context, string) ([]string, error))

func (*FakeQuery) GetImagesForBundleReturns

func (fake *FakeQuery) GetImagesForBundleReturns(result1 []string, result2 error)

func (*FakeQuery) GetImagesForBundleReturnsOnCall

func (fake *FakeQuery) GetImagesForBundleReturnsOnCall(i int, result1 []string, result2 error)

func (*FakeQuery) GetLatestChannelEntriesThatProvide

func (fake *FakeQuery) GetLatestChannelEntriesThatProvide(arg1 context.Context, arg2 string, arg3 string, arg4 string) ([]*registry.ChannelEntry, error)

func (*FakeQuery) GetLatestChannelEntriesThatProvideArgsForCall

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

func (*FakeQuery) GetLatestChannelEntriesThatProvideCallCount

func (fake *FakeQuery) GetLatestChannelEntriesThatProvideCallCount() int

func (*FakeQuery) GetLatestChannelEntriesThatProvideCalls

func (fake *FakeQuery) GetLatestChannelEntriesThatProvideCalls(stub func(context.Context, string, string, string) ([]*registry.ChannelEntry, error))

func (*FakeQuery) GetLatestChannelEntriesThatProvideReturns

func (fake *FakeQuery) GetLatestChannelEntriesThatProvideReturns(result1 []*registry.ChannelEntry, result2 error)

func (*FakeQuery) GetLatestChannelEntriesThatProvideReturnsOnCall

func (fake *FakeQuery) GetLatestChannelEntriesThatProvideReturnsOnCall(i int, result1 []*registry.ChannelEntry, result2 error)

func (*FakeQuery) GetPackage

func (fake *FakeQuery) GetPackage(arg1 context.Context, arg2 string) (*registry.PackageManifest, error)

func (*FakeQuery) GetPackageArgsForCall

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

func (*FakeQuery) GetPackageCallCount

func (fake *FakeQuery) GetPackageCallCount() int

func (*FakeQuery) GetPackageCalls

func (fake *FakeQuery) GetPackageCalls(stub func(context.Context, string) (*registry.PackageManifest, error))

func (*FakeQuery) GetPackageReturns

func (fake *FakeQuery) GetPackageReturns(result1 *registry.PackageManifest, result2 error)

func (*FakeQuery) GetPackageReturnsOnCall

func (fake *FakeQuery) GetPackageReturnsOnCall(i int, result1 *registry.PackageManifest, result2 error)

func (*FakeQuery) Invocations

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

func (*FakeQuery) ListBundles

func (fake *FakeQuery) ListBundles(arg1 context.Context) ([]*api.Bundle, error)

func (*FakeQuery) ListBundlesArgsForCall

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

func (*FakeQuery) ListBundlesCallCount

func (fake *FakeQuery) ListBundlesCallCount() int

func (*FakeQuery) ListBundlesCalls

func (fake *FakeQuery) ListBundlesCalls(stub func(context.Context) ([]*api.Bundle, error))

func (*FakeQuery) ListBundlesReturns

func (fake *FakeQuery) ListBundlesReturns(result1 []*api.Bundle, result2 error)

func (*FakeQuery) ListBundlesReturnsOnCall

func (fake *FakeQuery) ListBundlesReturnsOnCall(i int, result1 []*api.Bundle, result2 error)

func (*FakeQuery) ListChannels

func (fake *FakeQuery) ListChannels(arg1 context.Context, arg2 string) ([]string, error)

func (*FakeQuery) ListChannelsArgsForCall

func (fake *FakeQuery) ListChannelsArgsForCall(i int) (context.Context, string)

func (*FakeQuery) ListChannelsCallCount

func (fake *FakeQuery) ListChannelsCallCount() int

func (*FakeQuery) ListChannelsCalls

func (fake *FakeQuery) ListChannelsCalls(stub func(context.Context, string) ([]string, error))

func (*FakeQuery) ListChannelsReturns

func (fake *FakeQuery) ListChannelsReturns(result1 []string, result2 error)

func (*FakeQuery) ListChannelsReturnsOnCall

func (fake *FakeQuery) ListChannelsReturnsOnCall(i int, result1 []string, result2 error)

func (*FakeQuery) ListImages

func (fake *FakeQuery) ListImages(arg1 context.Context) ([]string, error)

func (*FakeQuery) ListImagesArgsForCall

func (fake *FakeQuery) ListImagesArgsForCall(i int) context.Context

func (*FakeQuery) ListImagesCallCount

func (fake *FakeQuery) ListImagesCallCount() int

func (*FakeQuery) ListImagesCalls

func (fake *FakeQuery) ListImagesCalls(stub func(context.Context) ([]string, error))

func (*FakeQuery) ListImagesReturns

func (fake *FakeQuery) ListImagesReturns(result1 []string, result2 error)

func (*FakeQuery) ListImagesReturnsOnCall

func (fake *FakeQuery) ListImagesReturnsOnCall(i int, result1 []string, result2 error)

func (*FakeQuery) ListPackages

func (fake *FakeQuery) ListPackages(arg1 context.Context) ([]string, error)

func (*FakeQuery) ListPackagesArgsForCall

func (fake *FakeQuery) ListPackagesArgsForCall(i int) context.Context

func (*FakeQuery) ListPackagesCallCount

func (fake *FakeQuery) ListPackagesCallCount() int

func (*FakeQuery) ListPackagesCalls

func (fake *FakeQuery) ListPackagesCalls(stub func(context.Context) ([]string, error))

func (*FakeQuery) ListPackagesReturns

func (fake *FakeQuery) ListPackagesReturns(result1 []string, result2 error)

func (*FakeQuery) ListPackagesReturnsOnCall

func (fake *FakeQuery) ListPackagesReturnsOnCall(i int, result1 []string, result2 error)

func (*FakeQuery) ListRegistryBundles added in v0.19.0

func (fake *FakeQuery) ListRegistryBundles(arg1 context.Context) ([]*registry.Bundle, error)

func (*FakeQuery) ListRegistryBundlesArgsForCall added in v0.19.0

func (fake *FakeQuery) ListRegistryBundlesArgsForCall(i int) context.Context

func (*FakeQuery) ListRegistryBundlesCallCount added in v0.19.0

func (fake *FakeQuery) ListRegistryBundlesCallCount() int

func (*FakeQuery) ListRegistryBundlesCalls added in v0.19.0

func (fake *FakeQuery) ListRegistryBundlesCalls(stub func(context.Context) ([]*registry.Bundle, error))

func (*FakeQuery) ListRegistryBundlesReturns added in v0.19.0

func (fake *FakeQuery) ListRegistryBundlesReturns(result1 []*registry.Bundle, result2 error)

func (*FakeQuery) ListRegistryBundlesReturnsOnCall added in v0.19.0

func (fake *FakeQuery) ListRegistryBundlesReturnsOnCall(i int, result1 []*registry.Bundle, result2 error)

func (*FakeQuery) ListTables

func (fake *FakeQuery) ListTables(arg1 context.Context) ([]string, error)

func (*FakeQuery) ListTablesArgsForCall

func (fake *FakeQuery) ListTablesArgsForCall(i int) context.Context

func (*FakeQuery) ListTablesCallCount

func (fake *FakeQuery) ListTablesCallCount() int

func (*FakeQuery) ListTablesCalls

func (fake *FakeQuery) ListTablesCalls(stub func(context.Context) ([]string, error))

func (*FakeQuery) ListTablesReturns

func (fake *FakeQuery) ListTablesReturns(result1 []string, result2 error)

func (*FakeQuery) ListTablesReturnsOnCall

func (fake *FakeQuery) ListTablesReturnsOnCall(i int, result1 []string, result2 error)

type FakeRegistryReconciler

type FakeRegistryReconciler struct {
	CheckRegistryServerStub func(*v1alpha1.CatalogSource) (bool, error)

	EnsureRegistryServerStub func(*v1alpha1.CatalogSource) error
	// contains filtered or unexported fields
}

func (*FakeRegistryReconciler) CheckRegistryServer

func (fake *FakeRegistryReconciler) CheckRegistryServer(arg1 *v1alpha1.CatalogSource) (bool, error)

func (*FakeRegistryReconciler) CheckRegistryServerArgsForCall

func (fake *FakeRegistryReconciler) CheckRegistryServerArgsForCall(i int) *v1alpha1.CatalogSource

func (*FakeRegistryReconciler) CheckRegistryServerCallCount

func (fake *FakeRegistryReconciler) CheckRegistryServerCallCount() int

func (*FakeRegistryReconciler) CheckRegistryServerCalls

func (fake *FakeRegistryReconciler) CheckRegistryServerCalls(stub func(*v1alpha1.CatalogSource) (bool, error))

func (*FakeRegistryReconciler) CheckRegistryServerReturns

func (fake *FakeRegistryReconciler) CheckRegistryServerReturns(result1 bool, result2 error)

func (*FakeRegistryReconciler) CheckRegistryServerReturnsOnCall

func (fake *FakeRegistryReconciler) CheckRegistryServerReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeRegistryReconciler) EnsureRegistryServer

func (fake *FakeRegistryReconciler) EnsureRegistryServer(arg1 *v1alpha1.CatalogSource) error

func (*FakeRegistryReconciler) EnsureRegistryServerArgsForCall

func (fake *FakeRegistryReconciler) EnsureRegistryServerArgsForCall(i int) *v1alpha1.CatalogSource

func (*FakeRegistryReconciler) EnsureRegistryServerCallCount

func (fake *FakeRegistryReconciler) EnsureRegistryServerCallCount() int

func (*FakeRegistryReconciler) EnsureRegistryServerCalls

func (fake *FakeRegistryReconciler) EnsureRegistryServerCalls(stub func(*v1alpha1.CatalogSource) error)

func (*FakeRegistryReconciler) EnsureRegistryServerReturns

func (fake *FakeRegistryReconciler) EnsureRegistryServerReturns(result1 error)

func (*FakeRegistryReconciler) EnsureRegistryServerReturnsOnCall

func (fake *FakeRegistryReconciler) EnsureRegistryServerReturnsOnCall(i int, result1 error)

func (*FakeRegistryReconciler) Invocations

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

type FakeRegistryReconcilerFactory

type FakeRegistryReconcilerFactory struct {
	ReconcilerForSourceStub func(*v1alpha1.CatalogSource) reconciler.RegistryReconciler
	// contains filtered or unexported fields
}

func (*FakeRegistryReconcilerFactory) Invocations

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

func (*FakeRegistryReconcilerFactory) ReconcilerForSource

func (*FakeRegistryReconcilerFactory) ReconcilerForSourceArgsForCall

func (fake *FakeRegistryReconcilerFactory) ReconcilerForSourceArgsForCall(i int) *v1alpha1.CatalogSource

func (*FakeRegistryReconcilerFactory) ReconcilerForSourceCallCount

func (fake *FakeRegistryReconcilerFactory) ReconcilerForSourceCallCount() int

func (*FakeRegistryReconcilerFactory) ReconcilerForSourceCalls

func (fake *FakeRegistryReconcilerFactory) ReconcilerForSourceCalls(stub func(*v1alpha1.CatalogSource) reconciler.RegistryReconciler)

func (*FakeRegistryReconcilerFactory) ReconcilerForSourceReturns

func (fake *FakeRegistryReconcilerFactory) ReconcilerForSourceReturns(result1 reconciler.RegistryReconciler)

func (*FakeRegistryReconcilerFactory) ReconcilerForSourceReturnsOnCall

func (fake *FakeRegistryReconcilerFactory) ReconcilerForSourceReturnsOnCall(i int, result1 reconciler.RegistryReconciler)

type FakeStepResolver

type FakeStepResolver struct {
	ResolveStepsStub func(string) ([]*v1alpha1.Step, []v1alpha1.BundleLookup, []*v1alpha1.Subscription, error)
	// contains filtered or unexported fields
}

func (*FakeStepResolver) Invocations

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

func (*FakeStepResolver) ResolveSteps

func (fake *FakeStepResolver) ResolveSteps(arg1 string) ([]*v1alpha1.Step, []v1alpha1.BundleLookup, []*v1alpha1.Subscription, error)

func (*FakeStepResolver) ResolveStepsArgsForCall

func (fake *FakeStepResolver) ResolveStepsArgsForCall(i int) string

func (*FakeStepResolver) ResolveStepsCallCount

func (fake *FakeStepResolver) ResolveStepsCallCount() int

func (*FakeStepResolver) ResolveStepsCalls

func (fake *FakeStepResolver) ResolveStepsCalls(stub func(string) ([]*v1alpha1.Step, []v1alpha1.BundleLookup, []*v1alpha1.Subscription, error))

func (*FakeStepResolver) ResolveStepsReturns

func (fake *FakeStepResolver) ResolveStepsReturns(result1 []*v1alpha1.Step, result2 []v1alpha1.BundleLookup, result3 []*v1alpha1.Subscription, result4 error)

func (*FakeStepResolver) ResolveStepsReturnsOnCall

func (fake *FakeStepResolver) ResolveStepsReturnsOnCall(i int, result1 []*v1alpha1.Step, result2 []v1alpha1.BundleLookup, result3 []*v1alpha1.Subscription, result4 error)

type FakeStrategy

type FakeStrategy struct {
	GetStrategyNameStub func() string
	// contains filtered or unexported fields
}

func (*FakeStrategy) GetStrategyName

func (fake *FakeStrategy) GetStrategyName() string

func (*FakeStrategy) GetStrategyNameCallCount

func (fake *FakeStrategy) GetStrategyNameCallCount() int

func (*FakeStrategy) GetStrategyNameCalls

func (fake *FakeStrategy) GetStrategyNameCalls(stub func() string)

func (*FakeStrategy) GetStrategyNameReturns

func (fake *FakeStrategy) GetStrategyNameReturns(result1 string)

func (*FakeStrategy) GetStrategyNameReturnsOnCall

func (fake *FakeStrategy) GetStrategyNameReturnsOnCall(i int, result1 string)

func (*FakeStrategy) Invocations

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

type FakeStrategyInstaller

type FakeStrategyInstaller struct {
	CertsRotateAtStub func() time.Time

	CertsRotatedStub func() bool

	CheckInstalledStub func(install.Strategy) (bool, error)

	InstallStub func(install.Strategy) error
	// contains filtered or unexported fields
}

func (*FakeStrategyInstaller) CertsRotateAt added in v0.22.0

func (fake *FakeStrategyInstaller) CertsRotateAt() time.Time

func (*FakeStrategyInstaller) CertsRotateAtCallCount added in v0.22.0

func (fake *FakeStrategyInstaller) CertsRotateAtCallCount() int

func (*FakeStrategyInstaller) CertsRotateAtCalls added in v0.22.0

func (fake *FakeStrategyInstaller) CertsRotateAtCalls(stub func() time.Time)

func (*FakeStrategyInstaller) CertsRotateAtReturns added in v0.22.0

func (fake *FakeStrategyInstaller) CertsRotateAtReturns(result1 time.Time)

func (*FakeStrategyInstaller) CertsRotateAtReturnsOnCall added in v0.22.0

func (fake *FakeStrategyInstaller) CertsRotateAtReturnsOnCall(i int, result1 time.Time)

func (*FakeStrategyInstaller) CertsRotated added in v0.22.0

func (fake *FakeStrategyInstaller) CertsRotated() bool

func (*FakeStrategyInstaller) CertsRotatedCallCount added in v0.22.0

func (fake *FakeStrategyInstaller) CertsRotatedCallCount() int

func (*FakeStrategyInstaller) CertsRotatedCalls added in v0.22.0

func (fake *FakeStrategyInstaller) CertsRotatedCalls(stub func() bool)

func (*FakeStrategyInstaller) CertsRotatedReturns added in v0.22.0

func (fake *FakeStrategyInstaller) CertsRotatedReturns(result1 bool)

func (*FakeStrategyInstaller) CertsRotatedReturnsOnCall added in v0.22.0

func (fake *FakeStrategyInstaller) CertsRotatedReturnsOnCall(i int, result1 bool)

func (*FakeStrategyInstaller) CheckInstalled

func (fake *FakeStrategyInstaller) CheckInstalled(arg1 install.Strategy) (bool, error)

func (*FakeStrategyInstaller) CheckInstalledArgsForCall

func (fake *FakeStrategyInstaller) CheckInstalledArgsForCall(i int) install.Strategy

func (*FakeStrategyInstaller) CheckInstalledCallCount

func (fake *FakeStrategyInstaller) CheckInstalledCallCount() int

func (*FakeStrategyInstaller) CheckInstalledCalls

func (fake *FakeStrategyInstaller) CheckInstalledCalls(stub func(install.Strategy) (bool, error))

func (*FakeStrategyInstaller) CheckInstalledReturns

func (fake *FakeStrategyInstaller) CheckInstalledReturns(result1 bool, result2 error)

func (*FakeStrategyInstaller) CheckInstalledReturnsOnCall

func (fake *FakeStrategyInstaller) CheckInstalledReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeStrategyInstaller) Install

func (fake *FakeStrategyInstaller) Install(arg1 install.Strategy) error

func (*FakeStrategyInstaller) InstallArgsForCall

func (fake *FakeStrategyInstaller) InstallArgsForCall(i int) install.Strategy

func (*FakeStrategyInstaller) InstallCallCount

func (fake *FakeStrategyInstaller) InstallCallCount() int

func (*FakeStrategyInstaller) InstallCalls

func (fake *FakeStrategyInstaller) InstallCalls(stub func(install.Strategy) error)

func (*FakeStrategyInstaller) InstallReturns

func (fake *FakeStrategyInstaller) InstallReturns(result1 error)

func (*FakeStrategyInstaller) InstallReturnsOnCall

func (fake *FakeStrategyInstaller) InstallReturnsOnCall(i int, result1 error)

func (*FakeStrategyInstaller) Invocations

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

type FakeStrategyResolverInterface

type FakeStrategyResolverInterface struct {
	InstallerForStrategyStub func(string, operatorclient.ClientInterface, operatorlister.OperatorLister, ownerutil.Owner, map[string]string, []v1alpha1.APIServiceDescription, []v1alpha1.WebhookDescription, install.Strategy) install.StrategyInstaller

	UnmarshalStrategyStub func(v1alpha1.NamedInstallStrategy) (install.Strategy, error)
	// contains filtered or unexported fields
}

func (*FakeStrategyResolverInterface) InstallerForStrategyCallCount

func (fake *FakeStrategyResolverInterface) InstallerForStrategyCallCount() int

func (*FakeStrategyResolverInterface) InstallerForStrategyReturns

func (fake *FakeStrategyResolverInterface) InstallerForStrategyReturns(result1 install.StrategyInstaller)

func (*FakeStrategyResolverInterface) InstallerForStrategyReturnsOnCall

func (fake *FakeStrategyResolverInterface) InstallerForStrategyReturnsOnCall(i int, result1 install.StrategyInstaller)

func (*FakeStrategyResolverInterface) Invocations

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

func (*FakeStrategyResolverInterface) UnmarshalStrategy

func (*FakeStrategyResolverInterface) UnmarshalStrategyArgsForCall

func (fake *FakeStrategyResolverInterface) UnmarshalStrategyArgsForCall(i int) v1alpha1.NamedInstallStrategy

func (*FakeStrategyResolverInterface) UnmarshalStrategyCallCount

func (fake *FakeStrategyResolverInterface) UnmarshalStrategyCallCount() int

func (*FakeStrategyResolverInterface) UnmarshalStrategyCalls

func (fake *FakeStrategyResolverInterface) UnmarshalStrategyCalls(stub func(v1alpha1.NamedInstallStrategy) (install.Strategy, error))

func (*FakeStrategyResolverInterface) UnmarshalStrategyReturns

func (fake *FakeStrategyResolverInterface) UnmarshalStrategyReturns(result1 install.Strategy, result2 error)

func (*FakeStrategyResolverInterface) UnmarshalStrategyReturnsOnCall

func (fake *FakeStrategyResolverInterface) UnmarshalStrategyReturnsOnCall(i int, result1 install.Strategy, result2 error)

Directories

Path Synopsis
client-go
listers
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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