fakes

package
v0.0.0-...-b25b198 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: Apache-2.0 Imports: 17 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.

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 ClusterClient

type ClusterClient struct {
	BuildClusterQueryStub func() (*discovery.ClusterQuery, error)

	GetCLIPluginImageRepositoryOverrideStub func() (map[string]string, error)

	ListCLIPluginResourcesStub func() ([]v1alpha1.CLIPlugin, error)

	VerifyCLIPluginCRDStub func() (bool, error)
	// contains filtered or unexported fields
}

func (*ClusterClient) BuildClusterQuery

func (fake *ClusterClient) BuildClusterQuery() (*discovery.ClusterQuery, error)

func (*ClusterClient) BuildClusterQueryCallCount

func (fake *ClusterClient) BuildClusterQueryCallCount() int

func (*ClusterClient) BuildClusterQueryCalls

func (fake *ClusterClient) BuildClusterQueryCalls(stub func() (*discovery.ClusterQuery, error))

func (*ClusterClient) BuildClusterQueryReturns

func (fake *ClusterClient) BuildClusterQueryReturns(result1 *discovery.ClusterQuery, result2 error)

func (*ClusterClient) BuildClusterQueryReturnsOnCall

func (fake *ClusterClient) BuildClusterQueryReturnsOnCall(i int, result1 *discovery.ClusterQuery, result2 error)

func (*ClusterClient) GetCLIPluginImageRepositoryOverride

func (fake *ClusterClient) GetCLIPluginImageRepositoryOverride() (map[string]string, error)

func (*ClusterClient) GetCLIPluginImageRepositoryOverrideCallCount

func (fake *ClusterClient) GetCLIPluginImageRepositoryOverrideCallCount() int

func (*ClusterClient) GetCLIPluginImageRepositoryOverrideCalls

func (fake *ClusterClient) GetCLIPluginImageRepositoryOverrideCalls(stub func() (map[string]string, error))

func (*ClusterClient) GetCLIPluginImageRepositoryOverrideReturns

func (fake *ClusterClient) GetCLIPluginImageRepositoryOverrideReturns(result1 map[string]string, result2 error)

func (*ClusterClient) GetCLIPluginImageRepositoryOverrideReturnsOnCall

func (fake *ClusterClient) GetCLIPluginImageRepositoryOverrideReturnsOnCall(i int, result1 map[string]string, result2 error)

func (*ClusterClient) Invocations

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

func (*ClusterClient) ListCLIPluginResources

func (fake *ClusterClient) ListCLIPluginResources() ([]v1alpha1.CLIPlugin, error)

func (*ClusterClient) ListCLIPluginResourcesCallCount

func (fake *ClusterClient) ListCLIPluginResourcesCallCount() int

func (*ClusterClient) ListCLIPluginResourcesCalls

func (fake *ClusterClient) ListCLIPluginResourcesCalls(stub func() ([]v1alpha1.CLIPlugin, error))

func (*ClusterClient) ListCLIPluginResourcesReturns

func (fake *ClusterClient) ListCLIPluginResourcesReturns(result1 []v1alpha1.CLIPlugin, result2 error)

func (*ClusterClient) ListCLIPluginResourcesReturnsOnCall

func (fake *ClusterClient) ListCLIPluginResourcesReturnsOnCall(i int, result1 []v1alpha1.CLIPlugin, result2 error)

func (*ClusterClient) VerifyCLIPluginCRD

func (fake *ClusterClient) VerifyCLIPluginCRD() (bool, error)

func (*ClusterClient) VerifyCLIPluginCRDCallCount

func (fake *ClusterClient) VerifyCLIPluginCRDCallCount() int

func (*ClusterClient) VerifyCLIPluginCRDCalls

func (fake *ClusterClient) VerifyCLIPluginCRDCalls(stub func() (bool, error))

func (*ClusterClient) VerifyCLIPluginCRDReturns

func (fake *ClusterClient) VerifyCLIPluginCRDReturns(result1 bool, result2 error)

func (*ClusterClient) VerifyCLIPluginCRDReturnsOnCall

