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 ¶
- 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 cluster.Options) (cluster.Client, error)
- func (fake *ClusterClientFactory) NewClientArgsForCall(i int) (string, string, cluster.Options)
- func (fake *ClusterClientFactory) NewClientCallCount() int
- func (fake *ClusterClientFactory) NewClientCalls(stub func(string, string, 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 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)
- 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 Registry
- 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) 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)
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) 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 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) // 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 (*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 Registry ¶
type Registry struct { DownloadBundleStub func(string, string) error DownloadImageStub 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 (*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) Invocations ¶
func (*Registry) ListImageTagsArgsForCall ¶
func (*Registry) ListImageTagsCallCount ¶
func (*Registry) ListImageTagsCalls ¶
func (*Registry) ListImageTagsReturns ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.