Documentation
¶
Index ¶
- type IKubernetesClient
- func (_m *IKubernetesClient) ApplyCRD(obj *unstructured.Unstructured) error
- func (_m *IKubernetesClient) CreateDynamic(_a0 v1alpha1.GroupVersionResource, _a1 *unstructured.Unstructured, _a2 string) error
- func (_m *IKubernetesClient) CreateModule(module v1alpha1.Module) error
- func (_m *IKubernetesClient) CreateTemplateStore(ts *v1alpha1.TemplateStore) error
- func (_m *IKubernetesClient) Delete(resource dto.Resource) error
- func (_m *IKubernetesClient) DeleteModule(name string) error
- func (_m *IKubernetesClient) DeleteReleaseSecret(releaseName string, releaseNamespace string) error
- func (_m *IKubernetesClient) DeleteTemplateStore(name string) error
- func (_m *IKubernetesClient) EXPECT() *IKubernetesClient_Expecter
- func (_m *IKubernetesClient) GVKtoAPIResourceName(gv schema.GroupVersion, kind string) (string, error)
- func (_m *IKubernetesClient) GetDeletedResources(_a0 []dto.Resource, _a1 string, _a2 string) ([]dto.Resource, error)
- func (_m *IKubernetesClient) GetDeploymentLogs(namespace string, container string, deployment string, numLogs *int64) ([]string, error)
- func (_m *IKubernetesClient) GetManifest(group string, _a1 string, kind string, name string, namespace string, ...) (string, error)
- func (_m *IKubernetesClient) GetModule(name string) (*v1alpha1.Module, error)
- func (_m *IKubernetesClient) GetModuleResourcesHealth(name string) (string, error)
- func (_m *IKubernetesClient) GetNode(name string) (*v1.Node, error)
- func (_m *IKubernetesClient) GetPodLogs(namespace string, container string, name string, numLogs *int64) ([]string, error)
- func (_m *IKubernetesClient) GetPodsForNode(nodeName string) ([]v1.Pod, error)
- func (_m *IKubernetesClient) GetResource(group string, _a1 string, kind string, name string, namespace string) (interface{}, error)
- func (_m *IKubernetesClient) GetResourcesForModule(name string) ([]dto.Resource, error)
- func (_m *IKubernetesClient) GetResourcesForRelease(release string) ([]dto.Resource, error)
- func (_m *IKubernetesClient) GetStatefulSetsLogs(namespace string, container string, name string, numLogs *int64) ([]string, error)
- func (_m *IKubernetesClient) GetStreamedPodLogs(ctx context.Context, namespace string, container string, name string, ...) error
- func (_m *IKubernetesClient) GetTemplateAuthRuleSecret(name string, key string) (string, error)
- func (_m *IKubernetesClient) GetWorkloadsForModule(name string) ([]dto.Resource, error)
- func (_m *IKubernetesClient) GetWorkloadsForRelease(name string) ([]dto.Resource, error)
- func (_m *IKubernetesClient) ListModules() ([]v1alpha1.Module, error)
- func (_m *IKubernetesClient) ListNamespaces() ([]string, error)
- func (_m *IKubernetesClient) ListNodes() ([]v1.Node, error)
- func (_m *IKubernetesClient) ListTemplateAuthRules() ([]v1alpha1.TemplateAuthRule, error)
- func (_m *IKubernetesClient) ListTemplateStore() ([]v1alpha1.TemplateStore, error)
- func (_m *IKubernetesClient) MapUnstructuredResource(u unstructured.Unstructured) (dto.Resource, error)
- func (_m *IKubernetesClient) Restart(group string, _a1 string, kind string, name string, namespace string) error
- func (_m *IKubernetesClient) RestartDaemonSet(name string, namespace string) error
- func (_m *IKubernetesClient) RestartDeployment(name string, namespace string) error
- func (_m *IKubernetesClient) RestartStatefulSet(name string, namespace string) error
- func (_m *IKubernetesClient) UpdateModule(module *v1alpha1.Module) error
- func (_m *IKubernetesClient) UpdateModuleStatus(module *v1alpha1.Module) (*v1alpha1.Module, error)
- func (_m *IKubernetesClient) UpdateTemplateStore(ts *v1alpha1.TemplateStore) error
- func (_m *IKubernetesClient) VersionInfo() (*version.Info, error)
- func (_m *IKubernetesClient) WatchKubernetesResources(gvrs []k8sclient.ResourceWatchSpec, stopCh chan struct{}) (chan *unstructured.Unstructured, error)
- func (_m *IKubernetesClient) WatchResource(group string, _a1 string, resource string, name string, namespace string) (watch.Interface, error)
- type IKubernetesClient_ApplyCRD_Call
- func (_c *IKubernetesClient_ApplyCRD_Call) Return(_a0 error) *IKubernetesClient_ApplyCRD_Call
- func (_c *IKubernetesClient_ApplyCRD_Call) Run(run func(obj *unstructured.Unstructured)) *IKubernetesClient_ApplyCRD_Call
- func (_c *IKubernetesClient_ApplyCRD_Call) RunAndReturn(run func(*unstructured.Unstructured) error) *IKubernetesClient_ApplyCRD_Call
- type IKubernetesClient_CreateDynamic_Call
- func (_c *IKubernetesClient_CreateDynamic_Call) Return(_a0 error) *IKubernetesClient_CreateDynamic_Call
- func (_c *IKubernetesClient_CreateDynamic_Call) Run(...) *IKubernetesClient_CreateDynamic_Call
- func (_c *IKubernetesClient_CreateDynamic_Call) RunAndReturn(...) *IKubernetesClient_CreateDynamic_Call
- type IKubernetesClient_CreateModule_Call
- func (_c *IKubernetesClient_CreateModule_Call) Return(_a0 error) *IKubernetesClient_CreateModule_Call
- func (_c *IKubernetesClient_CreateModule_Call) Run(run func(module v1alpha1.Module)) *IKubernetesClient_CreateModule_Call
- func (_c *IKubernetesClient_CreateModule_Call) RunAndReturn(run func(v1alpha1.Module) error) *IKubernetesClient_CreateModule_Call
- type IKubernetesClient_CreateTemplateStore_Call
- func (_c *IKubernetesClient_CreateTemplateStore_Call) Return(_a0 error) *IKubernetesClient_CreateTemplateStore_Call
- func (_c *IKubernetesClient_CreateTemplateStore_Call) Run(run func(ts *v1alpha1.TemplateStore)) *IKubernetesClient_CreateTemplateStore_Call
- func (_c *IKubernetesClient_CreateTemplateStore_Call) RunAndReturn(run func(*v1alpha1.TemplateStore) error) *IKubernetesClient_CreateTemplateStore_Call
- type IKubernetesClient_DeleteModule_Call
- func (_c *IKubernetesClient_DeleteModule_Call) Return(_a0 error) *IKubernetesClient_DeleteModule_Call
- func (_c *IKubernetesClient_DeleteModule_Call) Run(run func(name string)) *IKubernetesClient_DeleteModule_Call
- func (_c *IKubernetesClient_DeleteModule_Call) RunAndReturn(run func(string) error) *IKubernetesClient_DeleteModule_Call
- type IKubernetesClient_DeleteReleaseSecret_Call
- func (_c *IKubernetesClient_DeleteReleaseSecret_Call) Return(_a0 error) *IKubernetesClient_DeleteReleaseSecret_Call
- func (_c *IKubernetesClient_DeleteReleaseSecret_Call) Run(run func(releaseName string, releaseNamespace string)) *IKubernetesClient_DeleteReleaseSecret_Call
- func (_c *IKubernetesClient_DeleteReleaseSecret_Call) RunAndReturn(run func(string, string) error) *IKubernetesClient_DeleteReleaseSecret_Call
- type IKubernetesClient_DeleteTemplateStore_Call
- func (_c *IKubernetesClient_DeleteTemplateStore_Call) Return(_a0 error) *IKubernetesClient_DeleteTemplateStore_Call
- func (_c *IKubernetesClient_DeleteTemplateStore_Call) Run(run func(name string)) *IKubernetesClient_DeleteTemplateStore_Call
- func (_c *IKubernetesClient_DeleteTemplateStore_Call) RunAndReturn(run func(string) error) *IKubernetesClient_DeleteTemplateStore_Call
- type IKubernetesClient_Delete_Call
- func (_c *IKubernetesClient_Delete_Call) Return(_a0 error) *IKubernetesClient_Delete_Call
- func (_c *IKubernetesClient_Delete_Call) Run(run func(resource dto.Resource)) *IKubernetesClient_Delete_Call
- func (_c *IKubernetesClient_Delete_Call) RunAndReturn(run func(dto.Resource) error) *IKubernetesClient_Delete_Call
- type IKubernetesClient_Expecter
- func (_e *IKubernetesClient_Expecter) ApplyCRD(obj interface{}) *IKubernetesClient_ApplyCRD_Call
- func (_e *IKubernetesClient_Expecter) CreateDynamic(_a0 interface{}, _a1 interface{}, _a2 interface{}) *IKubernetesClient_CreateDynamic_Call
- func (_e *IKubernetesClient_Expecter) CreateModule(module interface{}) *IKubernetesClient_CreateModule_Call
- func (_e *IKubernetesClient_Expecter) CreateTemplateStore(ts interface{}) *IKubernetesClient_CreateTemplateStore_Call
- func (_e *IKubernetesClient_Expecter) Delete(resource interface{}) *IKubernetesClient_Delete_Call
- func (_e *IKubernetesClient_Expecter) DeleteModule(name interface{}) *IKubernetesClient_DeleteModule_Call
- func (_e *IKubernetesClient_Expecter) DeleteReleaseSecret(releaseName interface{}, releaseNamespace interface{}) *IKubernetesClient_DeleteReleaseSecret_Call
- func (_e *IKubernetesClient_Expecter) DeleteTemplateStore(name interface{}) *IKubernetesClient_DeleteTemplateStore_Call
- func (_e *IKubernetesClient_Expecter) GVKtoAPIResourceName(gv interface{}, kind interface{}) *IKubernetesClient_GVKtoAPIResourceName_Call
- func (_e *IKubernetesClient_Expecter) GetDeletedResources(_a0 interface{}, _a1 interface{}, _a2 interface{}) *IKubernetesClient_GetDeletedResources_Call
- func (_e *IKubernetesClient_Expecter) GetDeploymentLogs(namespace interface{}, container interface{}, deployment interface{}, ...) *IKubernetesClient_GetDeploymentLogs_Call
- func (_e *IKubernetesClient_Expecter) GetManifest(group interface{}, _a1 interface{}, kind interface{}, name interface{}, ...) *IKubernetesClient_GetManifest_Call
- func (_e *IKubernetesClient_Expecter) GetModule(name interface{}) *IKubernetesClient_GetModule_Call
- func (_e *IKubernetesClient_Expecter) GetModuleResourcesHealth(name interface{}) *IKubernetesClient_GetModuleResourcesHealth_Call
- func (_e *IKubernetesClient_Expecter) GetNode(name interface{}) *IKubernetesClient_GetNode_Call
- func (_e *IKubernetesClient_Expecter) GetPodLogs(namespace interface{}, container interface{}, name interface{}, ...) *IKubernetesClient_GetPodLogs_Call
- func (_e *IKubernetesClient_Expecter) GetPodsForNode(nodeName interface{}) *IKubernetesClient_GetPodsForNode_Call
- func (_e *IKubernetesClient_Expecter) GetResource(group interface{}, _a1 interface{}, kind interface{}, name interface{}, ...) *IKubernetesClient_GetResource_Call
- func (_e *IKubernetesClient_Expecter) GetResourcesForModule(name interface{}) *IKubernetesClient_GetResourcesForModule_Call
- func (_e *IKubernetesClient_Expecter) GetResourcesForRelease(release interface{}) *IKubernetesClient_GetResourcesForRelease_Call
- func (_e *IKubernetesClient_Expecter) GetStatefulSetsLogs(namespace interface{}, container interface{}, name interface{}, ...) *IKubernetesClient_GetStatefulSetsLogs_Call
- func (_e *IKubernetesClient_Expecter) GetStreamedPodLogs(ctx interface{}, namespace interface{}, container interface{}, ...) *IKubernetesClient_GetStreamedPodLogs_Call
- func (_e *IKubernetesClient_Expecter) GetTemplateAuthRuleSecret(name interface{}, key interface{}) *IKubernetesClient_GetTemplateAuthRuleSecret_Call
- func (_e *IKubernetesClient_Expecter) GetWorkloadsForModule(name interface{}) *IKubernetesClient_GetWorkloadsForModule_Call
- func (_e *IKubernetesClient_Expecter) GetWorkloadsForRelease(name interface{}) *IKubernetesClient_GetWorkloadsForRelease_Call
- func (_e *IKubernetesClient_Expecter) ListModules() *IKubernetesClient_ListModules_Call
- func (_e *IKubernetesClient_Expecter) ListNamespaces() *IKubernetesClient_ListNamespaces_Call
- func (_e *IKubernetesClient_Expecter) ListNodes() *IKubernetesClient_ListNodes_Call
- func (_e *IKubernetesClient_Expecter) ListTemplateAuthRules() *IKubernetesClient_ListTemplateAuthRules_Call
- func (_e *IKubernetesClient_Expecter) ListTemplateStore() *IKubernetesClient_ListTemplateStore_Call
- func (_e *IKubernetesClient_Expecter) MapUnstructuredResource(u interface{}) *IKubernetesClient_MapUnstructuredResource_Call
- func (_e *IKubernetesClient_Expecter) Restart(group interface{}, _a1 interface{}, kind interface{}, name interface{}, ...) *IKubernetesClient_Restart_Call
- func (_e *IKubernetesClient_Expecter) RestartDaemonSet(name interface{}, namespace interface{}) *IKubernetesClient_RestartDaemonSet_Call
- func (_e *IKubernetesClient_Expecter) RestartDeployment(name interface{}, namespace interface{}) *IKubernetesClient_RestartDeployment_Call
- func (_e *IKubernetesClient_Expecter) RestartStatefulSet(name interface{}, namespace interface{}) *IKubernetesClient_RestartStatefulSet_Call
- func (_e *IKubernetesClient_Expecter) UpdateModule(module interface{}) *IKubernetesClient_UpdateModule_Call
- func (_e *IKubernetesClient_Expecter) UpdateModuleStatus(module interface{}) *IKubernetesClient_UpdateModuleStatus_Call
- func (_e *IKubernetesClient_Expecter) UpdateTemplateStore(ts interface{}) *IKubernetesClient_UpdateTemplateStore_Call
- func (_e *IKubernetesClient_Expecter) VersionInfo() *IKubernetesClient_VersionInfo_Call
- func (_e *IKubernetesClient_Expecter) WatchKubernetesResources(gvrs interface{}, stopCh interface{}) *IKubernetesClient_WatchKubernetesResources_Call
- func (_e *IKubernetesClient_Expecter) WatchResource(group interface{}, _a1 interface{}, resource interface{}, name interface{}, ...) *IKubernetesClient_WatchResource_Call
- type IKubernetesClient_GVKtoAPIResourceName_Call
- func (_c *IKubernetesClient_GVKtoAPIResourceName_Call) Return(_a0 string, _a1 error) *IKubernetesClient_GVKtoAPIResourceName_Call
- func (_c *IKubernetesClient_GVKtoAPIResourceName_Call) Run(run func(gv schema.GroupVersion, kind string)) *IKubernetesClient_GVKtoAPIResourceName_Call
- func (_c *IKubernetesClient_GVKtoAPIResourceName_Call) RunAndReturn(run func(schema.GroupVersion, string) (string, error)) *IKubernetesClient_GVKtoAPIResourceName_Call
- type IKubernetesClient_GetDeletedResources_Call
- func (_c *IKubernetesClient_GetDeletedResources_Call) Return(_a0 []dto.Resource, _a1 error) *IKubernetesClient_GetDeletedResources_Call
- func (_c *IKubernetesClient_GetDeletedResources_Call) Run(run func(_a0 []dto.Resource, _a1 string, _a2 string)) *IKubernetesClient_GetDeletedResources_Call
- func (_c *IKubernetesClient_GetDeletedResources_Call) RunAndReturn(run func([]dto.Resource, string, string) ([]dto.Resource, error)) *IKubernetesClient_GetDeletedResources_Call
- type IKubernetesClient_GetDeploymentLogs_Call
- func (_c *IKubernetesClient_GetDeploymentLogs_Call) Return(_a0 []string, _a1 error) *IKubernetesClient_GetDeploymentLogs_Call
- func (_c *IKubernetesClient_GetDeploymentLogs_Call) Run(...) *IKubernetesClient_GetDeploymentLogs_Call
- func (_c *IKubernetesClient_GetDeploymentLogs_Call) RunAndReturn(run func(string, string, string, *int64) ([]string, error)) *IKubernetesClient_GetDeploymentLogs_Call
- type IKubernetesClient_GetManifest_Call
- func (_c *IKubernetesClient_GetManifest_Call) Return(_a0 string, _a1 error) *IKubernetesClient_GetManifest_Call
- func (_c *IKubernetesClient_GetManifest_Call) Run(...) *IKubernetesClient_GetManifest_Call
- func (_c *IKubernetesClient_GetManifest_Call) RunAndReturn(run func(string, string, string, string, string, bool) (string, error)) *IKubernetesClient_GetManifest_Call
- type IKubernetesClient_GetModuleResourcesHealth_Call
- func (_c *IKubernetesClient_GetModuleResourcesHealth_Call) Return(_a0 string, _a1 error) *IKubernetesClient_GetModuleResourcesHealth_Call
- func (_c *IKubernetesClient_GetModuleResourcesHealth_Call) Run(run func(name string)) *IKubernetesClient_GetModuleResourcesHealth_Call
- func (_c *IKubernetesClient_GetModuleResourcesHealth_Call) RunAndReturn(run func(string) (string, error)) *IKubernetesClient_GetModuleResourcesHealth_Call
- type IKubernetesClient_GetModule_Call
- func (_c *IKubernetesClient_GetModule_Call) Return(_a0 *v1alpha1.Module, _a1 error) *IKubernetesClient_GetModule_Call
- func (_c *IKubernetesClient_GetModule_Call) Run(run func(name string)) *IKubernetesClient_GetModule_Call
- func (_c *IKubernetesClient_GetModule_Call) RunAndReturn(run func(string) (*v1alpha1.Module, error)) *IKubernetesClient_GetModule_Call
- type IKubernetesClient_GetNode_Call
- func (_c *IKubernetesClient_GetNode_Call) Return(_a0 *v1.Node, _a1 error) *IKubernetesClient_GetNode_Call
- func (_c *IKubernetesClient_GetNode_Call) Run(run func(name string)) *IKubernetesClient_GetNode_Call
- func (_c *IKubernetesClient_GetNode_Call) RunAndReturn(run func(string) (*v1.Node, error)) *IKubernetesClient_GetNode_Call
- type IKubernetesClient_GetPodLogs_Call
- func (_c *IKubernetesClient_GetPodLogs_Call) Return(_a0 []string, _a1 error) *IKubernetesClient_GetPodLogs_Call
- func (_c *IKubernetesClient_GetPodLogs_Call) Run(run func(namespace string, container string, name string, numLogs *int64)) *IKubernetesClient_GetPodLogs_Call
- func (_c *IKubernetesClient_GetPodLogs_Call) RunAndReturn(run func(string, string, string, *int64) ([]string, error)) *IKubernetesClient_GetPodLogs_Call
- type IKubernetesClient_GetPodsForNode_Call
- func (_c *IKubernetesClient_GetPodsForNode_Call) Return(_a0 []v1.Pod, _a1 error) *IKubernetesClient_GetPodsForNode_Call
- func (_c *IKubernetesClient_GetPodsForNode_Call) Run(run func(nodeName string)) *IKubernetesClient_GetPodsForNode_Call
- func (_c *IKubernetesClient_GetPodsForNode_Call) RunAndReturn(run func(string) ([]v1.Pod, error)) *IKubernetesClient_GetPodsForNode_Call
- type IKubernetesClient_GetResource_Call
- func (_c *IKubernetesClient_GetResource_Call) Return(_a0 interface{}, _a1 error) *IKubernetesClient_GetResource_Call
- func (_c *IKubernetesClient_GetResource_Call) Run(run func(group string, _a1 string, kind string, name string, namespace string)) *IKubernetesClient_GetResource_Call
- func (_c *IKubernetesClient_GetResource_Call) RunAndReturn(run func(string, string, string, string, string) (interface{}, error)) *IKubernetesClient_GetResource_Call
- type IKubernetesClient_GetResourcesForModule_Call
- func (_c *IKubernetesClient_GetResourcesForModule_Call) Return(_a0 []dto.Resource, _a1 error) *IKubernetesClient_GetResourcesForModule_Call
- func (_c *IKubernetesClient_GetResourcesForModule_Call) Run(run func(name string)) *IKubernetesClient_GetResourcesForModule_Call
- func (_c *IKubernetesClient_GetResourcesForModule_Call) RunAndReturn(run func(string) ([]dto.Resource, error)) *IKubernetesClient_GetResourcesForModule_Call
- type IKubernetesClient_GetResourcesForRelease_Call
- func (_c *IKubernetesClient_GetResourcesForRelease_Call) Return(_a0 []dto.Resource, _a1 error) *IKubernetesClient_GetResourcesForRelease_Call
- func (_c *IKubernetesClient_GetResourcesForRelease_Call) Run(run func(release string)) *IKubernetesClient_GetResourcesForRelease_Call
- func (_c *IKubernetesClient_GetResourcesForRelease_Call) RunAndReturn(run func(string) ([]dto.Resource, error)) *IKubernetesClient_GetResourcesForRelease_Call
- type IKubernetesClient_GetStatefulSetsLogs_Call
- func (_c *IKubernetesClient_GetStatefulSetsLogs_Call) Return(_a0 []string, _a1 error) *IKubernetesClient_GetStatefulSetsLogs_Call
- func (_c *IKubernetesClient_GetStatefulSetsLogs_Call) Run(run func(namespace string, container string, name string, numLogs *int64)) *IKubernetesClient_GetStatefulSetsLogs_Call
- func (_c *IKubernetesClient_GetStatefulSetsLogs_Call) RunAndReturn(run func(string, string, string, *int64) ([]string, error)) *IKubernetesClient_GetStatefulSetsLogs_Call
- type IKubernetesClient_GetStreamedPodLogs_Call
- func (_c *IKubernetesClient_GetStreamedPodLogs_Call) Return(_a0 error) *IKubernetesClient_GetStreamedPodLogs_Call
- func (_c *IKubernetesClient_GetStreamedPodLogs_Call) Run(...) *IKubernetesClient_GetStreamedPodLogs_Call
- func (_c *IKubernetesClient_GetStreamedPodLogs_Call) RunAndReturn(run func(context.Context, string, string, string, *int64, chan<- string) error) *IKubernetesClient_GetStreamedPodLogs_Call
- type IKubernetesClient_GetTemplateAuthRuleSecret_Call
- func (_c *IKubernetesClient_GetTemplateAuthRuleSecret_Call) Return(_a0 string, _a1 error) *IKubernetesClient_GetTemplateAuthRuleSecret_Call
- func (_c *IKubernetesClient_GetTemplateAuthRuleSecret_Call) Run(run func(name string, key string)) *IKubernetesClient_GetTemplateAuthRuleSecret_Call
- func (_c *IKubernetesClient_GetTemplateAuthRuleSecret_Call) RunAndReturn(run func(string, string) (string, error)) *IKubernetesClient_GetTemplateAuthRuleSecret_Call
- type IKubernetesClient_GetWorkloadsForModule_Call
- func (_c *IKubernetesClient_GetWorkloadsForModule_Call) Return(_a0 []dto.Resource, _a1 error) *IKubernetesClient_GetWorkloadsForModule_Call
- func (_c *IKubernetesClient_GetWorkloadsForModule_Call) Run(run func(name string)) *IKubernetesClient_GetWorkloadsForModule_Call
- func (_c *IKubernetesClient_GetWorkloadsForModule_Call) RunAndReturn(run func(string) ([]dto.Resource, error)) *IKubernetesClient_GetWorkloadsForModule_Call
- type IKubernetesClient_GetWorkloadsForRelease_Call
- func (_c *IKubernetesClient_GetWorkloadsForRelease_Call) Return(_a0 []dto.Resource, _a1 error) *IKubernetesClient_GetWorkloadsForRelease_Call
- func (_c *IKubernetesClient_GetWorkloadsForRelease_Call) Run(run func(name string)) *IKubernetesClient_GetWorkloadsForRelease_Call
- func (_c *IKubernetesClient_GetWorkloadsForRelease_Call) RunAndReturn(run func(string) ([]dto.Resource, error)) *IKubernetesClient_GetWorkloadsForRelease_Call
- type IKubernetesClient_ListModules_Call
- func (_c *IKubernetesClient_ListModules_Call) Return(_a0 []v1alpha1.Module, _a1 error) *IKubernetesClient_ListModules_Call
- func (_c *IKubernetesClient_ListModules_Call) Run(run func()) *IKubernetesClient_ListModules_Call
- func (_c *IKubernetesClient_ListModules_Call) RunAndReturn(run func() ([]v1alpha1.Module, error)) *IKubernetesClient_ListModules_Call
- type IKubernetesClient_ListNamespaces_Call
- func (_c *IKubernetesClient_ListNamespaces_Call) Return(_a0 []string, _a1 error) *IKubernetesClient_ListNamespaces_Call
- func (_c *IKubernetesClient_ListNamespaces_Call) Run(run func()) *IKubernetesClient_ListNamespaces_Call
- func (_c *IKubernetesClient_ListNamespaces_Call) RunAndReturn(run func() ([]string, error)) *IKubernetesClient_ListNamespaces_Call
- type IKubernetesClient_ListNodes_Call
- func (_c *IKubernetesClient_ListNodes_Call) Return(_a0 []v1.Node, _a1 error) *IKubernetesClient_ListNodes_Call
- func (_c *IKubernetesClient_ListNodes_Call) Run(run func()) *IKubernetesClient_ListNodes_Call
- func (_c *IKubernetesClient_ListNodes_Call) RunAndReturn(run func() ([]v1.Node, error)) *IKubernetesClient_ListNodes_Call
- type IKubernetesClient_ListTemplateAuthRules_Call
- func (_c *IKubernetesClient_ListTemplateAuthRules_Call) Return(_a0 []v1alpha1.TemplateAuthRule, _a1 error) *IKubernetesClient_ListTemplateAuthRules_Call
- func (_c *IKubernetesClient_ListTemplateAuthRules_Call) Run(run func()) *IKubernetesClient_ListTemplateAuthRules_Call
- func (_c *IKubernetesClient_ListTemplateAuthRules_Call) RunAndReturn(run func() ([]v1alpha1.TemplateAuthRule, error)) *IKubernetesClient_ListTemplateAuthRules_Call
- type IKubernetesClient_ListTemplateStore_Call
- func (_c *IKubernetesClient_ListTemplateStore_Call) Return(_a0 []v1alpha1.TemplateStore, _a1 error) *IKubernetesClient_ListTemplateStore_Call
- func (_c *IKubernetesClient_ListTemplateStore_Call) Run(run func()) *IKubernetesClient_ListTemplateStore_Call
- func (_c *IKubernetesClient_ListTemplateStore_Call) RunAndReturn(run func() ([]v1alpha1.TemplateStore, error)) *IKubernetesClient_ListTemplateStore_Call
- type IKubernetesClient_MapUnstructuredResource_Call
- func (_c *IKubernetesClient_MapUnstructuredResource_Call) Return(_a0 dto.Resource, _a1 error) *IKubernetesClient_MapUnstructuredResource_Call
- func (_c *IKubernetesClient_MapUnstructuredResource_Call) Run(run func(u unstructured.Unstructured)) *IKubernetesClient_MapUnstructuredResource_Call
- func (_c *IKubernetesClient_MapUnstructuredResource_Call) RunAndReturn(run func(unstructured.Unstructured) (dto.Resource, error)) *IKubernetesClient_MapUnstructuredResource_Call
- type IKubernetesClient_RestartDaemonSet_Call
- func (_c *IKubernetesClient_RestartDaemonSet_Call) Return(_a0 error) *IKubernetesClient_RestartDaemonSet_Call
- func (_c *IKubernetesClient_RestartDaemonSet_Call) Run(run func(name string, namespace string)) *IKubernetesClient_RestartDaemonSet_Call
- func (_c *IKubernetesClient_RestartDaemonSet_Call) RunAndReturn(run func(string, string) error) *IKubernetesClient_RestartDaemonSet_Call
- type IKubernetesClient_RestartDeployment_Call
- func (_c *IKubernetesClient_RestartDeployment_Call) Return(_a0 error) *IKubernetesClient_RestartDeployment_Call
- func (_c *IKubernetesClient_RestartDeployment_Call) Run(run func(name string, namespace string)) *IKubernetesClient_RestartDeployment_Call
- func (_c *IKubernetesClient_RestartDeployment_Call) RunAndReturn(run func(string, string) error) *IKubernetesClient_RestartDeployment_Call
- type IKubernetesClient_RestartStatefulSet_Call
- func (_c *IKubernetesClient_RestartStatefulSet_Call) Return(_a0 error) *IKubernetesClient_RestartStatefulSet_Call
- func (_c *IKubernetesClient_RestartStatefulSet_Call) Run(run func(name string, namespace string)) *IKubernetesClient_RestartStatefulSet_Call
- func (_c *IKubernetesClient_RestartStatefulSet_Call) RunAndReturn(run func(string, string) error) *IKubernetesClient_RestartStatefulSet_Call
- type IKubernetesClient_Restart_Call
- func (_c *IKubernetesClient_Restart_Call) Return(_a0 error) *IKubernetesClient_Restart_Call
- func (_c *IKubernetesClient_Restart_Call) Run(run func(group string, _a1 string, kind string, name string, namespace string)) *IKubernetesClient_Restart_Call
- func (_c *IKubernetesClient_Restart_Call) RunAndReturn(run func(string, string, string, string, string) error) *IKubernetesClient_Restart_Call
- type IKubernetesClient_UpdateModuleStatus_Call
- func (_c *IKubernetesClient_UpdateModuleStatus_Call) Return(_a0 *v1alpha1.Module, _a1 error) *IKubernetesClient_UpdateModuleStatus_Call
- func (_c *IKubernetesClient_UpdateModuleStatus_Call) Run(run func(module *v1alpha1.Module)) *IKubernetesClient_UpdateModuleStatus_Call
- func (_c *IKubernetesClient_UpdateModuleStatus_Call) RunAndReturn(run func(*v1alpha1.Module) (*v1alpha1.Module, error)) *IKubernetesClient_UpdateModuleStatus_Call
- type IKubernetesClient_UpdateModule_Call
- func (_c *IKubernetesClient_UpdateModule_Call) Return(_a0 error) *IKubernetesClient_UpdateModule_Call
- func (_c *IKubernetesClient_UpdateModule_Call) Run(run func(module *v1alpha1.Module)) *IKubernetesClient_UpdateModule_Call
- func (_c *IKubernetesClient_UpdateModule_Call) RunAndReturn(run func(*v1alpha1.Module) error) *IKubernetesClient_UpdateModule_Call
- type IKubernetesClient_UpdateTemplateStore_Call
- func (_c *IKubernetesClient_UpdateTemplateStore_Call) Return(_a0 error) *IKubernetesClient_UpdateTemplateStore_Call
- func (_c *IKubernetesClient_UpdateTemplateStore_Call) Run(run func(ts *v1alpha1.TemplateStore)) *IKubernetesClient_UpdateTemplateStore_Call
- func (_c *IKubernetesClient_UpdateTemplateStore_Call) RunAndReturn(run func(*v1alpha1.TemplateStore) error) *IKubernetesClient_UpdateTemplateStore_Call
- type IKubernetesClient_VersionInfo_Call
- func (_c *IKubernetesClient_VersionInfo_Call) Return(_a0 *version.Info, _a1 error) *IKubernetesClient_VersionInfo_Call
- func (_c *IKubernetesClient_VersionInfo_Call) Run(run func()) *IKubernetesClient_VersionInfo_Call
- func (_c *IKubernetesClient_VersionInfo_Call) RunAndReturn(run func() (*version.Info, error)) *IKubernetesClient_VersionInfo_Call
- type IKubernetesClient_WatchKubernetesResources_Call
- func (_c *IKubernetesClient_WatchKubernetesResources_Call) Return(_a0 chan *unstructured.Unstructured, _a1 error) *IKubernetesClient_WatchKubernetesResources_Call
- func (_c *IKubernetesClient_WatchKubernetesResources_Call) Run(run func(gvrs []k8sclient.ResourceWatchSpec, stopCh chan struct{})) *IKubernetesClient_WatchKubernetesResources_Call
- func (_c *IKubernetesClient_WatchKubernetesResources_Call) RunAndReturn(...) *IKubernetesClient_WatchKubernetesResources_Call
- type IKubernetesClient_WatchResource_Call
- func (_c *IKubernetesClient_WatchResource_Call) Return(_a0 watch.Interface, _a1 error) *IKubernetesClient_WatchResource_Call
- func (_c *IKubernetesClient_WatchResource_Call) Run(...) *IKubernetesClient_WatchResource_Call
- func (_c *IKubernetesClient_WatchResource_Call) RunAndReturn(run func(string, string, string, string, string) (watch.Interface, error)) *IKubernetesClient_WatchResource_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IKubernetesClient ¶
IKubernetesClient is an autogenerated mock type for the IKubernetesClient type
func NewIKubernetesClient ¶
func NewIKubernetesClient(t interface { mock.TestingT Cleanup(func()) }) *IKubernetesClient
NewIKubernetesClient creates a new instance of IKubernetesClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*IKubernetesClient) ApplyCRD ¶
func (_m *IKubernetesClient) ApplyCRD(obj *unstructured.Unstructured) error
ApplyCRD provides a mock function with given fields: obj
func (*IKubernetesClient) CreateDynamic ¶
func (_m *IKubernetesClient) CreateDynamic(_a0 v1alpha1.GroupVersionResource, _a1 *unstructured.Unstructured, _a2 string) error
CreateDynamic provides a mock function with given fields: _a0, _a1, _a2
func (*IKubernetesClient) CreateModule ¶
func (_m *IKubernetesClient) CreateModule(module v1alpha1.Module) error
CreateModule provides a mock function with given fields: module
func (*IKubernetesClient) CreateTemplateStore ¶
func (_m *IKubernetesClient) CreateTemplateStore(ts *v1alpha1.TemplateStore) error
CreateTemplateStore provides a mock function with given fields: ts
func (*IKubernetesClient) Delete ¶
func (_m *IKubernetesClient) Delete(resource dto.Resource) error
Delete provides a mock function with given fields: resource
func (*IKubernetesClient) DeleteModule ¶
func (_m *IKubernetesClient) DeleteModule(name string) error
DeleteModule provides a mock function with given fields: name
func (*IKubernetesClient) DeleteReleaseSecret ¶
func (_m *IKubernetesClient) DeleteReleaseSecret(releaseName string, releaseNamespace string) error
DeleteReleaseSecret provides a mock function with given fields: releaseName, releaseNamespace
func (*IKubernetesClient) DeleteTemplateStore ¶
func (_m *IKubernetesClient) DeleteTemplateStore(name string) error
DeleteTemplateStore provides a mock function with given fields: name
func (*IKubernetesClient) EXPECT ¶
func (_m *IKubernetesClient) EXPECT() *IKubernetesClient_Expecter
func (*IKubernetesClient) GVKtoAPIResourceName ¶
func (_m *IKubernetesClient) GVKtoAPIResourceName(gv schema.GroupVersion, kind string) (string, error)
GVKtoAPIResourceName provides a mock function with given fields: gv, kind
func (*IKubernetesClient) GetDeletedResources ¶
func (_m *IKubernetesClient) GetDeletedResources(_a0 []dto.Resource, _a1 string, _a2 string) ([]dto.Resource, error)
GetDeletedResources provides a mock function with given fields: _a0, _a1, _a2
func (*IKubernetesClient) GetDeploymentLogs ¶
func (_m *IKubernetesClient) GetDeploymentLogs(namespace string, container string, deployment string, numLogs *int64) ([]string, error)
GetDeploymentLogs provides a mock function with given fields: namespace, container, deployment, numLogs
func (*IKubernetesClient) GetManifest ¶
func (_m *IKubernetesClient) GetManifest(group string, _a1 string, kind string, name string, namespace string, includeManagedFields bool) (string, error)
GetManifest provides a mock function with given fields: group, _a1, kind, name, namespace, includeManagedFields
func (*IKubernetesClient) GetModule ¶
func (_m *IKubernetesClient) GetModule(name string) (*v1alpha1.Module, error)
GetModule provides a mock function with given fields: name
func (*IKubernetesClient) GetModuleResourcesHealth ¶
func (_m *IKubernetesClient) GetModuleResourcesHealth(name string) (string, error)
GetModuleResourcesHealth provides a mock function with given fields: name
func (*IKubernetesClient) GetNode ¶
func (_m *IKubernetesClient) GetNode(name string) (*v1.Node, error)
GetNode provides a mock function with given fields: name
func (*IKubernetesClient) GetPodLogs ¶
func (_m *IKubernetesClient) GetPodLogs(namespace string, container string, name string, numLogs *int64) ([]string, error)
GetPodLogs provides a mock function with given fields: namespace, container, name, numLogs
func (*IKubernetesClient) GetPodsForNode ¶
func (_m *IKubernetesClient) GetPodsForNode(nodeName string) ([]v1.Pod, error)
GetPodsForNode provides a mock function with given fields: nodeName
func (*IKubernetesClient) GetResource ¶
func (_m *IKubernetesClient) GetResource(group string, _a1 string, kind string, name string, namespace string) (interface{}, error)
GetResource provides a mock function with given fields: group, _a1, kind, name, namespace
func (*IKubernetesClient) GetResourcesForModule ¶
func (_m *IKubernetesClient) GetResourcesForModule(name string) ([]dto.Resource, error)
GetResourcesForModule provides a mock function with given fields: name
func (*IKubernetesClient) GetResourcesForRelease ¶
func (_m *IKubernetesClient) GetResourcesForRelease(release string) ([]dto.Resource, error)
GetResourcesForRelease provides a mock function with given fields: release
func (*IKubernetesClient) GetStatefulSetsLogs ¶
func (_m *IKubernetesClient) GetStatefulSetsLogs(namespace string, container string, name string, numLogs *int64) ([]string, error)
GetStatefulSetsLogs provides a mock function with given fields: namespace, container, name, numLogs
func (*IKubernetesClient) GetStreamedPodLogs ¶
func (_m *IKubernetesClient) GetStreamedPodLogs(ctx context.Context, namespace string, container string, name string, logCount *int64, logChan chan<- string) error
GetStreamedPodLogs provides a mock function with given fields: ctx, namespace, container, name, logCount, logChan
func (*IKubernetesClient) GetTemplateAuthRuleSecret ¶
func (_m *IKubernetesClient) GetTemplateAuthRuleSecret(name string, key string) (string, error)
GetTemplateAuthRuleSecret provides a mock function with given fields: name, key
func (*IKubernetesClient) GetWorkloadsForModule ¶
func (_m *IKubernetesClient) GetWorkloadsForModule(name string) ([]dto.Resource, error)
GetWorkloadsForModule provides a mock function with given fields: name
func (*IKubernetesClient) GetWorkloadsForRelease ¶
func (_m *IKubernetesClient) GetWorkloadsForRelease(name string) ([]dto.Resource, error)
GetWorkloadsForRelease provides a mock function with given fields: name
func (*IKubernetesClient) ListModules ¶
func (_m *IKubernetesClient) ListModules() ([]v1alpha1.Module, error)
ListModules provides a mock function with no fields
func (*IKubernetesClient) ListNamespaces ¶
func (_m *IKubernetesClient) ListNamespaces() ([]string, error)
ListNamespaces provides a mock function with no fields
func (*IKubernetesClient) ListNodes ¶
func (_m *IKubernetesClient) ListNodes() ([]v1.Node, error)
ListNodes provides a mock function with no fields
func (*IKubernetesClient) ListTemplateAuthRules ¶
func (_m *IKubernetesClient) ListTemplateAuthRules() ([]v1alpha1.TemplateAuthRule, error)
ListTemplateAuthRules provides a mock function with no fields
func (*IKubernetesClient) ListTemplateStore ¶
func (_m *IKubernetesClient) ListTemplateStore() ([]v1alpha1.TemplateStore, error)
ListTemplateStore provides a mock function with no fields
func (*IKubernetesClient) MapUnstructuredResource ¶
func (_m *IKubernetesClient) MapUnstructuredResource(u unstructured.Unstructured) (dto.Resource, error)
MapUnstructuredResource provides a mock function with given fields: u
func (*IKubernetesClient) Restart ¶
func (_m *IKubernetesClient) Restart(group string, _a1 string, kind string, name string, namespace string) error
Restart provides a mock function with given fields: group, _a1, kind, name, namespace
func (*IKubernetesClient) RestartDaemonSet ¶
func (_m *IKubernetesClient) RestartDaemonSet(name string, namespace string) error
RestartDaemonSet provides a mock function with given fields: name, namespace
func (*IKubernetesClient) RestartDeployment ¶
func (_m *IKubernetesClient) RestartDeployment(name string, namespace string) error
RestartDeployment provides a mock function with given fields: name, namespace
func (*IKubernetesClient) RestartStatefulSet ¶
func (_m *IKubernetesClient) RestartStatefulSet(name string, namespace string) error
RestartStatefulSet provides a mock function with given fields: name, namespace
func (*IKubernetesClient) UpdateModule ¶
func (_m *IKubernetesClient) UpdateModule(module *v1alpha1.Module) error
UpdateModule provides a mock function with given fields: module
func (*IKubernetesClient) UpdateModuleStatus ¶
UpdateModuleStatus provides a mock function with given fields: module
func (*IKubernetesClient) UpdateTemplateStore ¶
func (_m *IKubernetesClient) UpdateTemplateStore(ts *v1alpha1.TemplateStore) error
UpdateTemplateStore provides a mock function with given fields: ts
func (*IKubernetesClient) VersionInfo ¶
func (_m *IKubernetesClient) VersionInfo() (*version.Info, error)
VersionInfo provides a mock function with no fields
func (*IKubernetesClient) WatchKubernetesResources ¶
func (_m *IKubernetesClient) WatchKubernetesResources(gvrs []k8sclient.ResourceWatchSpec, stopCh chan struct{}) (chan *unstructured.Unstructured, error)
WatchKubernetesResources provides a mock function with given fields: gvrs, stopCh
type IKubernetesClient_ApplyCRD_Call ¶
IKubernetesClient_ApplyCRD_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ApplyCRD'
func (*IKubernetesClient_ApplyCRD_Call) Return ¶
func (_c *IKubernetesClient_ApplyCRD_Call) Return(_a0 error) *IKubernetesClient_ApplyCRD_Call
func (*IKubernetesClient_ApplyCRD_Call) Run ¶
func (_c *IKubernetesClient_ApplyCRD_Call) Run(run func(obj *unstructured.Unstructured)) *IKubernetesClient_ApplyCRD_Call
func (*IKubernetesClient_ApplyCRD_Call) RunAndReturn ¶
func (_c *IKubernetesClient_ApplyCRD_Call) RunAndReturn(run func(*unstructured.Unstructured) error) *IKubernetesClient_ApplyCRD_Call
type IKubernetesClient_CreateDynamic_Call ¶
IKubernetesClient_CreateDynamic_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateDynamic'
func (*IKubernetesClient_CreateDynamic_Call) Return ¶
func (_c *IKubernetesClient_CreateDynamic_Call) Return(_a0 error) *IKubernetesClient_CreateDynamic_Call
func (*IKubernetesClient_CreateDynamic_Call) Run ¶
func (_c *IKubernetesClient_CreateDynamic_Call) Run(run func(_a0 v1alpha1.GroupVersionResource, _a1 *unstructured.Unstructured, _a2 string)) *IKubernetesClient_CreateDynamic_Call
func (*IKubernetesClient_CreateDynamic_Call) RunAndReturn ¶
func (_c *IKubernetesClient_CreateDynamic_Call) RunAndReturn(run func(v1alpha1.GroupVersionResource, *unstructured.Unstructured, string) error) *IKubernetesClient_CreateDynamic_Call
type IKubernetesClient_CreateModule_Call ¶
IKubernetesClient_CreateModule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateModule'
func (*IKubernetesClient_CreateModule_Call) Return ¶
func (_c *IKubernetesClient_CreateModule_Call) Return(_a0 error) *IKubernetesClient_CreateModule_Call
func (*IKubernetesClient_CreateModule_Call) Run ¶
func (_c *IKubernetesClient_CreateModule_Call) Run(run func(module v1alpha1.Module)) *IKubernetesClient_CreateModule_Call
func (*IKubernetesClient_CreateModule_Call) RunAndReturn ¶
func (_c *IKubernetesClient_CreateModule_Call) RunAndReturn(run func(v1alpha1.Module) error) *IKubernetesClient_CreateModule_Call
type IKubernetesClient_CreateTemplateStore_Call ¶
IKubernetesClient_CreateTemplateStore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateTemplateStore'
func (*IKubernetesClient_CreateTemplateStore_Call) Return ¶
func (_c *IKubernetesClient_CreateTemplateStore_Call) Return(_a0 error) *IKubernetesClient_CreateTemplateStore_Call
func (*IKubernetesClient_CreateTemplateStore_Call) Run ¶
func (_c *IKubernetesClient_CreateTemplateStore_Call) Run(run func(ts *v1alpha1.TemplateStore)) *IKubernetesClient_CreateTemplateStore_Call
func (*IKubernetesClient_CreateTemplateStore_Call) RunAndReturn ¶
func (_c *IKubernetesClient_CreateTemplateStore_Call) RunAndReturn(run func(*v1alpha1.TemplateStore) error) *IKubernetesClient_CreateTemplateStore_Call
type IKubernetesClient_DeleteModule_Call ¶
IKubernetesClient_DeleteModule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteModule'
func (*IKubernetesClient_DeleteModule_Call) Return ¶
func (_c *IKubernetesClient_DeleteModule_Call) Return(_a0 error) *IKubernetesClient_DeleteModule_Call
func (*IKubernetesClient_DeleteModule_Call) Run ¶
func (_c *IKubernetesClient_DeleteModule_Call) Run(run func(name string)) *IKubernetesClient_DeleteModule_Call
func (*IKubernetesClient_DeleteModule_Call) RunAndReturn ¶
func (_c *IKubernetesClient_DeleteModule_Call) RunAndReturn(run func(string) error) *IKubernetesClient_DeleteModule_Call
type IKubernetesClient_DeleteReleaseSecret_Call ¶
IKubernetesClient_DeleteReleaseSecret_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteReleaseSecret'
func (*IKubernetesClient_DeleteReleaseSecret_Call) Return ¶
func (_c *IKubernetesClient_DeleteReleaseSecret_Call) Return(_a0 error) *IKubernetesClient_DeleteReleaseSecret_Call
func (*IKubernetesClient_DeleteReleaseSecret_Call) Run ¶
func (_c *IKubernetesClient_DeleteReleaseSecret_Call) Run(run func(releaseName string, releaseNamespace string)) *IKubernetesClient_DeleteReleaseSecret_Call
func (*IKubernetesClient_DeleteReleaseSecret_Call) RunAndReturn ¶
func (_c *IKubernetesClient_DeleteReleaseSecret_Call) RunAndReturn(run func(string, string) error) *IKubernetesClient_DeleteReleaseSecret_Call
type IKubernetesClient_DeleteTemplateStore_Call ¶
IKubernetesClient_DeleteTemplateStore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteTemplateStore'
func (*IKubernetesClient_DeleteTemplateStore_Call) Return ¶
func (_c *IKubernetesClient_DeleteTemplateStore_Call) Return(_a0 error) *IKubernetesClient_DeleteTemplateStore_Call
func (*IKubernetesClient_DeleteTemplateStore_Call) Run ¶
func (_c *IKubernetesClient_DeleteTemplateStore_Call) Run(run func(name string)) *IKubernetesClient_DeleteTemplateStore_Call
func (*IKubernetesClient_DeleteTemplateStore_Call) RunAndReturn ¶
func (_c *IKubernetesClient_DeleteTemplateStore_Call) RunAndReturn(run func(string) error) *IKubernetesClient_DeleteTemplateStore_Call
type IKubernetesClient_Delete_Call ¶
IKubernetesClient_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*IKubernetesClient_Delete_Call) Return ¶
func (_c *IKubernetesClient_Delete_Call) Return(_a0 error) *IKubernetesClient_Delete_Call
func (*IKubernetesClient_Delete_Call) Run ¶
func (_c *IKubernetesClient_Delete_Call) Run(run func(resource dto.Resource)) *IKubernetesClient_Delete_Call
func (*IKubernetesClient_Delete_Call) RunAndReturn ¶
func (_c *IKubernetesClient_Delete_Call) RunAndReturn(run func(dto.Resource) error) *IKubernetesClient_Delete_Call
type IKubernetesClient_Expecter ¶
type IKubernetesClient_Expecter struct {
// contains filtered or unexported fields
}
func (*IKubernetesClient_Expecter) ApplyCRD ¶
func (_e *IKubernetesClient_Expecter) ApplyCRD(obj interface{}) *IKubernetesClient_ApplyCRD_Call
ApplyCRD is a helper method to define mock.On call
- obj *unstructured.Unstructured
func (*IKubernetesClient_Expecter) CreateDynamic ¶
func (_e *IKubernetesClient_Expecter) CreateDynamic(_a0 interface{}, _a1 interface{}, _a2 interface{}) *IKubernetesClient_CreateDynamic_Call
CreateDynamic is a helper method to define mock.On call
- _a0 v1alpha1.GroupVersionResource
- _a1 *unstructured.Unstructured
- _a2 string
func (*IKubernetesClient_Expecter) CreateModule ¶
func (_e *IKubernetesClient_Expecter) CreateModule(module interface{}) *IKubernetesClient_CreateModule_Call
CreateModule is a helper method to define mock.On call
- module v1alpha1.Module
func (*IKubernetesClient_Expecter) CreateTemplateStore ¶
func (_e *IKubernetesClient_Expecter) CreateTemplateStore(ts interface{}) *IKubernetesClient_CreateTemplateStore_Call
CreateTemplateStore is a helper method to define mock.On call
- ts *v1alpha1.TemplateStore
func (*IKubernetesClient_Expecter) Delete ¶
func (_e *IKubernetesClient_Expecter) Delete(resource interface{}) *IKubernetesClient_Delete_Call
Delete is a helper method to define mock.On call
- resource dto.Resource
func (*IKubernetesClient_Expecter) DeleteModule ¶
func (_e *IKubernetesClient_Expecter) DeleteModule(name interface{}) *IKubernetesClient_DeleteModule_Call
DeleteModule is a helper method to define mock.On call
- name string
func (*IKubernetesClient_Expecter) DeleteReleaseSecret ¶
func (_e *IKubernetesClient_Expecter) DeleteReleaseSecret(releaseName interface{}, releaseNamespace interface{}) *IKubernetesClient_DeleteReleaseSecret_Call
DeleteReleaseSecret is a helper method to define mock.On call
- releaseName string
- releaseNamespace string
func (*IKubernetesClient_Expecter) DeleteTemplateStore ¶
func (_e *IKubernetesClient_Expecter) DeleteTemplateStore(name interface{}) *IKubernetesClient_DeleteTemplateStore_Call
DeleteTemplateStore is a helper method to define mock.On call
- name string
func (*IKubernetesClient_Expecter) GVKtoAPIResourceName ¶
func (_e *IKubernetesClient_Expecter) GVKtoAPIResourceName(gv interface{}, kind interface{}) *IKubernetesClient_GVKtoAPIResourceName_Call
GVKtoAPIResourceName is a helper method to define mock.On call
- gv schema.GroupVersion
- kind string
func (*IKubernetesClient_Expecter) GetDeletedResources ¶
func (_e *IKubernetesClient_Expecter) GetDeletedResources(_a0 interface{}, _a1 interface{}, _a2 interface{}) *IKubernetesClient_GetDeletedResources_Call
GetDeletedResources is a helper method to define mock.On call
- _a0 []dto.Resource
- _a1 string
- _a2 string
func (*IKubernetesClient_Expecter) GetDeploymentLogs ¶
func (_e *IKubernetesClient_Expecter) GetDeploymentLogs(namespace interface{}, container interface{}, deployment interface{}, numLogs interface{}) *IKubernetesClient_GetDeploymentLogs_Call
GetDeploymentLogs is a helper method to define mock.On call
- namespace string
- container string
- deployment string
- numLogs *int64
func (*IKubernetesClient_Expecter) GetManifest ¶
func (_e *IKubernetesClient_Expecter) GetManifest(group interface{}, _a1 interface{}, kind interface{}, name interface{}, namespace interface{}, includeManagedFields interface{}) *IKubernetesClient_GetManifest_Call
GetManifest is a helper method to define mock.On call
- group string
- _a1 string
- kind string
- name string
- namespace string
- includeManagedFields bool
func (*IKubernetesClient_Expecter) GetModule ¶
func (_e *IKubernetesClient_Expecter) GetModule(name interface{}) *IKubernetesClient_GetModule_Call
GetModule is a helper method to define mock.On call
- name string
func (*IKubernetesClient_Expecter) GetModuleResourcesHealth ¶
func (_e *IKubernetesClient_Expecter) GetModuleResourcesHealth(name interface{}) *IKubernetesClient_GetModuleResourcesHealth_Call
GetModuleResourcesHealth is a helper method to define mock.On call
- name string
func (*IKubernetesClient_Expecter) GetNode ¶
func (_e *IKubernetesClient_Expecter) GetNode(name interface{}) *IKubernetesClient_GetNode_Call
GetNode is a helper method to define mock.On call
- name string
func (*IKubernetesClient_Expecter) GetPodLogs ¶
func (_e *IKubernetesClient_Expecter) GetPodLogs(namespace interface{}, container interface{}, name interface{}, numLogs interface{}) *IKubernetesClient_GetPodLogs_Call
GetPodLogs is a helper method to define mock.On call
- namespace string
- container string
- name string
- numLogs *int64
func (*IKubernetesClient_Expecter) GetPodsForNode ¶
func (_e *IKubernetesClient_Expecter) GetPodsForNode(nodeName interface{}) *IKubernetesClient_GetPodsForNode_Call
GetPodsForNode is a helper method to define mock.On call
- nodeName string
func (*IKubernetesClient_Expecter) GetResource ¶
func (_e *IKubernetesClient_Expecter) GetResource(group interface{}, _a1 interface{}, kind interface{}, name interface{}, namespace interface{}) *IKubernetesClient_GetResource_Call
GetResource is a helper method to define mock.On call
- group string
- _a1 string
- kind string
- name string
- namespace string
func (*IKubernetesClient_Expecter) GetResourcesForModule ¶
func (_e *IKubernetesClient_Expecter) GetResourcesForModule(name interface{}) *IKubernetesClient_GetResourcesForModule_Call
GetResourcesForModule is a helper method to define mock.On call
- name string
func (*IKubernetesClient_Expecter) GetResourcesForRelease ¶
func (_e *IKubernetesClient_Expecter) GetResourcesForRelease(release interface{}) *IKubernetesClient_GetResourcesForRelease_Call
GetResourcesForRelease is a helper method to define mock.On call
- release string
func (*IKubernetesClient_Expecter) GetStatefulSetsLogs ¶
func (_e *IKubernetesClient_Expecter) GetStatefulSetsLogs(namespace interface{}, container interface{}, name interface{}, numLogs interface{}) *IKubernetesClient_GetStatefulSetsLogs_Call
GetStatefulSetsLogs is a helper method to define mock.On call
- namespace string
- container string
- name string
- numLogs *int64
func (*IKubernetesClient_Expecter) GetStreamedPodLogs ¶
func (_e *IKubernetesClient_Expecter) GetStreamedPodLogs(ctx interface{}, namespace interface{}, container interface{}, name interface{}, logCount interface{}, logChan interface{}) *IKubernetesClient_GetStreamedPodLogs_Call
GetStreamedPodLogs is a helper method to define mock.On call
- ctx context.Context
- namespace string
- container string
- name string
- logCount *int64
- logChan chan<- string
func (*IKubernetesClient_Expecter) GetTemplateAuthRuleSecret ¶
func (_e *IKubernetesClient_Expecter) GetTemplateAuthRuleSecret(name interface{}, key interface{}) *IKubernetesClient_GetTemplateAuthRuleSecret_Call
GetTemplateAuthRuleSecret is a helper method to define mock.On call
- name string
- key string
func (*IKubernetesClient_Expecter) GetWorkloadsForModule ¶
func (_e *IKubernetesClient_Expecter) GetWorkloadsForModule(name interface{}) *IKubernetesClient_GetWorkloadsForModule_Call
GetWorkloadsForModule is a helper method to define mock.On call
- name string
func (*IKubernetesClient_Expecter) GetWorkloadsForRelease ¶
func (_e *IKubernetesClient_Expecter) GetWorkloadsForRelease(name interface{}) *IKubernetesClient_GetWorkloadsForRelease_Call
GetWorkloadsForRelease is a helper method to define mock.On call
- name string
func (*IKubernetesClient_Expecter) ListModules ¶
func (_e *IKubernetesClient_Expecter) ListModules() *IKubernetesClient_ListModules_Call
ListModules is a helper method to define mock.On call
func (*IKubernetesClient_Expecter) ListNamespaces ¶
func (_e *IKubernetesClient_Expecter) ListNamespaces() *IKubernetesClient_ListNamespaces_Call
ListNamespaces is a helper method to define mock.On call
func (*IKubernetesClient_Expecter) ListNodes ¶
func (_e *IKubernetesClient_Expecter) ListNodes() *IKubernetesClient_ListNodes_Call
ListNodes is a helper method to define mock.On call
func (*IKubernetesClient_Expecter) ListTemplateAuthRules ¶
func (_e *IKubernetesClient_Expecter) ListTemplateAuthRules() *IKubernetesClient_ListTemplateAuthRules_Call
ListTemplateAuthRules is a helper method to define mock.On call
func (*IKubernetesClient_Expecter) ListTemplateStore ¶
func (_e *IKubernetesClient_Expecter) ListTemplateStore() *IKubernetesClient_ListTemplateStore_Call
ListTemplateStore is a helper method to define mock.On call
func (*IKubernetesClient_Expecter) MapUnstructuredResource ¶
func (_e *IKubernetesClient_Expecter) MapUnstructuredResource(u interface{}) *IKubernetesClient_MapUnstructuredResource_Call
MapUnstructuredResource is a helper method to define mock.On call
- u unstructured.Unstructured
func (*IKubernetesClient_Expecter) Restart ¶
func (_e *IKubernetesClient_Expecter) Restart(group interface{}, _a1 interface{}, kind interface{}, name interface{}, namespace interface{}) *IKubernetesClient_Restart_Call
Restart is a helper method to define mock.On call
- group string
- _a1 string
- kind string
- name string
- namespace string
func (*IKubernetesClient_Expecter) RestartDaemonSet ¶
func (_e *IKubernetesClient_Expecter) RestartDaemonSet(name interface{}, namespace interface{}) *IKubernetesClient_RestartDaemonSet_Call
RestartDaemonSet is a helper method to define mock.On call
- name string
- namespace string
func (*IKubernetesClient_Expecter) RestartDeployment ¶
func (_e *IKubernetesClient_Expecter) RestartDeployment(name interface{}, namespace interface{}) *IKubernetesClient_RestartDeployment_Call
RestartDeployment is a helper method to define mock.On call
- name string
- namespace string
func (*IKubernetesClient_Expecter) RestartStatefulSet ¶
func (_e *IKubernetesClient_Expecter) RestartStatefulSet(name interface{}, namespace interface{}) *IKubernetesClient_RestartStatefulSet_Call
RestartStatefulSet is a helper method to define mock.On call
- name string
- namespace string
func (*IKubernetesClient_Expecter) UpdateModule ¶
func (_e *IKubernetesClient_Expecter) UpdateModule(module interface{}) *IKubernetesClient_UpdateModule_Call
UpdateModule is a helper method to define mock.On call
- module *v1alpha1.Module
func (*IKubernetesClient_Expecter) UpdateModuleStatus ¶
func (_e *IKubernetesClient_Expecter) UpdateModuleStatus(module interface{}) *IKubernetesClient_UpdateModuleStatus_Call
UpdateModuleStatus is a helper method to define mock.On call
- module *v1alpha1.Module
func (*IKubernetesClient_Expecter) UpdateTemplateStore ¶
func (_e *IKubernetesClient_Expecter) UpdateTemplateStore(ts interface{}) *IKubernetesClient_UpdateTemplateStore_Call
UpdateTemplateStore is a helper method to define mock.On call
- ts *v1alpha1.TemplateStore
func (*IKubernetesClient_Expecter) VersionInfo ¶
func (_e *IKubernetesClient_Expecter) VersionInfo() *IKubernetesClient_VersionInfo_Call
VersionInfo is a helper method to define mock.On call
func (*IKubernetesClient_Expecter) WatchKubernetesResources ¶
func (_e *IKubernetesClient_Expecter) WatchKubernetesResources(gvrs interface{}, stopCh interface{}) *IKubernetesClient_WatchKubernetesResources_Call
WatchKubernetesResources is a helper method to define mock.On call
- gvrs []k8sclient.ResourceWatchSpec
- stopCh chan struct{}
func (*IKubernetesClient_Expecter) WatchResource ¶
func (_e *IKubernetesClient_Expecter) WatchResource(group interface{}, _a1 interface{}, resource interface{}, name interface{}, namespace interface{}) *IKubernetesClient_WatchResource_Call
WatchResource is a helper method to define mock.On call
- group string
- _a1 string
- resource string
- name string
- namespace string
type IKubernetesClient_GVKtoAPIResourceName_Call ¶
IKubernetesClient_GVKtoAPIResourceName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GVKtoAPIResourceName'
func (*IKubernetesClient_GVKtoAPIResourceName_Call) Return ¶
func (_c *IKubernetesClient_GVKtoAPIResourceName_Call) Return(_a0 string, _a1 error) *IKubernetesClient_GVKtoAPIResourceName_Call
func (*IKubernetesClient_GVKtoAPIResourceName_Call) Run ¶
func (_c *IKubernetesClient_GVKtoAPIResourceName_Call) Run(run func(gv schema.GroupVersion, kind string)) *IKubernetesClient_GVKtoAPIResourceName_Call
func (*IKubernetesClient_GVKtoAPIResourceName_Call) RunAndReturn ¶
func (_c *IKubernetesClient_GVKtoAPIResourceName_Call) RunAndReturn(run func(schema.GroupVersion, string) (string, error)) *IKubernetesClient_GVKtoAPIResourceName_Call
type IKubernetesClient_GetDeletedResources_Call ¶
IKubernetesClient_GetDeletedResources_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDeletedResources'
func (*IKubernetesClient_GetDeletedResources_Call) Return ¶
func (_c *IKubernetesClient_GetDeletedResources_Call) Return(_a0 []dto.Resource, _a1 error) *IKubernetesClient_GetDeletedResources_Call
func (*IKubernetesClient_GetDeletedResources_Call) Run ¶
func (_c *IKubernetesClient_GetDeletedResources_Call) Run(run func(_a0 []dto.Resource, _a1 string, _a2 string)) *IKubernetesClient_GetDeletedResources_Call
func (*IKubernetesClient_GetDeletedResources_Call) RunAndReturn ¶
func (_c *IKubernetesClient_GetDeletedResources_Call) RunAndReturn(run func([]dto.Resource, string, string) ([]dto.Resource, error)) *IKubernetesClient_GetDeletedResources_Call
type IKubernetesClient_GetDeploymentLogs_Call ¶
IKubernetesClient_GetDeploymentLogs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDeploymentLogs'
func (*IKubernetesClient_GetDeploymentLogs_Call) Return ¶
func (_c *IKubernetesClient_GetDeploymentLogs_Call) Return(_a0 []string, _a1 error) *IKubernetesClient_GetDeploymentLogs_Call
func (*IKubernetesClient_GetDeploymentLogs_Call) Run ¶
func (_c *IKubernetesClient_GetDeploymentLogs_Call) Run(run func(namespace string, container string, deployment string, numLogs *int64)) *IKubernetesClient_GetDeploymentLogs_Call
func (*IKubernetesClient_GetDeploymentLogs_Call) RunAndReturn ¶
func (_c *IKubernetesClient_GetDeploymentLogs_Call) RunAndReturn(run func(string, string, string, *int64) ([]string, error)) *IKubernetesClient_GetDeploymentLogs_Call
type IKubernetesClient_GetManifest_Call ¶
IKubernetesClient_GetManifest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetManifest'
func (*IKubernetesClient_GetManifest_Call) Return ¶
func (_c *IKubernetesClient_GetManifest_Call) Return(_a0 string, _a1 error) *IKubernetesClient_GetManifest_Call
func (*IKubernetesClient_GetManifest_Call) Run ¶
func (_c *IKubernetesClient_GetManifest_Call) Run(run func(group string, _a1 string, kind string, name string, namespace string, includeManagedFields bool)) *IKubernetesClient_GetManifest_Call
func (*IKubernetesClient_GetManifest_Call) RunAndReturn ¶
func (_c *IKubernetesClient_GetManifest_Call) RunAndReturn(run func(string, string, string, string, string, bool) (string, error)) *IKubernetesClient_GetManifest_Call
type IKubernetesClient_GetModuleResourcesHealth_Call ¶
IKubernetesClient_GetModuleResourcesHealth_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetModuleResourcesHealth'
func (*IKubernetesClient_GetModuleResourcesHealth_Call) Return ¶
func (_c *IKubernetesClient_GetModuleResourcesHealth_Call) Return(_a0 string, _a1 error) *IKubernetesClient_GetModuleResourcesHealth_Call
func (*IKubernetesClient_GetModuleResourcesHealth_Call) Run ¶
func (_c *IKubernetesClient_GetModuleResourcesHealth_Call) Run(run func(name string)) *IKubernetesClient_GetModuleResourcesHealth_Call
func (*IKubernetesClient_GetModuleResourcesHealth_Call) RunAndReturn ¶
func (_c *IKubernetesClient_GetModuleResourcesHealth_Call) RunAndReturn(run func(string) (string, error)) *IKubernetesClient_GetModuleResourcesHealth_Call
type IKubernetesClient_GetModule_Call ¶
IKubernetesClient_GetModule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetModule'
func (*IKubernetesClient_GetModule_Call) Return ¶
func (_c *IKubernetesClient_GetModule_Call) Return(_a0 *v1alpha1.Module, _a1 error) *IKubernetesClient_GetModule_Call
func (*IKubernetesClient_GetModule_Call) Run ¶
func (_c *IKubernetesClient_GetModule_Call) Run(run func(name string)) *IKubernetesClient_GetModule_Call
func (*IKubernetesClient_GetModule_Call) RunAndReturn ¶
func (_c *IKubernetesClient_GetModule_Call) RunAndReturn(run func(string) (*v1alpha1.Module, error)) *IKubernetesClient_GetModule_Call
type IKubernetesClient_GetNode_Call ¶
IKubernetesClient_GetNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNode'
func (*IKubernetesClient_GetNode_Call) Return ¶
func (_c *IKubernetesClient_GetNode_Call) Return(_a0 *v1.Node, _a1 error) *IKubernetesClient_GetNode_Call
func (*IKubernetesClient_GetNode_Call) Run ¶
func (_c *IKubernetesClient_GetNode_Call) Run(run func(name string)) *IKubernetesClient_GetNode_Call
func (*IKubernetesClient_GetNode_Call) RunAndReturn ¶
func (_c *IKubernetesClient_GetNode_Call) RunAndReturn(run func(string) (*v1.Node, error)) *IKubernetesClient_GetNode_Call
type IKubernetesClient_GetPodLogs_Call ¶
IKubernetesClient_GetPodLogs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPodLogs'
func (*IKubernetesClient_GetPodLogs_Call) Return ¶
func (_c *IKubernetesClient_GetPodLogs_Call) Return(_a0 []string, _a1 error) *IKubernetesClient_GetPodLogs_Call
func (*IKubernetesClient_GetPodLogs_Call) Run ¶
func (_c *IKubernetesClient_GetPodLogs_Call) Run(run func(namespace string, container string, name string, numLogs *int64)) *IKubernetesClient_GetPodLogs_Call
func (*IKubernetesClient_GetPodLogs_Call) RunAndReturn ¶
func (_c *IKubernetesClient_GetPodLogs_Call) RunAndReturn(run func(string, string, string, *int64) ([]string, error)) *IKubernetesClient_GetPodLogs_Call
type IKubernetesClient_GetPodsForNode_Call ¶
IKubernetesClient_GetPodsForNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPodsForNode'
func (*IKubernetesClient_GetPodsForNode_Call) Return ¶
func (_c *IKubernetesClient_GetPodsForNode_Call) Return(_a0 []v1.Pod, _a1 error) *IKubernetesClient_GetPodsForNode_Call
func (*IKubernetesClient_GetPodsForNode_Call) Run ¶
func (_c *IKubernetesClient_GetPodsForNode_Call) Run(run func(nodeName string)) *IKubernetesClient_GetPodsForNode_Call
func (*IKubernetesClient_GetPodsForNode_Call) RunAndReturn ¶
func (_c *IKubernetesClient_GetPodsForNode_Call) RunAndReturn(run func(string) ([]v1.Pod, error)) *IKubernetesClient_GetPodsForNode_Call
type IKubernetesClient_GetResource_Call ¶
IKubernetesClient_GetResource_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetResource'
func (*IKubernetesClient_GetResource_Call) Return ¶
func (_c *IKubernetesClient_GetResource_Call) Return(_a0 interface{}, _a1 error) *IKubernetesClient_GetResource_Call
func (*IKubernetesClient_GetResource_Call) Run ¶
func (_c *IKubernetesClient_GetResource_Call) Run(run func(group string, _a1 string, kind string, name string, namespace string)) *IKubernetesClient_GetResource_Call
func (*IKubernetesClient_GetResource_Call) RunAndReturn ¶
func (_c *IKubernetesClient_GetResource_Call) RunAndReturn(run func(string, string, string, string, string) (interface{}, error)) *IKubernetesClient_GetResource_Call
type IKubernetesClient_GetResourcesForModule_Call ¶
IKubernetesClient_GetResourcesForModule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetResourcesForModule'
func (*IKubernetesClient_GetResourcesForModule_Call) Return ¶
func (_c *IKubernetesClient_GetResourcesForModule_Call) Return(_a0 []dto.Resource, _a1 error) *IKubernetesClient_GetResourcesForModule_Call
func (*IKubernetesClient_GetResourcesForModule_Call) Run ¶
func (_c *IKubernetesClient_GetResourcesForModule_Call) Run(run func(name string)) *IKubernetesClient_GetResourcesForModule_Call
func (*IKubernetesClient_GetResourcesForModule_Call) RunAndReturn ¶
func (_c *IKubernetesClient_GetResourcesForModule_Call) RunAndReturn(run func(string) ([]dto.Resource, error)) *IKubernetesClient_GetResourcesForModule_Call
type IKubernetesClient_GetResourcesForRelease_Call ¶
IKubernetesClient_GetResourcesForRelease_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetResourcesForRelease'
func (*IKubernetesClient_GetResourcesForRelease_Call) Return ¶
func (_c *IKubernetesClient_GetResourcesForRelease_Call) Return(_a0 []dto.Resource, _a1 error) *IKubernetesClient_GetResourcesForRelease_Call
func (*IKubernetesClient_GetResourcesForRelease_Call) Run ¶
func (_c *IKubernetesClient_GetResourcesForRelease_Call) Run(run func(release string)) *IKubernetesClient_GetResourcesForRelease_Call
func (*IKubernetesClient_GetResourcesForRelease_Call) RunAndReturn ¶
func (_c *IKubernetesClient_GetResourcesForRelease_Call) RunAndReturn(run func(string) ([]dto.Resource, error)) *IKubernetesClient_GetResourcesForRelease_Call
type IKubernetesClient_GetStatefulSetsLogs_Call ¶
IKubernetesClient_GetStatefulSetsLogs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStatefulSetsLogs'
func (*IKubernetesClient_GetStatefulSetsLogs_Call) Return ¶
func (_c *IKubernetesClient_GetStatefulSetsLogs_Call) Return(_a0 []string, _a1 error) *IKubernetesClient_GetStatefulSetsLogs_Call
func (*IKubernetesClient_GetStatefulSetsLogs_Call) Run ¶
func (_c *IKubernetesClient_GetStatefulSetsLogs_Call) Run(run func(namespace string, container string, name string, numLogs *int64)) *IKubernetesClient_GetStatefulSetsLogs_Call
func (*IKubernetesClient_GetStatefulSetsLogs_Call) RunAndReturn ¶
func (_c *IKubernetesClient_GetStatefulSetsLogs_Call) RunAndReturn(run func(string, string, string, *int64) ([]string, error)) *IKubernetesClient_GetStatefulSetsLogs_Call
type IKubernetesClient_GetStreamedPodLogs_Call ¶
IKubernetesClient_GetStreamedPodLogs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStreamedPodLogs'
func (*IKubernetesClient_GetStreamedPodLogs_Call) Return ¶
func (_c *IKubernetesClient_GetStreamedPodLogs_Call) Return(_a0 error) *IKubernetesClient_GetStreamedPodLogs_Call
func (*IKubernetesClient_GetStreamedPodLogs_Call) Run ¶
func (_c *IKubernetesClient_GetStreamedPodLogs_Call) Run(run func(ctx context.Context, namespace string, container string, name string, logCount *int64, logChan chan<- string)) *IKubernetesClient_GetStreamedPodLogs_Call
func (*IKubernetesClient_GetStreamedPodLogs_Call) RunAndReturn ¶
func (_c *IKubernetesClient_GetStreamedPodLogs_Call) RunAndReturn(run func(context.Context, string, string, string, *int64, chan<- string) error) *IKubernetesClient_GetStreamedPodLogs_Call
type IKubernetesClient_GetTemplateAuthRuleSecret_Call ¶
IKubernetesClient_GetTemplateAuthRuleSecret_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTemplateAuthRuleSecret'
func (*IKubernetesClient_GetTemplateAuthRuleSecret_Call) Return ¶
func (_c *IKubernetesClient_GetTemplateAuthRuleSecret_Call) Return(_a0 string, _a1 error) *IKubernetesClient_GetTemplateAuthRuleSecret_Call
func (*IKubernetesClient_GetTemplateAuthRuleSecret_Call) Run ¶
func (_c *IKubernetesClient_GetTemplateAuthRuleSecret_Call) Run(run func(name string, key string)) *IKubernetesClient_GetTemplateAuthRuleSecret_Call
func (*IKubernetesClient_GetTemplateAuthRuleSecret_Call) RunAndReturn ¶
func (_c *IKubernetesClient_GetTemplateAuthRuleSecret_Call) RunAndReturn(run func(string, string) (string, error)) *IKubernetesClient_GetTemplateAuthRuleSecret_Call
type IKubernetesClient_GetWorkloadsForModule_Call ¶
IKubernetesClient_GetWorkloadsForModule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetWorkloadsForModule'
func (*IKubernetesClient_GetWorkloadsForModule_Call) Return ¶
func (_c *IKubernetesClient_GetWorkloadsForModule_Call) Return(_a0 []dto.Resource, _a1 error) *IKubernetesClient_GetWorkloadsForModule_Call
func (*IKubernetesClient_GetWorkloadsForModule_Call) Run ¶
func (_c *IKubernetesClient_GetWorkloadsForModule_Call) Run(run func(name string)) *IKubernetesClient_GetWorkloadsForModule_Call
func (*IKubernetesClient_GetWorkloadsForModule_Call) RunAndReturn ¶
func (_c *IKubernetesClient_GetWorkloadsForModule_Call) RunAndReturn(run func(string) ([]dto.Resource, error)) *IKubernetesClient_GetWorkloadsForModule_Call
type IKubernetesClient_GetWorkloadsForRelease_Call ¶
IKubernetesClient_GetWorkloadsForRelease_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetWorkloadsForRelease'
func (*IKubernetesClient_GetWorkloadsForRelease_Call) Return ¶
func (_c *IKubernetesClient_GetWorkloadsForRelease_Call) Return(_a0 []dto.Resource, _a1 error) *IKubernetesClient_GetWorkloadsForRelease_Call
func (*IKubernetesClient_GetWorkloadsForRelease_Call) Run ¶
func (_c *IKubernetesClient_GetWorkloadsForRelease_Call) Run(run func(name string)) *IKubernetesClient_GetWorkloadsForRelease_Call
func (*IKubernetesClient_GetWorkloadsForRelease_Call) RunAndReturn ¶
func (_c *IKubernetesClient_GetWorkloadsForRelease_Call) RunAndReturn(run func(string) ([]dto.Resource, error)) *IKubernetesClient_GetWorkloadsForRelease_Call
type IKubernetesClient_ListModules_Call ¶
IKubernetesClient_ListModules_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListModules'
func (*IKubernetesClient_ListModules_Call) Return ¶
func (_c *IKubernetesClient_ListModules_Call) Return(_a0 []v1alpha1.Module, _a1 error) *IKubernetesClient_ListModules_Call
func (*IKubernetesClient_ListModules_Call) Run ¶
func (_c *IKubernetesClient_ListModules_Call) Run(run func()) *IKubernetesClient_ListModules_Call
func (*IKubernetesClient_ListModules_Call) RunAndReturn ¶
func (_c *IKubernetesClient_ListModules_Call) RunAndReturn(run func() ([]v1alpha1.Module, error)) *IKubernetesClient_ListModules_Call
type IKubernetesClient_ListNamespaces_Call ¶
IKubernetesClient_ListNamespaces_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListNamespaces'
func (*IKubernetesClient_ListNamespaces_Call) Return ¶
func (_c *IKubernetesClient_ListNamespaces_Call) Return(_a0 []string, _a1 error) *IKubernetesClient_ListNamespaces_Call
func (*IKubernetesClient_ListNamespaces_Call) Run ¶
func (_c *IKubernetesClient_ListNamespaces_Call) Run(run func()) *IKubernetesClient_ListNamespaces_Call
func (*IKubernetesClient_ListNamespaces_Call) RunAndReturn ¶
func (_c *IKubernetesClient_ListNamespaces_Call) RunAndReturn(run func() ([]string, error)) *IKubernetesClient_ListNamespaces_Call
type IKubernetesClient_ListNodes_Call ¶
IKubernetesClient_ListNodes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListNodes'
func (*IKubernetesClient_ListNodes_Call) Return ¶
func (_c *IKubernetesClient_ListNodes_Call) Return(_a0 []v1.Node, _a1 error) *IKubernetesClient_ListNodes_Call
func (*IKubernetesClient_ListNodes_Call) Run ¶
func (_c *IKubernetesClient_ListNodes_Call) Run(run func()) *IKubernetesClient_ListNodes_Call
func (*IKubernetesClient_ListNodes_Call) RunAndReturn ¶
func (_c *IKubernetesClient_ListNodes_Call) RunAndReturn(run func() ([]v1.Node, error)) *IKubernetesClient_ListNodes_Call
type IKubernetesClient_ListTemplateAuthRules_Call ¶
IKubernetesClient_ListTemplateAuthRules_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListTemplateAuthRules'
func (*IKubernetesClient_ListTemplateAuthRules_Call) Return ¶
func (_c *IKubernetesClient_ListTemplateAuthRules_Call) Return(_a0 []v1alpha1.TemplateAuthRule, _a1 error) *IKubernetesClient_ListTemplateAuthRules_Call
func (*IKubernetesClient_ListTemplateAuthRules_Call) Run ¶
func (_c *IKubernetesClient_ListTemplateAuthRules_Call) Run(run func()) *IKubernetesClient_ListTemplateAuthRules_Call
func (*IKubernetesClient_ListTemplateAuthRules_Call) RunAndReturn ¶
func (_c *IKubernetesClient_ListTemplateAuthRules_Call) RunAndReturn(run func() ([]v1alpha1.TemplateAuthRule, error)) *IKubernetesClient_ListTemplateAuthRules_Call
type IKubernetesClient_ListTemplateStore_Call ¶
IKubernetesClient_ListTemplateStore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListTemplateStore'
func (*IKubernetesClient_ListTemplateStore_Call) Return ¶
func (_c *IKubernetesClient_ListTemplateStore_Call) Return(_a0 []v1alpha1.TemplateStore, _a1 error) *IKubernetesClient_ListTemplateStore_Call
func (*IKubernetesClient_ListTemplateStore_Call) Run ¶
func (_c *IKubernetesClient_ListTemplateStore_Call) Run(run func()) *IKubernetesClient_ListTemplateStore_Call
func (*IKubernetesClient_ListTemplateStore_Call) RunAndReturn ¶
func (_c *IKubernetesClient_ListTemplateStore_Call) RunAndReturn(run func() ([]v1alpha1.TemplateStore, error)) *IKubernetesClient_ListTemplateStore_Call
type IKubernetesClient_MapUnstructuredResource_Call ¶
IKubernetesClient_MapUnstructuredResource_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MapUnstructuredResource'
func (*IKubernetesClient_MapUnstructuredResource_Call) Return ¶
func (_c *IKubernetesClient_MapUnstructuredResource_Call) Return(_a0 dto.Resource, _a1 error) *IKubernetesClient_MapUnstructuredResource_Call
func (*IKubernetesClient_MapUnstructuredResource_Call) Run ¶
func (_c *IKubernetesClient_MapUnstructuredResource_Call) Run(run func(u unstructured.Unstructured)) *IKubernetesClient_MapUnstructuredResource_Call
func (*IKubernetesClient_MapUnstructuredResource_Call) RunAndReturn ¶
func (_c *IKubernetesClient_MapUnstructuredResource_Call) RunAndReturn(run func(unstructured.Unstructured) (dto.Resource, error)) *IKubernetesClient_MapUnstructuredResource_Call
type IKubernetesClient_RestartDaemonSet_Call ¶
IKubernetesClient_RestartDaemonSet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RestartDaemonSet'
func (*IKubernetesClient_RestartDaemonSet_Call) Return ¶
func (_c *IKubernetesClient_RestartDaemonSet_Call) Return(_a0 error) *IKubernetesClient_RestartDaemonSet_Call
func (*IKubernetesClient_RestartDaemonSet_Call) Run ¶
func (_c *IKubernetesClient_RestartDaemonSet_Call) Run(run func(name string, namespace string)) *IKubernetesClient_RestartDaemonSet_Call
func (*IKubernetesClient_RestartDaemonSet_Call) RunAndReturn ¶
func (_c *IKubernetesClient_RestartDaemonSet_Call) RunAndReturn(run func(string, string) error) *IKubernetesClient_RestartDaemonSet_Call
type IKubernetesClient_RestartDeployment_Call ¶
IKubernetesClient_RestartDeployment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RestartDeployment'
func (*IKubernetesClient_RestartDeployment_Call) Return ¶
func (_c *IKubernetesClient_RestartDeployment_Call) Return(_a0 error) *IKubernetesClient_RestartDeployment_Call
func (*IKubernetesClient_RestartDeployment_Call) Run ¶
func (_c *IKubernetesClient_RestartDeployment_Call) Run(run func(name string, namespace string)) *IKubernetesClient_RestartDeployment_Call
func (*IKubernetesClient_RestartDeployment_Call) RunAndReturn ¶
func (_c *IKubernetesClient_RestartDeployment_Call) RunAndReturn(run func(string, string) error) *IKubernetesClient_RestartDeployment_Call
type IKubernetesClient_RestartStatefulSet_Call ¶
IKubernetesClient_RestartStatefulSet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RestartStatefulSet'
func (*IKubernetesClient_RestartStatefulSet_Call) Return ¶
func (_c *IKubernetesClient_RestartStatefulSet_Call) Return(_a0 error) *IKubernetesClient_RestartStatefulSet_Call
func (*IKubernetesClient_RestartStatefulSet_Call) Run ¶
func (_c *IKubernetesClient_RestartStatefulSet_Call) Run(run func(name string, namespace string)) *IKubernetesClient_RestartStatefulSet_Call
func (*IKubernetesClient_RestartStatefulSet_Call) RunAndReturn ¶
func (_c *IKubernetesClient_RestartStatefulSet_Call) RunAndReturn(run func(string, string) error) *IKubernetesClient_RestartStatefulSet_Call
type IKubernetesClient_Restart_Call ¶
IKubernetesClient_Restart_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Restart'
func (*IKubernetesClient_Restart_Call) Return ¶
func (_c *IKubernetesClient_Restart_Call) Return(_a0 error) *IKubernetesClient_Restart_Call
func (*IKubernetesClient_Restart_Call) Run ¶
func (_c *IKubernetesClient_Restart_Call) Run(run func(group string, _a1 string, kind string, name string, namespace string)) *IKubernetesClient_Restart_Call
func (*IKubernetesClient_Restart_Call) RunAndReturn ¶
func (_c *IKubernetesClient_Restart_Call) RunAndReturn(run func(string, string, string, string, string) error) *IKubernetesClient_Restart_Call
type IKubernetesClient_UpdateModuleStatus_Call ¶
IKubernetesClient_UpdateModuleStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateModuleStatus'
func (*IKubernetesClient_UpdateModuleStatus_Call) Return ¶
func (_c *IKubernetesClient_UpdateModuleStatus_Call) Return(_a0 *v1alpha1.Module, _a1 error) *IKubernetesClient_UpdateModuleStatus_Call
func (*IKubernetesClient_UpdateModuleStatus_Call) Run ¶
func (_c *IKubernetesClient_UpdateModuleStatus_Call) Run(run func(module *v1alpha1.Module)) *IKubernetesClient_UpdateModuleStatus_Call
func (*IKubernetesClient_UpdateModuleStatus_Call) RunAndReturn ¶
func (_c *IKubernetesClient_UpdateModuleStatus_Call) RunAndReturn(run func(*v1alpha1.Module) (*v1alpha1.Module, error)) *IKubernetesClient_UpdateModuleStatus_Call
type IKubernetesClient_UpdateModule_Call ¶
IKubernetesClient_UpdateModule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateModule'
func (*IKubernetesClient_UpdateModule_Call) Return ¶
func (_c *IKubernetesClient_UpdateModule_Call) Return(_a0 error) *IKubernetesClient_UpdateModule_Call
func (*IKubernetesClient_UpdateModule_Call) Run ¶
func (_c *IKubernetesClient_UpdateModule_Call) Run(run func(module *v1alpha1.Module)) *IKubernetesClient_UpdateModule_Call
func (*IKubernetesClient_UpdateModule_Call) RunAndReturn ¶
func (_c *IKubernetesClient_UpdateModule_Call) RunAndReturn(run func(*v1alpha1.Module) error) *IKubernetesClient_UpdateModule_Call
type IKubernetesClient_UpdateTemplateStore_Call ¶
IKubernetesClient_UpdateTemplateStore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateTemplateStore'
func (*IKubernetesClient_UpdateTemplateStore_Call) Return ¶
func (_c *IKubernetesClient_UpdateTemplateStore_Call) Return(_a0 error) *IKubernetesClient_UpdateTemplateStore_Call
func (*IKubernetesClient_UpdateTemplateStore_Call) Run ¶
func (_c *IKubernetesClient_UpdateTemplateStore_Call) Run(run func(ts *v1alpha1.TemplateStore)) *IKubernetesClient_UpdateTemplateStore_Call
func (*IKubernetesClient_UpdateTemplateStore_Call) RunAndReturn ¶
func (_c *IKubernetesClient_UpdateTemplateStore_Call) RunAndReturn(run func(*v1alpha1.TemplateStore) error) *IKubernetesClient_UpdateTemplateStore_Call
type IKubernetesClient_VersionInfo_Call ¶
IKubernetesClient_VersionInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VersionInfo'
func (*IKubernetesClient_VersionInfo_Call) Return ¶
func (_c *IKubernetesClient_VersionInfo_Call) Return(_a0 *version.Info, _a1 error) *IKubernetesClient_VersionInfo_Call
func (*IKubernetesClient_VersionInfo_Call) Run ¶
func (_c *IKubernetesClient_VersionInfo_Call) Run(run func()) *IKubernetesClient_VersionInfo_Call
func (*IKubernetesClient_VersionInfo_Call) RunAndReturn ¶
func (_c *IKubernetesClient_VersionInfo_Call) RunAndReturn(run func() (*version.Info, error)) *IKubernetesClient_VersionInfo_Call
type IKubernetesClient_WatchKubernetesResources_Call ¶
IKubernetesClient_WatchKubernetesResources_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WatchKubernetesResources'
func (*IKubernetesClient_WatchKubernetesResources_Call) Return ¶
func (_c *IKubernetesClient_WatchKubernetesResources_Call) Return(_a0 chan *unstructured.Unstructured, _a1 error) *IKubernetesClient_WatchKubernetesResources_Call
func (*IKubernetesClient_WatchKubernetesResources_Call) Run ¶
func (_c *IKubernetesClient_WatchKubernetesResources_Call) Run(run func(gvrs []k8sclient.ResourceWatchSpec, stopCh chan struct{})) *IKubernetesClient_WatchKubernetesResources_Call
func (*IKubernetesClient_WatchKubernetesResources_Call) RunAndReturn ¶
func (_c *IKubernetesClient_WatchKubernetesResources_Call) RunAndReturn(run func([]k8sclient.ResourceWatchSpec, chan struct{}) (chan *unstructured.Unstructured, error)) *IKubernetesClient_WatchKubernetesResources_Call
type IKubernetesClient_WatchResource_Call ¶
IKubernetesClient_WatchResource_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WatchResource'
func (*IKubernetesClient_WatchResource_Call) Return ¶
func (_c *IKubernetesClient_WatchResource_Call) Return(_a0 watch.Interface, _a1 error) *IKubernetesClient_WatchResource_Call
func (*IKubernetesClient_WatchResource_Call) Run ¶
func (_c *IKubernetesClient_WatchResource_Call) Run(run func(group string, _a1 string, resource string, name string, namespace string)) *IKubernetesClient_WatchResource_Call
func (*IKubernetesClient_WatchResource_Call) RunAndReturn ¶
func (_c *IKubernetesClient_WatchResource_Call) RunAndReturn(run func(string, string, string, string, string) (watch.Interface, error)) *IKubernetesClient_WatchResource_Call