func (fake *ClusterClient) VerifyCLIPluginCRDReturnsOnCall(i int, result1 bool, result2 error)

type ClusterClientFactory

type ClusterClientFactory struct {
	NewClientStub func(string, string, cluster.Options) (cluster.Client, error)
	// contains filtered or unexported fields
}

func (*ClusterClientFactory) Invocations

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

func (*ClusterClientFactory) NewClient

func (fake *ClusterClientFactory) NewClient(arg1 string, arg2 string, arg3 cluster.Options) (cluster.Client, error)

func (*ClusterClientFactory) NewClientArgsForCall

func (fake *ClusterClientFactory) NewClientArgsForCall(i int) (string, string, cluster.Options)

func (*ClusterClientFactory) NewClientCallCount

func (fake *ClusterClientFactory) NewClientCallCount() int

func (*ClusterClientFactory) NewClientCalls

func (fake *ClusterClientFactory) NewClientCalls(stub func(string, string, cluster.Options) (cluster.Client, error))

func (*ClusterClientFactory) NewClientReturns

func (fake *ClusterClientFactory) NewClientReturns(result1 cluster.Client, result2 error)

func (*ClusterClientFactory) NewClientReturnsOnCall

func (fake *ClusterClientFactory) NewClientReturnsOnCall(i int, result1 cluster.Client, result2 error)

type CrtClientFake

type CrtClientFake struct {
	ListObjectsStub func(context.Context, client.ObjectList, *client.ListOptions) error

	NewClientStub func(*rest.Config, client.Options) (client.Client, error)
	// contains filtered or unexported fields
}

func (*CrtClientFake) Invocations

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

func (*CrtClientFake) ListObjects

func (fake *CrtClientFake) ListObjects(arg1 context.Context, arg2 client.ObjectList, arg3 *client.ListOptions) error

func (*CrtClientFake) ListObjectsArgsForCall

func (fake *CrtClientFake) ListObjectsArgsForCall(i int) (context.Context, client.ObjectList, *client.ListOptions)

func (*CrtClientFake) ListObjectsCallCount

func (fake *CrtClientFake) ListObjectsCallCount() int

func (*CrtClientFake) ListObjectsCalls

func (fake *CrtClientFake) ListObjectsCalls(stub func(context.Context, client.ObjectList, *client.ListOptions) error)

func (*CrtClientFake) ListObjectsReturns

func (fake *CrtClientFake) ListObjectsReturns(result1 error)

func (*CrtClientFake) ListObjectsReturnsOnCall

func (fake *CrtClientFake) ListObjectsReturnsOnCall(i int, result1 error)

func (*CrtClientFake) NewClient

func (fake *CrtClientFake) NewClient(arg1 *rest.Config, arg2 client.Options) (client.Client, error)

func (*CrtClientFake) NewClientArgsForCall

func (fake *CrtClientFake) NewClientArgsForCall(i int) (*rest.Config, client.Options)

func (*CrtClientFake) NewClientCallCount

func (fake *CrtClientFake) NewClientCallCount() int

func (*CrtClientFake) NewClientCalls

func (fake *CrtClientFake) NewClientCalls(stub func(*rest.Config, client.Options) (client.Client, error))

func (*CrtClientFake) NewClientReturns

func (fake *CrtClientFake) NewClientReturns(result1 client.Client, result2 error)

func (*CrtClientFake) NewClientReturnsOnCall

func (fake *CrtClientFake) NewClientReturnsOnCall(i int, result1 client.Client, result2 error)

type DiscoveryClient

type DiscoveryClient struct {
	OpenAPISchemaStub func() (*openapi_v2.Document, error)

	OpenAPIV3Stub func() openapi.Client

	RESTClientStub func() rest.Interface

	ServerGroupsStub func() (*v1.APIGroupList, error)

	ServerGroupsAndResourcesStub func() ([]*v1.APIGroup, []*v1.APIResourceList, error)

	ServerPreferredNamespacedResourcesStub func() ([]*v1.APIResourceList, error)

	ServerPreferredResourcesStub func() ([]*v1.APIResourceList, error)

	ServerResourcesForGroupVersionStub func(string) (*v1.APIResourceList, error)

	ServerVersionStub func() (*version.Info, error)
	// contains filtered or unexported fields
}

