Documentation ¶
Index ¶
- type AdditionalIngressAnnotationsManager
- type AdditionalIngressAnnotationsManager_Expecter
- type AdditionalIngressAnnotationsManager_SetDoguAdditionalIngressAnnotations_Call
- func (_c *AdditionalIngressAnnotationsManager_SetDoguAdditionalIngressAnnotations_Call) Return(_a0 error) *AdditionalIngressAnnotationsManager_SetDoguAdditionalIngressAnnotations_Call
- func (_c *AdditionalIngressAnnotationsManager_SetDoguAdditionalIngressAnnotations_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *AdditionalIngressAnnotationsManager_SetDoguAdditionalIngressAnnotations_Call
- func (_c *AdditionalIngressAnnotationsManager_SetDoguAdditionalIngressAnnotations_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *AdditionalIngressAnnotationsManager_SetDoguAdditionalIngressAnnotations_Call
- type Applier
- type Applier_ApplyWithOwner_Call
- func (_c *Applier_ApplyWithOwner_Call) Return(_a0 error) *Applier_ApplyWithOwner_Call
- func (_c *Applier_ApplyWithOwner_Call) Run(run func(doc apply.YamlDocument, namespace string, resource v1.Object)) *Applier_ApplyWithOwner_Call
- func (_c *Applier_ApplyWithOwner_Call) RunAndReturn(run func(apply.YamlDocument, string, v1.Object) error) *Applier_ApplyWithOwner_Call
- type Applier_Expecter
- type AsyncExecutor
- type AsyncExecutor_AddStep_Call
- type AsyncExecutor_Execute_Call
- func (_c *AsyncExecutor_Execute_Call) Return(_a0 error) *AsyncExecutor_Execute_Call
- func (_c *AsyncExecutor_Execute_Call) Run(run func(ctx context.Context, dogu *v1.Dogu, currentState string)) *AsyncExecutor_Execute_Call
- func (_c *AsyncExecutor_Execute_Call) RunAndReturn(run func(context.Context, *v1.Dogu, string) error) *AsyncExecutor_Execute_Call
- type AsyncExecutor_Expecter
- type AsyncStep
- type AsyncStep_Execute_Call
- func (_c *AsyncStep_Execute_Call) Return(_a0 string, _a1 error) *AsyncStep_Execute_Call
- func (_c *AsyncStep_Execute_Call) Run(run func(ctx context.Context, dogu *v1.Dogu)) *AsyncStep_Execute_Call
- func (_c *AsyncStep_Execute_Call) RunAndReturn(run func(context.Context, *v1.Dogu) (string, error)) *AsyncStep_Execute_Call
- type AsyncStep_Expecter
- type AsyncStep_GetStartCondition_Call
- func (_c *AsyncStep_GetStartCondition_Call) Return(_a0 string) *AsyncStep_GetStartCondition_Call
- func (_c *AsyncStep_GetStartCondition_Call) Run(run func()) *AsyncStep_GetStartCondition_Call
- func (_c *AsyncStep_GetStartCondition_Call) RunAndReturn(run func() string) *AsyncStep_GetStartCondition_Call
- type CollectApplier
- type CollectApplier_CollectApply_Call
- func (_c *CollectApplier_CollectApply_Call) Return(_a0 error) *CollectApplier_CollectApply_Call
- func (_c *CollectApplier_CollectApply_Call) Run(run func(ctx context.Context, customK8sResources map[string]string, ...)) *CollectApplier_CollectApply_Call
- func (_c *CollectApplier_CollectApply_Call) RunAndReturn(run func(context.Context, map[string]string, *v1.Dogu) error) *CollectApplier_CollectApply_Call
- type CollectApplier_Expecter
- type CommandExecutor
- func (_m *CommandExecutor) EXPECT() *CommandExecutor_Expecter
- func (_m *CommandExecutor) ExecCommandForDogu(ctx context.Context, resource *v1.Dogu, command cloudogu.ShellCommand, ...) (*bytes.Buffer, error)
- func (_m *CommandExecutor) ExecCommandForPod(ctx context.Context, pod *corev1.Pod, command cloudogu.ShellCommand, ...) (*bytes.Buffer, error)
- type CommandExecutor_ExecCommandForDogu_Call
- func (_c *CommandExecutor_ExecCommandForDogu_Call) Return(_a0 *bytes.Buffer, _a1 error) *CommandExecutor_ExecCommandForDogu_Call
- func (_c *CommandExecutor_ExecCommandForDogu_Call) Run(...) *CommandExecutor_ExecCommandForDogu_Call
- func (_c *CommandExecutor_ExecCommandForDogu_Call) RunAndReturn(...) *CommandExecutor_ExecCommandForDogu_Call
- type CommandExecutor_ExecCommandForPod_Call
- func (_c *CommandExecutor_ExecCommandForPod_Call) Return(_a0 *bytes.Buffer, _a1 error) *CommandExecutor_ExecCommandForPod_Call
- func (_c *CommandExecutor_ExecCommandForPod_Call) Run(...) *CommandExecutor_ExecCommandForPod_Call
- func (_c *CommandExecutor_ExecCommandForPod_Call) RunAndReturn(...) *CommandExecutor_ExecCommandForPod_Call
- type CommandExecutor_Expecter
- func (_e *CommandExecutor_Expecter) ExecCommandForDogu(ctx interface{}, resource interface{}, command interface{}, ...) *CommandExecutor_ExecCommandForDogu_Call
- func (_e *CommandExecutor_Expecter) ExecCommandForPod(ctx interface{}, pod interface{}, command interface{}, expected interface{}) *CommandExecutor_ExecCommandForPod_Call
- type DeleteManager
- type DeleteManager_Delete_Call
- func (_c *DeleteManager_Delete_Call) Return(_a0 error) *DeleteManager_Delete_Call
- func (_c *DeleteManager_Delete_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *DeleteManager_Delete_Call
- func (_c *DeleteManager_Delete_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *DeleteManager_Delete_Call
- type DeleteManager_Expecter
- type DependencyValidator
- type DependencyValidator_Expecter
- type DependencyValidator_ValidateDependencies_Call
- func (_c *DependencyValidator_ValidateDependencies_Call) Return(_a0 error) *DependencyValidator_ValidateDependencies_Call
- func (_c *DependencyValidator_ValidateDependencies_Call) Run(run func(ctx context.Context, dogu *core.Dogu)) *DependencyValidator_ValidateDependencies_Call
- func (_c *DependencyValidator_ValidateDependencies_Call) RunAndReturn(run func(context.Context, *core.Dogu) error) *DependencyValidator_ValidateDependencies_Call
- type DeploymentAvailabilityChecker
- type DeploymentAvailabilityChecker_Expecter
- type DeploymentAvailabilityChecker_IsAvailable_Call
- func (_c *DeploymentAvailabilityChecker_IsAvailable_Call) Return(_a0 bool) *DeploymentAvailabilityChecker_IsAvailable_Call
- func (_c *DeploymentAvailabilityChecker_IsAvailable_Call) Run(run func(deployment *v1.Deployment)) *DeploymentAvailabilityChecker_IsAvailable_Call
- func (_c *DeploymentAvailabilityChecker_IsAvailable_Call) RunAndReturn(run func(*v1.Deployment) bool) *DeploymentAvailabilityChecker_IsAvailable_Call
- type DoguHealthChecker
- type DoguHealthChecker_CheckByName_Call
- func (_c *DoguHealthChecker_CheckByName_Call) Return(_a0 error) *DoguHealthChecker_CheckByName_Call
- func (_c *DoguHealthChecker_CheckByName_Call) Run(run func(ctx context.Context, doguName types.NamespacedName)) *DoguHealthChecker_CheckByName_Call
- func (_c *DoguHealthChecker_CheckByName_Call) RunAndReturn(run func(context.Context, types.NamespacedName) error) *DoguHealthChecker_CheckByName_Call
- type DoguHealthChecker_Expecter
- type DoguHealthStatusUpdater
- func (_m *DoguHealthStatusUpdater) EXPECT() *DoguHealthStatusUpdater_Expecter
- func (_m *DoguHealthStatusUpdater) UpdateHealthConfigMap(ctx context.Context, deployment *v1.Deployment, doguJson *core.Dogu) error
- func (_m *DoguHealthStatusUpdater) UpdateStatus(ctx context.Context, doguName types.NamespacedName, available bool) error
- type DoguHealthStatusUpdater_Expecter
- func (_e *DoguHealthStatusUpdater_Expecter) UpdateHealthConfigMap(ctx interface{}, deployment interface{}, doguJson interface{}) *DoguHealthStatusUpdater_UpdateHealthConfigMap_Call
- func (_e *DoguHealthStatusUpdater_Expecter) UpdateStatus(ctx interface{}, doguName interface{}, available interface{}) *DoguHealthStatusUpdater_UpdateStatus_Call
- type DoguHealthStatusUpdater_UpdateHealthConfigMap_Call
- func (_c *DoguHealthStatusUpdater_UpdateHealthConfigMap_Call) Return(_a0 error) *DoguHealthStatusUpdater_UpdateHealthConfigMap_Call
- func (_c *DoguHealthStatusUpdater_UpdateHealthConfigMap_Call) Run(run func(ctx context.Context, deployment *v1.Deployment, doguJson *core.Dogu)) *DoguHealthStatusUpdater_UpdateHealthConfigMap_Call
- func (_c *DoguHealthStatusUpdater_UpdateHealthConfigMap_Call) RunAndReturn(run func(context.Context, *v1.Deployment, *core.Dogu) error) *DoguHealthStatusUpdater_UpdateHealthConfigMap_Call
- type DoguHealthStatusUpdater_UpdateStatus_Call
- func (_c *DoguHealthStatusUpdater_UpdateStatus_Call) Return(_a0 error) *DoguHealthStatusUpdater_UpdateStatus_Call
- func (_c *DoguHealthStatusUpdater_UpdateStatus_Call) Run(run func(ctx context.Context, doguName types.NamespacedName, available bool)) *DoguHealthStatusUpdater_UpdateStatus_Call
- func (_c *DoguHealthStatusUpdater_UpdateStatus_Call) RunAndReturn(run func(context.Context, types.NamespacedName, bool) error) *DoguHealthStatusUpdater_UpdateStatus_Call
- type DoguInterface
- func (_m *DoguInterface) Create(ctx context.Context, dogu *v1.Dogu, opts metav1.CreateOptions) (*v1.Dogu, error)
- func (_m *DoguInterface) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (_m *DoguInterface) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (_m *DoguInterface) EXPECT() *DoguInterface_Expecter
- func (_m *DoguInterface) Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Dogu, error)
- func (_m *DoguInterface) List(ctx context.Context, opts metav1.ListOptions) (*v1.DoguList, error)
- func (_m *DoguInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (*v1.Dogu, error)
- func (_m *DoguInterface) Update(ctx context.Context, dogu *v1.Dogu, opts metav1.UpdateOptions) (*v1.Dogu, error)
- func (_m *DoguInterface) UpdateSpecWithRetry(ctx context.Context, dogu *v1.Dogu, modifySpecFn func(v1.DoguSpec) v1.DoguSpec, ...) (*v1.Dogu, error)
- func (_m *DoguInterface) UpdateStatus(ctx context.Context, dogu *v1.Dogu, opts metav1.UpdateOptions) (*v1.Dogu, error)
- func (_m *DoguInterface) UpdateStatusWithRetry(ctx context.Context, dogu *v1.Dogu, ...) (*v1.Dogu, error)
- func (_m *DoguInterface) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type DoguInterface_Create_Call
- func (_c *DoguInterface_Create_Call) Return(_a0 *v1.Dogu, _a1 error) *DoguInterface_Create_Call
- func (_c *DoguInterface_Create_Call) Run(run func(ctx context.Context, dogu *v1.Dogu, opts metav1.CreateOptions)) *DoguInterface_Create_Call
- func (_c *DoguInterface_Create_Call) RunAndReturn(run func(context.Context, *v1.Dogu, metav1.CreateOptions) (*v1.Dogu, error)) *DoguInterface_Create_Call
- type DoguInterface_DeleteCollection_Call
- func (_c *DoguInterface_DeleteCollection_Call) Return(_a0 error) *DoguInterface_DeleteCollection_Call
- func (_c *DoguInterface_DeleteCollection_Call) Run(...) *DoguInterface_DeleteCollection_Call
- func (_c *DoguInterface_DeleteCollection_Call) RunAndReturn(run func(context.Context, metav1.DeleteOptions, metav1.ListOptions) error) *DoguInterface_DeleteCollection_Call
- type DoguInterface_Delete_Call
- func (_c *DoguInterface_Delete_Call) Return(_a0 error) *DoguInterface_Delete_Call
- func (_c *DoguInterface_Delete_Call) Run(run func(ctx context.Context, name string, opts metav1.DeleteOptions)) *DoguInterface_Delete_Call
- func (_c *DoguInterface_Delete_Call) RunAndReturn(run func(context.Context, string, metav1.DeleteOptions) error) *DoguInterface_Delete_Call
- type DoguInterface_Expecter
- func (_e *DoguInterface_Expecter) Create(ctx interface{}, dogu interface{}, opts interface{}) *DoguInterface_Create_Call
- func (_e *DoguInterface_Expecter) Delete(ctx interface{}, name interface{}, opts interface{}) *DoguInterface_Delete_Call
- func (_e *DoguInterface_Expecter) DeleteCollection(ctx interface{}, opts interface{}, listOpts interface{}) *DoguInterface_DeleteCollection_Call
- func (_e *DoguInterface_Expecter) Get(ctx interface{}, name interface{}, opts interface{}) *DoguInterface_Get_Call
- func (_e *DoguInterface_Expecter) List(ctx interface{}, opts interface{}) *DoguInterface_List_Call
- func (_e *DoguInterface_Expecter) Patch(ctx interface{}, name interface{}, pt interface{}, data interface{}, ...) *DoguInterface_Patch_Call
- func (_e *DoguInterface_Expecter) Update(ctx interface{}, dogu interface{}, opts interface{}) *DoguInterface_Update_Call
- func (_e *DoguInterface_Expecter) UpdateSpecWithRetry(ctx interface{}, dogu interface{}, modifySpecFn interface{}, opts interface{}) *DoguInterface_UpdateSpecWithRetry_Call
- func (_e *DoguInterface_Expecter) UpdateStatus(ctx interface{}, dogu interface{}, opts interface{}) *DoguInterface_UpdateStatus_Call
- func (_e *DoguInterface_Expecter) UpdateStatusWithRetry(ctx interface{}, dogu interface{}, modifyStatusFn interface{}, ...) *DoguInterface_UpdateStatusWithRetry_Call
- func (_e *DoguInterface_Expecter) Watch(ctx interface{}, opts interface{}) *DoguInterface_Watch_Call
- type DoguInterface_Get_Call
- func (_c *DoguInterface_Get_Call) Return(_a0 *v1.Dogu, _a1 error) *DoguInterface_Get_Call
- func (_c *DoguInterface_Get_Call) Run(run func(ctx context.Context, name string, opts metav1.GetOptions)) *DoguInterface_Get_Call
- func (_c *DoguInterface_Get_Call) RunAndReturn(run func(context.Context, string, metav1.GetOptions) (*v1.Dogu, error)) *DoguInterface_Get_Call
- type DoguInterface_List_Call
- func (_c *DoguInterface_List_Call) Return(_a0 *v1.DoguList, _a1 error) *DoguInterface_List_Call
- func (_c *DoguInterface_List_Call) Run(run func(ctx context.Context, opts metav1.ListOptions)) *DoguInterface_List_Call
- func (_c *DoguInterface_List_Call) RunAndReturn(run func(context.Context, metav1.ListOptions) (*v1.DoguList, error)) *DoguInterface_List_Call
- type DoguInterface_Patch_Call
- type DoguInterface_UpdateSpecWithRetry_Call
- func (_c *DoguInterface_UpdateSpecWithRetry_Call) Return(result *v1.Dogu, err error) *DoguInterface_UpdateSpecWithRetry_Call
- func (_c *DoguInterface_UpdateSpecWithRetry_Call) Run(...) *DoguInterface_UpdateSpecWithRetry_Call
- func (_c *DoguInterface_UpdateSpecWithRetry_Call) RunAndReturn(...) *DoguInterface_UpdateSpecWithRetry_Call
- type DoguInterface_UpdateStatusWithRetry_Call
- func (_c *DoguInterface_UpdateStatusWithRetry_Call) Return(result *v1.Dogu, err error) *DoguInterface_UpdateStatusWithRetry_Call
- func (_c *DoguInterface_UpdateStatusWithRetry_Call) Run(run func(ctx context.Context, dogu *v1.Dogu, ...)) *DoguInterface_UpdateStatusWithRetry_Call
- func (_c *DoguInterface_UpdateStatusWithRetry_Call) RunAndReturn(...) *DoguInterface_UpdateStatusWithRetry_Call
- type DoguInterface_UpdateStatus_Call
- func (_c *DoguInterface_UpdateStatus_Call) Return(_a0 *v1.Dogu, _a1 error) *DoguInterface_UpdateStatus_Call
- func (_c *DoguInterface_UpdateStatus_Call) Run(run func(ctx context.Context, dogu *v1.Dogu, opts metav1.UpdateOptions)) *DoguInterface_UpdateStatus_Call
- func (_c *DoguInterface_UpdateStatus_Call) RunAndReturn(run func(context.Context, *v1.Dogu, metav1.UpdateOptions) (*v1.Dogu, error)) *DoguInterface_UpdateStatus_Call
- type DoguInterface_Update_Call
- func (_c *DoguInterface_Update_Call) Return(_a0 *v1.Dogu, _a1 error) *DoguInterface_Update_Call
- func (_c *DoguInterface_Update_Call) Run(run func(ctx context.Context, dogu *v1.Dogu, opts metav1.UpdateOptions)) *DoguInterface_Update_Call
- func (_c *DoguInterface_Update_Call) RunAndReturn(run func(context.Context, *v1.Dogu, metav1.UpdateOptions) (*v1.Dogu, error)) *DoguInterface_Update_Call
- type DoguInterface_Watch_Call
- func (_c *DoguInterface_Watch_Call) Return(_a0 watch.Interface, _a1 error) *DoguInterface_Watch_Call
- func (_c *DoguInterface_Watch_Call) Run(run func(ctx context.Context, opts metav1.ListOptions)) *DoguInterface_Watch_Call
- func (_c *DoguInterface_Watch_Call) RunAndReturn(run func(context.Context, metav1.ListOptions) (watch.Interface, error)) *DoguInterface_Watch_Call
- type DoguManager
- func (_m *DoguManager) CheckStarted(ctx context.Context, doguResource *v1.Dogu) error
- func (_m *DoguManager) CheckStopped(ctx context.Context, doguResource *v1.Dogu) error
- func (_m *DoguManager) Delete(ctx context.Context, doguResource *v1.Dogu) error
- func (_m *DoguManager) EXPECT() *DoguManager_Expecter
- func (_m *DoguManager) HandleSupportMode(ctx context.Context, doguResource *v1.Dogu) (bool, error)
- func (_m *DoguManager) Install(ctx context.Context, doguResource *v1.Dogu) error
- func (_m *DoguManager) SetDoguAdditionalIngressAnnotations(ctx context.Context, doguResource *v1.Dogu) error
- func (_m *DoguManager) SetDoguDataVolumeSize(ctx context.Context, doguResource *v1.Dogu) error
- func (_m *DoguManager) StartDogu(ctx context.Context, doguResource *v1.Dogu) error
- func (_m *DoguManager) StopDogu(ctx context.Context, doguResource *v1.Dogu) error
- func (_m *DoguManager) Upgrade(ctx context.Context, doguResource *v1.Dogu) error
- type DoguManager_CheckStarted_Call
- func (_c *DoguManager_CheckStarted_Call) Return(_a0 error) *DoguManager_CheckStarted_Call
- func (_c *DoguManager_CheckStarted_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *DoguManager_CheckStarted_Call
- func (_c *DoguManager_CheckStarted_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *DoguManager_CheckStarted_Call
- type DoguManager_CheckStopped_Call
- func (_c *DoguManager_CheckStopped_Call) Return(_a0 error) *DoguManager_CheckStopped_Call
- func (_c *DoguManager_CheckStopped_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *DoguManager_CheckStopped_Call
- func (_c *DoguManager_CheckStopped_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *DoguManager_CheckStopped_Call
- type DoguManager_Delete_Call
- func (_c *DoguManager_Delete_Call) Return(_a0 error) *DoguManager_Delete_Call
- func (_c *DoguManager_Delete_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *DoguManager_Delete_Call
- func (_c *DoguManager_Delete_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *DoguManager_Delete_Call
- type DoguManager_Expecter
- func (_e *DoguManager_Expecter) CheckStarted(ctx interface{}, doguResource interface{}) *DoguManager_CheckStarted_Call
- func (_e *DoguManager_Expecter) CheckStopped(ctx interface{}, doguResource interface{}) *DoguManager_CheckStopped_Call
- func (_e *DoguManager_Expecter) Delete(ctx interface{}, doguResource interface{}) *DoguManager_Delete_Call
- func (_e *DoguManager_Expecter) HandleSupportMode(ctx interface{}, doguResource interface{}) *DoguManager_HandleSupportMode_Call
- func (_e *DoguManager_Expecter) Install(ctx interface{}, doguResource interface{}) *DoguManager_Install_Call
- func (_e *DoguManager_Expecter) SetDoguAdditionalIngressAnnotations(ctx interface{}, doguResource interface{}) *DoguManager_SetDoguAdditionalIngressAnnotations_Call
- func (_e *DoguManager_Expecter) SetDoguDataVolumeSize(ctx interface{}, doguResource interface{}) *DoguManager_SetDoguDataVolumeSize_Call
- func (_e *DoguManager_Expecter) StartDogu(ctx interface{}, doguResource interface{}) *DoguManager_StartDogu_Call
- func (_e *DoguManager_Expecter) StopDogu(ctx interface{}, doguResource interface{}) *DoguManager_StopDogu_Call
- func (_e *DoguManager_Expecter) Upgrade(ctx interface{}, doguResource interface{}) *DoguManager_Upgrade_Call
- type DoguManager_HandleSupportMode_Call
- func (_c *DoguManager_HandleSupportMode_Call) Return(_a0 bool, _a1 error) *DoguManager_HandleSupportMode_Call
- func (_c *DoguManager_HandleSupportMode_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *DoguManager_HandleSupportMode_Call
- func (_c *DoguManager_HandleSupportMode_Call) RunAndReturn(run func(context.Context, *v1.Dogu) (bool, error)) *DoguManager_HandleSupportMode_Call
- type DoguManager_Install_Call
- func (_c *DoguManager_Install_Call) Return(_a0 error) *DoguManager_Install_Call
- func (_c *DoguManager_Install_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *DoguManager_Install_Call
- func (_c *DoguManager_Install_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *DoguManager_Install_Call
- type DoguManager_SetDoguAdditionalIngressAnnotations_Call
- func (_c *DoguManager_SetDoguAdditionalIngressAnnotations_Call) Return(_a0 error) *DoguManager_SetDoguAdditionalIngressAnnotations_Call
- func (_c *DoguManager_SetDoguAdditionalIngressAnnotations_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *DoguManager_SetDoguAdditionalIngressAnnotations_Call
- func (_c *DoguManager_SetDoguAdditionalIngressAnnotations_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *DoguManager_SetDoguAdditionalIngressAnnotations_Call
- type DoguManager_SetDoguDataVolumeSize_Call
- func (_c *DoguManager_SetDoguDataVolumeSize_Call) Return(_a0 error) *DoguManager_SetDoguDataVolumeSize_Call
- func (_c *DoguManager_SetDoguDataVolumeSize_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *DoguManager_SetDoguDataVolumeSize_Call
- func (_c *DoguManager_SetDoguDataVolumeSize_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *DoguManager_SetDoguDataVolumeSize_Call
- type DoguManager_StartDogu_Call
- func (_c *DoguManager_StartDogu_Call) Return(_a0 error) *DoguManager_StartDogu_Call
- func (_c *DoguManager_StartDogu_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *DoguManager_StartDogu_Call
- func (_c *DoguManager_StartDogu_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *DoguManager_StartDogu_Call
- type DoguManager_StopDogu_Call
- func (_c *DoguManager_StopDogu_Call) Return(_a0 error) *DoguManager_StopDogu_Call
- func (_c *DoguManager_StopDogu_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *DoguManager_StopDogu_Call
- func (_c *DoguManager_StopDogu_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *DoguManager_StopDogu_Call
- type DoguManager_Upgrade_Call
- func (_c *DoguManager_Upgrade_Call) Return(_a0 error) *DoguManager_Upgrade_Call
- func (_c *DoguManager_Upgrade_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *DoguManager_Upgrade_Call
- func (_c *DoguManager_Upgrade_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *DoguManager_Upgrade_Call
- type DoguRecursiveHealthChecker
- type DoguRecursiveHealthChecker_CheckDependenciesRecursive_Call
- func (_c *DoguRecursiveHealthChecker_CheckDependenciesRecursive_Call) Return(_a0 error) *DoguRecursiveHealthChecker_CheckDependenciesRecursive_Call
- func (_c *DoguRecursiveHealthChecker_CheckDependenciesRecursive_Call) Run(run func(ctx context.Context, fromDogu *core.Dogu, namespace string)) *DoguRecursiveHealthChecker_CheckDependenciesRecursive_Call
- func (_c *DoguRecursiveHealthChecker_CheckDependenciesRecursive_Call) RunAndReturn(run func(context.Context, *core.Dogu, string) error) *DoguRecursiveHealthChecker_CheckDependenciesRecursive_Call
- type DoguRecursiveHealthChecker_Expecter
- type DoguRegistrator
- func (_m *DoguRegistrator) EXPECT() *DoguRegistrator_Expecter
- func (_m *DoguRegistrator) RegisterDoguVersion(ctx context.Context, dogu *core.Dogu) error
- func (_m *DoguRegistrator) RegisterNewDogu(ctx context.Context, doguResource *v1.Dogu, dogu *core.Dogu) error
- func (_m *DoguRegistrator) UnregisterDogu(ctx context.Context, dogu string) error
- type DoguRegistrator_Expecter
- func (_e *DoguRegistrator_Expecter) RegisterDoguVersion(ctx interface{}, dogu interface{}) *DoguRegistrator_RegisterDoguVersion_Call
- func (_e *DoguRegistrator_Expecter) RegisterNewDogu(ctx interface{}, doguResource interface{}, dogu interface{}) *DoguRegistrator_RegisterNewDogu_Call
- func (_e *DoguRegistrator_Expecter) UnregisterDogu(ctx interface{}, dogu interface{}) *DoguRegistrator_UnregisterDogu_Call
- type DoguRegistrator_RegisterDoguVersion_Call
- func (_c *DoguRegistrator_RegisterDoguVersion_Call) Return(_a0 error) *DoguRegistrator_RegisterDoguVersion_Call
- func (_c *DoguRegistrator_RegisterDoguVersion_Call) Run(run func(ctx context.Context, dogu *core.Dogu)) *DoguRegistrator_RegisterDoguVersion_Call
- func (_c *DoguRegistrator_RegisterDoguVersion_Call) RunAndReturn(run func(context.Context, *core.Dogu) error) *DoguRegistrator_RegisterDoguVersion_Call
- type DoguRegistrator_RegisterNewDogu_Call
- func (_c *DoguRegistrator_RegisterNewDogu_Call) Return(_a0 error) *DoguRegistrator_RegisterNewDogu_Call
- func (_c *DoguRegistrator_RegisterNewDogu_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu, dogu *core.Dogu)) *DoguRegistrator_RegisterNewDogu_Call
- func (_c *DoguRegistrator_RegisterNewDogu_Call) RunAndReturn(run func(context.Context, *v1.Dogu, *core.Dogu) error) *DoguRegistrator_RegisterNewDogu_Call
- type DoguRegistrator_UnregisterDogu_Call
- func (_c *DoguRegistrator_UnregisterDogu_Call) Return(_a0 error) *DoguRegistrator_UnregisterDogu_Call
- func (_c *DoguRegistrator_UnregisterDogu_Call) Run(run func(ctx context.Context, dogu string)) *DoguRegistrator_UnregisterDogu_Call
- func (_c *DoguRegistrator_UnregisterDogu_Call) RunAndReturn(run func(context.Context, string) error) *DoguRegistrator_UnregisterDogu_Call
- type DoguResourceGenerator
- func (_m *DoguResourceGenerator) CreateDoguDeployment(doguResource *v1.Dogu, dogu *core.Dogu) (*appsv1.Deployment, error)
- func (_m *DoguResourceGenerator) CreateDoguPVC(doguResource *v1.Dogu) (*corev1.PersistentVolumeClaim, error)
- func (_m *DoguResourceGenerator) CreateDoguSecret(doguResource *v1.Dogu, stringData map[string]string) (*corev1.Secret, error)
- func (_m *DoguResourceGenerator) CreateDoguService(doguResource *v1.Dogu, imageConfig *pkgv1.ConfigFile) (*corev1.Service, error)
- func (_m *DoguResourceGenerator) EXPECT() *DoguResourceGenerator_Expecter
- func (_m *DoguResourceGenerator) GetPodTemplate(doguResource *v1.Dogu, dogu *core.Dogu) (*corev1.PodTemplateSpec, error)
- type DoguResourceGenerator_CreateDoguDeployment_Call
- func (_c *DoguResourceGenerator_CreateDoguDeployment_Call) Return(_a0 *appsv1.Deployment, _a1 error) *DoguResourceGenerator_CreateDoguDeployment_Call
- func (_c *DoguResourceGenerator_CreateDoguDeployment_Call) Run(run func(doguResource *v1.Dogu, dogu *core.Dogu)) *DoguResourceGenerator_CreateDoguDeployment_Call
- func (_c *DoguResourceGenerator_CreateDoguDeployment_Call) RunAndReturn(run func(*v1.Dogu, *core.Dogu) (*appsv1.Deployment, error)) *DoguResourceGenerator_CreateDoguDeployment_Call
- type DoguResourceGenerator_CreateDoguPVC_Call
- func (_c *DoguResourceGenerator_CreateDoguPVC_Call) Return(_a0 *corev1.PersistentVolumeClaim, _a1 error) *DoguResourceGenerator_CreateDoguPVC_Call
- func (_c *DoguResourceGenerator_CreateDoguPVC_Call) Run(run func(doguResource *v1.Dogu)) *DoguResourceGenerator_CreateDoguPVC_Call
- func (_c *DoguResourceGenerator_CreateDoguPVC_Call) RunAndReturn(run func(*v1.Dogu) (*corev1.PersistentVolumeClaim, error)) *DoguResourceGenerator_CreateDoguPVC_Call
- type DoguResourceGenerator_CreateDoguSecret_Call
- func (_c *DoguResourceGenerator_CreateDoguSecret_Call) Return(_a0 *corev1.Secret, _a1 error) *DoguResourceGenerator_CreateDoguSecret_Call
- func (_c *DoguResourceGenerator_CreateDoguSecret_Call) Run(run func(doguResource *v1.Dogu, stringData map[string]string)) *DoguResourceGenerator_CreateDoguSecret_Call
- func (_c *DoguResourceGenerator_CreateDoguSecret_Call) RunAndReturn(run func(*v1.Dogu, map[string]string) (*corev1.Secret, error)) *DoguResourceGenerator_CreateDoguSecret_Call
- type DoguResourceGenerator_CreateDoguService_Call
- func (_c *DoguResourceGenerator_CreateDoguService_Call) Return(_a0 *corev1.Service, _a1 error) *DoguResourceGenerator_CreateDoguService_Call
- func (_c *DoguResourceGenerator_CreateDoguService_Call) Run(run func(doguResource *v1.Dogu, imageConfig *pkgv1.ConfigFile)) *DoguResourceGenerator_CreateDoguService_Call
- func (_c *DoguResourceGenerator_CreateDoguService_Call) RunAndReturn(run func(*v1.Dogu, *pkgv1.ConfigFile) (*corev1.Service, error)) *DoguResourceGenerator_CreateDoguService_Call
- type DoguResourceGenerator_Expecter
- func (_e *DoguResourceGenerator_Expecter) CreateDoguDeployment(doguResource interface{}, dogu interface{}) *DoguResourceGenerator_CreateDoguDeployment_Call
- func (_e *DoguResourceGenerator_Expecter) CreateDoguPVC(doguResource interface{}) *DoguResourceGenerator_CreateDoguPVC_Call
- func (_e *DoguResourceGenerator_Expecter) CreateDoguSecret(doguResource interface{}, stringData interface{}) *DoguResourceGenerator_CreateDoguSecret_Call
- func (_e *DoguResourceGenerator_Expecter) CreateDoguService(doguResource interface{}, imageConfig interface{}) *DoguResourceGenerator_CreateDoguService_Call
- func (_e *DoguResourceGenerator_Expecter) GetPodTemplate(doguResource interface{}, dogu interface{}) *DoguResourceGenerator_GetPodTemplate_Call
- type DoguResourceGenerator_GetPodTemplate_Call
- func (_c *DoguResourceGenerator_GetPodTemplate_Call) Return(_a0 *corev1.PodTemplateSpec, _a1 error) *DoguResourceGenerator_GetPodTemplate_Call
- func (_c *DoguResourceGenerator_GetPodTemplate_Call) Run(run func(doguResource *v1.Dogu, dogu *core.Dogu)) *DoguResourceGenerator_GetPodTemplate_Call
- func (_c *DoguResourceGenerator_GetPodTemplate_Call) RunAndReturn(run func(*v1.Dogu, *core.Dogu) (*corev1.PodTemplateSpec, error)) *DoguResourceGenerator_GetPodTemplate_Call
- type DoguRestartInterface
- func (_m *DoguRestartInterface) Create(ctx context.Context, dogu *v1.DoguRestart, opts metav1.CreateOptions) (*v1.DoguRestart, error)
- func (_m *DoguRestartInterface) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (_m *DoguRestartInterface) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (_m *DoguRestartInterface) EXPECT() *DoguRestartInterface_Expecter
- func (_m *DoguRestartInterface) Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.DoguRestart, error)
- func (_m *DoguRestartInterface) List(ctx context.Context, opts metav1.ListOptions) (*v1.DoguRestartList, error)
- func (_m *DoguRestartInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (*v1.DoguRestart, error)
- func (_m *DoguRestartInterface) Update(ctx context.Context, dogu *v1.DoguRestart, opts metav1.UpdateOptions) (*v1.DoguRestart, error)
- func (_m *DoguRestartInterface) UpdateSpecWithRetry(ctx context.Context, doguRestart *v1.DoguRestart, ...) (*v1.DoguRestart, error)
- func (_m *DoguRestartInterface) UpdateStatus(ctx context.Context, dogu *v1.DoguRestart, opts metav1.UpdateOptions) (*v1.DoguRestart, error)
- func (_m *DoguRestartInterface) UpdateStatusWithRetry(ctx context.Context, doguRestart *v1.DoguRestart, ...) (*v1.DoguRestart, error)
- func (_m *DoguRestartInterface) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type DoguRestartInterface_Create_Call
- func (_c *DoguRestartInterface_Create_Call) Return(_a0 *v1.DoguRestart, _a1 error) *DoguRestartInterface_Create_Call
- func (_c *DoguRestartInterface_Create_Call) Run(run func(ctx context.Context, dogu *v1.DoguRestart, opts metav1.CreateOptions)) *DoguRestartInterface_Create_Call
- func (_c *DoguRestartInterface_Create_Call) RunAndReturn(...) *DoguRestartInterface_Create_Call
- type DoguRestartInterface_DeleteCollection_Call
- func (_c *DoguRestartInterface_DeleteCollection_Call) Return(_a0 error) *DoguRestartInterface_DeleteCollection_Call
- func (_c *DoguRestartInterface_DeleteCollection_Call) Run(...) *DoguRestartInterface_DeleteCollection_Call
- func (_c *DoguRestartInterface_DeleteCollection_Call) RunAndReturn(run func(context.Context, metav1.DeleteOptions, metav1.ListOptions) error) *DoguRestartInterface_DeleteCollection_Call
- type DoguRestartInterface_Delete_Call
- func (_c *DoguRestartInterface_Delete_Call) Return(_a0 error) *DoguRestartInterface_Delete_Call
- func (_c *DoguRestartInterface_Delete_Call) Run(run func(ctx context.Context, name string, opts metav1.DeleteOptions)) *DoguRestartInterface_Delete_Call
- func (_c *DoguRestartInterface_Delete_Call) RunAndReturn(run func(context.Context, string, metav1.DeleteOptions) error) *DoguRestartInterface_Delete_Call
- type DoguRestartInterface_Expecter
- func (_e *DoguRestartInterface_Expecter) Create(ctx interface{}, dogu interface{}, opts interface{}) *DoguRestartInterface_Create_Call
- func (_e *DoguRestartInterface_Expecter) Delete(ctx interface{}, name interface{}, opts interface{}) *DoguRestartInterface_Delete_Call
- func (_e *DoguRestartInterface_Expecter) DeleteCollection(ctx interface{}, opts interface{}, listOpts interface{}) *DoguRestartInterface_DeleteCollection_Call
- func (_e *DoguRestartInterface_Expecter) Get(ctx interface{}, name interface{}, opts interface{}) *DoguRestartInterface_Get_Call
- func (_e *DoguRestartInterface_Expecter) List(ctx interface{}, opts interface{}) *DoguRestartInterface_List_Call
- func (_e *DoguRestartInterface_Expecter) Patch(ctx interface{}, name interface{}, pt interface{}, data interface{}, ...) *DoguRestartInterface_Patch_Call
- func (_e *DoguRestartInterface_Expecter) Update(ctx interface{}, dogu interface{}, opts interface{}) *DoguRestartInterface_Update_Call
- func (_e *DoguRestartInterface_Expecter) UpdateSpecWithRetry(ctx interface{}, doguRestart interface{}, modifySpecFn interface{}, ...) *DoguRestartInterface_UpdateSpecWithRetry_Call
- func (_e *DoguRestartInterface_Expecter) UpdateStatus(ctx interface{}, dogu interface{}, opts interface{}) *DoguRestartInterface_UpdateStatus_Call
- func (_e *DoguRestartInterface_Expecter) UpdateStatusWithRetry(ctx interface{}, doguRestart interface{}, modifyStatusFn interface{}, ...) *DoguRestartInterface_UpdateStatusWithRetry_Call
- func (_e *DoguRestartInterface_Expecter) Watch(ctx interface{}, opts interface{}) *DoguRestartInterface_Watch_Call
- type DoguRestartInterface_Get_Call
- func (_c *DoguRestartInterface_Get_Call) Return(_a0 *v1.DoguRestart, _a1 error) *DoguRestartInterface_Get_Call
- func (_c *DoguRestartInterface_Get_Call) Run(run func(ctx context.Context, name string, opts metav1.GetOptions)) *DoguRestartInterface_Get_Call
- func (_c *DoguRestartInterface_Get_Call) RunAndReturn(run func(context.Context, string, metav1.GetOptions) (*v1.DoguRestart, error)) *DoguRestartInterface_Get_Call
- type DoguRestartInterface_List_Call
- func (_c *DoguRestartInterface_List_Call) Return(_a0 *v1.DoguRestartList, _a1 error) *DoguRestartInterface_List_Call
- func (_c *DoguRestartInterface_List_Call) Run(run func(ctx context.Context, opts metav1.ListOptions)) *DoguRestartInterface_List_Call
- func (_c *DoguRestartInterface_List_Call) RunAndReturn(run func(context.Context, metav1.ListOptions) (*v1.DoguRestartList, error)) *DoguRestartInterface_List_Call
- type DoguRestartInterface_Patch_Call
- type DoguRestartInterface_UpdateSpecWithRetry_Call
- func (_c *DoguRestartInterface_UpdateSpecWithRetry_Call) Return(result *v1.DoguRestart, err error) *DoguRestartInterface_UpdateSpecWithRetry_Call
- func (_c *DoguRestartInterface_UpdateSpecWithRetry_Call) Run(run func(ctx context.Context, doguRestart *v1.DoguRestart, ...)) *DoguRestartInterface_UpdateSpecWithRetry_Call
- func (_c *DoguRestartInterface_UpdateSpecWithRetry_Call) RunAndReturn(...) *DoguRestartInterface_UpdateSpecWithRetry_Call
- type DoguRestartInterface_UpdateStatusWithRetry_Call
- func (_c *DoguRestartInterface_UpdateStatusWithRetry_Call) Return(result *v1.DoguRestart, err error) *DoguRestartInterface_UpdateStatusWithRetry_Call
- func (_c *DoguRestartInterface_UpdateStatusWithRetry_Call) Run(run func(ctx context.Context, doguRestart *v1.DoguRestart, ...)) *DoguRestartInterface_UpdateStatusWithRetry_Call
- func (_c *DoguRestartInterface_UpdateStatusWithRetry_Call) RunAndReturn(run func(context.Context, *v1.DoguRestart, ...) (*v1.DoguRestart, error)) *DoguRestartInterface_UpdateStatusWithRetry_Call
- type DoguRestartInterface_UpdateStatus_Call
- func (_c *DoguRestartInterface_UpdateStatus_Call) Return(_a0 *v1.DoguRestart, _a1 error) *DoguRestartInterface_UpdateStatus_Call
- func (_c *DoguRestartInterface_UpdateStatus_Call) Run(run func(ctx context.Context, dogu *v1.DoguRestart, opts metav1.UpdateOptions)) *DoguRestartInterface_UpdateStatus_Call
- func (_c *DoguRestartInterface_UpdateStatus_Call) RunAndReturn(...) *DoguRestartInterface_UpdateStatus_Call
- type DoguRestartInterface_Update_Call
- func (_c *DoguRestartInterface_Update_Call) Return(_a0 *v1.DoguRestart, _a1 error) *DoguRestartInterface_Update_Call
- func (_c *DoguRestartInterface_Update_Call) Run(run func(ctx context.Context, dogu *v1.DoguRestart, opts metav1.UpdateOptions)) *DoguRestartInterface_Update_Call
- func (_c *DoguRestartInterface_Update_Call) RunAndReturn(...) *DoguRestartInterface_Update_Call
- type DoguRestartInterface_Watch_Call
- func (_c *DoguRestartInterface_Watch_Call) Return(_a0 watch.Interface, _a1 error) *DoguRestartInterface_Watch_Call
- func (_c *DoguRestartInterface_Watch_Call) Run(run func(ctx context.Context, opts metav1.ListOptions)) *DoguRestartInterface_Watch_Call
- func (_c *DoguRestartInterface_Watch_Call) RunAndReturn(run func(context.Context, metav1.ListOptions) (watch.Interface, error)) *DoguRestartInterface_Watch_Call
- type DoguSecretHandler
- type DoguSecretHandler_Expecter
- type DoguSecretHandler_WriteDoguSecretsToRegistry_Call
- func (_c *DoguSecretHandler_WriteDoguSecretsToRegistry_Call) Return(_a0 error) *DoguSecretHandler_WriteDoguSecretsToRegistry_Call
- func (_c *DoguSecretHandler_WriteDoguSecretsToRegistry_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *DoguSecretHandler_WriteDoguSecretsToRegistry_Call
- func (_c *DoguSecretHandler_WriteDoguSecretsToRegistry_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *DoguSecretHandler_WriteDoguSecretsToRegistry_Call
- type DoguStartStopManager
- func (_m *DoguStartStopManager) CheckStarted(ctx context.Context, doguResource *v1.Dogu) error
- func (_m *DoguStartStopManager) CheckStopped(ctx context.Context, doguResource *v1.Dogu) error
- func (_m *DoguStartStopManager) EXPECT() *DoguStartStopManager_Expecter
- func (_m *DoguStartStopManager) StartDogu(ctx context.Context, doguResource *v1.Dogu) error
- func (_m *DoguStartStopManager) StopDogu(ctx context.Context, doguResource *v1.Dogu) error
- type DoguStartStopManager_CheckStarted_Call
- func (_c *DoguStartStopManager_CheckStarted_Call) Return(_a0 error) *DoguStartStopManager_CheckStarted_Call
- func (_c *DoguStartStopManager_CheckStarted_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *DoguStartStopManager_CheckStarted_Call
- func (_c *DoguStartStopManager_CheckStarted_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *DoguStartStopManager_CheckStarted_Call
- type DoguStartStopManager_CheckStopped_Call
- func (_c *DoguStartStopManager_CheckStopped_Call) Return(_a0 error) *DoguStartStopManager_CheckStopped_Call
- func (_c *DoguStartStopManager_CheckStopped_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *DoguStartStopManager_CheckStopped_Call
- func (_c *DoguStartStopManager_CheckStopped_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *DoguStartStopManager_CheckStopped_Call
- type DoguStartStopManager_Expecter
- func (_e *DoguStartStopManager_Expecter) CheckStarted(ctx interface{}, doguResource interface{}) *DoguStartStopManager_CheckStarted_Call
- func (_e *DoguStartStopManager_Expecter) CheckStopped(ctx interface{}, doguResource interface{}) *DoguStartStopManager_CheckStopped_Call
- func (_e *DoguStartStopManager_Expecter) StartDogu(ctx interface{}, doguResource interface{}) *DoguStartStopManager_StartDogu_Call
- func (_e *DoguStartStopManager_Expecter) StopDogu(ctx interface{}, doguResource interface{}) *DoguStartStopManager_StopDogu_Call
- type DoguStartStopManager_StartDogu_Call
- func (_c *DoguStartStopManager_StartDogu_Call) Return(_a0 error) *DoguStartStopManager_StartDogu_Call
- func (_c *DoguStartStopManager_StartDogu_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *DoguStartStopManager_StartDogu_Call
- func (_c *DoguStartStopManager_StartDogu_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *DoguStartStopManager_StartDogu_Call
- type DoguStartStopManager_StopDogu_Call
- func (_c *DoguStartStopManager_StopDogu_Call) Return(_a0 error) *DoguStartStopManager_StopDogu_Call
- func (_c *DoguStartStopManager_StopDogu_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *DoguStartStopManager_StopDogu_Call
- func (_c *DoguStartStopManager_StopDogu_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *DoguStartStopManager_StopDogu_Call
- type EcosystemInterface
- type EcosystemInterface_DoguRestarts_Call
- func (_c *EcosystemInterface_DoguRestarts_Call) Return(_a0 ecoSystem.DoguRestartInterface) *EcosystemInterface_DoguRestarts_Call
- func (_c *EcosystemInterface_DoguRestarts_Call) Run(run func(namespace string)) *EcosystemInterface_DoguRestarts_Call
- func (_c *EcosystemInterface_DoguRestarts_Call) RunAndReturn(run func(string) ecoSystem.DoguRestartInterface) *EcosystemInterface_DoguRestarts_Call
- type EcosystemInterface_Dogus_Call
- func (_c *EcosystemInterface_Dogus_Call) Return(_a0 ecoSystem.DoguInterface) *EcosystemInterface_Dogus_Call
- func (_c *EcosystemInterface_Dogus_Call) Run(run func(namespace string)) *EcosystemInterface_Dogus_Call
- func (_c *EcosystemInterface_Dogus_Call) RunAndReturn(run func(string) ecoSystem.DoguInterface) *EcosystemInterface_Dogus_Call
- type EcosystemInterface_Expecter
- type ExecPod
- func (_m *ExecPod) Create(ctx context.Context) error
- func (_m *ExecPod) Delete(ctx context.Context) error
- func (_m *ExecPod) EXPECT() *ExecPod_Expecter
- func (_m *ExecPod) Exec(ctx context.Context, cmd cloudogu.ShellCommand) (*bytes.Buffer, error)
- func (_m *ExecPod) ObjectKey() *types.NamespacedName
- func (_m *ExecPod) PodName() string
- type ExecPodFactory
- type ExecPodFactory_Expecter
- type ExecPodFactory_NewExecPod_Call
- func (_c *ExecPodFactory_NewExecPod_Call) Return(_a0 cloudogu.ExecPod, _a1 error) *ExecPodFactory_NewExecPod_Call
- func (_c *ExecPodFactory_NewExecPod_Call) Run(run func(doguResource *v1.Dogu, dogu *core.Dogu)) *ExecPodFactory_NewExecPod_Call
- func (_c *ExecPodFactory_NewExecPod_Call) RunAndReturn(run func(*v1.Dogu, *core.Dogu) (cloudogu.ExecPod, error)) *ExecPodFactory_NewExecPod_Call
- type ExecPod_Create_Call
- type ExecPod_Delete_Call
- type ExecPod_Exec_Call
- func (_c *ExecPod_Exec_Call) Return(out *bytes.Buffer, err error) *ExecPod_Exec_Call
- func (_c *ExecPod_Exec_Call) Run(run func(ctx context.Context, cmd cloudogu.ShellCommand)) *ExecPod_Exec_Call
- func (_c *ExecPod_Exec_Call) RunAndReturn(run func(context.Context, cloudogu.ShellCommand) (*bytes.Buffer, error)) *ExecPod_Exec_Call
- type ExecPod_Expecter
- func (_e *ExecPod_Expecter) Create(ctx interface{}) *ExecPod_Create_Call
- func (_e *ExecPod_Expecter) Delete(ctx interface{}) *ExecPod_Delete_Call
- func (_e *ExecPod_Expecter) Exec(ctx interface{}, cmd interface{}) *ExecPod_Exec_Call
- func (_e *ExecPod_Expecter) ObjectKey() *ExecPod_ObjectKey_Call
- func (_e *ExecPod_Expecter) PodName() *ExecPod_PodName_Call
- type ExecPod_ObjectKey_Call
- type ExecPod_PodName_Call
- type ExposePortAdder
- type ExposePortAdder_CreateOrUpdateCesLoadbalancerService_Call
- func (_c *ExposePortAdder_CreateOrUpdateCesLoadbalancerService_Call) Return(_a0 *corev1.Service, _a1 error) *ExposePortAdder_CreateOrUpdateCesLoadbalancerService_Call
- func (_c *ExposePortAdder_CreateOrUpdateCesLoadbalancerService_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu, dogu *core.Dogu)) *ExposePortAdder_CreateOrUpdateCesLoadbalancerService_Call
- func (_c *ExposePortAdder_CreateOrUpdateCesLoadbalancerService_Call) RunAndReturn(run func(context.Context, *v1.Dogu, *core.Dogu) (*corev1.Service, error)) *ExposePortAdder_CreateOrUpdateCesLoadbalancerService_Call
- type ExposePortAdder_Expecter
- type ExposePortRemover
- type ExposePortRemover_Expecter
- type ExposePortRemover_RemoveExposedPorts_Call
- func (_c *ExposePortRemover_RemoveExposedPorts_Call) Return(_a0 error) *ExposePortRemover_RemoveExposedPorts_Call
- func (_c *ExposePortRemover_RemoveExposedPorts_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu, dogu *core.Dogu)) *ExposePortRemover_RemoveExposedPorts_Call
- func (_c *ExposePortRemover_RemoveExposedPorts_Call) RunAndReturn(run func(context.Context, *v1.Dogu, *core.Dogu) error) *ExposePortRemover_RemoveExposedPorts_Call
- type FileExtractor
- type FileExtractor_Expecter
- type FileExtractor_ExtractK8sResourcesFromContainer_Call
- func (_c *FileExtractor_ExtractK8sResourcesFromContainer_Call) Return(_a0 map[string]string, _a1 error) *FileExtractor_ExtractK8sResourcesFromContainer_Call
- func (_c *FileExtractor_ExtractK8sResourcesFromContainer_Call) Run(run func(ctx context.Context, k8sExecPod cloudogu.ExecPod)) *FileExtractor_ExtractK8sResourcesFromContainer_Call
- func (_c *FileExtractor_ExtractK8sResourcesFromContainer_Call) RunAndReturn(run func(context.Context, cloudogu.ExecPod) (map[string]string, error)) *FileExtractor_ExtractK8sResourcesFromContainer_Call
- type ImageRegistry
- type ImageRegistry_Expecter
- type ImageRegistry_PullImageConfig_Call
- func (_c *ImageRegistry_PullImageConfig_Call) Return(_a0 *v1.ConfigFile, _a1 error) *ImageRegistry_PullImageConfig_Call
- func (_c *ImageRegistry_PullImageConfig_Call) Run(run func(ctx context.Context, image string)) *ImageRegistry_PullImageConfig_Call
- func (_c *ImageRegistry_PullImageConfig_Call) RunAndReturn(run func(context.Context, string) (*v1.ConfigFile, error)) *ImageRegistry_PullImageConfig_Call
- type InstallManager
- type InstallManager_Expecter
- type InstallManager_Install_Call
- func (_c *InstallManager_Install_Call) Return(_a0 error) *InstallManager_Install_Call
- func (_c *InstallManager_Install_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *InstallManager_Install_Call
- func (_c *InstallManager_Install_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *InstallManager_Install_Call
- type LocalDoguFetcher
- type LocalDoguFetcher_Expecter
- type LocalDoguFetcher_FetchInstalled_Call
- func (_c *LocalDoguFetcher_FetchInstalled_Call) Return(installedDogu *core.Dogu, err error) *LocalDoguFetcher_FetchInstalled_Call
- func (_c *LocalDoguFetcher_FetchInstalled_Call) Run(run func(ctx context.Context, doguName string)) *LocalDoguFetcher_FetchInstalled_Call
- func (_c *LocalDoguFetcher_FetchInstalled_Call) RunAndReturn(run func(context.Context, string) (*core.Dogu, error)) *LocalDoguFetcher_FetchInstalled_Call
- type PodTemplateResourceGenerator
- type PodTemplateResourceGenerator_Expecter
- type PodTemplateResourceGenerator_GetPodTemplate_Call
- func (_c *PodTemplateResourceGenerator_GetPodTemplate_Call) Return(_a0 *corev1.PodTemplateSpec, _a1 error) *PodTemplateResourceGenerator_GetPodTemplate_Call
- func (_c *PodTemplateResourceGenerator_GetPodTemplate_Call) Run(run func(doguResource *v1.Dogu, dogu *core.Dogu)) *PodTemplateResourceGenerator_GetPodTemplate_Call
- func (_c *PodTemplateResourceGenerator_GetPodTemplate_Call) RunAndReturn(run func(*v1.Dogu, *core.Dogu) (*corev1.PodTemplateSpec, error)) *PodTemplateResourceGenerator_GetPodTemplate_Call
- type PremisesChecker
- type PremisesChecker_Check_Call
- func (_c *PremisesChecker_Check_Call) Return(_a0 error) *PremisesChecker_Check_Call
- func (_c *PremisesChecker_Check_Call) Run(...) *PremisesChecker_Check_Call
- func (_c *PremisesChecker_Check_Call) RunAndReturn(run func(context.Context, *v1.Dogu, *core.Dogu, *core.Dogu) error) *PremisesChecker_Check_Call
- type PremisesChecker_Expecter
- type RequeueHandler
- type RequeueHandler_Expecter
- type RequeueHandler_Handle_Call
- type ResourceDoguFetcher
- type ResourceDoguFetcher_Expecter
- type ResourceDoguFetcher_FetchWithResource_Call
- func (_c *ResourceDoguFetcher_FetchWithResource_Call) Return(_a0 *core.Dogu, _a1 *v1.DevelopmentDoguMap, _a2 error) *ResourceDoguFetcher_FetchWithResource_Call
- func (_c *ResourceDoguFetcher_FetchWithResource_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *ResourceDoguFetcher_FetchWithResource_Call
- func (_c *ResourceDoguFetcher_FetchWithResource_Call) RunAndReturn(...) *ResourceDoguFetcher_FetchWithResource_Call
- type ResourceRequirementsGenerator
- type ResourceRequirementsGenerator_Expecter
- type ResourceRequirementsGenerator_Generate_Call
- func (_c *ResourceRequirementsGenerator_Generate_Call) Return(_a0 v1.ResourceRequirements, _a1 error) *ResourceRequirementsGenerator_Generate_Call
- func (_c *ResourceRequirementsGenerator_Generate_Call) Run(run func(dogu *core.Dogu)) *ResourceRequirementsGenerator_Generate_Call
- func (_c *ResourceRequirementsGenerator_Generate_Call) RunAndReturn(run func(*core.Dogu) (v1.ResourceRequirements, error)) *ResourceRequirementsGenerator_Generate_Call
- type ResourceUpserter
- func (_m *ResourceUpserter) EXPECT() *ResourceUpserter_Expecter
- func (_m *ResourceUpserter) UpsertDoguDeployment(ctx context.Context, doguResource *v1.Dogu, dogu *core.Dogu, ...) (*appsv1.Deployment, error)
- func (_m *ResourceUpserter) UpsertDoguExposedService(ctx context.Context, doguResource *v1.Dogu, dogu *core.Dogu) (*corev1.Service, error)
- func (_m *ResourceUpserter) UpsertDoguPVCs(ctx context.Context, doguResource *v1.Dogu, dogu *core.Dogu) (*corev1.PersistentVolumeClaim, error)
- func (_m *ResourceUpserter) UpsertDoguService(ctx context.Context, doguResource *v1.Dogu, image *pkgv1.ConfigFile) (*corev1.Service, error)
- type ResourceUpserter_Expecter
- func (_e *ResourceUpserter_Expecter) UpsertDoguDeployment(ctx interface{}, doguResource interface{}, dogu interface{}, ...) *ResourceUpserter_UpsertDoguDeployment_Call
- func (_e *ResourceUpserter_Expecter) UpsertDoguExposedService(ctx interface{}, doguResource interface{}, dogu interface{}) *ResourceUpserter_UpsertDoguExposedService_Call
- func (_e *ResourceUpserter_Expecter) UpsertDoguPVCs(ctx interface{}, doguResource interface{}, dogu interface{}) *ResourceUpserter_UpsertDoguPVCs_Call
- func (_e *ResourceUpserter_Expecter) UpsertDoguService(ctx interface{}, doguResource interface{}, image interface{}) *ResourceUpserter_UpsertDoguService_Call
- type ResourceUpserter_UpsertDoguDeployment_Call
- func (_c *ResourceUpserter_UpsertDoguDeployment_Call) Return(_a0 *appsv1.Deployment, _a1 error) *ResourceUpserter_UpsertDoguDeployment_Call
- func (_c *ResourceUpserter_UpsertDoguDeployment_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu, dogu *core.Dogu, ...)) *ResourceUpserter_UpsertDoguDeployment_Call
- func (_c *ResourceUpserter_UpsertDoguDeployment_Call) RunAndReturn(...) *ResourceUpserter_UpsertDoguDeployment_Call
- type ResourceUpserter_UpsertDoguExposedService_Call
- func (_c *ResourceUpserter_UpsertDoguExposedService_Call) Return(_a0 *corev1.Service, _a1 error) *ResourceUpserter_UpsertDoguExposedService_Call
- func (_c *ResourceUpserter_UpsertDoguExposedService_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu, dogu *core.Dogu)) *ResourceUpserter_UpsertDoguExposedService_Call
- func (_c *ResourceUpserter_UpsertDoguExposedService_Call) RunAndReturn(run func(context.Context, *v1.Dogu, *core.Dogu) (*corev1.Service, error)) *ResourceUpserter_UpsertDoguExposedService_Call
- type ResourceUpserter_UpsertDoguPVCs_Call
- func (_c *ResourceUpserter_UpsertDoguPVCs_Call) Return(_a0 *corev1.PersistentVolumeClaim, _a1 error) *ResourceUpserter_UpsertDoguPVCs_Call
- func (_c *ResourceUpserter_UpsertDoguPVCs_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu, dogu *core.Dogu)) *ResourceUpserter_UpsertDoguPVCs_Call
- func (_c *ResourceUpserter_UpsertDoguPVCs_Call) RunAndReturn(...) *ResourceUpserter_UpsertDoguPVCs_Call
- type ResourceUpserter_UpsertDoguService_Call
- func (_c *ResourceUpserter_UpsertDoguService_Call) Return(_a0 *corev1.Service, _a1 error) *ResourceUpserter_UpsertDoguService_Call
- func (_c *ResourceUpserter_UpsertDoguService_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu, image *pkgv1.ConfigFile)) *ResourceUpserter_UpsertDoguService_Call
- func (_c *ResourceUpserter_UpsertDoguService_Call) RunAndReturn(...) *ResourceUpserter_UpsertDoguService_Call
- type SecretResourceGenerator
- type SecretResourceGenerator_CreateDoguSecret_Call
- func (_c *SecretResourceGenerator_CreateDoguSecret_Call) Return(_a0 *corev1.Secret, _a1 error) *SecretResourceGenerator_CreateDoguSecret_Call
- func (_c *SecretResourceGenerator_CreateDoguSecret_Call) Run(run func(doguResource *v1.Dogu, stringData map[string]string)) *SecretResourceGenerator_CreateDoguSecret_Call
- func (_c *SecretResourceGenerator_CreateDoguSecret_Call) RunAndReturn(run func(*v1.Dogu, map[string]string) (*corev1.Secret, error)) *SecretResourceGenerator_CreateDoguSecret_Call
- type SecretResourceGenerator_Expecter
- type ServiceAccountCreator
- type ServiceAccountCreator_CreateAll_Call
- func (_c *ServiceAccountCreator_CreateAll_Call) Return(_a0 error) *ServiceAccountCreator_CreateAll_Call
- func (_c *ServiceAccountCreator_CreateAll_Call) Run(run func(ctx context.Context, dogu *core.Dogu)) *ServiceAccountCreator_CreateAll_Call
- func (_c *ServiceAccountCreator_CreateAll_Call) RunAndReturn(run func(context.Context, *core.Dogu) error) *ServiceAccountCreator_CreateAll_Call
- type ServiceAccountCreator_Expecter
- type ServiceAccountRemover
- type ServiceAccountRemover_Expecter
- type ServiceAccountRemover_RemoveAll_Call
- func (_c *ServiceAccountRemover_RemoveAll_Call) Return(_a0 error) *ServiceAccountRemover_RemoveAll_Call
- func (_c *ServiceAccountRemover_RemoveAll_Call) Run(run func(ctx context.Context, dogu *core.Dogu)) *ServiceAccountRemover_RemoveAll_Call
- func (_c *ServiceAccountRemover_RemoveAll_Call) RunAndReturn(run func(context.Context, *core.Dogu) error) *ServiceAccountRemover_RemoveAll_Call
- type ShellCommand
- type ShellCommand_CommandWithArgs_Call
- func (_c *ShellCommand_CommandWithArgs_Call) Return(_a0 []string) *ShellCommand_CommandWithArgs_Call
- func (_c *ShellCommand_CommandWithArgs_Call) Run(run func()) *ShellCommand_CommandWithArgs_Call
- func (_c *ShellCommand_CommandWithArgs_Call) RunAndReturn(run func() []string) *ShellCommand_CommandWithArgs_Call
- type ShellCommand_Expecter
- type ShellCommand_Stdin_Call
- type StartDoguManager
- type StartDoguManager_CheckStarted_Call
- func (_c *StartDoguManager_CheckStarted_Call) Return(_a0 error) *StartDoguManager_CheckStarted_Call
- func (_c *StartDoguManager_CheckStarted_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *StartDoguManager_CheckStarted_Call
- func (_c *StartDoguManager_CheckStarted_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *StartDoguManager_CheckStarted_Call
- type StartDoguManager_Expecter
- type StartDoguManager_StartDogu_Call
- func (_c *StartDoguManager_StartDogu_Call) Return(_a0 error) *StartDoguManager_StartDogu_Call
- func (_c *StartDoguManager_StartDogu_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *StartDoguManager_StartDogu_Call
- func (_c *StartDoguManager_StartDogu_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *StartDoguManager_StartDogu_Call
- type StopDoguManager
- type StopDoguManager_CheckStopped_Call
- func (_c *StopDoguManager_CheckStopped_Call) Return(_a0 error) *StopDoguManager_CheckStopped_Call
- func (_c *StopDoguManager_CheckStopped_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *StopDoguManager_CheckStopped_Call
- func (_c *StopDoguManager_CheckStopped_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *StopDoguManager_CheckStopped_Call
- type StopDoguManager_Expecter
- type StopDoguManager_StopDogu_Call
- func (_c *StopDoguManager_StopDogu_Call) Return(_a0 error) *StopDoguManager_StopDogu_Call
- func (_c *StopDoguManager_StopDogu_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *StopDoguManager_StopDogu_Call
- func (_c *StopDoguManager_StopDogu_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *StopDoguManager_StopDogu_Call
- type SuffixGenerator
- type SuffixGenerator_Expecter
- type SuffixGenerator_String_Call
- type SupportManager
- type SupportManager_Expecter
- type SupportManager_HandleSupportMode_Call
- func (_c *SupportManager_HandleSupportMode_Call) Return(_a0 bool, _a1 error) *SupportManager_HandleSupportMode_Call
- func (_c *SupportManager_HandleSupportMode_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *SupportManager_HandleSupportMode_Call
- func (_c *SupportManager_HandleSupportMode_Call) RunAndReturn(run func(context.Context, *v1.Dogu) (bool, error)) *SupportManager_HandleSupportMode_Call
- type TcpUpdServiceExposer
- func (_m *TcpUpdServiceExposer) DeleteDoguServices(ctx context.Context, namespace string, dogu *core.Dogu) error
- func (_m *TcpUpdServiceExposer) EXPECT() *TcpUpdServiceExposer_Expecter
- func (_m *TcpUpdServiceExposer) ExposeOrUpdateDoguServices(ctx context.Context, namespace string, dogu *core.Dogu) error
- type TcpUpdServiceExposer_DeleteDoguServices_Call
- func (_c *TcpUpdServiceExposer_DeleteDoguServices_Call) Return(_a0 error) *TcpUpdServiceExposer_DeleteDoguServices_Call
- func (_c *TcpUpdServiceExposer_DeleteDoguServices_Call) Run(run func(ctx context.Context, namespace string, dogu *core.Dogu)) *TcpUpdServiceExposer_DeleteDoguServices_Call
- func (_c *TcpUpdServiceExposer_DeleteDoguServices_Call) RunAndReturn(run func(context.Context, string, *core.Dogu) error) *TcpUpdServiceExposer_DeleteDoguServices_Call
- type TcpUpdServiceExposer_Expecter
- func (_e *TcpUpdServiceExposer_Expecter) DeleteDoguServices(ctx interface{}, namespace interface{}, dogu interface{}) *TcpUpdServiceExposer_DeleteDoguServices_Call
- func (_e *TcpUpdServiceExposer_Expecter) ExposeOrUpdateDoguServices(ctx interface{}, namespace interface{}, dogu interface{}) *TcpUpdServiceExposer_ExposeOrUpdateDoguServices_Call
- type TcpUpdServiceExposer_ExposeOrUpdateDoguServices_Call
- func (_c *TcpUpdServiceExposer_ExposeOrUpdateDoguServices_Call) Return(_a0 error) *TcpUpdServiceExposer_ExposeOrUpdateDoguServices_Call
- func (_c *TcpUpdServiceExposer_ExposeOrUpdateDoguServices_Call) Run(run func(ctx context.Context, namespace string, dogu *core.Dogu)) *TcpUpdServiceExposer_ExposeOrUpdateDoguServices_Call
- func (_c *TcpUpdServiceExposer_ExposeOrUpdateDoguServices_Call) RunAndReturn(run func(context.Context, string, *core.Dogu) error) *TcpUpdServiceExposer_ExposeOrUpdateDoguServices_Call
- type UpgradeExecutor
- type UpgradeExecutor_Expecter
- type UpgradeExecutor_Upgrade_Call
- func (_c *UpgradeExecutor_Upgrade_Call) Return(_a0 error) *UpgradeExecutor_Upgrade_Call
- func (_c *UpgradeExecutor_Upgrade_Call) Run(...) *UpgradeExecutor_Upgrade_Call
- func (_c *UpgradeExecutor_Upgrade_Call) RunAndReturn(run func(context.Context, *v1.Dogu, *core.Dogu, *core.Dogu) error) *UpgradeExecutor_Upgrade_Call
- type UpgradeManager
- type UpgradeManager_Expecter
- type UpgradeManager_Upgrade_Call
- func (_c *UpgradeManager_Upgrade_Call) Return(_a0 error) *UpgradeManager_Upgrade_Call
- func (_c *UpgradeManager_Upgrade_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *UpgradeManager_Upgrade_Call
- func (_c *UpgradeManager_Upgrade_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *UpgradeManager_Upgrade_Call
- type VolumeManager
- type VolumeManager_Expecter
- type VolumeManager_SetDoguDataVolumeSize_Call
- func (_c *VolumeManager_SetDoguDataVolumeSize_Call) Return(_a0 error) *VolumeManager_SetDoguDataVolumeSize_Call
- func (_c *VolumeManager_SetDoguDataVolumeSize_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *VolumeManager_SetDoguDataVolumeSize_Call
- func (_c *VolumeManager_SetDoguDataVolumeSize_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *VolumeManager_SetDoguDataVolumeSize_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdditionalIngressAnnotationsManager ¶ added in v0.29.0
AdditionalIngressAnnotationsManager is an autogenerated mock type for the AdditionalIngressAnnotationsManager type
func NewAdditionalIngressAnnotationsManager ¶ added in v0.29.0
func NewAdditionalIngressAnnotationsManager(t mockConstructorTestingTNewAdditionalIngressAnnotationsManager) *AdditionalIngressAnnotationsManager
NewAdditionalIngressAnnotationsManager creates a new instance of AdditionalIngressAnnotationsManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*AdditionalIngressAnnotationsManager) EXPECT ¶ added in v0.29.0
func (_m *AdditionalIngressAnnotationsManager) EXPECT() *AdditionalIngressAnnotationsManager_Expecter
func (*AdditionalIngressAnnotationsManager) SetDoguAdditionalIngressAnnotations ¶ added in v0.29.0
func (_m *AdditionalIngressAnnotationsManager) SetDoguAdditionalIngressAnnotations(ctx context.Context, doguResource *v1.Dogu) error
SetDoguAdditionalIngressAnnotations provides a mock function with given fields: ctx, doguResource
type AdditionalIngressAnnotationsManager_Expecter ¶ added in v0.29.0
type AdditionalIngressAnnotationsManager_Expecter struct {
// contains filtered or unexported fields
}
func (*AdditionalIngressAnnotationsManager_Expecter) SetDoguAdditionalIngressAnnotations ¶ added in v0.29.0
func (_e *AdditionalIngressAnnotationsManager_Expecter) SetDoguAdditionalIngressAnnotations(ctx interface{}, doguResource interface{}) *AdditionalIngressAnnotationsManager_SetDoguAdditionalIngressAnnotations_Call
SetDoguAdditionalIngressAnnotations is a helper method to define mock.On call
- ctx context.Context
- doguResource *v1.Dogu
type AdditionalIngressAnnotationsManager_SetDoguAdditionalIngressAnnotations_Call ¶ added in v0.29.0
type AdditionalIngressAnnotationsManager_SetDoguAdditionalIngressAnnotations_Call struct {
*mock.Call
}
AdditionalIngressAnnotationsManager_SetDoguAdditionalIngressAnnotations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetDoguAdditionalIngressAnnotations'
func (*AdditionalIngressAnnotationsManager_SetDoguAdditionalIngressAnnotations_Call) Return ¶ added in v0.29.0
func (*AdditionalIngressAnnotationsManager_SetDoguAdditionalIngressAnnotations_Call) Run ¶ added in v0.29.0
func (_c *AdditionalIngressAnnotationsManager_SetDoguAdditionalIngressAnnotations_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *AdditionalIngressAnnotationsManager_SetDoguAdditionalIngressAnnotations_Call
func (*AdditionalIngressAnnotationsManager_SetDoguAdditionalIngressAnnotations_Call) RunAndReturn ¶ added in v0.29.0
type Applier ¶
Applier is an autogenerated mock type for the Applier type
func NewApplier ¶
func NewApplier(t mockConstructorTestingTNewApplier) *Applier
NewApplier creates a new instance of Applier. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Applier) ApplyWithOwner ¶
func (_m *Applier) ApplyWithOwner(doc apply.YamlDocument, namespace string, resource v1.Object) error
ApplyWithOwner provides a mock function with given fields: doc, namespace, resource
func (*Applier) EXPECT ¶
func (_m *Applier) EXPECT() *Applier_Expecter
type Applier_ApplyWithOwner_Call ¶
Applier_ApplyWithOwner_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ApplyWithOwner'
func (*Applier_ApplyWithOwner_Call) Return ¶
func (_c *Applier_ApplyWithOwner_Call) Return(_a0 error) *Applier_ApplyWithOwner_Call
func (*Applier_ApplyWithOwner_Call) Run ¶
func (_c *Applier_ApplyWithOwner_Call) Run(run func(doc apply.YamlDocument, namespace string, resource v1.Object)) *Applier_ApplyWithOwner_Call
func (*Applier_ApplyWithOwner_Call) RunAndReturn ¶
func (_c *Applier_ApplyWithOwner_Call) RunAndReturn(run func(apply.YamlDocument, string, v1.Object) error) *Applier_ApplyWithOwner_Call
type Applier_Expecter ¶
type Applier_Expecter struct {
// contains filtered or unexported fields
}
func (*Applier_Expecter) ApplyWithOwner ¶
func (_e *Applier_Expecter) ApplyWithOwner(doc interface{}, namespace interface{}, resource interface{}) *Applier_ApplyWithOwner_Call
ApplyWithOwner is a helper method to define mock.On call
- doc apply.YamlDocument
- namespace string
- resource v1.Object
type AsyncExecutor ¶
AsyncExecutor is an autogenerated mock type for the AsyncExecutor type
func NewAsyncExecutor ¶
func NewAsyncExecutor(t mockConstructorTestingTNewAsyncExecutor) *AsyncExecutor
NewAsyncExecutor creates a new instance of AsyncExecutor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*AsyncExecutor) AddStep ¶
func (_m *AsyncExecutor) AddStep(step cloudogu.AsyncStep)
AddStep provides a mock function with given fields: step
func (*AsyncExecutor) EXPECT ¶
func (_m *AsyncExecutor) EXPECT() *AsyncExecutor_Expecter
type AsyncExecutor_AddStep_Call ¶
AsyncExecutor_AddStep_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddStep'
func (*AsyncExecutor_AddStep_Call) Return ¶
func (_c *AsyncExecutor_AddStep_Call) Return() *AsyncExecutor_AddStep_Call
func (*AsyncExecutor_AddStep_Call) Run ¶
func (_c *AsyncExecutor_AddStep_Call) Run(run func(step cloudogu.AsyncStep)) *AsyncExecutor_AddStep_Call
func (*AsyncExecutor_AddStep_Call) RunAndReturn ¶
func (_c *AsyncExecutor_AddStep_Call) RunAndReturn(run func(cloudogu.AsyncStep)) *AsyncExecutor_AddStep_Call
type AsyncExecutor_Execute_Call ¶
AsyncExecutor_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*AsyncExecutor_Execute_Call) Return ¶
func (_c *AsyncExecutor_Execute_Call) Return(_a0 error) *AsyncExecutor_Execute_Call
func (*AsyncExecutor_Execute_Call) Run ¶
func (_c *AsyncExecutor_Execute_Call) Run(run func(ctx context.Context, dogu *v1.Dogu, currentState string)) *AsyncExecutor_Execute_Call
func (*AsyncExecutor_Execute_Call) RunAndReturn ¶
func (_c *AsyncExecutor_Execute_Call) RunAndReturn(run func(context.Context, *v1.Dogu, string) error) *AsyncExecutor_Execute_Call
type AsyncExecutor_Expecter ¶
type AsyncExecutor_Expecter struct {
// contains filtered or unexported fields
}
func (*AsyncExecutor_Expecter) AddStep ¶
func (_e *AsyncExecutor_Expecter) AddStep(step interface{}) *AsyncExecutor_AddStep_Call
AddStep is a helper method to define mock.On call
- step cloudogu.AsyncStep
func (*AsyncExecutor_Expecter) Execute ¶
func (_e *AsyncExecutor_Expecter) Execute(ctx interface{}, dogu interface{}, currentState interface{}) *AsyncExecutor_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- dogu *v1.Dogu
- currentState string
type AsyncStep ¶
AsyncStep is an autogenerated mock type for the AsyncStep type
func NewAsyncStep ¶
func NewAsyncStep(t mockConstructorTestingTNewAsyncStep) *AsyncStep
NewAsyncStep creates a new instance of AsyncStep. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*AsyncStep) EXPECT ¶
func (_m *AsyncStep) EXPECT() *AsyncStep_Expecter
func (*AsyncStep) GetStartCondition ¶
GetStartCondition provides a mock function with given fields:
type AsyncStep_Execute_Call ¶
AsyncStep_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*AsyncStep_Execute_Call) Return ¶
func (_c *AsyncStep_Execute_Call) Return(_a0 string, _a1 error) *AsyncStep_Execute_Call
func (*AsyncStep_Execute_Call) Run ¶
func (_c *AsyncStep_Execute_Call) Run(run func(ctx context.Context, dogu *v1.Dogu)) *AsyncStep_Execute_Call
func (*AsyncStep_Execute_Call) RunAndReturn ¶
func (_c *AsyncStep_Execute_Call) RunAndReturn(run func(context.Context, *v1.Dogu) (string, error)) *AsyncStep_Execute_Call
type AsyncStep_Expecter ¶
type AsyncStep_Expecter struct {
// contains filtered or unexported fields
}
func (*AsyncStep_Expecter) Execute ¶
func (_e *AsyncStep_Expecter) Execute(ctx interface{}, dogu interface{}) *AsyncStep_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- dogu *v1.Dogu
func (*AsyncStep_Expecter) GetStartCondition ¶
func (_e *AsyncStep_Expecter) GetStartCondition() *AsyncStep_GetStartCondition_Call
GetStartCondition is a helper method to define mock.On call
type AsyncStep_GetStartCondition_Call ¶
AsyncStep_GetStartCondition_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStartCondition'
func (*AsyncStep_GetStartCondition_Call) Return ¶
func (_c *AsyncStep_GetStartCondition_Call) Return(_a0 string) *AsyncStep_GetStartCondition_Call
func (*AsyncStep_GetStartCondition_Call) Run ¶
func (_c *AsyncStep_GetStartCondition_Call) Run(run func()) *AsyncStep_GetStartCondition_Call
func (*AsyncStep_GetStartCondition_Call) RunAndReturn ¶
func (_c *AsyncStep_GetStartCondition_Call) RunAndReturn(run func() string) *AsyncStep_GetStartCondition_Call
type CollectApplier ¶
CollectApplier is an autogenerated mock type for the CollectApplier type
func NewCollectApplier ¶
func NewCollectApplier(t mockConstructorTestingTNewCollectApplier) *CollectApplier
NewCollectApplier creates a new instance of CollectApplier. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*CollectApplier) CollectApply ¶
func (_m *CollectApplier) CollectApply(ctx context.Context, customK8sResources map[string]string, doguResource *v1.Dogu) error
CollectApply provides a mock function with given fields: ctx, customK8sResources, doguResource
func (*CollectApplier) EXPECT ¶
func (_m *CollectApplier) EXPECT() *CollectApplier_Expecter
type CollectApplier_CollectApply_Call ¶
CollectApplier_CollectApply_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CollectApply'
func (*CollectApplier_CollectApply_Call) Return ¶
func (_c *CollectApplier_CollectApply_Call) Return(_a0 error) *CollectApplier_CollectApply_Call
func (*CollectApplier_CollectApply_Call) Run ¶
func (_c *CollectApplier_CollectApply_Call) Run(run func(ctx context.Context, customK8sResources map[string]string, doguResource *v1.Dogu)) *CollectApplier_CollectApply_Call
func (*CollectApplier_CollectApply_Call) RunAndReturn ¶
func (_c *CollectApplier_CollectApply_Call) RunAndReturn(run func(context.Context, map[string]string, *v1.Dogu) error) *CollectApplier_CollectApply_Call
type CollectApplier_Expecter ¶
type CollectApplier_Expecter struct {
// contains filtered or unexported fields
}
func (*CollectApplier_Expecter) CollectApply ¶
func (_e *CollectApplier_Expecter) CollectApply(ctx interface{}, customK8sResources interface{}, doguResource interface{}) *CollectApplier_CollectApply_Call
CollectApply is a helper method to define mock.On call
- ctx context.Context
- customK8sResources map[string]string
- doguResource *v1.Dogu
type CommandExecutor ¶
CommandExecutor is an autogenerated mock type for the CommandExecutor type
func NewCommandExecutor ¶
func NewCommandExecutor(t mockConstructorTestingTNewCommandExecutor) *CommandExecutor
NewCommandExecutor creates a new instance of CommandExecutor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*CommandExecutor) EXPECT ¶
func (_m *CommandExecutor) EXPECT() *CommandExecutor_Expecter
func (*CommandExecutor) ExecCommandForDogu ¶
func (_m *CommandExecutor) ExecCommandForDogu(ctx context.Context, resource *v1.Dogu, command cloudogu.ShellCommand, expected cloudogu.PodStatusForExec) (*bytes.Buffer, error)
ExecCommandForDogu provides a mock function with given fields: ctx, resource, command, expected
func (*CommandExecutor) ExecCommandForPod ¶
func (_m *CommandExecutor) ExecCommandForPod(ctx context.Context, pod *corev1.Pod, command cloudogu.ShellCommand, expected cloudogu.PodStatusForExec) (*bytes.Buffer, error)
ExecCommandForPod provides a mock function with given fields: ctx, pod, command, expected
type CommandExecutor_ExecCommandForDogu_Call ¶
CommandExecutor_ExecCommandForDogu_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecCommandForDogu'
func (*CommandExecutor_ExecCommandForDogu_Call) Return ¶
func (_c *CommandExecutor_ExecCommandForDogu_Call) Return(_a0 *bytes.Buffer, _a1 error) *CommandExecutor_ExecCommandForDogu_Call
func (*CommandExecutor_ExecCommandForDogu_Call) Run ¶
func (_c *CommandExecutor_ExecCommandForDogu_Call) Run(run func(ctx context.Context, resource *v1.Dogu, command cloudogu.ShellCommand, expected cloudogu.PodStatusForExec)) *CommandExecutor_ExecCommandForDogu_Call
func (*CommandExecutor_ExecCommandForDogu_Call) RunAndReturn ¶
func (_c *CommandExecutor_ExecCommandForDogu_Call) RunAndReturn(run func(context.Context, *v1.Dogu, cloudogu.ShellCommand, cloudogu.PodStatusForExec) (*bytes.Buffer, error)) *CommandExecutor_ExecCommandForDogu_Call
type CommandExecutor_ExecCommandForPod_Call ¶
CommandExecutor_ExecCommandForPod_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecCommandForPod'
func (*CommandExecutor_ExecCommandForPod_Call) Return ¶
func (_c *CommandExecutor_ExecCommandForPod_Call) Return(_a0 *bytes.Buffer, _a1 error) *CommandExecutor_ExecCommandForPod_Call
func (*CommandExecutor_ExecCommandForPod_Call) Run ¶
func (_c *CommandExecutor_ExecCommandForPod_Call) Run(run func(ctx context.Context, pod *corev1.Pod, command cloudogu.ShellCommand, expected cloudogu.PodStatusForExec)) *CommandExecutor_ExecCommandForPod_Call
func (*CommandExecutor_ExecCommandForPod_Call) RunAndReturn ¶
func (_c *CommandExecutor_ExecCommandForPod_Call) RunAndReturn(run func(context.Context, *corev1.Pod, cloudogu.ShellCommand, cloudogu.PodStatusForExec) (*bytes.Buffer, error)) *CommandExecutor_ExecCommandForPod_Call
type CommandExecutor_Expecter ¶
type CommandExecutor_Expecter struct {
// contains filtered or unexported fields
}
func (*CommandExecutor_Expecter) ExecCommandForDogu ¶
func (_e *CommandExecutor_Expecter) ExecCommandForDogu(ctx interface{}, resource interface{}, command interface{}, expected interface{}) *CommandExecutor_ExecCommandForDogu_Call
ExecCommandForDogu is a helper method to define mock.On call
- ctx context.Context
- resource *v1.Dogu
- command cloudogu.ShellCommand
- expected cloudogu.PodStatusForExec
func (*CommandExecutor_Expecter) ExecCommandForPod ¶
func (_e *CommandExecutor_Expecter) ExecCommandForPod(ctx interface{}, pod interface{}, command interface{}, expected interface{}) *CommandExecutor_ExecCommandForPod_Call
ExecCommandForPod is a helper method to define mock.On call
- ctx context.Context
- pod *corev1.Pod
- command cloudogu.ShellCommand
- expected cloudogu.PodStatusForExec
type DeleteManager ¶
DeleteManager is an autogenerated mock type for the DeleteManager type
func NewDeleteManager ¶
func NewDeleteManager(t mockConstructorTestingTNewDeleteManager) *DeleteManager
NewDeleteManager creates a new instance of DeleteManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*DeleteManager) EXPECT ¶
func (_m *DeleteManager) EXPECT() *DeleteManager_Expecter
type DeleteManager_Delete_Call ¶
DeleteManager_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*DeleteManager_Delete_Call) Return ¶
func (_c *DeleteManager_Delete_Call) Return(_a0 error) *DeleteManager_Delete_Call
func (*DeleteManager_Delete_Call) Run ¶
func (_c *DeleteManager_Delete_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *DeleteManager_Delete_Call
func (*DeleteManager_Delete_Call) RunAndReturn ¶
func (_c *DeleteManager_Delete_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *DeleteManager_Delete_Call
type DeleteManager_Expecter ¶
type DeleteManager_Expecter struct {
// contains filtered or unexported fields
}
func (*DeleteManager_Expecter) Delete ¶
func (_e *DeleteManager_Expecter) Delete(ctx interface{}, doguResource interface{}) *DeleteManager_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- doguResource *v1.Dogu
type DependencyValidator ¶
DependencyValidator is an autogenerated mock type for the DependencyValidator type
func NewDependencyValidator ¶
func NewDependencyValidator(t mockConstructorTestingTNewDependencyValidator) *DependencyValidator
NewDependencyValidator creates a new instance of DependencyValidator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*DependencyValidator) EXPECT ¶
func (_m *DependencyValidator) EXPECT() *DependencyValidator_Expecter
func (*DependencyValidator) ValidateDependencies ¶
ValidateDependencies provides a mock function with given fields: ctx, dogu
type DependencyValidator_Expecter ¶
type DependencyValidator_Expecter struct {
// contains filtered or unexported fields
}
func (*DependencyValidator_Expecter) ValidateDependencies ¶
func (_e *DependencyValidator_Expecter) ValidateDependencies(ctx interface{}, dogu interface{}) *DependencyValidator_ValidateDependencies_Call
ValidateDependencies is a helper method to define mock.On call
- ctx context.Context
- dogu *core.Dogu
type DependencyValidator_ValidateDependencies_Call ¶
DependencyValidator_ValidateDependencies_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ValidateDependencies'
func (*DependencyValidator_ValidateDependencies_Call) Return ¶
func (_c *DependencyValidator_ValidateDependencies_Call) Return(_a0 error) *DependencyValidator_ValidateDependencies_Call
func (*DependencyValidator_ValidateDependencies_Call) Run ¶
func (_c *DependencyValidator_ValidateDependencies_Call) Run(run func(ctx context.Context, dogu *core.Dogu)) *DependencyValidator_ValidateDependencies_Call
func (*DependencyValidator_ValidateDependencies_Call) RunAndReturn ¶
func (_c *DependencyValidator_ValidateDependencies_Call) RunAndReturn(run func(context.Context, *core.Dogu) error) *DependencyValidator_ValidateDependencies_Call
type DeploymentAvailabilityChecker ¶ added in v0.40.0
DeploymentAvailabilityChecker is an autogenerated mock type for the DeploymentAvailabilityChecker type
func NewDeploymentAvailabilityChecker ¶ added in v0.40.0
func NewDeploymentAvailabilityChecker(t mockConstructorTestingTNewDeploymentAvailabilityChecker) *DeploymentAvailabilityChecker
NewDeploymentAvailabilityChecker creates a new instance of DeploymentAvailabilityChecker. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*DeploymentAvailabilityChecker) EXPECT ¶ added in v0.40.0
func (_m *DeploymentAvailabilityChecker) EXPECT() *DeploymentAvailabilityChecker_Expecter
func (*DeploymentAvailabilityChecker) IsAvailable ¶ added in v0.40.0
func (_m *DeploymentAvailabilityChecker) IsAvailable(deployment *v1.Deployment) bool
IsAvailable provides a mock function with given fields: deployment
type DeploymentAvailabilityChecker_Expecter ¶ added in v0.40.0
type DeploymentAvailabilityChecker_Expecter struct {
// contains filtered or unexported fields
}
func (*DeploymentAvailabilityChecker_Expecter) IsAvailable ¶ added in v0.40.0
func (_e *DeploymentAvailabilityChecker_Expecter) IsAvailable(deployment interface{}) *DeploymentAvailabilityChecker_IsAvailable_Call
IsAvailable is a helper method to define mock.On call
- deployment *v1.Deployment
type DeploymentAvailabilityChecker_IsAvailable_Call ¶ added in v0.40.0
DeploymentAvailabilityChecker_IsAvailable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsAvailable'
func (*DeploymentAvailabilityChecker_IsAvailable_Call) Return ¶ added in v0.40.0
func (_c *DeploymentAvailabilityChecker_IsAvailable_Call) Return(_a0 bool) *DeploymentAvailabilityChecker_IsAvailable_Call
func (*DeploymentAvailabilityChecker_IsAvailable_Call) Run ¶ added in v0.40.0
func (_c *DeploymentAvailabilityChecker_IsAvailable_Call) Run(run func(deployment *v1.Deployment)) *DeploymentAvailabilityChecker_IsAvailable_Call
func (*DeploymentAvailabilityChecker_IsAvailable_Call) RunAndReturn ¶ added in v0.40.0
func (_c *DeploymentAvailabilityChecker_IsAvailable_Call) RunAndReturn(run func(*v1.Deployment) bool) *DeploymentAvailabilityChecker_IsAvailable_Call
type DoguHealthChecker ¶
DoguHealthChecker is an autogenerated mock type for the DoguHealthChecker type
func NewDoguHealthChecker ¶
func NewDoguHealthChecker(t mockConstructorTestingTNewDoguHealthChecker) *DoguHealthChecker
NewDoguHealthChecker creates a new instance of DoguHealthChecker. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*DoguHealthChecker) CheckByName ¶ added in v0.40.0
func (_m *DoguHealthChecker) CheckByName(ctx context.Context, doguName types.NamespacedName) error
CheckByName provides a mock function with given fields: ctx, doguName
func (*DoguHealthChecker) EXPECT ¶
func (_m *DoguHealthChecker) EXPECT() *DoguHealthChecker_Expecter
type DoguHealthChecker_CheckByName_Call ¶ added in v0.40.0
DoguHealthChecker_CheckByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckByName'
func (*DoguHealthChecker_CheckByName_Call) Return ¶ added in v0.40.0
func (_c *DoguHealthChecker_CheckByName_Call) Return(_a0 error) *DoguHealthChecker_CheckByName_Call
func (*DoguHealthChecker_CheckByName_Call) Run ¶ added in v0.40.0
func (_c *DoguHealthChecker_CheckByName_Call) Run(run func(ctx context.Context, doguName types.NamespacedName)) *DoguHealthChecker_CheckByName_Call
func (*DoguHealthChecker_CheckByName_Call) RunAndReturn ¶ added in v0.40.0
func (_c *DoguHealthChecker_CheckByName_Call) RunAndReturn(run func(context.Context, types.NamespacedName) error) *DoguHealthChecker_CheckByName_Call
type DoguHealthChecker_Expecter ¶
type DoguHealthChecker_Expecter struct {
// contains filtered or unexported fields
}
func (*DoguHealthChecker_Expecter) CheckByName ¶ added in v0.40.0
func (_e *DoguHealthChecker_Expecter) CheckByName(ctx interface{}, doguName interface{}) *DoguHealthChecker_CheckByName_Call
CheckByName is a helper method to define mock.On call
- ctx context.Context
- doguName types.NamespacedName
type DoguHealthStatusUpdater ¶ added in v0.40.0
DoguHealthStatusUpdater is an autogenerated mock type for the DoguHealthStatusUpdater type
func NewDoguHealthStatusUpdater ¶ added in v0.40.0
func NewDoguHealthStatusUpdater(t mockConstructorTestingTNewDoguHealthStatusUpdater) *DoguHealthStatusUpdater
NewDoguHealthStatusUpdater creates a new instance of DoguHealthStatusUpdater. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*DoguHealthStatusUpdater) EXPECT ¶ added in v0.40.0
func (_m *DoguHealthStatusUpdater) EXPECT() *DoguHealthStatusUpdater_Expecter
func (*DoguHealthStatusUpdater) UpdateHealthConfigMap ¶ added in v1.2.0
func (_m *DoguHealthStatusUpdater) UpdateHealthConfigMap(ctx context.Context, deployment *v1.Deployment, doguJson *core.Dogu) error
UpdateHealthConfigMap provides a mock function with given fields: ctx, deployment, doguJson
func (*DoguHealthStatusUpdater) UpdateStatus ¶ added in v0.40.0
func (_m *DoguHealthStatusUpdater) UpdateStatus(ctx context.Context, doguName types.NamespacedName, available bool) error
UpdateStatus provides a mock function with given fields: ctx, doguName, available
type DoguHealthStatusUpdater_Expecter ¶ added in v0.40.0
type DoguHealthStatusUpdater_Expecter struct {
// contains filtered or unexported fields
}
func (*DoguHealthStatusUpdater_Expecter) UpdateHealthConfigMap ¶ added in v1.2.0
func (_e *DoguHealthStatusUpdater_Expecter) UpdateHealthConfigMap(ctx interface{}, deployment interface{}, doguJson interface{}) *DoguHealthStatusUpdater_UpdateHealthConfigMap_Call
UpdateHealthConfigMap is a helper method to define mock.On call
- ctx context.Context
- deployment *v1.Deployment
- doguJson *core.Dogu
func (*DoguHealthStatusUpdater_Expecter) UpdateStatus ¶ added in v0.40.0
func (_e *DoguHealthStatusUpdater_Expecter) UpdateStatus(ctx interface{}, doguName interface{}, available interface{}) *DoguHealthStatusUpdater_UpdateStatus_Call
UpdateStatus is a helper method to define mock.On call
- ctx context.Context
- doguName types.NamespacedName
- available bool
type DoguHealthStatusUpdater_UpdateHealthConfigMap_Call ¶ added in v1.2.0
DoguHealthStatusUpdater_UpdateHealthConfigMap_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateHealthConfigMap'
func (*DoguHealthStatusUpdater_UpdateHealthConfigMap_Call) Run ¶ added in v1.2.0
func (_c *DoguHealthStatusUpdater_UpdateHealthConfigMap_Call) Run(run func(ctx context.Context, deployment *v1.Deployment, doguJson *core.Dogu)) *DoguHealthStatusUpdater_UpdateHealthConfigMap_Call
func (*DoguHealthStatusUpdater_UpdateHealthConfigMap_Call) RunAndReturn ¶ added in v1.2.0
func (_c *DoguHealthStatusUpdater_UpdateHealthConfigMap_Call) RunAndReturn(run func(context.Context, *v1.Deployment, *core.Dogu) error) *DoguHealthStatusUpdater_UpdateHealthConfigMap_Call
type DoguHealthStatusUpdater_UpdateStatus_Call ¶ added in v0.40.0
DoguHealthStatusUpdater_UpdateStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateStatus'
func (*DoguHealthStatusUpdater_UpdateStatus_Call) Return ¶ added in v0.40.0
func (_c *DoguHealthStatusUpdater_UpdateStatus_Call) Return(_a0 error) *DoguHealthStatusUpdater_UpdateStatus_Call
func (*DoguHealthStatusUpdater_UpdateStatus_Call) Run ¶ added in v0.40.0
func (_c *DoguHealthStatusUpdater_UpdateStatus_Call) Run(run func(ctx context.Context, doguName types.NamespacedName, available bool)) *DoguHealthStatusUpdater_UpdateStatus_Call
func (*DoguHealthStatusUpdater_UpdateStatus_Call) RunAndReturn ¶ added in v0.40.0
func (_c *DoguHealthStatusUpdater_UpdateStatus_Call) RunAndReturn(run func(context.Context, types.NamespacedName, bool) error) *DoguHealthStatusUpdater_UpdateStatus_Call
type DoguInterface ¶ added in v0.40.0
DoguInterface is an autogenerated mock type for the DoguInterface type
func NewDoguInterface ¶ added in v0.40.0
func NewDoguInterface(t mockConstructorTestingTNewDoguInterface) *DoguInterface
NewDoguInterface creates a new instance of DoguInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*DoguInterface) Create ¶ added in v0.40.0
func (_m *DoguInterface) Create(ctx context.Context, dogu *v1.Dogu, opts metav1.CreateOptions) (*v1.Dogu, error)
Create provides a mock function with given fields: ctx, dogu, opts
func (*DoguInterface) Delete ¶ added in v0.40.0
func (_m *DoguInterface) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete provides a mock function with given fields: ctx, name, opts
func (*DoguInterface) DeleteCollection ¶ added in v0.40.0
func (_m *DoguInterface) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection provides a mock function with given fields: ctx, opts, listOpts
func (*DoguInterface) EXPECT ¶ added in v0.40.0
func (_m *DoguInterface) EXPECT() *DoguInterface_Expecter
func (*DoguInterface) Get ¶ added in v0.40.0
func (_m *DoguInterface) Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Dogu, error)
Get provides a mock function with given fields: ctx, name, opts
func (*DoguInterface) List ¶ added in v0.40.0
func (_m *DoguInterface) List(ctx context.Context, opts metav1.ListOptions) (*v1.DoguList, error)
List provides a mock function with given fields: ctx, opts
func (*DoguInterface) Patch ¶ added in v0.40.0
func (_m *DoguInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (*v1.Dogu, error)
Patch provides a mock function with given fields: ctx, name, pt, data, opts, subresources
func (*DoguInterface) Update ¶ added in v0.40.0
func (_m *DoguInterface) Update(ctx context.Context, dogu *v1.Dogu, opts metav1.UpdateOptions) (*v1.Dogu, error)
Update provides a mock function with given fields: ctx, dogu, opts
func (*DoguInterface) UpdateSpecWithRetry ¶ added in v1.0.0
func (_m *DoguInterface) UpdateSpecWithRetry(ctx context.Context, dogu *v1.Dogu, modifySpecFn func(v1.DoguSpec) v1.DoguSpec, opts metav1.UpdateOptions) (*v1.Dogu, error)
UpdateSpecWithRetry provides a mock function with given fields: ctx, dogu, modifySpecFn, opts
func (*DoguInterface) UpdateStatus ¶ added in v0.40.0
func (_m *DoguInterface) UpdateStatus(ctx context.Context, dogu *v1.Dogu, opts metav1.UpdateOptions) (*v1.Dogu, error)
UpdateStatus provides a mock function with given fields: ctx, dogu, opts
func (*DoguInterface) UpdateStatusWithRetry ¶ added in v1.0.0
func (_m *DoguInterface) UpdateStatusWithRetry(ctx context.Context, dogu *v1.Dogu, modifyStatusFn func(v1.DoguStatus) v1.DoguStatus, opts metav1.UpdateOptions) (*v1.Dogu, error)
UpdateStatusWithRetry provides a mock function with given fields: ctx, dogu, modifyStatusFn, opts
func (*DoguInterface) Watch ¶ added in v0.40.0
func (_m *DoguInterface) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch provides a mock function with given fields: ctx, opts
type DoguInterface_Create_Call ¶ added in v0.40.0
DoguInterface_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*DoguInterface_Create_Call) Return ¶ added in v0.40.0
func (_c *DoguInterface_Create_Call) Return(_a0 *v1.Dogu, _a1 error) *DoguInterface_Create_Call
func (*DoguInterface_Create_Call) Run ¶ added in v0.40.0
func (_c *DoguInterface_Create_Call) Run(run func(ctx context.Context, dogu *v1.Dogu, opts metav1.CreateOptions)) *DoguInterface_Create_Call
func (*DoguInterface_Create_Call) RunAndReturn ¶ added in v0.40.0
func (_c *DoguInterface_Create_Call) RunAndReturn(run func(context.Context, *v1.Dogu, metav1.CreateOptions) (*v1.Dogu, error)) *DoguInterface_Create_Call
type DoguInterface_DeleteCollection_Call ¶ added in v0.40.0
DoguInterface_DeleteCollection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteCollection'
func (*DoguInterface_DeleteCollection_Call) Return ¶ added in v0.40.0
func (_c *DoguInterface_DeleteCollection_Call) Return(_a0 error) *DoguInterface_DeleteCollection_Call
func (*DoguInterface_DeleteCollection_Call) Run ¶ added in v0.40.0
func (_c *DoguInterface_DeleteCollection_Call) Run(run func(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions)) *DoguInterface_DeleteCollection_Call
func (*DoguInterface_DeleteCollection_Call) RunAndReturn ¶ added in v0.40.0
func (_c *DoguInterface_DeleteCollection_Call) RunAndReturn(run func(context.Context, metav1.DeleteOptions, metav1.ListOptions) error) *DoguInterface_DeleteCollection_Call
type DoguInterface_Delete_Call ¶ added in v0.40.0
DoguInterface_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*DoguInterface_Delete_Call) Return ¶ added in v0.40.0
func (_c *DoguInterface_Delete_Call) Return(_a0 error) *DoguInterface_Delete_Call
func (*DoguInterface_Delete_Call) Run ¶ added in v0.40.0
func (_c *DoguInterface_Delete_Call) Run(run func(ctx context.Context, name string, opts metav1.DeleteOptions)) *DoguInterface_Delete_Call
func (*DoguInterface_Delete_Call) RunAndReturn ¶ added in v0.40.0
func (_c *DoguInterface_Delete_Call) RunAndReturn(run func(context.Context, string, metav1.DeleteOptions) error) *DoguInterface_Delete_Call
type DoguInterface_Expecter ¶ added in v0.40.0
type DoguInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*DoguInterface_Expecter) Create ¶ added in v0.40.0
func (_e *DoguInterface_Expecter) Create(ctx interface{}, dogu interface{}, opts interface{}) *DoguInterface_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- dogu *v1.Dogu
- opts metav1.CreateOptions
func (*DoguInterface_Expecter) Delete ¶ added in v0.40.0
func (_e *DoguInterface_Expecter) Delete(ctx interface{}, name interface{}, opts interface{}) *DoguInterface_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- name string
- opts metav1.DeleteOptions
func (*DoguInterface_Expecter) DeleteCollection ¶ added in v0.40.0
func (_e *DoguInterface_Expecter) DeleteCollection(ctx interface{}, opts interface{}, listOpts interface{}) *DoguInterface_DeleteCollection_Call
DeleteCollection is a helper method to define mock.On call
- ctx context.Context
- opts metav1.DeleteOptions
- listOpts metav1.ListOptions
func (*DoguInterface_Expecter) Get ¶ added in v0.40.0
func (_e *DoguInterface_Expecter) Get(ctx interface{}, name interface{}, opts interface{}) *DoguInterface_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- name string
- opts metav1.GetOptions
func (*DoguInterface_Expecter) List ¶ added in v0.40.0
func (_e *DoguInterface_Expecter) List(ctx interface{}, opts interface{}) *DoguInterface_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- opts metav1.ListOptions
func (*DoguInterface_Expecter) Patch ¶ added in v0.40.0
func (_e *DoguInterface_Expecter) Patch(ctx interface{}, name interface{}, pt interface{}, data interface{}, opts interface{}, subresources ...interface{}) *DoguInterface_Patch_Call
Patch is a helper method to define mock.On call
- ctx context.Context
- name string
- pt types.PatchType
- data []byte
- opts metav1.PatchOptions
- subresources ...string
func (*DoguInterface_Expecter) Update ¶ added in v0.40.0
func (_e *DoguInterface_Expecter) Update(ctx interface{}, dogu interface{}, opts interface{}) *DoguInterface_Update_Call
Update is a helper method to define mock.On call
- ctx context.Context
- dogu *v1.Dogu
- opts metav1.UpdateOptions
func (*DoguInterface_Expecter) UpdateSpecWithRetry ¶ added in v1.0.0
func (_e *DoguInterface_Expecter) UpdateSpecWithRetry(ctx interface{}, dogu interface{}, modifySpecFn interface{}, opts interface{}) *DoguInterface_UpdateSpecWithRetry_Call
UpdateSpecWithRetry is a helper method to define mock.On call
- ctx context.Context
- dogu *v1.Dogu
- modifySpecFn func(v1.DoguSpec) v1.DoguSpec
- opts metav1.UpdateOptions
func (*DoguInterface_Expecter) UpdateStatus ¶ added in v0.40.0
func (_e *DoguInterface_Expecter) UpdateStatus(ctx interface{}, dogu interface{}, opts interface{}) *DoguInterface_UpdateStatus_Call
UpdateStatus is a helper method to define mock.On call
- ctx context.Context
- dogu *v1.Dogu
- opts metav1.UpdateOptions
func (*DoguInterface_Expecter) UpdateStatusWithRetry ¶ added in v1.0.0
func (_e *DoguInterface_Expecter) UpdateStatusWithRetry(ctx interface{}, dogu interface{}, modifyStatusFn interface{}, opts interface{}) *DoguInterface_UpdateStatusWithRetry_Call
UpdateStatusWithRetry is a helper method to define mock.On call
- ctx context.Context
- dogu *v1.Dogu
- modifyStatusFn func(v1.DoguStatus) v1.DoguStatus
- opts metav1.UpdateOptions
func (*DoguInterface_Expecter) Watch ¶ added in v0.40.0
func (_e *DoguInterface_Expecter) Watch(ctx interface{}, opts interface{}) *DoguInterface_Watch_Call
Watch is a helper method to define mock.On call
- ctx context.Context
- opts metav1.ListOptions
type DoguInterface_Get_Call ¶ added in v0.40.0
DoguInterface_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*DoguInterface_Get_Call) Return ¶ added in v0.40.0
func (_c *DoguInterface_Get_Call) Return(_a0 *v1.Dogu, _a1 error) *DoguInterface_Get_Call
func (*DoguInterface_Get_Call) Run ¶ added in v0.40.0
func (_c *DoguInterface_Get_Call) Run(run func(ctx context.Context, name string, opts metav1.GetOptions)) *DoguInterface_Get_Call
func (*DoguInterface_Get_Call) RunAndReturn ¶ added in v0.40.0
func (_c *DoguInterface_Get_Call) RunAndReturn(run func(context.Context, string, metav1.GetOptions) (*v1.Dogu, error)) *DoguInterface_Get_Call
type DoguInterface_List_Call ¶ added in v0.40.0
DoguInterface_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*DoguInterface_List_Call) Return ¶ added in v0.40.0
func (_c *DoguInterface_List_Call) Return(_a0 *v1.DoguList, _a1 error) *DoguInterface_List_Call
func (*DoguInterface_List_Call) Run ¶ added in v0.40.0
func (_c *DoguInterface_List_Call) Run(run func(ctx context.Context, opts metav1.ListOptions)) *DoguInterface_List_Call
func (*DoguInterface_List_Call) RunAndReturn ¶ added in v0.40.0
func (_c *DoguInterface_List_Call) RunAndReturn(run func(context.Context, metav1.ListOptions) (*v1.DoguList, error)) *DoguInterface_List_Call
type DoguInterface_Patch_Call ¶ added in v0.40.0
DoguInterface_Patch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Patch'
func (*DoguInterface_Patch_Call) Return ¶ added in v0.40.0
func (_c *DoguInterface_Patch_Call) Return(result *v1.Dogu, err error) *DoguInterface_Patch_Call
func (*DoguInterface_Patch_Call) Run ¶ added in v0.40.0
func (_c *DoguInterface_Patch_Call) Run(run func(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string)) *DoguInterface_Patch_Call
func (*DoguInterface_Patch_Call) RunAndReturn ¶ added in v0.40.0
func (_c *DoguInterface_Patch_Call) RunAndReturn(run func(context.Context, string, types.PatchType, []byte, metav1.PatchOptions, ...string) (*v1.Dogu, error)) *DoguInterface_Patch_Call
type DoguInterface_UpdateSpecWithRetry_Call ¶ added in v1.0.0
DoguInterface_UpdateSpecWithRetry_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateSpecWithRetry'
func (*DoguInterface_UpdateSpecWithRetry_Call) Return ¶ added in v1.0.0
func (_c *DoguInterface_UpdateSpecWithRetry_Call) Return(result *v1.Dogu, err error) *DoguInterface_UpdateSpecWithRetry_Call
func (*DoguInterface_UpdateSpecWithRetry_Call) Run ¶ added in v1.0.0
func (_c *DoguInterface_UpdateSpecWithRetry_Call) Run(run func(ctx context.Context, dogu *v1.Dogu, modifySpecFn func(v1.DoguSpec) v1.DoguSpec, opts metav1.UpdateOptions)) *DoguInterface_UpdateSpecWithRetry_Call
func (*DoguInterface_UpdateSpecWithRetry_Call) RunAndReturn ¶ added in v1.0.0
func (_c *DoguInterface_UpdateSpecWithRetry_Call) RunAndReturn(run func(context.Context, *v1.Dogu, func(v1.DoguSpec) v1.DoguSpec, metav1.UpdateOptions) (*v1.Dogu, error)) *DoguInterface_UpdateSpecWithRetry_Call
type DoguInterface_UpdateStatusWithRetry_Call ¶ added in v1.0.0
DoguInterface_UpdateStatusWithRetry_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateStatusWithRetry'
func (*DoguInterface_UpdateStatusWithRetry_Call) Return ¶ added in v1.0.0
func (_c *DoguInterface_UpdateStatusWithRetry_Call) Return(result *v1.Dogu, err error) *DoguInterface_UpdateStatusWithRetry_Call
func (*DoguInterface_UpdateStatusWithRetry_Call) Run ¶ added in v1.0.0
func (_c *DoguInterface_UpdateStatusWithRetry_Call) Run(run func(ctx context.Context, dogu *v1.Dogu, modifyStatusFn func(v1.DoguStatus) v1.DoguStatus, opts metav1.UpdateOptions)) *DoguInterface_UpdateStatusWithRetry_Call
func (*DoguInterface_UpdateStatusWithRetry_Call) RunAndReturn ¶ added in v1.0.0
func (_c *DoguInterface_UpdateStatusWithRetry_Call) RunAndReturn(run func(context.Context, *v1.Dogu, func(v1.DoguStatus) v1.DoguStatus, metav1.UpdateOptions) (*v1.Dogu, error)) *DoguInterface_UpdateStatusWithRetry_Call
type DoguInterface_UpdateStatus_Call ¶ added in v0.40.0
DoguInterface_UpdateStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateStatus'
func (*DoguInterface_UpdateStatus_Call) Return ¶ added in v0.40.0
func (_c *DoguInterface_UpdateStatus_Call) Return(_a0 *v1.Dogu, _a1 error) *DoguInterface_UpdateStatus_Call
func (*DoguInterface_UpdateStatus_Call) Run ¶ added in v0.40.0
func (_c *DoguInterface_UpdateStatus_Call) Run(run func(ctx context.Context, dogu *v1.Dogu, opts metav1.UpdateOptions)) *DoguInterface_UpdateStatus_Call
func (*DoguInterface_UpdateStatus_Call) RunAndReturn ¶ added in v0.40.0
func (_c *DoguInterface_UpdateStatus_Call) RunAndReturn(run func(context.Context, *v1.Dogu, metav1.UpdateOptions) (*v1.Dogu, error)) *DoguInterface_UpdateStatus_Call
type DoguInterface_Update_Call ¶ added in v0.40.0
DoguInterface_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*DoguInterface_Update_Call) Return ¶ added in v0.40.0
func (_c *DoguInterface_Update_Call) Return(_a0 *v1.Dogu, _a1 error) *DoguInterface_Update_Call
func (*DoguInterface_Update_Call) Run ¶ added in v0.40.0
func (_c *DoguInterface_Update_Call) Run(run func(ctx context.Context, dogu *v1.Dogu, opts metav1.UpdateOptions)) *DoguInterface_Update_Call
func (*DoguInterface_Update_Call) RunAndReturn ¶ added in v0.40.0
func (_c *DoguInterface_Update_Call) RunAndReturn(run func(context.Context, *v1.Dogu, metav1.UpdateOptions) (*v1.Dogu, error)) *DoguInterface_Update_Call
type DoguInterface_Watch_Call ¶ added in v0.40.0
DoguInterface_Watch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Watch'
func (*DoguInterface_Watch_Call) Return ¶ added in v0.40.0
func (_c *DoguInterface_Watch_Call) Return(_a0 watch.Interface, _a1 error) *DoguInterface_Watch_Call
func (*DoguInterface_Watch_Call) Run ¶ added in v0.40.0
func (_c *DoguInterface_Watch_Call) Run(run func(ctx context.Context, opts metav1.ListOptions)) *DoguInterface_Watch_Call
func (*DoguInterface_Watch_Call) RunAndReturn ¶ added in v0.40.0
func (_c *DoguInterface_Watch_Call) RunAndReturn(run func(context.Context, metav1.ListOptions) (watch.Interface, error)) *DoguInterface_Watch_Call
type DoguManager ¶
DoguManager is an autogenerated mock type for the DoguManager type
func NewDoguManager ¶
func NewDoguManager(t mockConstructorTestingTNewDoguManager) *DoguManager
NewDoguManager creates a new instance of DoguManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*DoguManager) CheckStarted ¶ added in v1.0.0
CheckStarted provides a mock function with given fields: ctx, doguResource
func (*DoguManager) CheckStopped ¶ added in v1.0.0
CheckStopped provides a mock function with given fields: ctx, doguResource
func (*DoguManager) EXPECT ¶
func (_m *DoguManager) EXPECT() *DoguManager_Expecter
func (*DoguManager) HandleSupportMode ¶
HandleSupportMode provides a mock function with given fields: ctx, doguResource
func (*DoguManager) SetDoguAdditionalIngressAnnotations ¶ added in v0.29.0
func (_m *DoguManager) SetDoguAdditionalIngressAnnotations(ctx context.Context, doguResource *v1.Dogu) error
SetDoguAdditionalIngressAnnotations provides a mock function with given fields: ctx, doguResource
func (*DoguManager) SetDoguDataVolumeSize ¶
SetDoguDataVolumeSize provides a mock function with given fields: ctx, doguResource
func (*DoguManager) StartDogu ¶ added in v1.0.0
StartDogu provides a mock function with given fields: ctx, doguResource
type DoguManager_CheckStarted_Call ¶ added in v1.0.0
DoguManager_CheckStarted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckStarted'
func (*DoguManager_CheckStarted_Call) Return ¶ added in v1.0.0
func (_c *DoguManager_CheckStarted_Call) Return(_a0 error) *DoguManager_CheckStarted_Call
func (*DoguManager_CheckStarted_Call) Run ¶ added in v1.0.0
func (_c *DoguManager_CheckStarted_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *DoguManager_CheckStarted_Call
func (*DoguManager_CheckStarted_Call) RunAndReturn ¶ added in v1.0.0
func (_c *DoguManager_CheckStarted_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *DoguManager_CheckStarted_Call
type DoguManager_CheckStopped_Call ¶ added in v1.0.0
DoguManager_CheckStopped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckStopped'
func (*DoguManager_CheckStopped_Call) Return ¶ added in v1.0.0
func (_c *DoguManager_CheckStopped_Call) Return(_a0 error) *DoguManager_CheckStopped_Call
func (*DoguManager_CheckStopped_Call) Run ¶ added in v1.0.0
func (_c *DoguManager_CheckStopped_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *DoguManager_CheckStopped_Call
func (*DoguManager_CheckStopped_Call) RunAndReturn ¶ added in v1.0.0
func (_c *DoguManager_CheckStopped_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *DoguManager_CheckStopped_Call
type DoguManager_Delete_Call ¶
DoguManager_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*DoguManager_Delete_Call) Return ¶
func (_c *DoguManager_Delete_Call) Return(_a0 error) *DoguManager_Delete_Call
func (*DoguManager_Delete_Call) Run ¶
func (_c *DoguManager_Delete_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *DoguManager_Delete_Call
func (*DoguManager_Delete_Call) RunAndReturn ¶
func (_c *DoguManager_Delete_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *DoguManager_Delete_Call
type DoguManager_Expecter ¶
type DoguManager_Expecter struct {
// contains filtered or unexported fields
}
func (*DoguManager_Expecter) CheckStarted ¶ added in v1.0.0
func (_e *DoguManager_Expecter) CheckStarted(ctx interface{}, doguResource interface{}) *DoguManager_CheckStarted_Call
CheckStarted is a helper method to define mock.On call
- ctx context.Context
- doguResource *v1.Dogu
func (*DoguManager_Expecter) CheckStopped ¶ added in v1.0.0
func (_e *DoguManager_Expecter) CheckStopped(ctx interface{}, doguResource interface{}) *DoguManager_CheckStopped_Call
CheckStopped is a helper method to define mock.On call
- ctx context.Context
- doguResource *v1.Dogu
func (*DoguManager_Expecter) Delete ¶
func (_e *DoguManager_Expecter) Delete(ctx interface{}, doguResource interface{}) *DoguManager_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- doguResource *v1.Dogu
func (*DoguManager_Expecter) HandleSupportMode ¶
func (_e *DoguManager_Expecter) HandleSupportMode(ctx interface{}, doguResource interface{}) *DoguManager_HandleSupportMode_Call
HandleSupportMode is a helper method to define mock.On call
- ctx context.Context
- doguResource *v1.Dogu
func (*DoguManager_Expecter) Install ¶
func (_e *DoguManager_Expecter) Install(ctx interface{}, doguResource interface{}) *DoguManager_Install_Call
Install is a helper method to define mock.On call
- ctx context.Context
- doguResource *v1.Dogu
func (*DoguManager_Expecter) SetDoguAdditionalIngressAnnotations ¶ added in v0.29.0
func (_e *DoguManager_Expecter) SetDoguAdditionalIngressAnnotations(ctx interface{}, doguResource interface{}) *DoguManager_SetDoguAdditionalIngressAnnotations_Call
SetDoguAdditionalIngressAnnotations is a helper method to define mock.On call
- ctx context.Context
- doguResource *v1.Dogu
func (*DoguManager_Expecter) SetDoguDataVolumeSize ¶
func (_e *DoguManager_Expecter) SetDoguDataVolumeSize(ctx interface{}, doguResource interface{}) *DoguManager_SetDoguDataVolumeSize_Call
SetDoguDataVolumeSize is a helper method to define mock.On call
- ctx context.Context
- doguResource *v1.Dogu
func (*DoguManager_Expecter) StartDogu ¶ added in v1.0.0
func (_e *DoguManager_Expecter) StartDogu(ctx interface{}, doguResource interface{}) *DoguManager_StartDogu_Call
StartDogu is a helper method to define mock.On call
- ctx context.Context
- doguResource *v1.Dogu
func (*DoguManager_Expecter) StopDogu ¶ added in v1.0.0
func (_e *DoguManager_Expecter) StopDogu(ctx interface{}, doguResource interface{}) *DoguManager_StopDogu_Call
StopDogu is a helper method to define mock.On call
- ctx context.Context
- doguResource *v1.Dogu
func (*DoguManager_Expecter) Upgrade ¶
func (_e *DoguManager_Expecter) Upgrade(ctx interface{}, doguResource interface{}) *DoguManager_Upgrade_Call
Upgrade is a helper method to define mock.On call
- ctx context.Context
- doguResource *v1.Dogu
type DoguManager_HandleSupportMode_Call ¶
DoguManager_HandleSupportMode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HandleSupportMode'
func (*DoguManager_HandleSupportMode_Call) Return ¶
func (_c *DoguManager_HandleSupportMode_Call) Return(_a0 bool, _a1 error) *DoguManager_HandleSupportMode_Call
func (*DoguManager_HandleSupportMode_Call) Run ¶
func (_c *DoguManager_HandleSupportMode_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *DoguManager_HandleSupportMode_Call
func (*DoguManager_HandleSupportMode_Call) RunAndReturn ¶
func (_c *DoguManager_HandleSupportMode_Call) RunAndReturn(run func(context.Context, *v1.Dogu) (bool, error)) *DoguManager_HandleSupportMode_Call
type DoguManager_Install_Call ¶
DoguManager_Install_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Install'
func (*DoguManager_Install_Call) Return ¶
func (_c *DoguManager_Install_Call) Return(_a0 error) *DoguManager_Install_Call
func (*DoguManager_Install_Call) Run ¶
func (_c *DoguManager_Install_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *DoguManager_Install_Call
func (*DoguManager_Install_Call) RunAndReturn ¶
func (_c *DoguManager_Install_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *DoguManager_Install_Call
type DoguManager_SetDoguAdditionalIngressAnnotations_Call ¶ added in v0.29.0
DoguManager_SetDoguAdditionalIngressAnnotations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetDoguAdditionalIngressAnnotations'
func (*DoguManager_SetDoguAdditionalIngressAnnotations_Call) Run ¶ added in v0.29.0
func (_c *DoguManager_SetDoguAdditionalIngressAnnotations_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *DoguManager_SetDoguAdditionalIngressAnnotations_Call
func (*DoguManager_SetDoguAdditionalIngressAnnotations_Call) RunAndReturn ¶ added in v0.29.0
func (_c *DoguManager_SetDoguAdditionalIngressAnnotations_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *DoguManager_SetDoguAdditionalIngressAnnotations_Call
type DoguManager_SetDoguDataVolumeSize_Call ¶
DoguManager_SetDoguDataVolumeSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetDoguDataVolumeSize'
func (*DoguManager_SetDoguDataVolumeSize_Call) Return ¶
func (_c *DoguManager_SetDoguDataVolumeSize_Call) Return(_a0 error) *DoguManager_SetDoguDataVolumeSize_Call
func (*DoguManager_SetDoguDataVolumeSize_Call) Run ¶
func (_c *DoguManager_SetDoguDataVolumeSize_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *DoguManager_SetDoguDataVolumeSize_Call
func (*DoguManager_SetDoguDataVolumeSize_Call) RunAndReturn ¶
func (_c *DoguManager_SetDoguDataVolumeSize_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *DoguManager_SetDoguDataVolumeSize_Call
type DoguManager_StartDogu_Call ¶ added in v1.0.0
DoguManager_StartDogu_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartDogu'
func (*DoguManager_StartDogu_Call) Return ¶ added in v1.0.0
func (_c *DoguManager_StartDogu_Call) Return(_a0 error) *DoguManager_StartDogu_Call
func (*DoguManager_StartDogu_Call) Run ¶ added in v1.0.0
func (_c *DoguManager_StartDogu_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *DoguManager_StartDogu_Call
func (*DoguManager_StartDogu_Call) RunAndReturn ¶ added in v1.0.0
func (_c *DoguManager_StartDogu_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *DoguManager_StartDogu_Call
type DoguManager_StopDogu_Call ¶ added in v1.0.0
DoguManager_StopDogu_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StopDogu'
func (*DoguManager_StopDogu_Call) Return ¶ added in v1.0.0
func (_c *DoguManager_StopDogu_Call) Return(_a0 error) *DoguManager_StopDogu_Call
func (*DoguManager_StopDogu_Call) Run ¶ added in v1.0.0
func (_c *DoguManager_StopDogu_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *DoguManager_StopDogu_Call
func (*DoguManager_StopDogu_Call) RunAndReturn ¶ added in v1.0.0
func (_c *DoguManager_StopDogu_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *DoguManager_StopDogu_Call
type DoguManager_Upgrade_Call ¶
DoguManager_Upgrade_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Upgrade'
func (*DoguManager_Upgrade_Call) Return ¶
func (_c *DoguManager_Upgrade_Call) Return(_a0 error) *DoguManager_Upgrade_Call
func (*DoguManager_Upgrade_Call) Run ¶
func (_c *DoguManager_Upgrade_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *DoguManager_Upgrade_Call
func (*DoguManager_Upgrade_Call) RunAndReturn ¶
func (_c *DoguManager_Upgrade_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *DoguManager_Upgrade_Call
type DoguRecursiveHealthChecker ¶
DoguRecursiveHealthChecker is an autogenerated mock type for the DoguRecursiveHealthChecker type
func NewDoguRecursiveHealthChecker ¶
func NewDoguRecursiveHealthChecker(t mockConstructorTestingTNewDoguRecursiveHealthChecker) *DoguRecursiveHealthChecker
NewDoguRecursiveHealthChecker creates a new instance of DoguRecursiveHealthChecker. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*DoguRecursiveHealthChecker) CheckDependenciesRecursive ¶
func (_m *DoguRecursiveHealthChecker) CheckDependenciesRecursive(ctx context.Context, fromDogu *core.Dogu, namespace string) error
CheckDependenciesRecursive provides a mock function with given fields: ctx, fromDogu, namespace
func (*DoguRecursiveHealthChecker) EXPECT ¶
func (_m *DoguRecursiveHealthChecker) EXPECT() *DoguRecursiveHealthChecker_Expecter
type DoguRecursiveHealthChecker_CheckDependenciesRecursive_Call ¶
DoguRecursiveHealthChecker_CheckDependenciesRecursive_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckDependenciesRecursive'
func (*DoguRecursiveHealthChecker_CheckDependenciesRecursive_Call) Run ¶
func (_c *DoguRecursiveHealthChecker_CheckDependenciesRecursive_Call) Run(run func(ctx context.Context, fromDogu *core.Dogu, namespace string)) *DoguRecursiveHealthChecker_CheckDependenciesRecursive_Call
func (*DoguRecursiveHealthChecker_CheckDependenciesRecursive_Call) RunAndReturn ¶
func (_c *DoguRecursiveHealthChecker_CheckDependenciesRecursive_Call) RunAndReturn(run func(context.Context, *core.Dogu, string) error) *DoguRecursiveHealthChecker_CheckDependenciesRecursive_Call
type DoguRecursiveHealthChecker_Expecter ¶
type DoguRecursiveHealthChecker_Expecter struct {
// contains filtered or unexported fields
}
func (*DoguRecursiveHealthChecker_Expecter) CheckDependenciesRecursive ¶
func (_e *DoguRecursiveHealthChecker_Expecter) CheckDependenciesRecursive(ctx interface{}, fromDogu interface{}, namespace interface{}) *DoguRecursiveHealthChecker_CheckDependenciesRecursive_Call
CheckDependenciesRecursive is a helper method to define mock.On call
- ctx context.Context
- fromDogu *core.Dogu
- namespace string
type DoguRegistrator ¶
DoguRegistrator is an autogenerated mock type for the DoguRegistrator type
func NewDoguRegistrator ¶
func NewDoguRegistrator(t mockConstructorTestingTNewDoguRegistrator) *DoguRegistrator
NewDoguRegistrator creates a new instance of DoguRegistrator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*DoguRegistrator) EXPECT ¶
func (_m *DoguRegistrator) EXPECT() *DoguRegistrator_Expecter
func (*DoguRegistrator) RegisterDoguVersion ¶
RegisterDoguVersion provides a mock function with given fields: ctx, dogu
func (*DoguRegistrator) RegisterNewDogu ¶
func (_m *DoguRegistrator) RegisterNewDogu(ctx context.Context, doguResource *v1.Dogu, dogu *core.Dogu) error
RegisterNewDogu provides a mock function with given fields: ctx, doguResource, dogu
func (*DoguRegistrator) UnregisterDogu ¶
func (_m *DoguRegistrator) UnregisterDogu(ctx context.Context, dogu string) error
UnregisterDogu provides a mock function with given fields: ctx, dogu
type DoguRegistrator_Expecter ¶
type DoguRegistrator_Expecter struct {
// contains filtered or unexported fields
}
func (*DoguRegistrator_Expecter) RegisterDoguVersion ¶
func (_e *DoguRegistrator_Expecter) RegisterDoguVersion(ctx interface{}, dogu interface{}) *DoguRegistrator_RegisterDoguVersion_Call
RegisterDoguVersion is a helper method to define mock.On call
- ctx context.Context
- dogu *core.Dogu
func (*DoguRegistrator_Expecter) RegisterNewDogu ¶
func (_e *DoguRegistrator_Expecter) RegisterNewDogu(ctx interface{}, doguResource interface{}, dogu interface{}) *DoguRegistrator_RegisterNewDogu_Call
RegisterNewDogu is a helper method to define mock.On call
- ctx context.Context
- doguResource *v1.Dogu
- dogu *core.Dogu
func (*DoguRegistrator_Expecter) UnregisterDogu ¶
func (_e *DoguRegistrator_Expecter) UnregisterDogu(ctx interface{}, dogu interface{}) *DoguRegistrator_UnregisterDogu_Call
UnregisterDogu is a helper method to define mock.On call
- ctx context.Context
- dogu string
type DoguRegistrator_RegisterDoguVersion_Call ¶
DoguRegistrator_RegisterDoguVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegisterDoguVersion'
func (*DoguRegistrator_RegisterDoguVersion_Call) Return ¶
func (_c *DoguRegistrator_RegisterDoguVersion_Call) Return(_a0 error) *DoguRegistrator_RegisterDoguVersion_Call
func (*DoguRegistrator_RegisterDoguVersion_Call) Run ¶
func (_c *DoguRegistrator_RegisterDoguVersion_Call) Run(run func(ctx context.Context, dogu *core.Dogu)) *DoguRegistrator_RegisterDoguVersion_Call
func (*DoguRegistrator_RegisterDoguVersion_Call) RunAndReturn ¶
func (_c *DoguRegistrator_RegisterDoguVersion_Call) RunAndReturn(run func(context.Context, *core.Dogu) error) *DoguRegistrator_RegisterDoguVersion_Call
type DoguRegistrator_RegisterNewDogu_Call ¶
DoguRegistrator_RegisterNewDogu_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegisterNewDogu'
func (*DoguRegistrator_RegisterNewDogu_Call) Return ¶
func (_c *DoguRegistrator_RegisterNewDogu_Call) Return(_a0 error) *DoguRegistrator_RegisterNewDogu_Call
func (*DoguRegistrator_RegisterNewDogu_Call) Run ¶
func (_c *DoguRegistrator_RegisterNewDogu_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu, dogu *core.Dogu)) *DoguRegistrator_RegisterNewDogu_Call
func (*DoguRegistrator_RegisterNewDogu_Call) RunAndReturn ¶
func (_c *DoguRegistrator_RegisterNewDogu_Call) RunAndReturn(run func(context.Context, *v1.Dogu, *core.Dogu) error) *DoguRegistrator_RegisterNewDogu_Call
type DoguRegistrator_UnregisterDogu_Call ¶
DoguRegistrator_UnregisterDogu_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnregisterDogu'
func (*DoguRegistrator_UnregisterDogu_Call) Return ¶
func (_c *DoguRegistrator_UnregisterDogu_Call) Return(_a0 error) *DoguRegistrator_UnregisterDogu_Call
func (*DoguRegistrator_UnregisterDogu_Call) Run ¶
func (_c *DoguRegistrator_UnregisterDogu_Call) Run(run func(ctx context.Context, dogu string)) *DoguRegistrator_UnregisterDogu_Call
func (*DoguRegistrator_UnregisterDogu_Call) RunAndReturn ¶
func (_c *DoguRegistrator_UnregisterDogu_Call) RunAndReturn(run func(context.Context, string) error) *DoguRegistrator_UnregisterDogu_Call
type DoguResourceGenerator ¶
DoguResourceGenerator is an autogenerated mock type for the DoguResourceGenerator type
func NewDoguResourceGenerator ¶
func NewDoguResourceGenerator(t mockConstructorTestingTNewDoguResourceGenerator) *DoguResourceGenerator
NewDoguResourceGenerator creates a new instance of DoguResourceGenerator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*DoguResourceGenerator) CreateDoguDeployment ¶
func (_m *DoguResourceGenerator) CreateDoguDeployment(doguResource *v1.Dogu, dogu *core.Dogu) (*appsv1.Deployment, error)
CreateDoguDeployment provides a mock function with given fields: doguResource, dogu
func (*DoguResourceGenerator) CreateDoguPVC ¶
func (_m *DoguResourceGenerator) CreateDoguPVC(doguResource *v1.Dogu) (*corev1.PersistentVolumeClaim, error)
CreateDoguPVC provides a mock function with given fields: doguResource
func (*DoguResourceGenerator) CreateDoguSecret ¶ added in v0.36.0
func (_m *DoguResourceGenerator) CreateDoguSecret(doguResource *v1.Dogu, stringData map[string]string) (*corev1.Secret, error)
CreateDoguSecret provides a mock function with given fields: doguResource, stringData
func (*DoguResourceGenerator) CreateDoguService ¶
func (_m *DoguResourceGenerator) CreateDoguService(doguResource *v1.Dogu, imageConfig *pkgv1.ConfigFile) (*corev1.Service, error)
CreateDoguService provides a mock function with given fields: doguResource, imageConfig
func (*DoguResourceGenerator) EXPECT ¶
func (_m *DoguResourceGenerator) EXPECT() *DoguResourceGenerator_Expecter
func (*DoguResourceGenerator) GetPodTemplate ¶ added in v0.36.0
func (_m *DoguResourceGenerator) GetPodTemplate(doguResource *v1.Dogu, dogu *core.Dogu) (*corev1.PodTemplateSpec, error)
GetPodTemplate provides a mock function with given fields: doguResource, dogu
type DoguResourceGenerator_CreateDoguDeployment_Call ¶
DoguResourceGenerator_CreateDoguDeployment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateDoguDeployment'
func (*DoguResourceGenerator_CreateDoguDeployment_Call) Return ¶
func (_c *DoguResourceGenerator_CreateDoguDeployment_Call) Return(_a0 *appsv1.Deployment, _a1 error) *DoguResourceGenerator_CreateDoguDeployment_Call
func (*DoguResourceGenerator_CreateDoguDeployment_Call) Run ¶
func (_c *DoguResourceGenerator_CreateDoguDeployment_Call) Run(run func(doguResource *v1.Dogu, dogu *core.Dogu)) *DoguResourceGenerator_CreateDoguDeployment_Call
func (*DoguResourceGenerator_CreateDoguDeployment_Call) RunAndReturn ¶
func (_c *DoguResourceGenerator_CreateDoguDeployment_Call) RunAndReturn(run func(*v1.Dogu, *core.Dogu) (*appsv1.Deployment, error)) *DoguResourceGenerator_CreateDoguDeployment_Call
type DoguResourceGenerator_CreateDoguPVC_Call ¶
DoguResourceGenerator_CreateDoguPVC_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateDoguPVC'
func (*DoguResourceGenerator_CreateDoguPVC_Call) Return ¶
func (_c *DoguResourceGenerator_CreateDoguPVC_Call) Return(_a0 *corev1.PersistentVolumeClaim, _a1 error) *DoguResourceGenerator_CreateDoguPVC_Call
func (*DoguResourceGenerator_CreateDoguPVC_Call) Run ¶
func (_c *DoguResourceGenerator_CreateDoguPVC_Call) Run(run func(doguResource *v1.Dogu)) *DoguResourceGenerator_CreateDoguPVC_Call
func (*DoguResourceGenerator_CreateDoguPVC_Call) RunAndReturn ¶
func (_c *DoguResourceGenerator_CreateDoguPVC_Call) RunAndReturn(run func(*v1.Dogu) (*corev1.PersistentVolumeClaim, error)) *DoguResourceGenerator_CreateDoguPVC_Call
type DoguResourceGenerator_CreateDoguSecret_Call ¶ added in v0.36.0
DoguResourceGenerator_CreateDoguSecret_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateDoguSecret'
func (*DoguResourceGenerator_CreateDoguSecret_Call) Return ¶ added in v0.36.0
func (_c *DoguResourceGenerator_CreateDoguSecret_Call) Return(_a0 *corev1.Secret, _a1 error) *DoguResourceGenerator_CreateDoguSecret_Call
func (*DoguResourceGenerator_CreateDoguSecret_Call) Run ¶ added in v0.36.0
func (_c *DoguResourceGenerator_CreateDoguSecret_Call) Run(run func(doguResource *v1.Dogu, stringData map[string]string)) *DoguResourceGenerator_CreateDoguSecret_Call
func (*DoguResourceGenerator_CreateDoguSecret_Call) RunAndReturn ¶ added in v0.36.0
func (_c *DoguResourceGenerator_CreateDoguSecret_Call) RunAndReturn(run func(*v1.Dogu, map[string]string) (*corev1.Secret, error)) *DoguResourceGenerator_CreateDoguSecret_Call
type DoguResourceGenerator_CreateDoguService_Call ¶
DoguResourceGenerator_CreateDoguService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateDoguService'
func (*DoguResourceGenerator_CreateDoguService_Call) Return ¶
func (_c *DoguResourceGenerator_CreateDoguService_Call) Return(_a0 *corev1.Service, _a1 error) *DoguResourceGenerator_CreateDoguService_Call
func (*DoguResourceGenerator_CreateDoguService_Call) Run ¶
func (_c *DoguResourceGenerator_CreateDoguService_Call) Run(run func(doguResource *v1.Dogu, imageConfig *pkgv1.ConfigFile)) *DoguResourceGenerator_CreateDoguService_Call
func (*DoguResourceGenerator_CreateDoguService_Call) RunAndReturn ¶
func (_c *DoguResourceGenerator_CreateDoguService_Call) RunAndReturn(run func(*v1.Dogu, *pkgv1.ConfigFile) (*corev1.Service, error)) *DoguResourceGenerator_CreateDoguService_Call
type DoguResourceGenerator_Expecter ¶
type DoguResourceGenerator_Expecter struct {
// contains filtered or unexported fields
}
func (*DoguResourceGenerator_Expecter) CreateDoguDeployment ¶
func (_e *DoguResourceGenerator_Expecter) CreateDoguDeployment(doguResource interface{}, dogu interface{}) *DoguResourceGenerator_CreateDoguDeployment_Call
CreateDoguDeployment is a helper method to define mock.On call
- doguResource *v1.Dogu
- dogu *core.Dogu
func (*DoguResourceGenerator_Expecter) CreateDoguPVC ¶
func (_e *DoguResourceGenerator_Expecter) CreateDoguPVC(doguResource interface{}) *DoguResourceGenerator_CreateDoguPVC_Call
CreateDoguPVC is a helper method to define mock.On call
- doguResource *v1.Dogu
func (*DoguResourceGenerator_Expecter) CreateDoguSecret ¶ added in v0.36.0
func (_e *DoguResourceGenerator_Expecter) CreateDoguSecret(doguResource interface{}, stringData interface{}) *DoguResourceGenerator_CreateDoguSecret_Call
CreateDoguSecret is a helper method to define mock.On call
- doguResource *v1.Dogu
- stringData map[string]string
func (*DoguResourceGenerator_Expecter) CreateDoguService ¶
func (_e *DoguResourceGenerator_Expecter) CreateDoguService(doguResource interface{}, imageConfig interface{}) *DoguResourceGenerator_CreateDoguService_Call
CreateDoguService is a helper method to define mock.On call
- doguResource *v1.Dogu
- imageConfig *pkgv1.ConfigFile
func (*DoguResourceGenerator_Expecter) GetPodTemplate ¶ added in v0.36.0
func (_e *DoguResourceGenerator_Expecter) GetPodTemplate(doguResource interface{}, dogu interface{}) *DoguResourceGenerator_GetPodTemplate_Call
GetPodTemplate is a helper method to define mock.On call
- doguResource *v1.Dogu
- dogu *core.Dogu
type DoguResourceGenerator_GetPodTemplate_Call ¶ added in v0.36.0
DoguResourceGenerator_GetPodTemplate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPodTemplate'
func (*DoguResourceGenerator_GetPodTemplate_Call) Return ¶ added in v0.36.0
func (_c *DoguResourceGenerator_GetPodTemplate_Call) Return(_a0 *corev1.PodTemplateSpec, _a1 error) *DoguResourceGenerator_GetPodTemplate_Call
func (*DoguResourceGenerator_GetPodTemplate_Call) Run ¶ added in v0.36.0
func (_c *DoguResourceGenerator_GetPodTemplate_Call) Run(run func(doguResource *v1.Dogu, dogu *core.Dogu)) *DoguResourceGenerator_GetPodTemplate_Call
func (*DoguResourceGenerator_GetPodTemplate_Call) RunAndReturn ¶ added in v0.36.0
func (_c *DoguResourceGenerator_GetPodTemplate_Call) RunAndReturn(run func(*v1.Dogu, *core.Dogu) (*corev1.PodTemplateSpec, error)) *DoguResourceGenerator_GetPodTemplate_Call
type DoguRestartInterface ¶ added in v1.0.0
DoguRestartInterface is an autogenerated mock type for the DoguRestartInterface type
func NewDoguRestartInterface ¶ added in v1.0.0
func NewDoguRestartInterface(t mockConstructorTestingTNewDoguRestartInterface) *DoguRestartInterface
NewDoguRestartInterface creates a new instance of DoguRestartInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*DoguRestartInterface) Create ¶ added in v1.0.0
func (_m *DoguRestartInterface) Create(ctx context.Context, dogu *v1.DoguRestart, opts metav1.CreateOptions) (*v1.DoguRestart, error)
Create provides a mock function with given fields: ctx, dogu, opts
func (*DoguRestartInterface) Delete ¶ added in v1.0.0
func (_m *DoguRestartInterface) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete provides a mock function with given fields: ctx, name, opts
func (*DoguRestartInterface) DeleteCollection ¶ added in v1.0.0
func (_m *DoguRestartInterface) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection provides a mock function with given fields: ctx, opts, listOpts
func (*DoguRestartInterface) EXPECT ¶ added in v1.0.0
func (_m *DoguRestartInterface) EXPECT() *DoguRestartInterface_Expecter
func (*DoguRestartInterface) Get ¶ added in v1.0.0
func (_m *DoguRestartInterface) Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.DoguRestart, error)
Get provides a mock function with given fields: ctx, name, opts
func (*DoguRestartInterface) List ¶ added in v1.0.0
func (_m *DoguRestartInterface) List(ctx context.Context, opts metav1.ListOptions) (*v1.DoguRestartList, error)
List provides a mock function with given fields: ctx, opts
func (*DoguRestartInterface) Patch ¶ added in v1.0.0
func (_m *DoguRestartInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (*v1.DoguRestart, error)
Patch provides a mock function with given fields: ctx, name, pt, data, opts, subresources
func (*DoguRestartInterface) Update ¶ added in v1.0.0
func (_m *DoguRestartInterface) Update(ctx context.Context, dogu *v1.DoguRestart, opts metav1.UpdateOptions) (*v1.DoguRestart, error)
Update provides a mock function with given fields: ctx, dogu, opts
func (*DoguRestartInterface) UpdateSpecWithRetry ¶ added in v1.0.0
func (_m *DoguRestartInterface) UpdateSpecWithRetry(ctx context.Context, doguRestart *v1.DoguRestart, modifySpecFn func(v1.DoguRestartSpec) v1.DoguRestartSpec, opts metav1.UpdateOptions) (*v1.DoguRestart, error)
UpdateSpecWithRetry provides a mock function with given fields: ctx, doguRestart, modifySpecFn, opts
func (*DoguRestartInterface) UpdateStatus ¶ added in v1.0.0
func (_m *DoguRestartInterface) UpdateStatus(ctx context.Context, dogu *v1.DoguRestart, opts metav1.UpdateOptions) (*v1.DoguRestart, error)
UpdateStatus provides a mock function with given fields: ctx, dogu, opts
func (*DoguRestartInterface) UpdateStatusWithRetry ¶ added in v1.0.0
func (_m *DoguRestartInterface) UpdateStatusWithRetry(ctx context.Context, doguRestart *v1.DoguRestart, modifyStatusFn func(v1.DoguRestartStatus) v1.DoguRestartStatus, opts metav1.UpdateOptions) (*v1.DoguRestart, error)
UpdateStatusWithRetry provides a mock function with given fields: ctx, doguRestart, modifyStatusFn, opts
func (*DoguRestartInterface) Watch ¶ added in v1.0.0
func (_m *DoguRestartInterface) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch provides a mock function with given fields: ctx, opts
type DoguRestartInterface_Create_Call ¶ added in v1.0.0
DoguRestartInterface_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*DoguRestartInterface_Create_Call) Return ¶ added in v1.0.0
func (_c *DoguRestartInterface_Create_Call) Return(_a0 *v1.DoguRestart, _a1 error) *DoguRestartInterface_Create_Call
func (*DoguRestartInterface_Create_Call) Run ¶ added in v1.0.0
func (_c *DoguRestartInterface_Create_Call) Run(run func(ctx context.Context, dogu *v1.DoguRestart, opts metav1.CreateOptions)) *DoguRestartInterface_Create_Call
func (*DoguRestartInterface_Create_Call) RunAndReturn ¶ added in v1.0.0
func (_c *DoguRestartInterface_Create_Call) RunAndReturn(run func(context.Context, *v1.DoguRestart, metav1.CreateOptions) (*v1.DoguRestart, error)) *DoguRestartInterface_Create_Call
type DoguRestartInterface_DeleteCollection_Call ¶ added in v1.0.0
DoguRestartInterface_DeleteCollection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteCollection'
func (*DoguRestartInterface_DeleteCollection_Call) Return ¶ added in v1.0.0
func (_c *DoguRestartInterface_DeleteCollection_Call) Return(_a0 error) *DoguRestartInterface_DeleteCollection_Call
func (*DoguRestartInterface_DeleteCollection_Call) Run ¶ added in v1.0.0
func (_c *DoguRestartInterface_DeleteCollection_Call) Run(run func(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions)) *DoguRestartInterface_DeleteCollection_Call
func (*DoguRestartInterface_DeleteCollection_Call) RunAndReturn ¶ added in v1.0.0
func (_c *DoguRestartInterface_DeleteCollection_Call) RunAndReturn(run func(context.Context, metav1.DeleteOptions, metav1.ListOptions) error) *DoguRestartInterface_DeleteCollection_Call
type DoguRestartInterface_Delete_Call ¶ added in v1.0.0
DoguRestartInterface_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*DoguRestartInterface_Delete_Call) Return ¶ added in v1.0.0
func (_c *DoguRestartInterface_Delete_Call) Return(_a0 error) *DoguRestartInterface_Delete_Call
func (*DoguRestartInterface_Delete_Call) Run ¶ added in v1.0.0
func (_c *DoguRestartInterface_Delete_Call) Run(run func(ctx context.Context, name string, opts metav1.DeleteOptions)) *DoguRestartInterface_Delete_Call
func (*DoguRestartInterface_Delete_Call) RunAndReturn ¶ added in v1.0.0
func (_c *DoguRestartInterface_Delete_Call) RunAndReturn(run func(context.Context, string, metav1.DeleteOptions) error) *DoguRestartInterface_Delete_Call
type DoguRestartInterface_Expecter ¶ added in v1.0.0
type DoguRestartInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*DoguRestartInterface_Expecter) Create ¶ added in v1.0.0
func (_e *DoguRestartInterface_Expecter) Create(ctx interface{}, dogu interface{}, opts interface{}) *DoguRestartInterface_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- dogu *v1.DoguRestart
- opts metav1.CreateOptions
func (*DoguRestartInterface_Expecter) Delete ¶ added in v1.0.0
func (_e *DoguRestartInterface_Expecter) Delete(ctx interface{}, name interface{}, opts interface{}) *DoguRestartInterface_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- name string
- opts metav1.DeleteOptions
func (*DoguRestartInterface_Expecter) DeleteCollection ¶ added in v1.0.0
func (_e *DoguRestartInterface_Expecter) DeleteCollection(ctx interface{}, opts interface{}, listOpts interface{}) *DoguRestartInterface_DeleteCollection_Call
DeleteCollection is a helper method to define mock.On call
- ctx context.Context
- opts metav1.DeleteOptions
- listOpts metav1.ListOptions
func (*DoguRestartInterface_Expecter) Get ¶ added in v1.0.0
func (_e *DoguRestartInterface_Expecter) Get(ctx interface{}, name interface{}, opts interface{}) *DoguRestartInterface_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- name string
- opts metav1.GetOptions
func (*DoguRestartInterface_Expecter) List ¶ added in v1.0.0
func (_e *DoguRestartInterface_Expecter) List(ctx interface{}, opts interface{}) *DoguRestartInterface_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- opts metav1.ListOptions
func (*DoguRestartInterface_Expecter) Patch ¶ added in v1.0.0
func (_e *DoguRestartInterface_Expecter) Patch(ctx interface{}, name interface{}, pt interface{}, data interface{}, opts interface{}, subresources ...interface{}) *DoguRestartInterface_Patch_Call
Patch is a helper method to define mock.On call
- ctx context.Context
- name string
- pt types.PatchType
- data []byte
- opts metav1.PatchOptions
- subresources ...string
func (*DoguRestartInterface_Expecter) Update ¶ added in v1.0.0
func (_e *DoguRestartInterface_Expecter) Update(ctx interface{}, dogu interface{}, opts interface{}) *DoguRestartInterface_Update_Call
Update is a helper method to define mock.On call
- ctx context.Context
- dogu *v1.DoguRestart
- opts metav1.UpdateOptions
func (*DoguRestartInterface_Expecter) UpdateSpecWithRetry ¶ added in v1.0.0
func (_e *DoguRestartInterface_Expecter) UpdateSpecWithRetry(ctx interface{}, doguRestart interface{}, modifySpecFn interface{}, opts interface{}) *DoguRestartInterface_UpdateSpecWithRetry_Call
UpdateSpecWithRetry is a helper method to define mock.On call
- ctx context.Context
- doguRestart *v1.DoguRestart
- modifySpecFn func(v1.DoguRestartSpec) v1.DoguRestartSpec
- opts metav1.UpdateOptions
func (*DoguRestartInterface_Expecter) UpdateStatus ¶ added in v1.0.0
func (_e *DoguRestartInterface_Expecter) UpdateStatus(ctx interface{}, dogu interface{}, opts interface{}) *DoguRestartInterface_UpdateStatus_Call
UpdateStatus is a helper method to define mock.On call
- ctx context.Context
- dogu *v1.DoguRestart
- opts metav1.UpdateOptions
func (*DoguRestartInterface_Expecter) UpdateStatusWithRetry ¶ added in v1.0.0
func (_e *DoguRestartInterface_Expecter) UpdateStatusWithRetry(ctx interface{}, doguRestart interface{}, modifyStatusFn interface{}, opts interface{}) *DoguRestartInterface_UpdateStatusWithRetry_Call
UpdateStatusWithRetry is a helper method to define mock.On call
- ctx context.Context
- doguRestart *v1.DoguRestart
- modifyStatusFn func(v1.DoguRestartStatus) v1.DoguRestartStatus
- opts metav1.UpdateOptions
func (*DoguRestartInterface_Expecter) Watch ¶ added in v1.0.0
func (_e *DoguRestartInterface_Expecter) Watch(ctx interface{}, opts interface{}) *DoguRestartInterface_Watch_Call
Watch is a helper method to define mock.On call
- ctx context.Context
- opts metav1.ListOptions
type DoguRestartInterface_Get_Call ¶ added in v1.0.0
DoguRestartInterface_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*DoguRestartInterface_Get_Call) Return ¶ added in v1.0.0
func (_c *DoguRestartInterface_Get_Call) Return(_a0 *v1.DoguRestart, _a1 error) *DoguRestartInterface_Get_Call
func (*DoguRestartInterface_Get_Call) Run ¶ added in v1.0.0
func (_c *DoguRestartInterface_Get_Call) Run(run func(ctx context.Context, name string, opts metav1.GetOptions)) *DoguRestartInterface_Get_Call
func (*DoguRestartInterface_Get_Call) RunAndReturn ¶ added in v1.0.0
func (_c *DoguRestartInterface_Get_Call) RunAndReturn(run func(context.Context, string, metav1.GetOptions) (*v1.DoguRestart, error)) *DoguRestartInterface_Get_Call
type DoguRestartInterface_List_Call ¶ added in v1.0.0
DoguRestartInterface_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*DoguRestartInterface_List_Call) Return ¶ added in v1.0.0
func (_c *DoguRestartInterface_List_Call) Return(_a0 *v1.DoguRestartList, _a1 error) *DoguRestartInterface_List_Call
func (*DoguRestartInterface_List_Call) Run ¶ added in v1.0.0
func (_c *DoguRestartInterface_List_Call) Run(run func(ctx context.Context, opts metav1.ListOptions)) *DoguRestartInterface_List_Call
func (*DoguRestartInterface_List_Call) RunAndReturn ¶ added in v1.0.0
func (_c *DoguRestartInterface_List_Call) RunAndReturn(run func(context.Context, metav1.ListOptions) (*v1.DoguRestartList, error)) *DoguRestartInterface_List_Call
type DoguRestartInterface_Patch_Call ¶ added in v1.0.0
DoguRestartInterface_Patch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Patch'
func (*DoguRestartInterface_Patch_Call) Return ¶ added in v1.0.0
func (_c *DoguRestartInterface_Patch_Call) Return(result *v1.DoguRestart, err error) *DoguRestartInterface_Patch_Call
func (*DoguRestartInterface_Patch_Call) Run ¶ added in v1.0.0
func (_c *DoguRestartInterface_Patch_Call) Run(run func(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string)) *DoguRestartInterface_Patch_Call
func (*DoguRestartInterface_Patch_Call) RunAndReturn ¶ added in v1.0.0
func (_c *DoguRestartInterface_Patch_Call) RunAndReturn(run func(context.Context, string, types.PatchType, []byte, metav1.PatchOptions, ...string) (*v1.DoguRestart, error)) *DoguRestartInterface_Patch_Call
type DoguRestartInterface_UpdateSpecWithRetry_Call ¶ added in v1.0.0
DoguRestartInterface_UpdateSpecWithRetry_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateSpecWithRetry'
func (*DoguRestartInterface_UpdateSpecWithRetry_Call) Return ¶ added in v1.0.0
func (_c *DoguRestartInterface_UpdateSpecWithRetry_Call) Return(result *v1.DoguRestart, err error) *DoguRestartInterface_UpdateSpecWithRetry_Call
func (*DoguRestartInterface_UpdateSpecWithRetry_Call) Run ¶ added in v1.0.0
func (_c *DoguRestartInterface_UpdateSpecWithRetry_Call) Run(run func(ctx context.Context, doguRestart *v1.DoguRestart, modifySpecFn func(v1.DoguRestartSpec) v1.DoguRestartSpec, opts metav1.UpdateOptions)) *DoguRestartInterface_UpdateSpecWithRetry_Call
func (*DoguRestartInterface_UpdateSpecWithRetry_Call) RunAndReturn ¶ added in v1.0.0
func (_c *DoguRestartInterface_UpdateSpecWithRetry_Call) RunAndReturn(run func(context.Context, *v1.DoguRestart, func(v1.DoguRestartSpec) v1.DoguRestartSpec, metav1.UpdateOptions) (*v1.DoguRestart, error)) *DoguRestartInterface_UpdateSpecWithRetry_Call
type DoguRestartInterface_UpdateStatusWithRetry_Call ¶ added in v1.0.0
DoguRestartInterface_UpdateStatusWithRetry_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateStatusWithRetry'
func (*DoguRestartInterface_UpdateStatusWithRetry_Call) Return ¶ added in v1.0.0
func (_c *DoguRestartInterface_UpdateStatusWithRetry_Call) Return(result *v1.DoguRestart, err error) *DoguRestartInterface_UpdateStatusWithRetry_Call
func (*DoguRestartInterface_UpdateStatusWithRetry_Call) Run ¶ added in v1.0.0
func (_c *DoguRestartInterface_UpdateStatusWithRetry_Call) Run(run func(ctx context.Context, doguRestart *v1.DoguRestart, modifyStatusFn func(v1.DoguRestartStatus) v1.DoguRestartStatus, opts metav1.UpdateOptions)) *DoguRestartInterface_UpdateStatusWithRetry_Call
func (*DoguRestartInterface_UpdateStatusWithRetry_Call) RunAndReturn ¶ added in v1.0.0
func (_c *DoguRestartInterface_UpdateStatusWithRetry_Call) RunAndReturn(run func(context.Context, *v1.DoguRestart, func(v1.DoguRestartStatus) v1.DoguRestartStatus, metav1.UpdateOptions) (*v1.DoguRestart, error)) *DoguRestartInterface_UpdateStatusWithRetry_Call
type DoguRestartInterface_UpdateStatus_Call ¶ added in v1.0.0
DoguRestartInterface_UpdateStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateStatus'
func (*DoguRestartInterface_UpdateStatus_Call) Return ¶ added in v1.0.0
func (_c *DoguRestartInterface_UpdateStatus_Call) Return(_a0 *v1.DoguRestart, _a1 error) *DoguRestartInterface_UpdateStatus_Call
func (*DoguRestartInterface_UpdateStatus_Call) Run ¶ added in v1.0.0
func (_c *DoguRestartInterface_UpdateStatus_Call) Run(run func(ctx context.Context, dogu *v1.DoguRestart, opts metav1.UpdateOptions)) *DoguRestartInterface_UpdateStatus_Call
func (*DoguRestartInterface_UpdateStatus_Call) RunAndReturn ¶ added in v1.0.0
func (_c *DoguRestartInterface_UpdateStatus_Call) RunAndReturn(run func(context.Context, *v1.DoguRestart, metav1.UpdateOptions) (*v1.DoguRestart, error)) *DoguRestartInterface_UpdateStatus_Call
type DoguRestartInterface_Update_Call ¶ added in v1.0.0
DoguRestartInterface_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*DoguRestartInterface_Update_Call) Return ¶ added in v1.0.0
func (_c *DoguRestartInterface_Update_Call) Return(_a0 *v1.DoguRestart, _a1 error) *DoguRestartInterface_Update_Call
func (*DoguRestartInterface_Update_Call) Run ¶ added in v1.0.0
func (_c *DoguRestartInterface_Update_Call) Run(run func(ctx context.Context, dogu *v1.DoguRestart, opts metav1.UpdateOptions)) *DoguRestartInterface_Update_Call
func (*DoguRestartInterface_Update_Call) RunAndReturn ¶ added in v1.0.0
func (_c *DoguRestartInterface_Update_Call) RunAndReturn(run func(context.Context, *v1.DoguRestart, metav1.UpdateOptions) (*v1.DoguRestart, error)) *DoguRestartInterface_Update_Call
type DoguRestartInterface_Watch_Call ¶ added in v1.0.0
DoguRestartInterface_Watch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Watch'
func (*DoguRestartInterface_Watch_Call) Return ¶ added in v1.0.0
func (_c *DoguRestartInterface_Watch_Call) Return(_a0 watch.Interface, _a1 error) *DoguRestartInterface_Watch_Call
func (*DoguRestartInterface_Watch_Call) Run ¶ added in v1.0.0
func (_c *DoguRestartInterface_Watch_Call) Run(run func(ctx context.Context, opts metav1.ListOptions)) *DoguRestartInterface_Watch_Call
func (*DoguRestartInterface_Watch_Call) RunAndReturn ¶ added in v1.0.0
func (_c *DoguRestartInterface_Watch_Call) RunAndReturn(run func(context.Context, metav1.ListOptions) (watch.Interface, error)) *DoguRestartInterface_Watch_Call
type DoguSecretHandler ¶
DoguSecretHandler is an autogenerated mock type for the DoguSecretHandler type
func NewDoguSecretHandler ¶
func NewDoguSecretHandler(t mockConstructorTestingTNewDoguSecretHandler) *DoguSecretHandler
NewDoguSecretHandler creates a new instance of DoguSecretHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*DoguSecretHandler) EXPECT ¶
func (_m *DoguSecretHandler) EXPECT() *DoguSecretHandler_Expecter
func (*DoguSecretHandler) WriteDoguSecretsToRegistry ¶
func (_m *DoguSecretHandler) WriteDoguSecretsToRegistry(ctx context.Context, doguResource *v1.Dogu) error
WriteDoguSecretsToRegistry provides a mock function with given fields: ctx, doguResource
type DoguSecretHandler_Expecter ¶
type DoguSecretHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*DoguSecretHandler_Expecter) WriteDoguSecretsToRegistry ¶
func (_e *DoguSecretHandler_Expecter) WriteDoguSecretsToRegistry(ctx interface{}, doguResource interface{}) *DoguSecretHandler_WriteDoguSecretsToRegistry_Call
WriteDoguSecretsToRegistry is a helper method to define mock.On call
- ctx context.Context
- doguResource *v1.Dogu
type DoguSecretHandler_WriteDoguSecretsToRegistry_Call ¶
DoguSecretHandler_WriteDoguSecretsToRegistry_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteDoguSecretsToRegistry'
func (*DoguSecretHandler_WriteDoguSecretsToRegistry_Call) Return ¶
func (_c *DoguSecretHandler_WriteDoguSecretsToRegistry_Call) Return(_a0 error) *DoguSecretHandler_WriteDoguSecretsToRegistry_Call
func (*DoguSecretHandler_WriteDoguSecretsToRegistry_Call) Run ¶
func (_c *DoguSecretHandler_WriteDoguSecretsToRegistry_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *DoguSecretHandler_WriteDoguSecretsToRegistry_Call
func (*DoguSecretHandler_WriteDoguSecretsToRegistry_Call) RunAndReturn ¶
func (_c *DoguSecretHandler_WriteDoguSecretsToRegistry_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *DoguSecretHandler_WriteDoguSecretsToRegistry_Call
type DoguStartStopManager ¶ added in v1.0.0
DoguStartStopManager is an autogenerated mock type for the DoguStartStopManager type
func NewDoguStartStopManager ¶ added in v1.0.0
func NewDoguStartStopManager(t mockConstructorTestingTNewDoguStartStopManager) *DoguStartStopManager
NewDoguStartStopManager creates a new instance of DoguStartStopManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*DoguStartStopManager) CheckStarted ¶ added in v1.0.0
CheckStarted provides a mock function with given fields: ctx, doguResource
func (*DoguStartStopManager) CheckStopped ¶ added in v1.0.0
CheckStopped provides a mock function with given fields: ctx, doguResource
func (*DoguStartStopManager) EXPECT ¶ added in v1.0.0
func (_m *DoguStartStopManager) EXPECT() *DoguStartStopManager_Expecter
type DoguStartStopManager_CheckStarted_Call ¶ added in v1.0.0
DoguStartStopManager_CheckStarted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckStarted'
func (*DoguStartStopManager_CheckStarted_Call) Return ¶ added in v1.0.0
func (_c *DoguStartStopManager_CheckStarted_Call) Return(_a0 error) *DoguStartStopManager_CheckStarted_Call
func (*DoguStartStopManager_CheckStarted_Call) Run ¶ added in v1.0.0
func (_c *DoguStartStopManager_CheckStarted_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *DoguStartStopManager_CheckStarted_Call
func (*DoguStartStopManager_CheckStarted_Call) RunAndReturn ¶ added in v1.0.0
func (_c *DoguStartStopManager_CheckStarted_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *DoguStartStopManager_CheckStarted_Call
type DoguStartStopManager_CheckStopped_Call ¶ added in v1.0.0
DoguStartStopManager_CheckStopped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckStopped'
func (*DoguStartStopManager_CheckStopped_Call) Return ¶ added in v1.0.0
func (_c *DoguStartStopManager_CheckStopped_Call) Return(_a0 error) *DoguStartStopManager_CheckStopped_Call
func (*DoguStartStopManager_CheckStopped_Call) Run ¶ added in v1.0.0
func (_c *DoguStartStopManager_CheckStopped_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *DoguStartStopManager_CheckStopped_Call
func (*DoguStartStopManager_CheckStopped_Call) RunAndReturn ¶ added in v1.0.0
func (_c *DoguStartStopManager_CheckStopped_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *DoguStartStopManager_CheckStopped_Call
type DoguStartStopManager_Expecter ¶ added in v1.0.0
type DoguStartStopManager_Expecter struct {
// contains filtered or unexported fields
}
func (*DoguStartStopManager_Expecter) CheckStarted ¶ added in v1.0.0
func (_e *DoguStartStopManager_Expecter) CheckStarted(ctx interface{}, doguResource interface{}) *DoguStartStopManager_CheckStarted_Call
CheckStarted is a helper method to define mock.On call
- ctx context.Context
- doguResource *v1.Dogu
func (*DoguStartStopManager_Expecter) CheckStopped ¶ added in v1.0.0
func (_e *DoguStartStopManager_Expecter) CheckStopped(ctx interface{}, doguResource interface{}) *DoguStartStopManager_CheckStopped_Call
CheckStopped is a helper method to define mock.On call
- ctx context.Context
- doguResource *v1.Dogu
func (*DoguStartStopManager_Expecter) StartDogu ¶ added in v1.0.0
func (_e *DoguStartStopManager_Expecter) StartDogu(ctx interface{}, doguResource interface{}) *DoguStartStopManager_StartDogu_Call
StartDogu is a helper method to define mock.On call
- ctx context.Context
- doguResource *v1.Dogu
func (*DoguStartStopManager_Expecter) StopDogu ¶ added in v1.0.0
func (_e *DoguStartStopManager_Expecter) StopDogu(ctx interface{}, doguResource interface{}) *DoguStartStopManager_StopDogu_Call
StopDogu is a helper method to define mock.On call
- ctx context.Context
- doguResource *v1.Dogu
type DoguStartStopManager_StartDogu_Call ¶ added in v1.0.0
DoguStartStopManager_StartDogu_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartDogu'
func (*DoguStartStopManager_StartDogu_Call) Return ¶ added in v1.0.0
func (_c *DoguStartStopManager_StartDogu_Call) Return(_a0 error) *DoguStartStopManager_StartDogu_Call
func (*DoguStartStopManager_StartDogu_Call) Run ¶ added in v1.0.0
func (_c *DoguStartStopManager_StartDogu_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *DoguStartStopManager_StartDogu_Call
func (*DoguStartStopManager_StartDogu_Call) RunAndReturn ¶ added in v1.0.0
func (_c *DoguStartStopManager_StartDogu_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *DoguStartStopManager_StartDogu_Call
type DoguStartStopManager_StopDogu_Call ¶ added in v1.0.0
DoguStartStopManager_StopDogu_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StopDogu'
func (*DoguStartStopManager_StopDogu_Call) Return ¶ added in v1.0.0
func (_c *DoguStartStopManager_StopDogu_Call) Return(_a0 error) *DoguStartStopManager_StopDogu_Call
func (*DoguStartStopManager_StopDogu_Call) Run ¶ added in v1.0.0
func (_c *DoguStartStopManager_StopDogu_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *DoguStartStopManager_StopDogu_Call
func (*DoguStartStopManager_StopDogu_Call) RunAndReturn ¶ added in v1.0.0
func (_c *DoguStartStopManager_StopDogu_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *DoguStartStopManager_StopDogu_Call
type EcosystemInterface ¶ added in v0.40.0
EcosystemInterface is an autogenerated mock type for the EcosystemInterface type
func NewEcosystemInterface ¶ added in v0.40.0
func NewEcosystemInterface(t mockConstructorTestingTNewEcosystemInterface) *EcosystemInterface
NewEcosystemInterface creates a new instance of EcosystemInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*EcosystemInterface) DoguRestarts ¶ added in v1.0.0
func (_m *EcosystemInterface) DoguRestarts(namespace string) ecoSystem.DoguRestartInterface
DoguRestarts provides a mock function with given fields: namespace
func (*EcosystemInterface) Dogus ¶ added in v0.40.0
func (_m *EcosystemInterface) Dogus(namespace string) ecoSystem.DoguInterface
Dogus provides a mock function with given fields: namespace
func (*EcosystemInterface) EXPECT ¶ added in v0.40.0
func (_m *EcosystemInterface) EXPECT() *EcosystemInterface_Expecter
type EcosystemInterface_DoguRestarts_Call ¶ added in v1.0.0
EcosystemInterface_DoguRestarts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DoguRestarts'
func (*EcosystemInterface_DoguRestarts_Call) Return ¶ added in v1.0.0
func (_c *EcosystemInterface_DoguRestarts_Call) Return(_a0 ecoSystem.DoguRestartInterface) *EcosystemInterface_DoguRestarts_Call
func (*EcosystemInterface_DoguRestarts_Call) Run ¶ added in v1.0.0
func (_c *EcosystemInterface_DoguRestarts_Call) Run(run func(namespace string)) *EcosystemInterface_DoguRestarts_Call
func (*EcosystemInterface_DoguRestarts_Call) RunAndReturn ¶ added in v1.0.0
func (_c *EcosystemInterface_DoguRestarts_Call) RunAndReturn(run func(string) ecoSystem.DoguRestartInterface) *EcosystemInterface_DoguRestarts_Call
type EcosystemInterface_Dogus_Call ¶ added in v0.40.0
EcosystemInterface_Dogus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Dogus'
func (*EcosystemInterface_Dogus_Call) Return ¶ added in v0.40.0
func (_c *EcosystemInterface_Dogus_Call) Return(_a0 ecoSystem.DoguInterface) *EcosystemInterface_Dogus_Call
func (*EcosystemInterface_Dogus_Call) Run ¶ added in v0.40.0
func (_c *EcosystemInterface_Dogus_Call) Run(run func(namespace string)) *EcosystemInterface_Dogus_Call
func (*EcosystemInterface_Dogus_Call) RunAndReturn ¶ added in v0.40.0
func (_c *EcosystemInterface_Dogus_Call) RunAndReturn(run func(string) ecoSystem.DoguInterface) *EcosystemInterface_Dogus_Call
type EcosystemInterface_Expecter ¶ added in v0.40.0
type EcosystemInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*EcosystemInterface_Expecter) DoguRestarts ¶ added in v1.0.0
func (_e *EcosystemInterface_Expecter) DoguRestarts(namespace interface{}) *EcosystemInterface_DoguRestarts_Call
DoguRestarts is a helper method to define mock.On call
- namespace string
func (*EcosystemInterface_Expecter) Dogus ¶ added in v0.40.0
func (_e *EcosystemInterface_Expecter) Dogus(namespace interface{}) *EcosystemInterface_Dogus_Call
Dogus is a helper method to define mock.On call
- namespace string
type ExecPod ¶
ExecPod is an autogenerated mock type for the ExecPod type
func NewExecPod ¶
func NewExecPod(t mockConstructorTestingTNewExecPod) *ExecPod
NewExecPod creates a new instance of ExecPod. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ExecPod) EXPECT ¶
func (_m *ExecPod) EXPECT() *ExecPod_Expecter
func (*ExecPod) ObjectKey ¶
func (_m *ExecPod) ObjectKey() *types.NamespacedName
ObjectKey provides a mock function with given fields:
type ExecPodFactory ¶
ExecPodFactory is an autogenerated mock type for the ExecPodFactory type
func NewExecPodFactory ¶
func NewExecPodFactory(t mockConstructorTestingTNewExecPodFactory) *ExecPodFactory
NewExecPodFactory creates a new instance of ExecPodFactory. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ExecPodFactory) EXPECT ¶
func (_m *ExecPodFactory) EXPECT() *ExecPodFactory_Expecter
func (*ExecPodFactory) NewExecPod ¶
func (_m *ExecPodFactory) NewExecPod(doguResource *v1.Dogu, dogu *core.Dogu) (cloudogu.ExecPod, error)
NewExecPod provides a mock function with given fields: doguResource, dogu
type ExecPodFactory_Expecter ¶
type ExecPodFactory_Expecter struct {
// contains filtered or unexported fields
}
func (*ExecPodFactory_Expecter) NewExecPod ¶
func (_e *ExecPodFactory_Expecter) NewExecPod(doguResource interface{}, dogu interface{}) *ExecPodFactory_NewExecPod_Call
NewExecPod is a helper method to define mock.On call
- doguResource *v1.Dogu
- dogu *core.Dogu
type ExecPodFactory_NewExecPod_Call ¶
ExecPodFactory_NewExecPod_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewExecPod'
func (*ExecPodFactory_NewExecPod_Call) Return ¶
func (_c *ExecPodFactory_NewExecPod_Call) Return(_a0 cloudogu.ExecPod, _a1 error) *ExecPodFactory_NewExecPod_Call
func (*ExecPodFactory_NewExecPod_Call) Run ¶
func (_c *ExecPodFactory_NewExecPod_Call) Run(run func(doguResource *v1.Dogu, dogu *core.Dogu)) *ExecPodFactory_NewExecPod_Call
func (*ExecPodFactory_NewExecPod_Call) RunAndReturn ¶
func (_c *ExecPodFactory_NewExecPod_Call) RunAndReturn(run func(*v1.Dogu, *core.Dogu) (cloudogu.ExecPod, error)) *ExecPodFactory_NewExecPod_Call
type ExecPod_Create_Call ¶
ExecPod_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*ExecPod_Create_Call) Return ¶
func (_c *ExecPod_Create_Call) Return(_a0 error) *ExecPod_Create_Call
func (*ExecPod_Create_Call) Run ¶
func (_c *ExecPod_Create_Call) Run(run func(ctx context.Context)) *ExecPod_Create_Call
func (*ExecPod_Create_Call) RunAndReturn ¶
func (_c *ExecPod_Create_Call) RunAndReturn(run func(context.Context) error) *ExecPod_Create_Call
type ExecPod_Delete_Call ¶
ExecPod_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*ExecPod_Delete_Call) Return ¶
func (_c *ExecPod_Delete_Call) Return(_a0 error) *ExecPod_Delete_Call
func (*ExecPod_Delete_Call) Run ¶
func (_c *ExecPod_Delete_Call) Run(run func(ctx context.Context)) *ExecPod_Delete_Call
func (*ExecPod_Delete_Call) RunAndReturn ¶
func (_c *ExecPod_Delete_Call) RunAndReturn(run func(context.Context) error) *ExecPod_Delete_Call
type ExecPod_Exec_Call ¶
ExecPod_Exec_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exec'
func (*ExecPod_Exec_Call) Return ¶
func (_c *ExecPod_Exec_Call) Return(out *bytes.Buffer, err error) *ExecPod_Exec_Call
func (*ExecPod_Exec_Call) Run ¶
func (_c *ExecPod_Exec_Call) Run(run func(ctx context.Context, cmd cloudogu.ShellCommand)) *ExecPod_Exec_Call
func (*ExecPod_Exec_Call) RunAndReturn ¶
func (_c *ExecPod_Exec_Call) RunAndReturn(run func(context.Context, cloudogu.ShellCommand) (*bytes.Buffer, error)) *ExecPod_Exec_Call
type ExecPod_Expecter ¶
type ExecPod_Expecter struct {
// contains filtered or unexported fields
}
func (*ExecPod_Expecter) Create ¶
func (_e *ExecPod_Expecter) Create(ctx interface{}) *ExecPod_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
func (*ExecPod_Expecter) Delete ¶
func (_e *ExecPod_Expecter) Delete(ctx interface{}) *ExecPod_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
func (*ExecPod_Expecter) Exec ¶
func (_e *ExecPod_Expecter) Exec(ctx interface{}, cmd interface{}) *ExecPod_Exec_Call
Exec is a helper method to define mock.On call
- ctx context.Context
- cmd cloudogu.ShellCommand
func (*ExecPod_Expecter) ObjectKey ¶
func (_e *ExecPod_Expecter) ObjectKey() *ExecPod_ObjectKey_Call
ObjectKey is a helper method to define mock.On call
func (*ExecPod_Expecter) PodName ¶
func (_e *ExecPod_Expecter) PodName() *ExecPod_PodName_Call
PodName is a helper method to define mock.On call
type ExecPod_ObjectKey_Call ¶
ExecPod_ObjectKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ObjectKey'
func (*ExecPod_ObjectKey_Call) Return ¶
func (_c *ExecPod_ObjectKey_Call) Return(_a0 *types.NamespacedName) *ExecPod_ObjectKey_Call
func (*ExecPod_ObjectKey_Call) Run ¶
func (_c *ExecPod_ObjectKey_Call) Run(run func()) *ExecPod_ObjectKey_Call
func (*ExecPod_ObjectKey_Call) RunAndReturn ¶
func (_c *ExecPod_ObjectKey_Call) RunAndReturn(run func() *types.NamespacedName) *ExecPod_ObjectKey_Call
type ExecPod_PodName_Call ¶
ExecPod_PodName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PodName'
func (*ExecPod_PodName_Call) Return ¶
func (_c *ExecPod_PodName_Call) Return(_a0 string) *ExecPod_PodName_Call
func (*ExecPod_PodName_Call) Run ¶
func (_c *ExecPod_PodName_Call) Run(run func()) *ExecPod_PodName_Call
func (*ExecPod_PodName_Call) RunAndReturn ¶
func (_c *ExecPod_PodName_Call) RunAndReturn(run func() string) *ExecPod_PodName_Call
type ExposePortAdder ¶ added in v0.31.0
ExposePortAdder is an autogenerated mock type for the ExposePortAdder type
func NewExposePortAdder ¶ added in v0.31.0
func NewExposePortAdder(t mockConstructorTestingTNewExposePortAdder) *ExposePortAdder
NewExposePortAdder creates a new instance of ExposePortAdder. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ExposePortAdder) CreateOrUpdateCesLoadbalancerService ¶ added in v0.31.0
func (_m *ExposePortAdder) CreateOrUpdateCesLoadbalancerService(ctx context.Context, doguResource *v1.Dogu, dogu *core.Dogu) (*corev1.Service, error)
CreateOrUpdateCesLoadbalancerService provides a mock function with given fields: ctx, doguResource, dogu
func (*ExposePortAdder) EXPECT ¶ added in v0.31.0
func (_m *ExposePortAdder) EXPECT() *ExposePortAdder_Expecter
type ExposePortAdder_CreateOrUpdateCesLoadbalancerService_Call ¶ added in v0.31.0
ExposePortAdder_CreateOrUpdateCesLoadbalancerService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateOrUpdateCesLoadbalancerService'
func (*ExposePortAdder_CreateOrUpdateCesLoadbalancerService_Call) Return ¶ added in v0.31.0
func (_c *ExposePortAdder_CreateOrUpdateCesLoadbalancerService_Call) Return(_a0 *corev1.Service, _a1 error) *ExposePortAdder_CreateOrUpdateCesLoadbalancerService_Call
func (*ExposePortAdder_CreateOrUpdateCesLoadbalancerService_Call) Run ¶ added in v0.31.0
func (_c *ExposePortAdder_CreateOrUpdateCesLoadbalancerService_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu, dogu *core.Dogu)) *ExposePortAdder_CreateOrUpdateCesLoadbalancerService_Call
func (*ExposePortAdder_CreateOrUpdateCesLoadbalancerService_Call) RunAndReturn ¶ added in v0.31.0
type ExposePortAdder_Expecter ¶ added in v0.31.0
type ExposePortAdder_Expecter struct {
// contains filtered or unexported fields
}
func (*ExposePortAdder_Expecter) CreateOrUpdateCesLoadbalancerService ¶ added in v0.31.0
func (_e *ExposePortAdder_Expecter) CreateOrUpdateCesLoadbalancerService(ctx interface{}, doguResource interface{}, dogu interface{}) *ExposePortAdder_CreateOrUpdateCesLoadbalancerService_Call
CreateOrUpdateCesLoadbalancerService is a helper method to define mock.On call
- ctx context.Context
- doguResource *v1.Dogu
- dogu *core.Dogu
type ExposePortRemover ¶ added in v0.31.0
ExposePortRemover is an autogenerated mock type for the ExposePortRemover type
func NewExposePortRemover ¶ added in v0.31.0
func NewExposePortRemover(t mockConstructorTestingTNewExposePortRemover) *ExposePortRemover
NewExposePortRemover creates a new instance of ExposePortRemover. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ExposePortRemover) EXPECT ¶ added in v0.31.0
func (_m *ExposePortRemover) EXPECT() *ExposePortRemover_Expecter
func (*ExposePortRemover) RemoveExposedPorts ¶ added in v0.31.0
func (_m *ExposePortRemover) RemoveExposedPorts(ctx context.Context, doguResource *v1.Dogu, dogu *core.Dogu) error
RemoveExposedPorts provides a mock function with given fields: ctx, doguResource, dogu
type ExposePortRemover_Expecter ¶ added in v0.31.0
type ExposePortRemover_Expecter struct {
// contains filtered or unexported fields
}
func (*ExposePortRemover_Expecter) RemoveExposedPorts ¶ added in v0.31.0
func (_e *ExposePortRemover_Expecter) RemoveExposedPorts(ctx interface{}, doguResource interface{}, dogu interface{}) *ExposePortRemover_RemoveExposedPorts_Call
RemoveExposedPorts is a helper method to define mock.On call
- ctx context.Context
- doguResource *v1.Dogu
- dogu *core.Dogu
type ExposePortRemover_RemoveExposedPorts_Call ¶ added in v0.31.0
ExposePortRemover_RemoveExposedPorts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveExposedPorts'
func (*ExposePortRemover_RemoveExposedPorts_Call) Return ¶ added in v0.31.0
func (_c *ExposePortRemover_RemoveExposedPorts_Call) Return(_a0 error) *ExposePortRemover_RemoveExposedPorts_Call
func (*ExposePortRemover_RemoveExposedPorts_Call) Run ¶ added in v0.31.0
func (_c *ExposePortRemover_RemoveExposedPorts_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu, dogu *core.Dogu)) *ExposePortRemover_RemoveExposedPorts_Call
func (*ExposePortRemover_RemoveExposedPorts_Call) RunAndReturn ¶ added in v0.31.0
func (_c *ExposePortRemover_RemoveExposedPorts_Call) RunAndReturn(run func(context.Context, *v1.Dogu, *core.Dogu) error) *ExposePortRemover_RemoveExposedPorts_Call
type FileExtractor ¶
FileExtractor is an autogenerated mock type for the FileExtractor type
func NewFileExtractor ¶
func NewFileExtractor(t mockConstructorTestingTNewFileExtractor) *FileExtractor
NewFileExtractor creates a new instance of FileExtractor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*FileExtractor) EXPECT ¶
func (_m *FileExtractor) EXPECT() *FileExtractor_Expecter
func (*FileExtractor) ExtractK8sResourcesFromContainer ¶
func (_m *FileExtractor) ExtractK8sResourcesFromContainer(ctx context.Context, k8sExecPod cloudogu.ExecPod) (map[string]string, error)
ExtractK8sResourcesFromContainer provides a mock function with given fields: ctx, k8sExecPod
type FileExtractor_Expecter ¶
type FileExtractor_Expecter struct {
// contains filtered or unexported fields
}
func (*FileExtractor_Expecter) ExtractK8sResourcesFromContainer ¶
func (_e *FileExtractor_Expecter) ExtractK8sResourcesFromContainer(ctx interface{}, k8sExecPod interface{}) *FileExtractor_ExtractK8sResourcesFromContainer_Call
ExtractK8sResourcesFromContainer is a helper method to define mock.On call
- ctx context.Context
- k8sExecPod cloudogu.ExecPod
type FileExtractor_ExtractK8sResourcesFromContainer_Call ¶
FileExtractor_ExtractK8sResourcesFromContainer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExtractK8sResourcesFromContainer'
func (*FileExtractor_ExtractK8sResourcesFromContainer_Call) Return ¶
func (_c *FileExtractor_ExtractK8sResourcesFromContainer_Call) Return(_a0 map[string]string, _a1 error) *FileExtractor_ExtractK8sResourcesFromContainer_Call
func (*FileExtractor_ExtractK8sResourcesFromContainer_Call) Run ¶
func (_c *FileExtractor_ExtractK8sResourcesFromContainer_Call) Run(run func(ctx context.Context, k8sExecPod cloudogu.ExecPod)) *FileExtractor_ExtractK8sResourcesFromContainer_Call
func (*FileExtractor_ExtractK8sResourcesFromContainer_Call) RunAndReturn ¶
func (_c *FileExtractor_ExtractK8sResourcesFromContainer_Call) RunAndReturn(run func(context.Context, cloudogu.ExecPod) (map[string]string, error)) *FileExtractor_ExtractK8sResourcesFromContainer_Call
type ImageRegistry ¶
ImageRegistry is an autogenerated mock type for the ImageRegistry type
func NewImageRegistry ¶
func NewImageRegistry(t mockConstructorTestingTNewImageRegistry) *ImageRegistry
NewImageRegistry creates a new instance of ImageRegistry. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ImageRegistry) EXPECT ¶
func (_m *ImageRegistry) EXPECT() *ImageRegistry_Expecter
func (*ImageRegistry) PullImageConfig ¶
func (_m *ImageRegistry) PullImageConfig(ctx context.Context, image string) (*v1.ConfigFile, error)
PullImageConfig provides a mock function with given fields: ctx, image
type ImageRegistry_Expecter ¶
type ImageRegistry_Expecter struct {
// contains filtered or unexported fields
}
func (*ImageRegistry_Expecter) PullImageConfig ¶
func (_e *ImageRegistry_Expecter) PullImageConfig(ctx interface{}, image interface{}) *ImageRegistry_PullImageConfig_Call
PullImageConfig is a helper method to define mock.On call
- ctx context.Context
- image string
type ImageRegistry_PullImageConfig_Call ¶
ImageRegistry_PullImageConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PullImageConfig'
func (*ImageRegistry_PullImageConfig_Call) Return ¶
func (_c *ImageRegistry_PullImageConfig_Call) Return(_a0 *v1.ConfigFile, _a1 error) *ImageRegistry_PullImageConfig_Call
func (*ImageRegistry_PullImageConfig_Call) Run ¶
func (_c *ImageRegistry_PullImageConfig_Call) Run(run func(ctx context.Context, image string)) *ImageRegistry_PullImageConfig_Call
func (*ImageRegistry_PullImageConfig_Call) RunAndReturn ¶
func (_c *ImageRegistry_PullImageConfig_Call) RunAndReturn(run func(context.Context, string) (*v1.ConfigFile, error)) *ImageRegistry_PullImageConfig_Call
type InstallManager ¶
InstallManager is an autogenerated mock type for the InstallManager type
func NewInstallManager ¶
func NewInstallManager(t mockConstructorTestingTNewInstallManager) *InstallManager
NewInstallManager creates a new instance of InstallManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*InstallManager) EXPECT ¶
func (_m *InstallManager) EXPECT() *InstallManager_Expecter
type InstallManager_Expecter ¶
type InstallManager_Expecter struct {
// contains filtered or unexported fields
}
func (*InstallManager_Expecter) Install ¶
func (_e *InstallManager_Expecter) Install(ctx interface{}, doguResource interface{}) *InstallManager_Install_Call
Install is a helper method to define mock.On call
- ctx context.Context
- doguResource *v1.Dogu
type InstallManager_Install_Call ¶
InstallManager_Install_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Install'
func (*InstallManager_Install_Call) Return ¶
func (_c *InstallManager_Install_Call) Return(_a0 error) *InstallManager_Install_Call
func (*InstallManager_Install_Call) Run ¶
func (_c *InstallManager_Install_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *InstallManager_Install_Call
func (*InstallManager_Install_Call) RunAndReturn ¶
func (_c *InstallManager_Install_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *InstallManager_Install_Call
type LocalDoguFetcher ¶
LocalDoguFetcher is an autogenerated mock type for the LocalDoguFetcher type
func NewLocalDoguFetcher ¶
func NewLocalDoguFetcher(t mockConstructorTestingTNewLocalDoguFetcher) *LocalDoguFetcher
NewLocalDoguFetcher creates a new instance of LocalDoguFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*LocalDoguFetcher) EXPECT ¶
func (_m *LocalDoguFetcher) EXPECT() *LocalDoguFetcher_Expecter
func (*LocalDoguFetcher) FetchInstalled ¶
func (_m *LocalDoguFetcher) FetchInstalled(ctx context.Context, doguName string) (*core.Dogu, error)
FetchInstalled provides a mock function with given fields: ctx, doguName
type LocalDoguFetcher_Expecter ¶
type LocalDoguFetcher_Expecter struct {
// contains filtered or unexported fields
}
func (*LocalDoguFetcher_Expecter) FetchInstalled ¶
func (_e *LocalDoguFetcher_Expecter) FetchInstalled(ctx interface{}, doguName interface{}) *LocalDoguFetcher_FetchInstalled_Call
FetchInstalled is a helper method to define mock.On call
- ctx context.Context
- doguName string
type LocalDoguFetcher_FetchInstalled_Call ¶
LocalDoguFetcher_FetchInstalled_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FetchInstalled'
func (*LocalDoguFetcher_FetchInstalled_Call) Return ¶
func (_c *LocalDoguFetcher_FetchInstalled_Call) Return(installedDogu *core.Dogu, err error) *LocalDoguFetcher_FetchInstalled_Call
func (*LocalDoguFetcher_FetchInstalled_Call) Run ¶
func (_c *LocalDoguFetcher_FetchInstalled_Call) Run(run func(ctx context.Context, doguName string)) *LocalDoguFetcher_FetchInstalled_Call
func (*LocalDoguFetcher_FetchInstalled_Call) RunAndReturn ¶
func (_c *LocalDoguFetcher_FetchInstalled_Call) RunAndReturn(run func(context.Context, string) (*core.Dogu, error)) *LocalDoguFetcher_FetchInstalled_Call
type PodTemplateResourceGenerator ¶ added in v0.36.0
PodTemplateResourceGenerator is an autogenerated mock type for the PodTemplateResourceGenerator type
func NewPodTemplateResourceGenerator ¶ added in v0.36.0
func NewPodTemplateResourceGenerator(t mockConstructorTestingTNewPodTemplateResourceGenerator) *PodTemplateResourceGenerator
NewPodTemplateResourceGenerator creates a new instance of PodTemplateResourceGenerator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*PodTemplateResourceGenerator) EXPECT ¶ added in v0.36.0
func (_m *PodTemplateResourceGenerator) EXPECT() *PodTemplateResourceGenerator_Expecter
func (*PodTemplateResourceGenerator) GetPodTemplate ¶ added in v0.36.0
func (_m *PodTemplateResourceGenerator) GetPodTemplate(doguResource *v1.Dogu, dogu *core.Dogu) (*corev1.PodTemplateSpec, error)
GetPodTemplate provides a mock function with given fields: doguResource, dogu
type PodTemplateResourceGenerator_Expecter ¶ added in v0.36.0
type PodTemplateResourceGenerator_Expecter struct {
// contains filtered or unexported fields
}
func (*PodTemplateResourceGenerator_Expecter) GetPodTemplate ¶ added in v0.36.0
func (_e *PodTemplateResourceGenerator_Expecter) GetPodTemplate(doguResource interface{}, dogu interface{}) *PodTemplateResourceGenerator_GetPodTemplate_Call
GetPodTemplate is a helper method to define mock.On call
- doguResource *v1.Dogu
- dogu *core.Dogu
type PodTemplateResourceGenerator_GetPodTemplate_Call ¶ added in v0.36.0
PodTemplateResourceGenerator_GetPodTemplate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPodTemplate'
func (*PodTemplateResourceGenerator_GetPodTemplate_Call) Return ¶ added in v0.36.0
func (_c *PodTemplateResourceGenerator_GetPodTemplate_Call) Return(_a0 *corev1.PodTemplateSpec, _a1 error) *PodTemplateResourceGenerator_GetPodTemplate_Call
func (*PodTemplateResourceGenerator_GetPodTemplate_Call) Run ¶ added in v0.36.0
func (_c *PodTemplateResourceGenerator_GetPodTemplate_Call) Run(run func(doguResource *v1.Dogu, dogu *core.Dogu)) *PodTemplateResourceGenerator_GetPodTemplate_Call
func (*PodTemplateResourceGenerator_GetPodTemplate_Call) RunAndReturn ¶ added in v0.36.0
func (_c *PodTemplateResourceGenerator_GetPodTemplate_Call) RunAndReturn(run func(*v1.Dogu, *core.Dogu) (*corev1.PodTemplateSpec, error)) *PodTemplateResourceGenerator_GetPodTemplate_Call
type PremisesChecker ¶
PremisesChecker is an autogenerated mock type for the PremisesChecker type
func NewPremisesChecker ¶
func NewPremisesChecker(t mockConstructorTestingTNewPremisesChecker) *PremisesChecker
NewPremisesChecker creates a new instance of PremisesChecker. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*PremisesChecker) Check ¶
func (_m *PremisesChecker) Check(ctx context.Context, toDoguResource *v1.Dogu, fromDogu *core.Dogu, toDogu *core.Dogu) error
Check provides a mock function with given fields: ctx, toDoguResource, fromDogu, toDogu
func (*PremisesChecker) EXPECT ¶
func (_m *PremisesChecker) EXPECT() *PremisesChecker_Expecter
type PremisesChecker_Check_Call ¶
PremisesChecker_Check_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Check'
func (*PremisesChecker_Check_Call) Return ¶
func (_c *PremisesChecker_Check_Call) Return(_a0 error) *PremisesChecker_Check_Call
func (*PremisesChecker_Check_Call) Run ¶
func (_c *PremisesChecker_Check_Call) Run(run func(ctx context.Context, toDoguResource *v1.Dogu, fromDogu *core.Dogu, toDogu *core.Dogu)) *PremisesChecker_Check_Call
func (*PremisesChecker_Check_Call) RunAndReturn ¶
type PremisesChecker_Expecter ¶
type PremisesChecker_Expecter struct {
// contains filtered or unexported fields
}
func (*PremisesChecker_Expecter) Check ¶
func (_e *PremisesChecker_Expecter) Check(ctx interface{}, toDoguResource interface{}, fromDogu interface{}, toDogu interface{}) *PremisesChecker_Check_Call
Check is a helper method to define mock.On call
- ctx context.Context
- toDoguResource *v1.Dogu
- fromDogu *core.Dogu
- toDogu *core.Dogu
type RequeueHandler ¶ added in v0.36.0
RequeueHandler is an autogenerated mock type for the RequeueHandler type
func NewRequeueHandler ¶ added in v0.36.0
func NewRequeueHandler(t mockConstructorTestingTNewRequeueHandler) *RequeueHandler
NewRequeueHandler creates a new instance of RequeueHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*RequeueHandler) EXPECT ¶ added in v0.36.0
func (_m *RequeueHandler) EXPECT() *RequeueHandler_Expecter
func (*RequeueHandler) Handle ¶ added in v0.36.0
func (_m *RequeueHandler) Handle(ctx context.Context, contextMessage string, doguResource *v1.Dogu, err error, onRequeue func(*v1.Dogu) error) (reconcile.Result, error)
Handle provides a mock function with given fields: ctx, contextMessage, doguResource, err, onRequeue
type RequeueHandler_Expecter ¶ added in v0.36.0
type RequeueHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*RequeueHandler_Expecter) Handle ¶ added in v0.36.0
func (_e *RequeueHandler_Expecter) Handle(ctx interface{}, contextMessage interface{}, doguResource interface{}, err interface{}, onRequeue interface{}) *RequeueHandler_Handle_Call
Handle is a helper method to define mock.On call
- ctx context.Context
- contextMessage string
- doguResource *v1.Dogu
- err error
- onRequeue func(*v1.Dogu) error
type RequeueHandler_Handle_Call ¶ added in v0.36.0
RequeueHandler_Handle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Handle'
func (*RequeueHandler_Handle_Call) Return ¶ added in v0.36.0
func (_c *RequeueHandler_Handle_Call) Return(result reconcile.Result, requeueErr error) *RequeueHandler_Handle_Call
type ResourceDoguFetcher ¶
ResourceDoguFetcher is an autogenerated mock type for the ResourceDoguFetcher type
func NewResourceDoguFetcher ¶
func NewResourceDoguFetcher(t mockConstructorTestingTNewResourceDoguFetcher) *ResourceDoguFetcher
NewResourceDoguFetcher creates a new instance of ResourceDoguFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ResourceDoguFetcher) EXPECT ¶
func (_m *ResourceDoguFetcher) EXPECT() *ResourceDoguFetcher_Expecter
func (*ResourceDoguFetcher) FetchWithResource ¶
func (_m *ResourceDoguFetcher) FetchWithResource(ctx context.Context, doguResource *v1.Dogu) (*core.Dogu, *v1.DevelopmentDoguMap, error)
FetchWithResource provides a mock function with given fields: ctx, doguResource
type ResourceDoguFetcher_Expecter ¶
type ResourceDoguFetcher_Expecter struct {
// contains filtered or unexported fields
}
func (*ResourceDoguFetcher_Expecter) FetchWithResource ¶
func (_e *ResourceDoguFetcher_Expecter) FetchWithResource(ctx interface{}, doguResource interface{}) *ResourceDoguFetcher_FetchWithResource_Call
FetchWithResource is a helper method to define mock.On call
- ctx context.Context
- doguResource *v1.Dogu
type ResourceDoguFetcher_FetchWithResource_Call ¶
ResourceDoguFetcher_FetchWithResource_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FetchWithResource'
func (*ResourceDoguFetcher_FetchWithResource_Call) Return ¶
func (_c *ResourceDoguFetcher_FetchWithResource_Call) Return(_a0 *core.Dogu, _a1 *v1.DevelopmentDoguMap, _a2 error) *ResourceDoguFetcher_FetchWithResource_Call
func (*ResourceDoguFetcher_FetchWithResource_Call) Run ¶
func (_c *ResourceDoguFetcher_FetchWithResource_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *ResourceDoguFetcher_FetchWithResource_Call
func (*ResourceDoguFetcher_FetchWithResource_Call) RunAndReturn ¶
func (_c *ResourceDoguFetcher_FetchWithResource_Call) RunAndReturn(run func(context.Context, *v1.Dogu) (*core.Dogu, *v1.DevelopmentDoguMap, error)) *ResourceDoguFetcher_FetchWithResource_Call
type ResourceRequirementsGenerator ¶ added in v0.33.0
ResourceRequirementsGenerator is an autogenerated mock type for the ResourceRequirementsGenerator type
func NewResourceRequirementsGenerator ¶ added in v0.33.0
func NewResourceRequirementsGenerator(t mockConstructorTestingTNewResourceRequirementsGenerator) *ResourceRequirementsGenerator
NewResourceRequirementsGenerator creates a new instance of ResourceRequirementsGenerator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ResourceRequirementsGenerator) EXPECT ¶ added in v0.33.0
func (_m *ResourceRequirementsGenerator) EXPECT() *ResourceRequirementsGenerator_Expecter
func (*ResourceRequirementsGenerator) Generate ¶ added in v0.33.0
func (_m *ResourceRequirementsGenerator) Generate(dogu *core.Dogu) (v1.ResourceRequirements, error)
Generate provides a mock function with given fields: dogu
type ResourceRequirementsGenerator_Expecter ¶ added in v0.33.0
type ResourceRequirementsGenerator_Expecter struct {
// contains filtered or unexported fields
}
func (*ResourceRequirementsGenerator_Expecter) Generate ¶ added in v0.33.0
func (_e *ResourceRequirementsGenerator_Expecter) Generate(dogu interface{}) *ResourceRequirementsGenerator_Generate_Call
Generate is a helper method to define mock.On call
- dogu *core.Dogu
type ResourceRequirementsGenerator_Generate_Call ¶ added in v0.33.0
ResourceRequirementsGenerator_Generate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Generate'
func (*ResourceRequirementsGenerator_Generate_Call) Return ¶ added in v0.33.0
func (_c *ResourceRequirementsGenerator_Generate_Call) Return(_a0 v1.ResourceRequirements, _a1 error) *ResourceRequirementsGenerator_Generate_Call
func (*ResourceRequirementsGenerator_Generate_Call) Run ¶ added in v0.33.0
func (_c *ResourceRequirementsGenerator_Generate_Call) Run(run func(dogu *core.Dogu)) *ResourceRequirementsGenerator_Generate_Call
func (*ResourceRequirementsGenerator_Generate_Call) RunAndReturn ¶ added in v0.33.0
func (_c *ResourceRequirementsGenerator_Generate_Call) RunAndReturn(run func(*core.Dogu) (v1.ResourceRequirements, error)) *ResourceRequirementsGenerator_Generate_Call
type ResourceUpserter ¶
ResourceUpserter is an autogenerated mock type for the ResourceUpserter type
func NewResourceUpserter ¶
func NewResourceUpserter(t mockConstructorTestingTNewResourceUpserter) *ResourceUpserter
NewResourceUpserter creates a new instance of ResourceUpserter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ResourceUpserter) EXPECT ¶
func (_m *ResourceUpserter) EXPECT() *ResourceUpserter_Expecter
func (*ResourceUpserter) UpsertDoguDeployment ¶
func (_m *ResourceUpserter) UpsertDoguDeployment(ctx context.Context, doguResource *v1.Dogu, dogu *core.Dogu, deploymentPatch func(*appsv1.Deployment)) (*appsv1.Deployment, error)
UpsertDoguDeployment provides a mock function with given fields: ctx, doguResource, dogu, deploymentPatch
func (*ResourceUpserter) UpsertDoguExposedService ¶ added in v0.31.0
func (_m *ResourceUpserter) UpsertDoguExposedService(ctx context.Context, doguResource *v1.Dogu, dogu *core.Dogu) (*corev1.Service, error)
UpsertDoguExposedService provides a mock function with given fields: ctx, doguResource, dogu
func (*ResourceUpserter) UpsertDoguPVCs ¶
func (_m *ResourceUpserter) UpsertDoguPVCs(ctx context.Context, doguResource *v1.Dogu, dogu *core.Dogu) (*corev1.PersistentVolumeClaim, error)
UpsertDoguPVCs provides a mock function with given fields: ctx, doguResource, dogu
func (*ResourceUpserter) UpsertDoguService ¶
func (_m *ResourceUpserter) UpsertDoguService(ctx context.Context, doguResource *v1.Dogu, image *pkgv1.ConfigFile) (*corev1.Service, error)
UpsertDoguService provides a mock function with given fields: ctx, doguResource, image
type ResourceUpserter_Expecter ¶
type ResourceUpserter_Expecter struct {
// contains filtered or unexported fields
}
func (*ResourceUpserter_Expecter) UpsertDoguDeployment ¶
func (_e *ResourceUpserter_Expecter) UpsertDoguDeployment(ctx interface{}, doguResource interface{}, dogu interface{}, deploymentPatch interface{}) *ResourceUpserter_UpsertDoguDeployment_Call
UpsertDoguDeployment is a helper method to define mock.On call
- ctx context.Context
- doguResource *v1.Dogu
- dogu *core.Dogu
- deploymentPatch func(*appsv1.Deployment)
func (*ResourceUpserter_Expecter) UpsertDoguExposedService ¶ added in v0.31.0
func (_e *ResourceUpserter_Expecter) UpsertDoguExposedService(ctx interface{}, doguResource interface{}, dogu interface{}) *ResourceUpserter_UpsertDoguExposedService_Call
UpsertDoguExposedService is a helper method to define mock.On call
- ctx context.Context
- doguResource *v1.Dogu
- dogu *core.Dogu
func (*ResourceUpserter_Expecter) UpsertDoguPVCs ¶
func (_e *ResourceUpserter_Expecter) UpsertDoguPVCs(ctx interface{}, doguResource interface{}, dogu interface{}) *ResourceUpserter_UpsertDoguPVCs_Call
UpsertDoguPVCs is a helper method to define mock.On call
- ctx context.Context
- doguResource *v1.Dogu
- dogu *core.Dogu
func (*ResourceUpserter_Expecter) UpsertDoguService ¶
func (_e *ResourceUpserter_Expecter) UpsertDoguService(ctx interface{}, doguResource interface{}, image interface{}) *ResourceUpserter_UpsertDoguService_Call
UpsertDoguService is a helper method to define mock.On call
- ctx context.Context
- doguResource *v1.Dogu
- image *pkgv1.ConfigFile
type ResourceUpserter_UpsertDoguDeployment_Call ¶
ResourceUpserter_UpsertDoguDeployment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpsertDoguDeployment'
func (*ResourceUpserter_UpsertDoguDeployment_Call) Return ¶
func (_c *ResourceUpserter_UpsertDoguDeployment_Call) Return(_a0 *appsv1.Deployment, _a1 error) *ResourceUpserter_UpsertDoguDeployment_Call
func (*ResourceUpserter_UpsertDoguDeployment_Call) Run ¶
func (_c *ResourceUpserter_UpsertDoguDeployment_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu, dogu *core.Dogu, deploymentPatch func(*appsv1.Deployment))) *ResourceUpserter_UpsertDoguDeployment_Call
func (*ResourceUpserter_UpsertDoguDeployment_Call) RunAndReturn ¶
func (_c *ResourceUpserter_UpsertDoguDeployment_Call) RunAndReturn(run func(context.Context, *v1.Dogu, *core.Dogu, func(*appsv1.Deployment)) (*appsv1.Deployment, error)) *ResourceUpserter_UpsertDoguDeployment_Call
type ResourceUpserter_UpsertDoguExposedService_Call ¶ added in v0.31.0
ResourceUpserter_UpsertDoguExposedService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpsertDoguExposedService'
func (*ResourceUpserter_UpsertDoguExposedService_Call) Return ¶ added in v0.31.0
func (_c *ResourceUpserter_UpsertDoguExposedService_Call) Return(_a0 *corev1.Service, _a1 error) *ResourceUpserter_UpsertDoguExposedService_Call
func (*ResourceUpserter_UpsertDoguExposedService_Call) Run ¶ added in v0.31.0
func (_c *ResourceUpserter_UpsertDoguExposedService_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu, dogu *core.Dogu)) *ResourceUpserter_UpsertDoguExposedService_Call
func (*ResourceUpserter_UpsertDoguExposedService_Call) RunAndReturn ¶ added in v0.31.0
type ResourceUpserter_UpsertDoguPVCs_Call ¶
ResourceUpserter_UpsertDoguPVCs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpsertDoguPVCs'
func (*ResourceUpserter_UpsertDoguPVCs_Call) Return ¶
func (_c *ResourceUpserter_UpsertDoguPVCs_Call) Return(_a0 *corev1.PersistentVolumeClaim, _a1 error) *ResourceUpserter_UpsertDoguPVCs_Call
func (*ResourceUpserter_UpsertDoguPVCs_Call) Run ¶
func (_c *ResourceUpserter_UpsertDoguPVCs_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu, dogu *core.Dogu)) *ResourceUpserter_UpsertDoguPVCs_Call
func (*ResourceUpserter_UpsertDoguPVCs_Call) RunAndReturn ¶
func (_c *ResourceUpserter_UpsertDoguPVCs_Call) RunAndReturn(run func(context.Context, *v1.Dogu, *core.Dogu) (*corev1.PersistentVolumeClaim, error)) *ResourceUpserter_UpsertDoguPVCs_Call
type ResourceUpserter_UpsertDoguService_Call ¶
ResourceUpserter_UpsertDoguService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpsertDoguService'
func (*ResourceUpserter_UpsertDoguService_Call) Return ¶
func (_c *ResourceUpserter_UpsertDoguService_Call) Return(_a0 *corev1.Service, _a1 error) *ResourceUpserter_UpsertDoguService_Call
func (*ResourceUpserter_UpsertDoguService_Call) Run ¶
func (_c *ResourceUpserter_UpsertDoguService_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu, image *pkgv1.ConfigFile)) *ResourceUpserter_UpsertDoguService_Call
func (*ResourceUpserter_UpsertDoguService_Call) RunAndReturn ¶
func (_c *ResourceUpserter_UpsertDoguService_Call) RunAndReturn(run func(context.Context, *v1.Dogu, *pkgv1.ConfigFile) (*corev1.Service, error)) *ResourceUpserter_UpsertDoguService_Call
type SecretResourceGenerator ¶
SecretResourceGenerator is an autogenerated mock type for the SecretResourceGenerator type
func NewSecretResourceGenerator ¶
func NewSecretResourceGenerator(t mockConstructorTestingTNewSecretResourceGenerator) *SecretResourceGenerator
NewSecretResourceGenerator creates a new instance of SecretResourceGenerator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*SecretResourceGenerator) CreateDoguSecret ¶
func (_m *SecretResourceGenerator) CreateDoguSecret(doguResource *v1.Dogu, stringData map[string]string) (*corev1.Secret, error)
CreateDoguSecret provides a mock function with given fields: doguResource, stringData
func (*SecretResourceGenerator) EXPECT ¶
func (_m *SecretResourceGenerator) EXPECT() *SecretResourceGenerator_Expecter
type SecretResourceGenerator_CreateDoguSecret_Call ¶
SecretResourceGenerator_CreateDoguSecret_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateDoguSecret'
func (*SecretResourceGenerator_CreateDoguSecret_Call) Return ¶
func (_c *SecretResourceGenerator_CreateDoguSecret_Call) Return(_a0 *corev1.Secret, _a1 error) *SecretResourceGenerator_CreateDoguSecret_Call
func (*SecretResourceGenerator_CreateDoguSecret_Call) Run ¶
func (_c *SecretResourceGenerator_CreateDoguSecret_Call) Run(run func(doguResource *v1.Dogu, stringData map[string]string)) *SecretResourceGenerator_CreateDoguSecret_Call
func (*SecretResourceGenerator_CreateDoguSecret_Call) RunAndReturn ¶
func (_c *SecretResourceGenerator_CreateDoguSecret_Call) RunAndReturn(run func(*v1.Dogu, map[string]string) (*corev1.Secret, error)) *SecretResourceGenerator_CreateDoguSecret_Call
type SecretResourceGenerator_Expecter ¶
type SecretResourceGenerator_Expecter struct {
// contains filtered or unexported fields
}
func (*SecretResourceGenerator_Expecter) CreateDoguSecret ¶
func (_e *SecretResourceGenerator_Expecter) CreateDoguSecret(doguResource interface{}, stringData interface{}) *SecretResourceGenerator_CreateDoguSecret_Call
CreateDoguSecret is a helper method to define mock.On call
- doguResource *v1.Dogu
- stringData map[string]string
type ServiceAccountCreator ¶
ServiceAccountCreator is an autogenerated mock type for the ServiceAccountCreator type
func NewServiceAccountCreator ¶
func NewServiceAccountCreator(t mockConstructorTestingTNewServiceAccountCreator) *ServiceAccountCreator
NewServiceAccountCreator creates a new instance of ServiceAccountCreator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ServiceAccountCreator) CreateAll ¶
CreateAll provides a mock function with given fields: ctx, dogu
func (*ServiceAccountCreator) EXPECT ¶
func (_m *ServiceAccountCreator) EXPECT() *ServiceAccountCreator_Expecter
type ServiceAccountCreator_CreateAll_Call ¶
ServiceAccountCreator_CreateAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateAll'
func (*ServiceAccountCreator_CreateAll_Call) Return ¶
func (_c *ServiceAccountCreator_CreateAll_Call) Return(_a0 error) *ServiceAccountCreator_CreateAll_Call
func (*ServiceAccountCreator_CreateAll_Call) Run ¶
func (_c *ServiceAccountCreator_CreateAll_Call) Run(run func(ctx context.Context, dogu *core.Dogu)) *ServiceAccountCreator_CreateAll_Call
func (*ServiceAccountCreator_CreateAll_Call) RunAndReturn ¶
func (_c *ServiceAccountCreator_CreateAll_Call) RunAndReturn(run func(context.Context, *core.Dogu) error) *ServiceAccountCreator_CreateAll_Call
type ServiceAccountCreator_Expecter ¶
type ServiceAccountCreator_Expecter struct {
// contains filtered or unexported fields
}
func (*ServiceAccountCreator_Expecter) CreateAll ¶
func (_e *ServiceAccountCreator_Expecter) CreateAll(ctx interface{}, dogu interface{}) *ServiceAccountCreator_CreateAll_Call
CreateAll is a helper method to define mock.On call
- ctx context.Context
- dogu *core.Dogu
type ServiceAccountRemover ¶
ServiceAccountRemover is an autogenerated mock type for the ServiceAccountRemover type
func NewServiceAccountRemover ¶
func NewServiceAccountRemover(t mockConstructorTestingTNewServiceAccountRemover) *ServiceAccountRemover
NewServiceAccountRemover creates a new instance of ServiceAccountRemover. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ServiceAccountRemover) EXPECT ¶
func (_m *ServiceAccountRemover) EXPECT() *ServiceAccountRemover_Expecter
type ServiceAccountRemover_Expecter ¶
type ServiceAccountRemover_Expecter struct {
// contains filtered or unexported fields
}
func (*ServiceAccountRemover_Expecter) RemoveAll ¶
func (_e *ServiceAccountRemover_Expecter) RemoveAll(ctx interface{}, dogu interface{}) *ServiceAccountRemover_RemoveAll_Call
RemoveAll is a helper method to define mock.On call
- ctx context.Context
- dogu *core.Dogu
type ServiceAccountRemover_RemoveAll_Call ¶
ServiceAccountRemover_RemoveAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveAll'
func (*ServiceAccountRemover_RemoveAll_Call) Return ¶
func (_c *ServiceAccountRemover_RemoveAll_Call) Return(_a0 error) *ServiceAccountRemover_RemoveAll_Call
func (*ServiceAccountRemover_RemoveAll_Call) Run ¶
func (_c *ServiceAccountRemover_RemoveAll_Call) Run(run func(ctx context.Context, dogu *core.Dogu)) *ServiceAccountRemover_RemoveAll_Call
func (*ServiceAccountRemover_RemoveAll_Call) RunAndReturn ¶
func (_c *ServiceAccountRemover_RemoveAll_Call) RunAndReturn(run func(context.Context, *core.Dogu) error) *ServiceAccountRemover_RemoveAll_Call
type ShellCommand ¶
ShellCommand is an autogenerated mock type for the ShellCommand type
func NewShellCommand ¶
func NewShellCommand(t mockConstructorTestingTNewShellCommand) *ShellCommand
NewShellCommand creates a new instance of ShellCommand. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ShellCommand) CommandWithArgs ¶
func (_m *ShellCommand) CommandWithArgs() []string
CommandWithArgs provides a mock function with given fields:
func (*ShellCommand) EXPECT ¶
func (_m *ShellCommand) EXPECT() *ShellCommand_Expecter
func (*ShellCommand) Stdin ¶ added in v0.32.0
func (_m *ShellCommand) Stdin() io.Reader
Stdin provides a mock function with given fields:
type ShellCommand_CommandWithArgs_Call ¶
ShellCommand_CommandWithArgs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CommandWithArgs'
func (*ShellCommand_CommandWithArgs_Call) Return ¶
func (_c *ShellCommand_CommandWithArgs_Call) Return(_a0 []string) *ShellCommand_CommandWithArgs_Call
func (*ShellCommand_CommandWithArgs_Call) Run ¶
func (_c *ShellCommand_CommandWithArgs_Call) Run(run func()) *ShellCommand_CommandWithArgs_Call
func (*ShellCommand_CommandWithArgs_Call) RunAndReturn ¶
func (_c *ShellCommand_CommandWithArgs_Call) RunAndReturn(run func() []string) *ShellCommand_CommandWithArgs_Call
type ShellCommand_Expecter ¶
type ShellCommand_Expecter struct {
// contains filtered or unexported fields
}
func (*ShellCommand_Expecter) CommandWithArgs ¶
func (_e *ShellCommand_Expecter) CommandWithArgs() *ShellCommand_CommandWithArgs_Call
CommandWithArgs is a helper method to define mock.On call
func (*ShellCommand_Expecter) Stdin ¶ added in v0.32.0
func (_e *ShellCommand_Expecter) Stdin() *ShellCommand_Stdin_Call
Stdin is a helper method to define mock.On call
type ShellCommand_Stdin_Call ¶ added in v0.32.0
ShellCommand_Stdin_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stdin'
func (*ShellCommand_Stdin_Call) Return ¶ added in v0.32.0
func (_c *ShellCommand_Stdin_Call) Return(_a0 io.Reader) *ShellCommand_Stdin_Call
func (*ShellCommand_Stdin_Call) Run ¶ added in v0.32.0
func (_c *ShellCommand_Stdin_Call) Run(run func()) *ShellCommand_Stdin_Call
func (*ShellCommand_Stdin_Call) RunAndReturn ¶ added in v0.32.0
func (_c *ShellCommand_Stdin_Call) RunAndReturn(run func() io.Reader) *ShellCommand_Stdin_Call
type StartDoguManager ¶ added in v1.0.0
StartDoguManager is an autogenerated mock type for the StartDoguManager type
func NewStartDoguManager ¶ added in v1.0.0
func NewStartDoguManager(t mockConstructorTestingTNewStartDoguManager) *StartDoguManager
NewStartDoguManager creates a new instance of StartDoguManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*StartDoguManager) CheckStarted ¶ added in v1.0.0
CheckStarted provides a mock function with given fields: ctx, doguResource
func (*StartDoguManager) EXPECT ¶ added in v1.0.0
func (_m *StartDoguManager) EXPECT() *StartDoguManager_Expecter
type StartDoguManager_CheckStarted_Call ¶ added in v1.0.0
StartDoguManager_CheckStarted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckStarted'
func (*StartDoguManager_CheckStarted_Call) Return ¶ added in v1.0.0
func (_c *StartDoguManager_CheckStarted_Call) Return(_a0 error) *StartDoguManager_CheckStarted_Call
func (*StartDoguManager_CheckStarted_Call) Run ¶ added in v1.0.0
func (_c *StartDoguManager_CheckStarted_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *StartDoguManager_CheckStarted_Call
func (*StartDoguManager_CheckStarted_Call) RunAndReturn ¶ added in v1.0.0
func (_c *StartDoguManager_CheckStarted_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *StartDoguManager_CheckStarted_Call
type StartDoguManager_Expecter ¶ added in v1.0.0
type StartDoguManager_Expecter struct {
// contains filtered or unexported fields
}
func (*StartDoguManager_Expecter) CheckStarted ¶ added in v1.0.0
func (_e *StartDoguManager_Expecter) CheckStarted(ctx interface{}, doguResource interface{}) *StartDoguManager_CheckStarted_Call
CheckStarted is a helper method to define mock.On call
- ctx context.Context
- doguResource *v1.Dogu
func (*StartDoguManager_Expecter) StartDogu ¶ added in v1.0.0
func (_e *StartDoguManager_Expecter) StartDogu(ctx interface{}, doguResource interface{}) *StartDoguManager_StartDogu_Call
StartDogu is a helper method to define mock.On call
- ctx context.Context
- doguResource *v1.Dogu
type StartDoguManager_StartDogu_Call ¶ added in v1.0.0
StartDoguManager_StartDogu_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartDogu'
func (*StartDoguManager_StartDogu_Call) Return ¶ added in v1.0.0
func (_c *StartDoguManager_StartDogu_Call) Return(_a0 error) *StartDoguManager_StartDogu_Call
func (*StartDoguManager_StartDogu_Call) Run ¶ added in v1.0.0
func (_c *StartDoguManager_StartDogu_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *StartDoguManager_StartDogu_Call
func (*StartDoguManager_StartDogu_Call) RunAndReturn ¶ added in v1.0.0
func (_c *StartDoguManager_StartDogu_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *StartDoguManager_StartDogu_Call
type StopDoguManager ¶ added in v1.0.0
StopDoguManager is an autogenerated mock type for the StopDoguManager type
func NewStopDoguManager ¶ added in v1.0.0
func NewStopDoguManager(t mockConstructorTestingTNewStopDoguManager) *StopDoguManager
NewStopDoguManager creates a new instance of StopDoguManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*StopDoguManager) CheckStopped ¶ added in v1.0.0
CheckStopped provides a mock function with given fields: ctx, doguResource
func (*StopDoguManager) EXPECT ¶ added in v1.0.0
func (_m *StopDoguManager) EXPECT() *StopDoguManager_Expecter
type StopDoguManager_CheckStopped_Call ¶ added in v1.0.0
StopDoguManager_CheckStopped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckStopped'
func (*StopDoguManager_CheckStopped_Call) Return ¶ added in v1.0.0
func (_c *StopDoguManager_CheckStopped_Call) Return(_a0 error) *StopDoguManager_CheckStopped_Call
func (*StopDoguManager_CheckStopped_Call) Run ¶ added in v1.0.0
func (_c *StopDoguManager_CheckStopped_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *StopDoguManager_CheckStopped_Call
func (*StopDoguManager_CheckStopped_Call) RunAndReturn ¶ added in v1.0.0
func (_c *StopDoguManager_CheckStopped_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *StopDoguManager_CheckStopped_Call
type StopDoguManager_Expecter ¶ added in v1.0.0
type StopDoguManager_Expecter struct {
// contains filtered or unexported fields
}
func (*StopDoguManager_Expecter) CheckStopped ¶ added in v1.0.0
func (_e *StopDoguManager_Expecter) CheckStopped(ctx interface{}, doguResource interface{}) *StopDoguManager_CheckStopped_Call
CheckStopped is a helper method to define mock.On call
- ctx context.Context
- doguResource *v1.Dogu
func (*StopDoguManager_Expecter) StopDogu ¶ added in v1.0.0
func (_e *StopDoguManager_Expecter) StopDogu(ctx interface{}, doguResource interface{}) *StopDoguManager_StopDogu_Call
StopDogu is a helper method to define mock.On call
- ctx context.Context
- doguResource *v1.Dogu
type StopDoguManager_StopDogu_Call ¶ added in v1.0.0
StopDoguManager_StopDogu_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StopDogu'
func (*StopDoguManager_StopDogu_Call) Return ¶ added in v1.0.0
func (_c *StopDoguManager_StopDogu_Call) Return(_a0 error) *StopDoguManager_StopDogu_Call
func (*StopDoguManager_StopDogu_Call) Run ¶ added in v1.0.0
func (_c *StopDoguManager_StopDogu_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *StopDoguManager_StopDogu_Call
func (*StopDoguManager_StopDogu_Call) RunAndReturn ¶ added in v1.0.0
func (_c *StopDoguManager_StopDogu_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *StopDoguManager_StopDogu_Call
type SuffixGenerator ¶
SuffixGenerator is an autogenerated mock type for the SuffixGenerator type
func NewSuffixGenerator ¶
func NewSuffixGenerator(t mockConstructorTestingTNewSuffixGenerator) *SuffixGenerator
NewSuffixGenerator creates a new instance of SuffixGenerator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*SuffixGenerator) EXPECT ¶
func (_m *SuffixGenerator) EXPECT() *SuffixGenerator_Expecter
func (*SuffixGenerator) String ¶
func (_m *SuffixGenerator) String(length int) string
String provides a mock function with given fields: length
type SuffixGenerator_Expecter ¶
type SuffixGenerator_Expecter struct {
// contains filtered or unexported fields
}
func (*SuffixGenerator_Expecter) String ¶
func (_e *SuffixGenerator_Expecter) String(length interface{}) *SuffixGenerator_String_Call
String is a helper method to define mock.On call
- length int
type SuffixGenerator_String_Call ¶
SuffixGenerator_String_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'String'
func (*SuffixGenerator_String_Call) Return ¶
func (_c *SuffixGenerator_String_Call) Return(_a0 string) *SuffixGenerator_String_Call
func (*SuffixGenerator_String_Call) Run ¶
func (_c *SuffixGenerator_String_Call) Run(run func(length int)) *SuffixGenerator_String_Call
func (*SuffixGenerator_String_Call) RunAndReturn ¶
func (_c *SuffixGenerator_String_Call) RunAndReturn(run func(int) string) *SuffixGenerator_String_Call
type SupportManager ¶
SupportManager is an autogenerated mock type for the SupportManager type
func NewSupportManager ¶
func NewSupportManager(t mockConstructorTestingTNewSupportManager) *SupportManager
NewSupportManager creates a new instance of SupportManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*SupportManager) EXPECT ¶
func (_m *SupportManager) EXPECT() *SupportManager_Expecter
func (*SupportManager) HandleSupportMode ¶
func (_m *SupportManager) HandleSupportMode(ctx context.Context, doguResource *v1.Dogu) (bool, error)
HandleSupportMode provides a mock function with given fields: ctx, doguResource
type SupportManager_Expecter ¶
type SupportManager_Expecter struct {
// contains filtered or unexported fields
}
func (*SupportManager_Expecter) HandleSupportMode ¶
func (_e *SupportManager_Expecter) HandleSupportMode(ctx interface{}, doguResource interface{}) *SupportManager_HandleSupportMode_Call
HandleSupportMode is a helper method to define mock.On call
- ctx context.Context
- doguResource *v1.Dogu
type SupportManager_HandleSupportMode_Call ¶
SupportManager_HandleSupportMode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HandleSupportMode'
func (*SupportManager_HandleSupportMode_Call) Return ¶
func (_c *SupportManager_HandleSupportMode_Call) Return(_a0 bool, _a1 error) *SupportManager_HandleSupportMode_Call
func (*SupportManager_HandleSupportMode_Call) Run ¶
func (_c *SupportManager_HandleSupportMode_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *SupportManager_HandleSupportMode_Call
func (*SupportManager_HandleSupportMode_Call) RunAndReturn ¶
func (_c *SupportManager_HandleSupportMode_Call) RunAndReturn(run func(context.Context, *v1.Dogu) (bool, error)) *SupportManager_HandleSupportMode_Call
type TcpUpdServiceExposer ¶ added in v0.31.0
TcpUpdServiceExposer is an autogenerated mock type for the TcpUpdServiceExposer type
func NewTcpUpdServiceExposer ¶ added in v0.31.0
func NewTcpUpdServiceExposer(t mockConstructorTestingTNewTcpUpdServiceExposer) *TcpUpdServiceExposer
NewTcpUpdServiceExposer creates a new instance of TcpUpdServiceExposer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*TcpUpdServiceExposer) DeleteDoguServices ¶ added in v0.31.0
func (_m *TcpUpdServiceExposer) DeleteDoguServices(ctx context.Context, namespace string, dogu *core.Dogu) error
DeleteDoguServices provides a mock function with given fields: ctx, namespace, dogu
func (*TcpUpdServiceExposer) EXPECT ¶ added in v0.31.0
func (_m *TcpUpdServiceExposer) EXPECT() *TcpUpdServiceExposer_Expecter
func (*TcpUpdServiceExposer) ExposeOrUpdateDoguServices ¶ added in v0.31.0
func (_m *TcpUpdServiceExposer) ExposeOrUpdateDoguServices(ctx context.Context, namespace string, dogu *core.Dogu) error
ExposeOrUpdateDoguServices provides a mock function with given fields: ctx, namespace, dogu
type TcpUpdServiceExposer_DeleteDoguServices_Call ¶ added in v0.31.0
TcpUpdServiceExposer_DeleteDoguServices_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteDoguServices'
func (*TcpUpdServiceExposer_DeleteDoguServices_Call) Return ¶ added in v0.31.0
func (_c *TcpUpdServiceExposer_DeleteDoguServices_Call) Return(_a0 error) *TcpUpdServiceExposer_DeleteDoguServices_Call
func (*TcpUpdServiceExposer_DeleteDoguServices_Call) Run ¶ added in v0.31.0
func (_c *TcpUpdServiceExposer_DeleteDoguServices_Call) Run(run func(ctx context.Context, namespace string, dogu *core.Dogu)) *TcpUpdServiceExposer_DeleteDoguServices_Call
func (*TcpUpdServiceExposer_DeleteDoguServices_Call) RunAndReturn ¶ added in v0.31.0
func (_c *TcpUpdServiceExposer_DeleteDoguServices_Call) RunAndReturn(run func(context.Context, string, *core.Dogu) error) *TcpUpdServiceExposer_DeleteDoguServices_Call
type TcpUpdServiceExposer_Expecter ¶ added in v0.31.0
type TcpUpdServiceExposer_Expecter struct {
// contains filtered or unexported fields
}
func (*TcpUpdServiceExposer_Expecter) DeleteDoguServices ¶ added in v0.31.0
func (_e *TcpUpdServiceExposer_Expecter) DeleteDoguServices(ctx interface{}, namespace interface{}, dogu interface{}) *TcpUpdServiceExposer_DeleteDoguServices_Call
DeleteDoguServices is a helper method to define mock.On call
- ctx context.Context
- namespace string
- dogu *core.Dogu
func (*TcpUpdServiceExposer_Expecter) ExposeOrUpdateDoguServices ¶ added in v0.31.0
func (_e *TcpUpdServiceExposer_Expecter) ExposeOrUpdateDoguServices(ctx interface{}, namespace interface{}, dogu interface{}) *TcpUpdServiceExposer_ExposeOrUpdateDoguServices_Call
ExposeOrUpdateDoguServices is a helper method to define mock.On call
- ctx context.Context
- namespace string
- dogu *core.Dogu
type TcpUpdServiceExposer_ExposeOrUpdateDoguServices_Call ¶ added in v0.31.0
TcpUpdServiceExposer_ExposeOrUpdateDoguServices_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExposeOrUpdateDoguServices'
func (*TcpUpdServiceExposer_ExposeOrUpdateDoguServices_Call) Run ¶ added in v0.31.0
func (_c *TcpUpdServiceExposer_ExposeOrUpdateDoguServices_Call) Run(run func(ctx context.Context, namespace string, dogu *core.Dogu)) *TcpUpdServiceExposer_ExposeOrUpdateDoguServices_Call
func (*TcpUpdServiceExposer_ExposeOrUpdateDoguServices_Call) RunAndReturn ¶ added in v0.31.0
func (_c *TcpUpdServiceExposer_ExposeOrUpdateDoguServices_Call) RunAndReturn(run func(context.Context, string, *core.Dogu) error) *TcpUpdServiceExposer_ExposeOrUpdateDoguServices_Call
type UpgradeExecutor ¶
UpgradeExecutor is an autogenerated mock type for the UpgradeExecutor type
func NewUpgradeExecutor ¶
func NewUpgradeExecutor(t mockConstructorTestingTNewUpgradeExecutor) *UpgradeExecutor
NewUpgradeExecutor creates a new instance of UpgradeExecutor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*UpgradeExecutor) EXPECT ¶
func (_m *UpgradeExecutor) EXPECT() *UpgradeExecutor_Expecter
type UpgradeExecutor_Expecter ¶
type UpgradeExecutor_Expecter struct {
// contains filtered or unexported fields
}
func (*UpgradeExecutor_Expecter) Upgrade ¶
func (_e *UpgradeExecutor_Expecter) Upgrade(ctx interface{}, toDoguResource interface{}, fromDogu interface{}, toDogu interface{}) *UpgradeExecutor_Upgrade_Call
Upgrade is a helper method to define mock.On call
- ctx context.Context
- toDoguResource *v1.Dogu
- fromDogu *core.Dogu
- toDogu *core.Dogu
type UpgradeExecutor_Upgrade_Call ¶
UpgradeExecutor_Upgrade_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Upgrade'
func (*UpgradeExecutor_Upgrade_Call) Return ¶
func (_c *UpgradeExecutor_Upgrade_Call) Return(_a0 error) *UpgradeExecutor_Upgrade_Call
func (*UpgradeExecutor_Upgrade_Call) Run ¶
func (_c *UpgradeExecutor_Upgrade_Call) Run(run func(ctx context.Context, toDoguResource *v1.Dogu, fromDogu *core.Dogu, toDogu *core.Dogu)) *UpgradeExecutor_Upgrade_Call
func (*UpgradeExecutor_Upgrade_Call) RunAndReturn ¶
type UpgradeManager ¶
UpgradeManager is an autogenerated mock type for the UpgradeManager type
func NewUpgradeManager ¶
func NewUpgradeManager(t mockConstructorTestingTNewUpgradeManager) *UpgradeManager
NewUpgradeManager creates a new instance of UpgradeManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*UpgradeManager) EXPECT ¶
func (_m *UpgradeManager) EXPECT() *UpgradeManager_Expecter
type UpgradeManager_Expecter ¶
type UpgradeManager_Expecter struct {
// contains filtered or unexported fields
}
func (*UpgradeManager_Expecter) Upgrade ¶
func (_e *UpgradeManager_Expecter) Upgrade(ctx interface{}, doguResource interface{}) *UpgradeManager_Upgrade_Call
Upgrade is a helper method to define mock.On call
- ctx context.Context
- doguResource *v1.Dogu
type UpgradeManager_Upgrade_Call ¶
UpgradeManager_Upgrade_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Upgrade'
func (*UpgradeManager_Upgrade_Call) Return ¶
func (_c *UpgradeManager_Upgrade_Call) Return(_a0 error) *UpgradeManager_Upgrade_Call
func (*UpgradeManager_Upgrade_Call) Run ¶
func (_c *UpgradeManager_Upgrade_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *UpgradeManager_Upgrade_Call
func (*UpgradeManager_Upgrade_Call) RunAndReturn ¶
func (_c *UpgradeManager_Upgrade_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *UpgradeManager_Upgrade_Call
type VolumeManager ¶
VolumeManager is an autogenerated mock type for the VolumeManager type
func NewVolumeManager ¶
func NewVolumeManager(t mockConstructorTestingTNewVolumeManager) *VolumeManager
NewVolumeManager creates a new instance of VolumeManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*VolumeManager) EXPECT ¶
func (_m *VolumeManager) EXPECT() *VolumeManager_Expecter
func (*VolumeManager) SetDoguDataVolumeSize ¶
SetDoguDataVolumeSize provides a mock function with given fields: ctx, doguResource
type VolumeManager_Expecter ¶
type VolumeManager_Expecter struct {
// contains filtered or unexported fields
}
func (*VolumeManager_Expecter) SetDoguDataVolumeSize ¶
func (_e *VolumeManager_Expecter) SetDoguDataVolumeSize(ctx interface{}, doguResource interface{}) *VolumeManager_SetDoguDataVolumeSize_Call
SetDoguDataVolumeSize is a helper method to define mock.On call
- ctx context.Context
- doguResource *v1.Dogu
type VolumeManager_SetDoguDataVolumeSize_Call ¶
VolumeManager_SetDoguDataVolumeSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetDoguDataVolumeSize'
func (*VolumeManager_SetDoguDataVolumeSize_Call) Return ¶
func (_c *VolumeManager_SetDoguDataVolumeSize_Call) Return(_a0 error) *VolumeManager_SetDoguDataVolumeSize_Call
func (*VolumeManager_SetDoguDataVolumeSize_Call) Run ¶
func (_c *VolumeManager_SetDoguDataVolumeSize_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *VolumeManager_SetDoguDataVolumeSize_Call
func (*VolumeManager_SetDoguDataVolumeSize_Call) RunAndReturn ¶
func (_c *VolumeManager_SetDoguDataVolumeSize_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *VolumeManager_SetDoguDataVolumeSize_Call
Source Files ¶
- AdditionalIngressAnnotationsManager.go
- Applier.go
- AsyncExecutor.go
- AsyncStep.go
- CollectApplier.go
- CommandExecutor.go
- DeleteManager.go
- DependencyValidator.go
- DeploymentAvailabilityChecker.go
- DoguHealthChecker.go
- DoguHealthStatusUpdater.go
- DoguInterface.go
- DoguManager.go
- DoguRecursiveHealthChecker.go
- DoguRegistrator.go
- DoguResourceGenerator.go
- DoguRestartInterface.go
- DoguSecretHandler.go
- DoguStartStopManager.go
- EcosystemInterface.go
- ExecPod.go
- ExecPodFactory.go
- ExposePortAdder.go
- ExposePortRemover.go
- FileExtractor.go
- ImageRegistry.go
- InstallManager.go
- LocalDoguFetcher.go
- PodTemplateResourceGenerator.go
- PremisesChecker.go
- RequeueHandler.go
- ResourceDoguFetcher.go
- ResourceRequirementsGenerator.go
- ResourceUpserter.go
- SecretResourceGenerator.go
- ServiceAccountCreator.go
- ServiceAccountRemover.go
- ShellCommand.go
- StartDoguManager.go
- StopDoguManager.go
- SuffixGenerator.go
- SupportManager.go
- TcpUpdServiceExposer.go
- UpgradeExecutor.go
- UpgradeManager.go
- VolumeManager.go