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.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type ClusterClient
- func (fake *ClusterClient) BuildClusterQuery() (*discovery.ClusterQuery, error)
- func (fake *ClusterClient) BuildClusterQueryCallCount() int
- func (fake *ClusterClient) BuildClusterQueryCalls(stub func() (*discovery.ClusterQuery, error))
- func (fake *ClusterClient) BuildClusterQueryReturns(result1 *discovery.ClusterQuery, result2 error)
- func (fake *ClusterClient) BuildClusterQueryReturnsOnCall(i int, result1 *discovery.ClusterQuery, result2 error)
- func (fake *ClusterClient) GetCLIPluginImageRepositoryOverride() (map[string]string, error)
- func (fake *ClusterClient) GetCLIPluginImageRepositoryOverrideCallCount() int
- func (fake *ClusterClient) GetCLIPluginImageRepositoryOverrideCalls(stub func() (map[string]string, error))
- func (fake *ClusterClient) GetCLIPluginImageRepositoryOverrideReturns(result1 map[string]string, result2 error)
- func (fake *ClusterClient) GetCLIPluginImageRepositoryOverrideReturnsOnCall(i int, result1 map[string]string, result2 error)
- func (fake *ClusterClient) Invocations() map[string][][]interface{}
- func (fake *ClusterClient) ListCLIPluginResources() ([]v1alpha1.CLIPlugin, error)
- func (fake *ClusterClient) ListCLIPluginResourcesCallCount() int
- func (fake *ClusterClient) ListCLIPluginResourcesCalls(stub func() ([]v1alpha1.CLIPlugin, error))
- func (fake *ClusterClient) ListCLIPluginResourcesReturns(result1 []v1alpha1.CLIPlugin, result2 error)
- func (fake *ClusterClient) ListCLIPluginResourcesReturnsOnCall(i int, result1 []v1alpha1.CLIPlugin, result2 error)
- func (fake *ClusterClient) VerifyCLIPluginCRD() (bool, error)
- func (fake *ClusterClient) VerifyCLIPluginCRDCallCount() int
- func (fake *ClusterClient) VerifyCLIPluginCRDCalls(stub func() (bool, error))
- func (fake *ClusterClient) VerifyCLIPluginCRDReturns(result1 bool, result2 error)
- func (fake *ClusterClient) VerifyCLIPluginCRDReturnsOnCall(i int, result1 bool, result2 error)
- type ClusterClientFactory
- func (fake *ClusterClientFactory) Invocations() map[string][][]interface{}
- func (fake *ClusterClientFactory) NewClient(arg1 string, arg2 string, arg3 []byte, arg4 cluster.Options) (cluster.Client, error)
- func (fake *ClusterClientFactory) NewClientArgsForCall(i int) (string, string, []byte, cluster.Options)
- func (fake *ClusterClientFactory) NewClientCallCount() int
- func (fake *ClusterClientFactory) NewClientCalls(stub func(string, string, []byte, cluster.Options) (cluster.Client, error))
- func (fake *ClusterClientFactory) NewClientReturns(result1 cluster.Client, result2 error)
- func (fake *ClusterClientFactory) NewClientReturnsOnCall(i int, result1 cluster.Client, result2 error)
- type CommandTreeCache
- func (fake *CommandTreeCache) ConstructAndAddTree(arg1 *cli.PluginInfo) error
- func (fake *CommandTreeCache) ConstructAndAddTreeArgsForCall(i int) *cli.PluginInfo
- func (fake *CommandTreeCache) ConstructAndAddTreeCallCount() int
- func (fake *CommandTreeCache) ConstructAndAddTreeCalls(stub func(*cli.PluginInfo) error)
- func (fake *CommandTreeCache) ConstructAndAddTreeReturns(result1 error)
- func (fake *CommandTreeCache) ConstructAndAddTreeReturnsOnCall(i int, result1 error)
- func (fake *CommandTreeCache) DeleteTree(arg1 *cli.PluginInfo) error
- func (fake *CommandTreeCache) DeleteTreeArgsForCall(i int) *cli.PluginInfo
- func (fake *CommandTreeCache) DeleteTreeCallCount() int
- func (fake *CommandTreeCache) DeleteTreeCalls(stub func(*cli.PluginInfo) error)
- func (fake *CommandTreeCache) DeleteTreeReturns(result1 error)
- func (fake *CommandTreeCache) DeleteTreeReturnsOnCall(i int, result1 error)
- func (fake *CommandTreeCache) GetTree(arg1 *cli.PluginInfo) (*plugincmdtree.CommandNode, error)
- func (fake *CommandTreeCache) GetTreeArgsForCall(i int) *cli.PluginInfo
- func (fake *CommandTreeCache) GetTreeCallCount() int
- func (fake *CommandTreeCache) GetTreeCalls(stub func(*cli.PluginInfo) (*plugincmdtree.CommandNode, error))
- func (fake *CommandTreeCache) GetTreeReturns(result1 *plugincmdtree.CommandNode, result2 error)
- func (fake *CommandTreeCache) GetTreeReturnsOnCall(i int, result1 *plugincmdtree.CommandNode, result2 error)
- func (fake *CommandTreeCache) Invocations() map[string][][]interface{}
- type Cosignhelperfake
- func (fake *Cosignhelperfake) Invocations() map[string][][]interface{}
- func (fake *Cosignhelperfake) Verify(arg1 context.Context, arg2 []string) error
- func (fake *Cosignhelperfake) VerifyArgsForCall(i int) (context.Context, []string)
- func (fake *Cosignhelperfake) VerifyCallCount() int
- func (fake *Cosignhelperfake) VerifyCalls(stub func(context.Context, []string) error)
- func (fake *Cosignhelperfake) VerifyReturns(result1 error)
- func (fake *Cosignhelperfake) VerifyReturnsOnCall(i int, result1 error)
- type CrtClientFake
- func (fake *CrtClientFake) Invocations() map[string][][]interface{}
- func (fake *CrtClientFake) ListObjects(arg1 context.Context, arg2 client.ObjectList, arg3 *client.ListOptions) error
- func (fake *CrtClientFake) ListObjectsArgsForCall(i int) (context.Context, client.ObjectList, *client.ListOptions)
- func (fake *CrtClientFake) ListObjectsCallCount() int
- func (fake *CrtClientFake) ListObjectsCalls(stub func(context.Context, client.ObjectList, *client.ListOptions) error)
- func (fake *CrtClientFake) ListObjectsReturns(result1 error)
- func (fake *CrtClientFake) ListObjectsReturnsOnCall(i int, result1 error)
- func (fake *CrtClientFake) NewClient(arg1 *rest.Config, arg2 client.Options) (client.Client, error)
- func (fake *CrtClientFake) NewClientArgsForCall(i int) (*rest.Config, client.Options)
- func (fake *CrtClientFake) NewClientCallCount() int
- func (fake *CrtClientFake) NewClientCalls(stub func(*rest.Config, client.Options) (client.Client, error))
- func (fake *CrtClientFake) NewClientReturns(result1 client.Client, result2 error)
- func (fake *CrtClientFake) NewClientReturnsOnCall(i int, result1 client.Client, result2 error)
- type DiscoveryClient
- func (fake *DiscoveryClient) Invocations() map[string][][]interface{}
- func (fake *DiscoveryClient) OpenAPISchema() (*openapi_v2.Document, error)
- func (fake *DiscoveryClient) OpenAPISchemaCallCount() int
- func (fake *DiscoveryClient) OpenAPISchemaCalls(stub func() (*openapi_v2.Document, error))
- func (fake *DiscoveryClient) OpenAPISchemaReturns(result1 *openapi_v2.Document, result2 error)
- func (fake *DiscoveryClient) OpenAPISchemaReturnsOnCall(i int, result1 *openapi_v2.Document, result2 error)
- func (fake *DiscoveryClient) OpenAPIV3() openapi.Client
- func (fake *DiscoveryClient) OpenAPIV3CallCount() int
- func (fake *DiscoveryClient) OpenAPIV3Calls(stub func() openapi.Client)
- func (fake *DiscoveryClient) OpenAPIV3Returns(result1 openapi.Client)
- func (fake *DiscoveryClient) OpenAPIV3ReturnsOnCall(i int, result1 openapi.Client)
- func (fake *DiscoveryClient) RESTClient() rest.Interface
- func (fake *DiscoveryClient) RESTClientCallCount() int
- func (fake *DiscoveryClient) RESTClientCalls(stub func() rest.Interface)
- func (fake *DiscoveryClient) RESTClientReturns(result1 rest.Interface)
- func (fake *DiscoveryClient) RESTClientReturnsOnCall(i int, result1 rest.Interface)
- func (fake *DiscoveryClient) ServerGroups() (*v1.APIGroupList, error)
- func (fake *DiscoveryClient) ServerGroupsAndResources() ([]*v1.APIGroup, []*v1.APIResourceList, error)
- func (fake *DiscoveryClient) ServerGroupsAndResourcesCallCount() int
- func (fake *DiscoveryClient) ServerGroupsAndResourcesCalls(stub func() ([]*v1.APIGroup, []*v1.APIResourceList, error))
- func (fake *DiscoveryClient) ServerGroupsAndResourcesReturns(result1 []*v1.APIGroup, result2 []*v1.APIResourceList, result3 error)
- func (fake *DiscoveryClient) ServerGroupsAndResourcesReturnsOnCall(i int, result1 []*v1.APIGroup, result2 []*v1.APIResourceList, result3 error)
- func (fake *DiscoveryClient) ServerGroupsCallCount() int
- func (fake *DiscoveryClient) ServerGroupsCalls(stub func() (*v1.APIGroupList, error))
- func (fake *DiscoveryClient) ServerGroupsReturns(result1 *v1.APIGroupList, result2 error)
- func (fake *DiscoveryClient) ServerGroupsReturnsOnCall(i int, result1 *v1.APIGroupList, result2 error)
- func (fake *DiscoveryClient) ServerPreferredNamespacedResources() ([]*v1.APIResourceList, error)
- func (fake *DiscoveryClient) ServerPreferredNamespacedResourcesCallCount() int
- func (fake *DiscoveryClient) ServerPreferredNamespacedResourcesCalls(stub func() ([]*v1.APIResourceList, error))
- func (fake *DiscoveryClient) ServerPreferredNamespacedResourcesReturns(result1 []*v1.APIResourceList, result2 error)
- func (fake *DiscoveryClient) ServerPreferredNamespacedResourcesReturnsOnCall(i int, result1 []*v1.APIResourceList, result2 error)
- func (fake *DiscoveryClient) ServerPreferredResources() ([]*v1.APIResourceList, error)
- func (fake *DiscoveryClient) ServerPreferredResourcesCallCount() int
- func (fake *DiscoveryClient) ServerPreferredResourcesCalls(stub func() ([]*v1.APIResourceList, error))
- func (fake *DiscoveryClient) ServerPreferredResourcesReturns(result1 []*v1.APIResourceList, result2 error)
- func (fake *DiscoveryClient) ServerPreferredResourcesReturnsOnCall(i int, result1 []*v1.APIResourceList, result2 error)
- func (fake *DiscoveryClient) ServerResourcesForGroupVersion(arg1 string) (*v1.APIResourceList, error)
- func (fake *DiscoveryClient) ServerResourcesForGroupVersionArgsForCall(i int) string
- func (fake *DiscoveryClient) ServerResourcesForGroupVersionCallCount() int
- func (fake *DiscoveryClient) ServerResourcesForGroupVersionCalls(stub func(string) (*v1.APIResourceList, error))
- func (fake *DiscoveryClient) ServerResourcesForGroupVersionReturns(result1 *v1.APIResourceList, result2 error)
- func (fake *DiscoveryClient) ServerResourcesForGroupVersionReturnsOnCall(i int, result1 *v1.APIResourceList, result2 error)
- func (fake *DiscoveryClient) ServerVersion() (*version.Info, error)
- func (fake *DiscoveryClient) ServerVersionCallCount() int
- func (fake *DiscoveryClient) ServerVersionCalls(stub func() (*version.Info, error))
- func (fake *DiscoveryClient) ServerVersionReturns(result1 *version.Info, result2 error)
- func (fake *DiscoveryClient) ServerVersionReturnsOnCall(i int, result1 *version.Info, result2 error)
- func (fake *DiscoveryClient) WithLegacy() discovery.DiscoveryInterface
- func (fake *DiscoveryClient) WithLegacyCallCount() int
- func (fake *DiscoveryClient) WithLegacyCalls(stub func() discovery.DiscoveryInterface)
- func (fake *DiscoveryClient) WithLegacyReturns(result1 discovery.DiscoveryInterface)
- func (fake *DiscoveryClient) WithLegacyReturnsOnCall(i int, result1 discovery.DiscoveryInterface)
- type DiscoveryClientFactory
- func (fake *DiscoveryClientFactory) Invocations() map[string][][]interface{}
- func (fake *DiscoveryClientFactory) NewDiscoveryClientForConfig(arg1 *rest.Config) (discovery.DiscoveryInterface, error)
- func (fake *DiscoveryClientFactory) NewDiscoveryClientForConfigArgsForCall(i int) *rest.Config
- func (fake *DiscoveryClientFactory) NewDiscoveryClientForConfigCallCount() int
- func (fake *DiscoveryClientFactory) NewDiscoveryClientForConfigCalls(stub func(*rest.Config) (discovery.DiscoveryInterface, error))
- func (fake *DiscoveryClientFactory) NewDiscoveryClientForConfigReturns(result1 discovery.DiscoveryInterface, result2 error)
- func (fake *DiscoveryClientFactory) NewDiscoveryClientForConfigReturnsOnCall(i int, result1 discovery.DiscoveryInterface, result2 error)
- func (fake *DiscoveryClientFactory) ServerVersion(arg1 discovery.DiscoveryInterface) (*version.Info, error)
- func (fake *DiscoveryClientFactory) ServerVersionArgsForCall(i int) discovery.DiscoveryInterface
- func (fake *DiscoveryClientFactory) ServerVersionCallCount() int
- func (fake *DiscoveryClientFactory) ServerVersionCalls(stub func(discovery.DiscoveryInterface) (*version.Info, error))
- func (fake *DiscoveryClientFactory) ServerVersionReturns(result1 *version.Info, result2 error)
- func (fake *DiscoveryClientFactory) ServerVersionReturnsOnCall(i int, result1 *version.Info, result2 error)
- type DynamicClientFactory
- func (fake *DynamicClientFactory) Invocations() map[string][][]interface{}
- func (fake *DynamicClientFactory) NewDynamicClientForConfig(arg1 *rest.Config) (dynamic.Interface, error)
- func (fake *DynamicClientFactory) NewDynamicClientForConfigArgsForCall(i int) *rest.Config
- func (fake *DynamicClientFactory) NewDynamicClientForConfigCallCount() int
- func (fake *DynamicClientFactory) NewDynamicClientForConfigCalls(stub func(*rest.Config) (dynamic.Interface, error))
- func (fake *DynamicClientFactory) NewDynamicClientForConfigReturns(result1 dynamic.Interface, result2 error)
- func (fake *DynamicClientFactory) NewDynamicClientForConfigReturnsOnCall(i int, result1 dynamic.Interface, result2 error)
- type FakeConfigClientWrapper
- func (fake *FakeConfigClientWrapper) AcquireTanzuConfigLock()
- func (fake *FakeConfigClientWrapper) AcquireTanzuConfigLockCallCount() int
- func (fake *FakeConfigClientWrapper) AcquireTanzuConfigLockCalls(stub func())
- func (fake *FakeConfigClientWrapper) GetEnvConfigurations() map[string]string
- func (fake *FakeConfigClientWrapper) GetEnvConfigurationsCallCount() int
- func (fake *FakeConfigClientWrapper) GetEnvConfigurationsCalls(stub func() map[string]string)
- func (fake *FakeConfigClientWrapper) GetEnvConfigurationsReturns(result1 map[string]string)
- func (fake *FakeConfigClientWrapper) GetEnvConfigurationsReturnsOnCall(i int, result1 map[string]string)
- func (fake *FakeConfigClientWrapper) Invocations() map[string][][]interface{}
- func (fake *FakeConfigClientWrapper) ReleaseTanzuConfigLock()
- func (fake *FakeConfigClientWrapper) ReleaseTanzuConfigLockCallCount() int
- func (fake *FakeConfigClientWrapper) ReleaseTanzuConfigLockCalls(stub func())
- func (fake *FakeConfigClientWrapper) StoreClientConfig(arg1 *types.ClientConfig) error
- func (fake *FakeConfigClientWrapper) StoreClientConfigArgsForCall(i int) *types.ClientConfig
- func (fake *FakeConfigClientWrapper) StoreClientConfigCallCount() int
- func (fake *FakeConfigClientWrapper) StoreClientConfigCalls(stub func(*types.ClientConfig) error)
- func (fake *FakeConfigClientWrapper) StoreClientConfigReturns(result1 error)
- func (fake *FakeConfigClientWrapper) StoreClientConfigReturnsOnCall(i int, result1 error)
- type FakeHTTPClient
- func (fake *FakeHTTPClient) Do(arg1 *http.Request) (*http.Response, error)
- func (fake *FakeHTTPClient) DoArgsForCall(i int) *http.Request
- func (fake *FakeHTTPClient) DoCallCount() int
- func (fake *FakeHTTPClient) DoCalls(stub func(*http.Request) (*http.Response, error))
- func (fake *FakeHTTPClient) DoReturns(result1 *http.Response, result2 error)
- func (fake *FakeHTTPClient) DoReturnsOnCall(i int, result1 *http.Response, result2 error)
- func (fake *FakeHTTPClient) Invocations() map[string][][]interface{}
- type ImageOperationsImpl
- func (fake *ImageOperationsImpl) CopyImageFromTar(arg1 string, arg2 string) error
- func (fake *ImageOperationsImpl) CopyImageFromTarArgsForCall(i int) (string, string)
- func (fake *ImageOperationsImpl) CopyImageFromTarCallCount() int
- func (fake *ImageOperationsImpl) CopyImageFromTarCalls(stub func(string, string) error)
- func (fake *ImageOperationsImpl) CopyImageFromTarReturns(result1 error)
- func (fake *ImageOperationsImpl) CopyImageFromTarReturnsOnCall(i int, result1 error)
- func (fake *ImageOperationsImpl) CopyImageToTar(arg1 string, arg2 string) error
- func (fake *ImageOperationsImpl) CopyImageToTarArgsForCall(i int) (string, string)
- func (fake *ImageOperationsImpl) CopyImageToTarCallCount() int
- func (fake *ImageOperationsImpl) CopyImageToTarCalls(stub func(string, string) error)
- func (fake *ImageOperationsImpl) CopyImageToTarReturns(result1 error)
- func (fake *ImageOperationsImpl) CopyImageToTarReturnsOnCall(i int, result1 error)
- func (fake *ImageOperationsImpl) DownloadImageAndSaveFilesToDir(arg1 string, arg2 string) error
- func (fake *ImageOperationsImpl) DownloadImageAndSaveFilesToDirArgsForCall(i int) (string, string)
- func (fake *ImageOperationsImpl) DownloadImageAndSaveFilesToDirCallCount() int
- func (fake *ImageOperationsImpl) DownloadImageAndSaveFilesToDirCalls(stub func(string, string) error)
- func (fake *ImageOperationsImpl) DownloadImageAndSaveFilesToDirReturns(result1 error)
- func (fake *ImageOperationsImpl) DownloadImageAndSaveFilesToDirReturnsOnCall(i int, result1 error)
- func (fake *ImageOperationsImpl) GetFileDigestFromImage(arg1 string, arg2 string) (string, error)
- func (fake *ImageOperationsImpl) GetFileDigestFromImageArgsForCall(i int) (string, string)
- func (fake *ImageOperationsImpl) GetFileDigestFromImageCallCount() int
- func (fake *ImageOperationsImpl) GetFileDigestFromImageCalls(stub func(string, string) (string, error))
- func (fake *ImageOperationsImpl) GetFileDigestFromImageReturns(result1 string, result2 error)
- func (fake *ImageOperationsImpl) GetFileDigestFromImageReturnsOnCall(i int, result1 string, result2 error)
- func (fake *ImageOperationsImpl) GetFilesMapFromImage(arg1 string) (map[string][]byte, error)
- func (fake *ImageOperationsImpl) GetFilesMapFromImageArgsForCall(i int) string
- func (fake *ImageOperationsImpl) GetFilesMapFromImageCallCount() int
- func (fake *ImageOperationsImpl) GetFilesMapFromImageCalls(stub func(string) (map[string][]byte, error))
- func (fake *ImageOperationsImpl) GetFilesMapFromImageReturns(result1 map[string][]byte, result2 error)
- func (fake *ImageOperationsImpl) GetFilesMapFromImageReturnsOnCall(i int, result1 map[string][]byte, result2 error)
- func (fake *ImageOperationsImpl) GetImageDigest(arg1 string) (string, string, error)
- func (fake *ImageOperationsImpl) GetImageDigestArgsForCall(i int) string
- func (fake *ImageOperationsImpl) GetImageDigestCallCount() int
- func (fake *ImageOperationsImpl) GetImageDigestCalls(stub func(string) (string, string, error))
- func (fake *ImageOperationsImpl) GetImageDigestReturns(result1 string, result2 string, result3 error)
- func (fake *ImageOperationsImpl) GetImageDigestReturnsOnCall(i int, result1 string, result2 string, result3 error)
- func (fake *ImageOperationsImpl) Invocations() map[string][][]interface{}
- func (fake *ImageOperationsImpl) PushImage(arg1 string, arg2 []string) error
- func (fake *ImageOperationsImpl) PushImageArgsForCall(i int) (string, []string)
- func (fake *ImageOperationsImpl) PushImageCallCount() int
- func (fake *ImageOperationsImpl) PushImageCalls(stub func(string, []string) error)
- func (fake *ImageOperationsImpl) PushImageReturns(result1 error)
- func (fake *ImageOperationsImpl) PushImageReturnsOnCall(i int, result1 error)
- func (fake *ImageOperationsImpl) ResolveImage(arg1 string) error
- func (fake *ImageOperationsImpl) ResolveImageArgsForCall(i int) string
- func (fake *ImageOperationsImpl) ResolveImageCallCount() int
- func (fake *ImageOperationsImpl) ResolveImageCalls(stub func(string) error)
- func (fake *ImageOperationsImpl) ResolveImageReturns(result1 error)
- func (fake *ImageOperationsImpl) ResolveImageReturnsOnCall(i int, result1 error)
- type Registry
- func (fake *Registry) CopyImageFromTar(arg1 string, arg2 string) error
- func (fake *Registry) CopyImageFromTarArgsForCall(i int) (string, string)
- func (fake *Registry) CopyImageFromTarCallCount() int
- func (fake *Registry) CopyImageFromTarCalls(stub func(string, string) error)
- func (fake *Registry) CopyImageFromTarReturns(result1 error)
- func (fake *Registry) CopyImageFromTarReturnsOnCall(i int, result1 error)
- func (fake *Registry) CopyImageToTar(arg1 string, arg2 string) error
- func (fake *Registry) CopyImageToTarArgsForCall(i int) (string, string)
- func (fake *Registry) CopyImageToTarCallCount() int
- func (fake *Registry) CopyImageToTarCalls(stub func(string, string) error)
- func (fake *Registry) CopyImageToTarReturns(result1 error)
- func (fake *Registry) CopyImageToTarReturnsOnCall(i int, result1 error)
- func (fake *Registry) DownloadBundle(arg1 string, arg2 string) error
- func (fake *Registry) DownloadBundleArgsForCall(i int) (string, string)
- func (fake *Registry) DownloadBundleCallCount() int
- func (fake *Registry) DownloadBundleCalls(stub func(string, string) error)
- func (fake *Registry) DownloadBundleReturns(result1 error)
- func (fake *Registry) DownloadBundleReturnsOnCall(i int, result1 error)
- func (fake *Registry) DownloadImage(arg1 string, arg2 string) error
- func (fake *Registry) DownloadImageArgsForCall(i int) (string, string)
- func (fake *Registry) DownloadImageCallCount() int
- func (fake *Registry) DownloadImageCalls(stub func(string, string) error)
- func (fake *Registry) DownloadImageReturns(result1 error)
- func (fake *Registry) DownloadImageReturnsOnCall(i int, result1 error)
- func (fake *Registry) GetFile(arg1 string, arg2 string) ([]byte, error)
- func (fake *Registry) GetFileArgsForCall(i int) (string, string)
- func (fake *Registry) GetFileCallCount() int
- func (fake *Registry) GetFileCalls(stub func(string, string) ([]byte, error))
- func (fake *Registry) GetFileReturns(result1 []byte, result2 error)
- func (fake *Registry) GetFileReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *Registry) GetFiles(arg1 string) (map[string][]byte, error)
- func (fake *Registry) GetFilesArgsForCall(i int) string
- func (fake *Registry) GetFilesCallCount() int
- func (fake *Registry) GetFilesCalls(stub func(string) (map[string][]byte, error))
- func (fake *Registry) GetFilesReturns(result1 map[string][]byte, result2 error)
- func (fake *Registry) GetFilesReturnsOnCall(i int, result1 map[string][]byte, result2 error)
- func (fake *Registry) GetImageDigest(arg1 string) (string, string, error)
- func (fake *Registry) GetImageDigestArgsForCall(i int) string
- func (fake *Registry) GetImageDigestCallCount() int
- func (fake *Registry) GetImageDigestCalls(stub func(string) (string, string, error))
- func (fake *Registry) GetImageDigestReturns(result1 string, result2 string, result3 error)
- func (fake *Registry) GetImageDigestReturnsOnCall(i int, result1 string, result2 string, result3 error)
- func (fake *Registry) Invocations() map[string][][]interface{}
- func (fake *Registry) ListImageTags(arg1 string) ([]string, error)
- func (fake *Registry) ListImageTagsArgsForCall(i int) string
- func (fake *Registry) ListImageTagsCallCount() int
- func (fake *Registry) ListImageTagsCalls(stub func(string) ([]string, error))
- func (fake *Registry) ListImageTagsReturns(result1 []string, result2 error)
- func (fake *Registry) ListImageTagsReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *Registry) PushImage(arg1 string, arg2 []string) error
- func (fake *Registry) PushImageArgsForCall(i int) (string, []string)
- func (fake *Registry) PushImageCallCount() int
- func (fake *Registry) PushImageCalls(stub func(string, []string) error)
- func (fake *Registry) PushImageReturns(result1 error)
- func (fake *Registry) PushImageReturnsOnCall(i int, result1 error)
- func (fake *Registry) ResolveImage(arg1 string) error
- func (fake *Registry) ResolveImageArgsForCall(i int) string
- func (fake *Registry) ResolveImageCallCount() int
- func (fake *Registry) ResolveImageCalls(stub func(string) error)
- func (fake *Registry) ResolveImageReturns(result1 error)
- func (fake *Registry) ResolveImageReturnsOnCall(i int, result1 error)
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, []byte, cluster.Options) (cluster.Client, error) // contains filtered or unexported fields }
func (*ClusterClientFactory) Invocations ¶
func (fake *ClusterClientFactory) Invocations() map[string][][]interface{}
func (*ClusterClientFactory) NewClientArgsForCall ¶
func (*ClusterClientFactory) NewClientCallCount ¶
func (fake *ClusterClientFactory) NewClientCallCount() int
func (*ClusterClientFactory) NewClientCalls ¶
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 CommandTreeCache ¶ added in v1.0.0
type CommandTreeCache struct { ConstructAndAddTreeStub func(*cli.PluginInfo) error DeleteTreeStub func(*cli.PluginInfo) error GetTreeStub func(*cli.PluginInfo) (*plugincmdtree.CommandNode, error) // contains filtered or unexported fields }
func (*CommandTreeCache) ConstructAndAddTree ¶ added in v1.0.0
func (fake *CommandTreeCache) ConstructAndAddTree(arg1 *cli.PluginInfo) error
func (*CommandTreeCache) ConstructAndAddTreeArgsForCall ¶ added in v1.0.0
func (fake *CommandTreeCache) ConstructAndAddTreeArgsForCall(i int) *cli.PluginInfo
func (*CommandTreeCache) ConstructAndAddTreeCallCount ¶ added in v1.0.0
func (fake *CommandTreeCache) ConstructAndAddTreeCallCount() int
func (*CommandTreeCache) ConstructAndAddTreeCalls ¶ added in v1.0.0
func (fake *CommandTreeCache) ConstructAndAddTreeCalls(stub func(*cli.PluginInfo) error)
func (*CommandTreeCache) ConstructAndAddTreeReturns ¶ added in v1.0.0
func (fake *CommandTreeCache) ConstructAndAddTreeReturns(result1 error)
func (*CommandTreeCache) ConstructAndAddTreeReturnsOnCall ¶ added in v1.0.0
func (fake *CommandTreeCache) ConstructAndAddTreeReturnsOnCall(i int, result1 error)
func (*CommandTreeCache) DeleteTree ¶ added in v1.0.0
func (fake *CommandTreeCache) DeleteTree(arg1 *cli.PluginInfo) error
func (*CommandTreeCache) DeleteTreeArgsForCall ¶ added in v1.0.0
func (fake *CommandTreeCache) DeleteTreeArgsForCall(i int) *cli.PluginInfo
func (*CommandTreeCache) DeleteTreeCallCount ¶ added in v1.0.0
func (fake *CommandTreeCache) DeleteTreeCallCount() int
func (*CommandTreeCache) DeleteTreeCalls ¶ added in v1.0.0
func (fake *CommandTreeCache) DeleteTreeCalls(stub func(*cli.PluginInfo) error)
func (*CommandTreeCache) DeleteTreeReturns ¶ added in v1.0.0
func (fake *CommandTreeCache) DeleteTreeReturns(result1 error)
func (*CommandTreeCache) DeleteTreeReturnsOnCall ¶ added in v1.0.0
func (fake *CommandTreeCache) DeleteTreeReturnsOnCall(i int, result1 error)
func (*CommandTreeCache) GetTree ¶ added in v1.0.0
func (fake *CommandTreeCache) GetTree(arg1 *cli.PluginInfo) (*plugincmdtree.CommandNode, error)
func (*CommandTreeCache) GetTreeArgsForCall ¶ added in v1.0.0
func (fake *CommandTreeCache) GetTreeArgsForCall(i int) *cli.PluginInfo
func (*CommandTreeCache) GetTreeCallCount ¶ added in v1.0.0
func (fake *CommandTreeCache) GetTreeCallCount() int
func (*CommandTreeCache) GetTreeCalls ¶ added in v1.0.0
func (fake *CommandTreeCache) GetTreeCalls(stub func(*cli.PluginInfo) (*plugincmdtree.CommandNode, error))
func (*CommandTreeCache) GetTreeReturns ¶ added in v1.0.0
func (fake *CommandTreeCache) GetTreeReturns(result1 *plugincmdtree.CommandNode, result2 error)
func (*CommandTreeCache) GetTreeReturnsOnCall ¶ added in v1.0.0
func (fake *CommandTreeCache) GetTreeReturnsOnCall(i int, result1 *plugincmdtree.CommandNode, result2 error)
func (*CommandTreeCache) Invocations ¶ added in v1.0.0
func (fake *CommandTreeCache) Invocations() map[string][][]interface{}
type Cosignhelperfake ¶ added in v0.0.11
type Cosignhelperfake struct { VerifyStub func(context.Context, []string) error // contains filtered or unexported fields }
func (*Cosignhelperfake) Invocations ¶ added in v0.0.11
func (fake *Cosignhelperfake) Invocations() map[string][][]interface{}
func (*Cosignhelperfake) Verify ¶ added in v0.0.11
func (fake *Cosignhelperfake) Verify(arg1 context.Context, arg2 []string) error
func (*Cosignhelperfake) VerifyArgsForCall ¶ added in v0.0.11
func (fake *Cosignhelperfake) VerifyArgsForCall(i int) (context.Context, []string)
func (*Cosignhelperfake) VerifyCallCount ¶ added in v0.0.11
func (fake *Cosignhelperfake) VerifyCallCount() int
func (*Cosignhelperfake) VerifyCalls ¶ added in v0.0.11
func (fake *Cosignhelperfake) VerifyCalls(stub func(context.Context, []string) error)
func (*Cosignhelperfake) VerifyReturns ¶ added in v0.0.11
func (fake *Cosignhelperfake) VerifyReturns(result1 error)
func (*Cosignhelperfake) VerifyReturnsOnCall ¶ added in v0.0.11
func (fake *Cosignhelperfake) VerifyReturnsOnCall(i int, result1 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) NewClientArgsForCall ¶
func (*CrtClientFake) NewClientCallCount ¶
func (fake *CrtClientFake) NewClientCallCount() int
func (*CrtClientFake) NewClientCalls ¶
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) WithLegacyStub func() discovery.DiscoveryInterface // 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)
func (*DiscoveryClient) WithLegacy ¶ added in v0.90.0
func (fake *DiscoveryClient) WithLegacy() discovery.DiscoveryInterface
func (*DiscoveryClient) WithLegacyCallCount ¶ added in v1.0.0
func (fake *DiscoveryClient) WithLegacyCallCount() int
func (*DiscoveryClient) WithLegacyCalls ¶ added in v1.0.0
func (fake *DiscoveryClient) WithLegacyCalls(stub func() discovery.DiscoveryInterface)
func (*DiscoveryClient) WithLegacyReturns ¶ added in v1.0.0
func (fake *DiscoveryClient) WithLegacyReturns(result1 discovery.DiscoveryInterface)
func (*DiscoveryClient) WithLegacyReturnsOnCall ¶ added in v1.0.0
func (fake *DiscoveryClient) WithLegacyReturnsOnCall(i int, result1 discovery.DiscoveryInterface)
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 (*DynamicClientFactory) NewDynamicClientForConfigArgsForCall ¶
func (fake *DynamicClientFactory) NewDynamicClientForConfigArgsForCall(i int) *rest.Config
func (*DynamicClientFactory) NewDynamicClientForConfigCallCount ¶
func (fake *DynamicClientFactory) NewDynamicClientForConfigCallCount() int
func (*DynamicClientFactory) NewDynamicClientForConfigCalls ¶
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(*types.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 *types.ClientConfig) error
func (*FakeConfigClientWrapper) StoreClientConfigArgsForCall ¶
func (fake *FakeConfigClientWrapper) StoreClientConfigArgsForCall(i int) *types.ClientConfig
func (*FakeConfigClientWrapper) StoreClientConfigCallCount ¶
func (fake *FakeConfigClientWrapper) StoreClientConfigCallCount() int
func (*FakeConfigClientWrapper) StoreClientConfigCalls ¶
func (fake *FakeConfigClientWrapper) StoreClientConfigCalls(stub func(*types.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) DoArgsForCall ¶
func (fake *FakeHTTPClient) DoArgsForCall(i int) *http.Request
func (*FakeHTTPClient) DoCallCount ¶
func (fake *FakeHTTPClient) DoCallCount() int
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 ImageOperationsImpl ¶ added in v0.90.0
type ImageOperationsImpl struct { CopyImageFromTarStub func(string, string) error CopyImageToTarStub func(string, string) error DownloadImageAndSaveFilesToDirStub func(string, string) error GetFileDigestFromImageStub func(string, string) (string, error) GetFilesMapFromImageStub func(string) (map[string][]byte, error) GetImageDigestStub func(string) (string, string, error) PushImageStub func(string, []string) error ResolveImageStub func(string) error // contains filtered or unexported fields }
func (*ImageOperationsImpl) CopyImageFromTar ¶ added in v0.90.0
func (fake *ImageOperationsImpl) CopyImageFromTar(arg1 string, arg2 string) error
func (*ImageOperationsImpl) CopyImageFromTarArgsForCall ¶ added in v0.90.0
func (fake *ImageOperationsImpl) CopyImageFromTarArgsForCall(i int) (string, string)
func (*ImageOperationsImpl) CopyImageFromTarCallCount ¶ added in v0.90.0
func (fake *ImageOperationsImpl) CopyImageFromTarCallCount() int
func (*ImageOperationsImpl) CopyImageFromTarCalls ¶ added in v0.90.0
func (fake *ImageOperationsImpl) CopyImageFromTarCalls(stub func(string, string) error)
func (*ImageOperationsImpl) CopyImageFromTarReturns ¶ added in v0.90.0
func (fake *ImageOperationsImpl) CopyImageFromTarReturns(result1 error)
func (*ImageOperationsImpl) CopyImageFromTarReturnsOnCall ¶ added in v0.90.0
func (fake *ImageOperationsImpl) CopyImageFromTarReturnsOnCall(i int, result1 error)
func (*ImageOperationsImpl) CopyImageToTar ¶ added in v0.90.0
func (fake *ImageOperationsImpl) CopyImageToTar(arg1 string, arg2 string) error
func (*ImageOperationsImpl) CopyImageToTarArgsForCall ¶ added in v0.90.0
func (fake *ImageOperationsImpl) CopyImageToTarArgsForCall(i int) (string, string)
func (*ImageOperationsImpl) CopyImageToTarCallCount ¶ added in v0.90.0
func (fake *ImageOperationsImpl) CopyImageToTarCallCount() int
func (*ImageOperationsImpl) CopyImageToTarCalls ¶ added in v0.90.0
func (fake *ImageOperationsImpl) CopyImageToTarCalls(stub func(string, string) error)
func (*ImageOperationsImpl) CopyImageToTarReturns ¶ added in v0.90.0
func (fake *ImageOperationsImpl) CopyImageToTarReturns(result1 error)
func (*ImageOperationsImpl) CopyImageToTarReturnsOnCall ¶ added in v0.90.0
func (fake *ImageOperationsImpl) CopyImageToTarReturnsOnCall(i int, result1 error)
func (*ImageOperationsImpl) DownloadImageAndSaveFilesToDir ¶ added in v0.90.0
func (fake *ImageOperationsImpl) DownloadImageAndSaveFilesToDir(arg1 string, arg2 string) error
func (*ImageOperationsImpl) DownloadImageAndSaveFilesToDirArgsForCall ¶ added in v0.90.0
func (fake *ImageOperationsImpl) DownloadImageAndSaveFilesToDirArgsForCall(i int) (string, string)
func (*ImageOperationsImpl) DownloadImageAndSaveFilesToDirCallCount ¶ added in v0.90.0
func (fake *ImageOperationsImpl) DownloadImageAndSaveFilesToDirCallCount() int
func (*ImageOperationsImpl) DownloadImageAndSaveFilesToDirCalls ¶ added in v0.90.0
func (fake *ImageOperationsImpl) DownloadImageAndSaveFilesToDirCalls(stub func(string, string) error)
func (*ImageOperationsImpl) DownloadImageAndSaveFilesToDirReturns ¶ added in v0.90.0
func (fake *ImageOperationsImpl) DownloadImageAndSaveFilesToDirReturns(result1 error)
func (*ImageOperationsImpl) DownloadImageAndSaveFilesToDirReturnsOnCall ¶ added in v0.90.0
func (fake *ImageOperationsImpl) DownloadImageAndSaveFilesToDirReturnsOnCall(i int, result1 error)
func (*ImageOperationsImpl) GetFileDigestFromImage ¶ added in v1.0.0
func (fake *ImageOperationsImpl) GetFileDigestFromImage(arg1 string, arg2 string) (string, error)
func (*ImageOperationsImpl) GetFileDigestFromImageArgsForCall ¶ added in v1.0.0
func (fake *ImageOperationsImpl) GetFileDigestFromImageArgsForCall(i int) (string, string)
func (*ImageOperationsImpl) GetFileDigestFromImageCallCount ¶ added in v1.0.0
func (fake *ImageOperationsImpl) GetFileDigestFromImageCallCount() int
func (*ImageOperationsImpl) GetFileDigestFromImageCalls ¶ added in v1.0.0
func (fake *ImageOperationsImpl) GetFileDigestFromImageCalls(stub func(string, string) (string, error))
func (*ImageOperationsImpl) GetFileDigestFromImageReturns ¶ added in v1.0.0
func (fake *ImageOperationsImpl) GetFileDigestFromImageReturns(result1 string, result2 error)
func (*ImageOperationsImpl) GetFileDigestFromImageReturnsOnCall ¶ added in v1.0.0
func (fake *ImageOperationsImpl) GetFileDigestFromImageReturnsOnCall(i int, result1 string, result2 error)
func (*ImageOperationsImpl) GetFilesMapFromImage ¶ added in v0.90.0
func (fake *ImageOperationsImpl) GetFilesMapFromImage(arg1 string) (map[string][]byte, error)
func (*ImageOperationsImpl) GetFilesMapFromImageArgsForCall ¶ added in v0.90.0
func (fake *ImageOperationsImpl) GetFilesMapFromImageArgsForCall(i int) string
func (*ImageOperationsImpl) GetFilesMapFromImageCallCount ¶ added in v0.90.0
func (fake *ImageOperationsImpl) GetFilesMapFromImageCallCount() int
func (*ImageOperationsImpl) GetFilesMapFromImageCalls ¶ added in v0.90.0
func (fake *ImageOperationsImpl) GetFilesMapFromImageCalls(stub func(string) (map[string][]byte, error))
func (*ImageOperationsImpl) GetFilesMapFromImageReturns ¶ added in v0.90.0
func (fake *ImageOperationsImpl) GetFilesMapFromImageReturns(result1 map[string][]byte, result2 error)
func (*ImageOperationsImpl) GetFilesMapFromImageReturnsOnCall ¶ added in v0.90.0
func (fake *ImageOperationsImpl) GetFilesMapFromImageReturnsOnCall(i int, result1 map[string][]byte, result2 error)
func (*ImageOperationsImpl) GetImageDigest ¶ added in v0.90.0
func (fake *ImageOperationsImpl) GetImageDigest(arg1 string) (string, string, error)
func (*ImageOperationsImpl) GetImageDigestArgsForCall ¶ added in v0.90.0
func (fake *ImageOperationsImpl) GetImageDigestArgsForCall(i int) string
func (*ImageOperationsImpl) GetImageDigestCallCount ¶ added in v0.90.0
func (fake *ImageOperationsImpl) GetImageDigestCallCount() int
func (*ImageOperationsImpl) GetImageDigestCalls ¶ added in v0.90.0
func (fake *ImageOperationsImpl) GetImageDigestCalls(stub func(string) (string, string, error))
func (*ImageOperationsImpl) GetImageDigestReturns ¶ added in v0.90.0
func (fake *ImageOperationsImpl) GetImageDigestReturns(result1 string, result2 string, result3 error)
func (*ImageOperationsImpl) GetImageDigestReturnsOnCall ¶ added in v0.90.0
func (fake *ImageOperationsImpl) GetImageDigestReturnsOnCall(i int, result1 string, result2 string, result3 error)
func (*ImageOperationsImpl) Invocations ¶ added in v0.90.0
func (fake *ImageOperationsImpl) Invocations() map[string][][]interface{}
func (*ImageOperationsImpl) PushImage ¶ added in v0.90.0
func (fake *ImageOperationsImpl) PushImage(arg1 string, arg2 []string) error
func (*ImageOperationsImpl) PushImageArgsForCall ¶ added in v0.90.0
func (fake *ImageOperationsImpl) PushImageArgsForCall(i int) (string, []string)
func (*ImageOperationsImpl) PushImageCallCount ¶ added in v0.90.0
func (fake *ImageOperationsImpl) PushImageCallCount() int
func (*ImageOperationsImpl) PushImageCalls ¶ added in v0.90.0
func (fake *ImageOperationsImpl) PushImageCalls(stub func(string, []string) error)
func (*ImageOperationsImpl) PushImageReturns ¶ added in v0.90.0
func (fake *ImageOperationsImpl) PushImageReturns(result1 error)
func (*ImageOperationsImpl) PushImageReturnsOnCall ¶ added in v0.90.0
func (fake *ImageOperationsImpl) PushImageReturnsOnCall(i int, result1 error)
func (*ImageOperationsImpl) ResolveImage ¶ added in v1.0.0
func (fake *ImageOperationsImpl) ResolveImage(arg1 string) error
func (*ImageOperationsImpl) ResolveImageArgsForCall ¶ added in v1.0.0
func (fake *ImageOperationsImpl) ResolveImageArgsForCall(i int) string
func (*ImageOperationsImpl) ResolveImageCallCount ¶ added in v1.0.0
func (fake *ImageOperationsImpl) ResolveImageCallCount() int
func (*ImageOperationsImpl) ResolveImageCalls ¶ added in v1.0.0
func (fake *ImageOperationsImpl) ResolveImageCalls(stub func(string) error)
func (*ImageOperationsImpl) ResolveImageReturns ¶ added in v1.0.0
func (fake *ImageOperationsImpl) ResolveImageReturns(result1 error)
func (*ImageOperationsImpl) ResolveImageReturnsOnCall ¶ added in v1.0.0
func (fake *ImageOperationsImpl) ResolveImageReturnsOnCall(i int, result1 error)
type Registry ¶
type Registry struct { CopyImageFromTarStub func(string, string) error CopyImageToTarStub func(string, string) error DownloadBundleStub func(string, string) error DownloadImageStub func(string, string) error GetFileStub func(string, string) ([]byte, error) GetFilesStub func(string) (map[string][]byte, error) GetImageDigestStub func(string) (string, string, error) ListImageTagsStub func(string) ([]string, error) PushImageStub func(string, []string) error ResolveImageStub func(string) error // contains filtered or unexported fields }
func (*Registry) CopyImageFromTar ¶ added in v0.90.0
func (*Registry) CopyImageFromTarArgsForCall ¶ added in v0.90.0
func (*Registry) CopyImageFromTarCallCount ¶ added in v0.90.0
func (*Registry) CopyImageFromTarCalls ¶ added in v0.90.0
func (*Registry) CopyImageFromTarReturns ¶ added in v0.90.0
func (*Registry) CopyImageFromTarReturnsOnCall ¶ added in v0.90.0
func (*Registry) CopyImageToTar ¶ added in v0.90.0
func (*Registry) CopyImageToTarArgsForCall ¶ added in v0.90.0
func (*Registry) CopyImageToTarCallCount ¶ added in v0.90.0
func (*Registry) CopyImageToTarCalls ¶ added in v0.90.0
func (*Registry) CopyImageToTarReturns ¶ added in v0.90.0
func (*Registry) CopyImageToTarReturnsOnCall ¶ added in v0.90.0
func (*Registry) DownloadBundle ¶
func (*Registry) DownloadBundleArgsForCall ¶
func (*Registry) DownloadBundleCallCount ¶
func (*Registry) DownloadBundleCalls ¶
func (*Registry) DownloadBundleReturns ¶
func (*Registry) DownloadBundleReturnsOnCall ¶
func (*Registry) DownloadImage ¶
func (*Registry) DownloadImageArgsForCall ¶
func (*Registry) DownloadImageCallCount ¶
func (*Registry) DownloadImageCalls ¶
func (*Registry) DownloadImageReturns ¶
func (*Registry) DownloadImageReturnsOnCall ¶
func (*Registry) GetFileArgsForCall ¶
func (*Registry) GetFileCallCount ¶
func (*Registry) GetFileCalls ¶
func (*Registry) GetFileReturns ¶
func (*Registry) GetFileReturnsOnCall ¶
func (*Registry) GetFilesArgsForCall ¶
func (*Registry) GetFilesCallCount ¶
func (*Registry) GetFilesCalls ¶
func (*Registry) GetFilesReturns ¶
func (*Registry) GetFilesReturnsOnCall ¶
func (*Registry) GetImageDigest ¶ added in v0.0.11
func (*Registry) GetImageDigestArgsForCall ¶ added in v0.0.11
func (*Registry) GetImageDigestCallCount ¶ added in v0.0.11
func (*Registry) GetImageDigestCalls ¶ added in v0.0.11
func (*Registry) GetImageDigestReturns ¶ added in v0.0.11
func (*Registry) GetImageDigestReturnsOnCall ¶ added in v0.0.11
func (*Registry) Invocations ¶
func (*Registry) ListImageTagsArgsForCall ¶
func (*Registry) ListImageTagsCallCount ¶
func (*Registry) ListImageTagsCalls ¶
func (*Registry) ListImageTagsReturns ¶
func (*Registry) ListImageTagsReturnsOnCall ¶
func (*Registry) PushImageArgsForCall ¶ added in v0.90.0
func (*Registry) PushImageCallCount ¶ added in v0.90.0
func (*Registry) PushImageCalls ¶ added in v0.90.0
func (*Registry) PushImageReturns ¶ added in v0.90.0
func (*Registry) PushImageReturnsOnCall ¶ added in v0.90.0
func (*Registry) ResolveImage ¶ added in v1.0.0
func (*Registry) ResolveImageArgsForCall ¶ added in v1.0.0
func (*Registry) ResolveImageCallCount ¶ added in v1.0.0
func (*Registry) ResolveImageCalls ¶ added in v1.0.0
func (*Registry) ResolveImageReturns ¶ added in v1.0.0
func (*Registry) ResolveImageReturnsOnCall ¶ added in v1.0.0
Source Files ¶
Click to show internal directories.
Click to hide internal directories.