func (*DiscoveryClient) Invocations

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

func (*DiscoveryClient) OpenAPISchema

func (fake *DiscoveryClient) OpenAPISchema() (*openapi_v2.Document, error)

func (*DiscoveryClient) OpenAPISchemaCallCount

func (fake *DiscoveryClient) OpenAPISchemaCallCount() int

func (*DiscoveryClient) OpenAPISchemaCalls

func (fake *DiscoveryClient) OpenAPISchemaCalls(stub func() (*openapi_v2.Document, error))

func (*DiscoveryClient) OpenAPISchemaReturns

func (fake *DiscoveryClient) OpenAPISchemaReturns(result1 *openapi_v2.Document, result2 error)

func (*DiscoveryClient) OpenAPISchemaReturnsOnCall

func (fake *DiscoveryClient) OpenAPISchemaReturnsOnCall(i int, result1 *openapi_v2.Document, result2 error)

func (*DiscoveryClient) OpenAPIV3

func (fake *DiscoveryClient) OpenAPIV3() openapi.Client

func (*DiscoveryClient) OpenAPIV3CallCount

func (fake *DiscoveryClient) OpenAPIV3CallCount() int

func (*DiscoveryClient) OpenAPIV3Calls

func (fake *DiscoveryClient) OpenAPIV3Calls(stub func() openapi.Client)

func (*DiscoveryClient) OpenAPIV3Returns

func (fake *DiscoveryClient) OpenAPIV3Returns(result1 openapi.Client)

func (*DiscoveryClient) OpenAPIV3ReturnsOnCall

func (fake *DiscoveryClient) OpenAPIV3ReturnsOnCall(i int, result1 openapi.Client)

func (*DiscoveryClient) RESTClient

func (fake *DiscoveryClient) RESTClient() rest.Interface

func (*DiscoveryClient) RESTClientCallCount

func (fake *DiscoveryClient) RESTClientCallCount() int

func (*DiscoveryClient) RESTClientCalls

func (fake *DiscoveryClient) RESTClientCalls(stub func() rest.Interface)

func (*DiscoveryClient) RESTClientReturns

func (fake *DiscoveryClient) RESTClientReturns(result1 rest.Interface)

func (*DiscoveryClient) RESTClientReturnsOnCall

func (fake *DiscoveryClient) RESTClientReturnsOnCall(i int, result1 rest.Interface)

func (*DiscoveryClient) ServerGroups

func (fake *DiscoveryClient) ServerGroups() (*v1.APIGroupList, error)

func (*DiscoveryClient) ServerGroupsAndResources

func (fake *DiscoveryClient) ServerGroupsAndResources() ([]*v1.APIGroup, []*v1.APIResourceList, error)

func (*DiscoveryClient) ServerGroupsAndResourcesCallCount

func (fake *DiscoveryClient) ServerGroupsAndResourcesCallCount() int

func (*DiscoveryClient) ServerGroupsAndResourcesCalls

func (fake *DiscoveryClient) ServerGroupsAndResourcesCalls(stub func() ([]*v1.APIGroup, []*v1.APIResourceList, error))

func (*DiscoveryClient) ServerGroupsAndResourcesReturns

func (fake *DiscoveryClient) ServerGroupsAndResourcesReturns(result1 []*v1.APIGroup, result2 []*v1.APIResourceList, result3 error)

func (*DiscoveryClient) ServerGroupsAndResourcesReturnsOnCall

func (fake *DiscoveryClient) ServerGroupsAndResourcesReturnsOnCall(i int, result1 []*v1.APIGroup, result2 []*v1.APIResourceList, result3 error)

func (*DiscoveryClient) ServerGroupsCallCount

func (fake *DiscoveryClient) ServerGroupsCallCount() int

func (*DiscoveryClient) ServerGroupsCalls

func (fake *DiscoveryClient) ServerGroupsCalls(stub func() (*v1.APIGroupList, error))

func (*DiscoveryClient) ServerGroupsReturns

func (fake *DiscoveryClient) ServerGroupsReturns(result1 *v1.APIGroupList, result2 error)

func (*DiscoveryClient) ServerGroupsReturnsOnCall

func (fake *DiscoveryClient) ServerGroupsReturnsOnCall(i int, result1 *v1.APIGroupList, result2 error)

func (*DiscoveryClient) ServerPreferredNamespacedResources

func (fake *DiscoveryClient) ServerPreferredNamespacedResources() ([]*v1.APIResourceList, error)

func (*DiscoveryClient) ServerPreferredNamespacedResourcesCallCount

func (fake *DiscoveryClient) ServerPreferredNamespacedResourcesCallCount() int

func (*DiscoveryClient) ServerPreferredNamespacedResourcesCalls

func (fake *DiscoveryClient) ServerPreferredNamespacedResourcesCalls(stub func() ([]*v1.APIResourceList, error))

func (*DiscoveryClient) ServerPreferredNamespacedResourcesReturns

func (fake *DiscoveryClient) ServerPreferredNamespacedResourcesReturns(result1 []*v1.APIResourceList, result2 error)

func (*DiscoveryClient) ServerPreferredNamespacedResourcesReturnsOnCall

func (fake *DiscoveryClient) ServerPreferredNamespacedResourcesReturnsOnCall(i int, result1 []*v1.APIResourceList, result2 error)

func (*DiscoveryClient) ServerPreferredResources

func (fake *DiscoveryClient) ServerPreferredResources() ([]*v1.APIResourceList, error)

func (*DiscoveryClient) ServerPreferredResourcesCallCount

func (fake *DiscoveryClient) ServerPreferredResourcesCallCount() int

func (*DiscoveryClient) ServerPreferredResourcesCalls

func (fake *DiscoveryClient) ServerPreferredResourcesCalls(stub func() ([]*v1.APIResourceList, error))

func (*DiscoveryClient) ServerPreferredResourcesReturns

func (fake *DiscoveryClient) ServerPreferredResourcesReturns(result1 []*v1.APIResourceList, result2 error)

func (*DiscoveryClient) ServerPreferredResourcesReturnsOnCall

func (fake *DiscoveryClient) ServerPreferredResourcesReturnsOnCall(i int, result1 []*v1.APIResourceList, result2 error)

func (*DiscoveryClient) ServerResourcesForGroupVersion

func (fake *DiscoveryClient) ServerResourcesForGroupVersion(arg1 string) (*v1.APIResourceList, error)

func (*DiscoveryClient) ServerResourcesForGroupVersionArgsForCall

func (fake *DiscoveryClient) ServerResourcesForGroupVersionArgsForCall(i int) string

func (*DiscoveryClient) ServerResourcesForGroupVersionCallCount

func (fake *DiscoveryClient) ServerResourcesForGroupVersionCallCount() int

func (*DiscoveryClient) ServerResourcesForGroupVersionCalls

func (fake *DiscoveryClient) ServerResourcesForGroupVersionCalls(stub func(string) (*v1.APIResourceList, error))

func (*DiscoveryClient) ServerResourcesForGroupVersionReturns

func (fake *DiscoveryClient) ServerResourcesForGroupVersionReturns(result1 *v1.APIResourceList, result2 error)

func (*DiscoveryClient) ServerResourcesForGroupVersionReturnsOnCall

func (fake *DiscoveryClient) ServerResourcesForGroupVersionReturnsOnCall(i int, result1 *v1.APIResourceList, result2 error)

func (*DiscoveryClient) ServerVersion

func (fake *DiscoveryClient) ServerVersion() (*version.Info, error)

func (*DiscoveryClient) ServerVersionCallCount

func (fake *DiscoveryClient) ServerVersionCallCount() int

func (*DiscoveryClient) ServerVersionCalls

func (fake *DiscoveryClient) ServerVersionCalls(stub func() (*version.Info, error))

func (*DiscoveryClient) ServerVersionReturns

func (fake *DiscoveryClient) ServerVersionReturns(result1 *version.Info, result2 error)

func (*DiscoveryClient) ServerVersionReturnsOnCall

func (fake *DiscoveryClient) ServerVersionReturnsOnCall(i int, result1 *version.Info, result2 error)

type DiscoveryClientFactory

type DiscoveryClientFactory struct {
	NewDiscoveryClientForConfigStub func(*rest.Config) (discovery.DiscoveryInterface, error)

	ServerVersionStub func(discovery.DiscoveryInterface) (*version.Info, error)
	// contains filtered or unexported fields
}

func (*DiscoveryClientFactory) Invocations

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

func (*DiscoveryClientFactory) NewDiscoveryClientForConfig

func (fake *DiscoveryClientFactory) NewDiscoveryClientForConfig(arg1 *rest.Config) (discovery.DiscoveryInterface, error)

func (*DiscoveryClientFactory) NewDiscoveryClientForConfigArgsForCall

func (fake *DiscoveryClientFactory) NewDiscoveryClientForConfigArgsForCall(i int) *rest.Config

func (*DiscoveryClientFactory) NewDiscoveryClientForConfigCallCount

func (fake *DiscoveryClientFactory) NewDiscoveryClientForConfigCallCount() int

func (*DiscoveryClientFactory) NewDiscoveryClientForConfigCalls

func (fake *DiscoveryClientFactory) NewDiscoveryClientForConfigCalls(stub func(*rest.Config) (discovery.DiscoveryInterface, error))

func (*DiscoveryClientFactory) NewDiscoveryClientForConfigReturns

func (fake *DiscoveryClientFactory) NewDiscoveryClientForConfigReturns(result1 discovery.DiscoveryInterface, result2 error)

func (*DiscoveryClientFactory) NewDiscoveryClientForConfigReturnsOnCall

func (fake *DiscoveryClientFactory) NewDiscoveryClientForConfigReturnsOnCall(i int, result1 discovery.DiscoveryInterface, result2 error)

func (*DiscoveryClientFactory) ServerVersion

func (fake *DiscoveryClientFactory) ServerVersion(arg1 discovery.DiscoveryInterface) (*version.Info, error)

func (*DiscoveryClientFactory) ServerVersionArgsForCall

func (fake *DiscoveryClientFactory) ServerVersionArgsForCall(i int) discovery.DiscoveryInterface

func (*DiscoveryClientFactory) ServerVersionCallCount

func (fake *DiscoveryClientFactory) ServerVersionCallCount() int

func (*DiscoveryClientFactory) ServerVersionCalls

func (fake *DiscoveryClientFactory) ServerVersionCalls(stub func(discovery.DiscoveryInterface) (*version.Info, error))

func (*DiscoveryClientFactory) ServerVersionReturns

func (fake *DiscoveryClientFactory) ServerVersionReturns(result1 *version.Info, result2 error)

func (*DiscoveryClientFactory) ServerVersionReturnsOnCall

func (fake *DiscoveryClientFactory) ServerVersionReturnsOnCall(i int, result1 *version.Info, result2 error)

type DynamicClientFactory

type DynamicClientFactory struct {
	NewDynamicClientForConfigStub func(*rest.Config) (dynamic.Interface, error)
	// contains filtered or unexported fields
}

func (*DynamicClientFactory) Invocations

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

func (*DynamicClientFactory) NewDynamicClientForConfig

func (fake *DynamicClientFactory) NewDynamicClientForConfig(arg1 *rest.Config) (dynamic.Interface, error)

func (*DynamicClientFactory) NewDynamicClientForConfigArgsForCall

func (fake *DynamicClientFactory) NewDynamicClientForConfigArgsForCall(i int) *rest.Config

func (*DynamicClientFactory) NewDynamicClientForConfigCallCount

func (fake *DynamicClientFactory) NewDynamicClientForConfigCallCount() int

func (*DynamicClientFactory) NewDynamicClientForConfigCalls

func (fake *DynamicClientFactory) NewDynamicClientForConfigCalls(stub func(*rest.Config) (dynamic.Interface, error))

func (*DynamicClientFactory) NewDynamicClientForConfigReturns

func (fake *DynamicClientFactory) NewDynamicClientForConfigReturns(result1 dynamic.Interface, result2 error)

func (*DynamicClientFactory) NewDynamicClientForConfigReturnsOnCall

func (fake *DynamicClientFactory) NewDynamicClientForConfigReturnsOnCall(i int, result1 dynamic.Interface, result2 error)

type FakeConfigClientWrapper

type FakeConfigClientWrapper struct {
	AcquireTanzuConfigLockStub func()

	GetEnvConfigurationsStub func() map[string]string

	ReleaseTanzuConfigLockStub func()

	StoreClientConfigStub func(*v1alpha1.ClientConfig) error
	// contains filtered or unexported fields
}

func (*FakeConfigClientWrapper) AcquireTanzuConfigLock

func (fake *FakeConfigClientWrapper) AcquireTanzuConfigLock()

func (*FakeConfigClientWrapper) AcquireTanzuConfigLockCallCount

func (fake *FakeConfigClientWrapper) AcquireTanzuConfigLockCallCount() int

func (*FakeConfigClientWrapper) AcquireTanzuConfigLockCalls

func (fake *FakeConfigClientWrapper) AcquireTanzuConfigLockCalls(stub func())

func (*FakeConfigClientWrapper) GetEnvConfigurations

func (fake *FakeConfigClientWrapper) GetEnvConfigurations() map[string]string

func (*FakeConfigClientWrapper) GetEnvConfigurationsCallCount

func (fake *FakeConfigClientWrapper) GetEnvConfigurationsCallCount() int

func (*FakeConfigClientWrapper) GetEnvConfigurationsCalls

func (fake *FakeConfigClientWrapper) GetEnvConfigurationsCalls(stub func() map[string]string)

func (*FakeConfigClientWrapper) GetEnvConfigurationsReturns

func (fake *FakeConfigClientWrapper) GetEnvConfigurationsReturns(result1 map[string]string)

func (*FakeConfigClientWrapper) GetEnvConfigurationsReturnsOnCall

func (fake *FakeConfigClientWrapper) GetEnvConfigurationsReturnsOnCall(i int, result1 map[string]string)

func (*FakeConfigClientWrapper) Invocations

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

func (*FakeConfigClientWrapper) ReleaseTanzuConfigLock

func (fake *FakeConfigClientWrapper) ReleaseTanzuConfigLock()

func (*FakeConfigClientWrapper) ReleaseTanzuConfigLockCallCount

func (fake *FakeConfigClientWrapper) ReleaseTanzuConfigLockCallCount() int

func (*FakeConfigClientWrapper) ReleaseTanzuConfigLockCalls

func (fake *FakeConfigClientWrapper) ReleaseTanzuConfigLockCalls(stub func())

func (*FakeConfigClientWrapper) StoreClientConfig

func (fake *FakeConfigClientWrapper) StoreClientConfig(arg1 *v1alpha1.ClientConfig) error

func (*FakeConfigClientWrapper) StoreClientConfigArgsForCall

func (fake *FakeConfigClientWrapper) StoreClientConfigArgsForCall(i int) *v1alpha1.ClientConfig

func (*FakeConfigClientWrapper) StoreClientConfigCallCount

func (fake *FakeConfigClientWrapper) StoreClientConfigCallCount() int

func (*FakeConfigClientWrapper) StoreClientConfigCalls

func (fake *FakeConfigClientWrapper) StoreClientConfigCalls(stub func(*v1alpha1.ClientConfig) error)

func (*FakeConfigClientWrapper) StoreClientConfigReturns

func (fake *FakeConfigClientWrapper) StoreClientConfigReturns(result1 error)

func (*FakeConfigClientWrapper) StoreClientConfigReturnsOnCall

func (fake *FakeConfigClientWrapper) StoreClientConfigReturnsOnCall(i int, result1 error)

type FakeHTTPClient

type FakeHTTPClient struct {
	DoStub func(*http.Request) (*http.Response, error)
	// contains filtered or unexported fields
}

func (*FakeHTTPClient) Do

func (fake *FakeHTTPClient) Do(arg1 *http.Request) (*http.Response, error)

func (*FakeHTTPClient) DoArgsForCall

func (fake *FakeHTTPClient) DoArgsForCall(i int) *http.Request

func (*FakeHTTPClient) DoCallCount

func (fake *FakeHTTPClient) DoCallCount() int

func (*FakeHTTPClient) DoCalls

func (fake *FakeHTTPClient) DoCalls(stub func(*http.Request) (*http.Response, error))

func (*FakeHTTPClient) DoReturns

func (fake *FakeHTTPClient) DoReturns(result1 *http.Response, result2 error)

func (*FakeHTTPClient) DoReturnsOnCall

func (fake *FakeHTTPClient) DoReturnsOnCall(i int, result1 *http.Response, result2 error)

func (*FakeHTTPClient) Invocations

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

type Registry

type Registry struct {
	DownloadBundleStub func(string, string) error

	GetFileStub func(string, string) ([]byte, error)

	GetFilesStub func(string) (map[string][]byte, error)

	ListImageTagsStub func(string) ([]string, error)
	// contains filtered or unexported fields
}

func (*Registry) DownloadBundle

func (fake *Registry) DownloadBundle(arg1 string, arg2 string) error

func (*Registry) DownloadBundleArgsForCall

func (fake *Registry) DownloadBundleArgsForCall(i int) (string, string)

func (*Registry) DownloadBundleCallCount

func (fake *Registry) DownloadBundleCallCount() int

func (*Registry) DownloadBundleCalls

func (fake *Registry) DownloadBundleCalls(stub func(string, string) error)

func (*Registry) DownloadBundleReturns

func (fake *Registry) DownloadBundleReturns(result1 error)

func (*Registry) DownloadBundleReturnsOnCall

func (fake *Registry) DownloadBundleReturnsOnCall(i int, result1 error)

func (*Registry) GetFile

func (fake *Registry) GetFile(arg1 string, arg2 string) ([]byte, error)

func (*Registry) GetFileArgsForCall

func (fake *Registry) GetFileArgsForCall(i int) (string, string)

func (*Registry) GetFileCallCount

func (fake *Registry) GetFileCallCount() int

func (*Registry) GetFileCalls

func (fake *Registry) GetFileCalls(stub func(string, string) ([]byte, error))

func (*Registry) GetFileReturns

func (fake *Registry) GetFileReturns(result1 []byte, result2 error)

func (*Registry) GetFileReturnsOnCall

func (fake *Registry) GetFileReturnsOnCall(i int, result1 []byte, result2 error)

func (*Registry) GetFiles

func (fake *Registry) GetFiles(arg1 string) (map[string][]byte, error)

func (*Registry) GetFilesArgsForCall

func (fake *Registry) GetFilesArgsForCall(i int) string

func (*Registry) GetFilesCallCount

func (fake *Registry) GetFilesCallCount() int

func (*Registry) GetFilesCalls

func (fake *Registry) GetFilesCalls(stub func(string) (map[string][]byte, error))

func (*Registry) GetFilesReturns

func (fake *Registry) GetFilesReturns(result1 map[string][]byte, result2 error)

func (*Registry) GetFilesReturnsOnCall

func (fake *Registry) GetFilesReturnsOnCall(i int, result1 map[string][]byte, result2 error)

func (*Registry) Invocations

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

func (*Registry) ListImageTags

func (fake *Registry) ListImageTags(arg1 string) ([]string, error)

func (*Registry) ListImageTagsArgsForCall

func (fake *Registry) ListImageTagsArgsForCall(i int) string

func (*Registry) ListImageTagsCallCount

func (fake *Registry) ListImageTagsCallCount() int

func (*Registry) ListImageTagsCalls

func (fake *Registry) ListImageTagsCalls(stub func(string) ([]string, error))

func (*Registry) ListImageTagsReturns

func (fake *Registry) ListImageTagsReturns(result1 []string, result2 error)

func (*Registry) ListImageTagsReturnsOnCall

func (fake *Registry) ListImageTagsReturnsOnCall(i int, result1 []string, result2 error)

Directories

Path Synopsis
Package helper implements helper functions used for unit tests
Package helper implements helper functions used for unit tests

Jump to

Keyboard shortcuts

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