Documentation ¶
Index ¶
- 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 DoguHealthChecker
- type DoguHealthChecker_CheckWithResource_Call
- func (_c *DoguHealthChecker_CheckWithResource_Call) Return(_a0 error) *DoguHealthChecker_CheckWithResource_Call
- func (_c *DoguHealthChecker_CheckWithResource_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *DoguHealthChecker_CheckWithResource_Call
- func (_c *DoguHealthChecker_CheckWithResource_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *DoguHealthChecker_CheckWithResource_Call
- type DoguHealthChecker_Expecter
- type DoguLimits
- type DoguLimits_CpuLimit_Call
- type DoguLimits_EphemeralStorageLimit_Call
- func (_c *DoguLimits_EphemeralStorageLimit_Call) Return(_a0 *resource.Quantity) *DoguLimits_EphemeralStorageLimit_Call
- func (_c *DoguLimits_EphemeralStorageLimit_Call) Run(run func()) *DoguLimits_EphemeralStorageLimit_Call
- func (_c *DoguLimits_EphemeralStorageLimit_Call) RunAndReturn(run func() *resource.Quantity) *DoguLimits_EphemeralStorageLimit_Call
- type DoguLimits_Expecter
- type DoguLimits_MemoryLimit_Call
- type DoguManager
- 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) SetDoguDataVolumeSize(ctx context.Context, doguResource *v1.Dogu) error
- func (_m *DoguManager) Upgrade(ctx context.Context, doguResource *v1.Dogu) error
- 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) 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) SetDoguDataVolumeSize(ctx interface{}, doguResource interface{}) *DoguManager_SetDoguDataVolumeSize_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_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_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, currentK8sNamespace 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(dogu *core.Dogu) error
- func (_m *DoguRegistrator) RegisterNewDogu(ctx context.Context, doguResource *v1.Dogu, dogu *core.Dogu) error
- func (_m *DoguRegistrator) UnregisterDogu(dogu string) error
- type DoguRegistrator_Expecter
- func (_e *DoguRegistrator_Expecter) RegisterDoguVersion(dogu interface{}) *DoguRegistrator_RegisterDoguVersion_Call
- func (_e *DoguRegistrator_Expecter) RegisterNewDogu(ctx interface{}, doguResource interface{}, dogu interface{}) *DoguRegistrator_RegisterNewDogu_Call
- func (_e *DoguRegistrator_Expecter) UnregisterDogu(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(dogu *core.Dogu)) *DoguRegistrator_RegisterDoguVersion_Call
- func (_c *DoguRegistrator_RegisterDoguVersion_Call) RunAndReturn(run func(*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(dogu string)) *DoguRegistrator_UnregisterDogu_Call
- func (_c *DoguRegistrator_UnregisterDogu_Call) RunAndReturn(run func(string) error) *DoguRegistrator_UnregisterDogu_Call
- type DoguResourceGenerator
- func (_m *DoguResourceGenerator) CreateDoguDeployment(doguResource *v1.Dogu, dogu *core.Dogu) (*appsv1.Deployment, error)
- func (_m *DoguResourceGenerator) CreateDoguExposedServices(doguResource *v1.Dogu, dogu *core.Dogu) ([]*corev1.Service, error)
- func (_m *DoguResourceGenerator) CreateDoguPVC(doguResource *v1.Dogu) (*corev1.PersistentVolumeClaim, error)
- func (_m *DoguResourceGenerator) CreateDoguService(doguResource *v1.Dogu, imageConfig *pkgv1.ConfigFile) (*corev1.Service, error)
- func (_m *DoguResourceGenerator) CreateReservedPVC(doguResource *v1.Dogu) (*corev1.PersistentVolumeClaim, error)
- func (_m *DoguResourceGenerator) EXPECT() *DoguResourceGenerator_Expecter
- 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_CreateDoguExposedServices_Call
- func (_c *DoguResourceGenerator_CreateDoguExposedServices_Call) Return(_a0 []*corev1.Service, _a1 error) *DoguResourceGenerator_CreateDoguExposedServices_Call
- func (_c *DoguResourceGenerator_CreateDoguExposedServices_Call) Run(run func(doguResource *v1.Dogu, dogu *core.Dogu)) *DoguResourceGenerator_CreateDoguExposedServices_Call
- func (_c *DoguResourceGenerator_CreateDoguExposedServices_Call) RunAndReturn(run func(*v1.Dogu, *core.Dogu) ([]*corev1.Service, error)) *DoguResourceGenerator_CreateDoguExposedServices_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_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_CreateReservedPVC_Call
- func (_c *DoguResourceGenerator_CreateReservedPVC_Call) Return(_a0 *corev1.PersistentVolumeClaim, _a1 error) *DoguResourceGenerator_CreateReservedPVC_Call
- func (_c *DoguResourceGenerator_CreateReservedPVC_Call) Run(run func(doguResource *v1.Dogu)) *DoguResourceGenerator_CreateReservedPVC_Call
- func (_c *DoguResourceGenerator_CreateReservedPVC_Call) RunAndReturn(run func(*v1.Dogu) (*corev1.PersistentVolumeClaim, error)) *DoguResourceGenerator_CreateReservedPVC_Call
- type DoguResourceGenerator_Expecter
- func (_e *DoguResourceGenerator_Expecter) CreateDoguDeployment(doguResource interface{}, dogu interface{}) *DoguResourceGenerator_CreateDoguDeployment_Call
- func (_e *DoguResourceGenerator_Expecter) CreateDoguExposedServices(doguResource interface{}, dogu interface{}) *DoguResourceGenerator_CreateDoguExposedServices_Call
- func (_e *DoguResourceGenerator_Expecter) CreateDoguPVC(doguResource interface{}) *DoguResourceGenerator_CreateDoguPVC_Call
- func (_e *DoguResourceGenerator_Expecter) CreateDoguService(doguResource interface{}, imageConfig interface{}) *DoguResourceGenerator_CreateDoguService_Call
- func (_e *DoguResourceGenerator_Expecter) CreateReservedPVC(doguResource interface{}) *DoguResourceGenerator_CreateReservedPVC_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 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) (string, error)
- func (_m *ExecPod) ObjectKey() *types.NamespacedName
- func (_m *ExecPod) PodName() string
- type ExecPodFactory
- type ExecPodFactory_Expecter
- type ExecPodFactory_NewExecPod_Call
- type ExecPod_Create_Call
- type ExecPod_Delete_Call
- type ExecPod_Exec_Call
- func (_c *ExecPod_Exec_Call) Return(out string, 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) (string, 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 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 LimitPatcher
- type LimitPatcher_Expecter
- type LimitPatcher_PatchDeployment_Call
- func (_c *LimitPatcher_PatchDeployment_Call) Return(_a0 error) *LimitPatcher_PatchDeployment_Call
- func (_c *LimitPatcher_PatchDeployment_Call) Run(run func(deployment *v1.Deployment, limits cloudogu.DoguLimits)) *LimitPatcher_PatchDeployment_Call
- func (_c *LimitPatcher_PatchDeployment_Call) RunAndReturn(run func(*v1.Deployment, cloudogu.DoguLimits) error) *LimitPatcher_PatchDeployment_Call
- type LimitPatcher_RetrievePodLimits_Call
- func (_c *LimitPatcher_RetrievePodLimits_Call) Return(_a0 cloudogu.DoguLimits, _a1 error) *LimitPatcher_RetrievePodLimits_Call
- func (_c *LimitPatcher_RetrievePodLimits_Call) Run(run func(doguResource *apiv1.Dogu)) *LimitPatcher_RetrievePodLimits_Call
- func (_c *LimitPatcher_RetrievePodLimits_Call) RunAndReturn(run func(*apiv1.Dogu) (cloudogu.DoguLimits, error)) *LimitPatcher_RetrievePodLimits_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(doguName string)) *LocalDoguFetcher_FetchInstalled_Call
- func (_c *LocalDoguFetcher_FetchInstalled_Call) RunAndReturn(run func(string) (*core.Dogu, error)) *LocalDoguFetcher_FetchInstalled_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 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 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) UpsertDoguExposedServices(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) UpsertDoguExposedServices(ctx interface{}, doguResource interface{}, dogu interface{}) *ResourceUpserter_UpsertDoguExposedServices_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_UpsertDoguExposedServices_Call
- func (_c *ResourceUpserter_UpsertDoguExposedServices_Call) Return(_a0 []*corev1.Service, _a1 error) *ResourceUpserter_UpsertDoguExposedServices_Call
- func (_c *ResourceUpserter_UpsertDoguExposedServices_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu, dogu *core.Dogu)) *ResourceUpserter_UpsertDoguExposedServices_Call
- func (_c *ResourceUpserter_UpsertDoguExposedServices_Call) RunAndReturn(run func(context.Context, *v1.Dogu, *core.Dogu) ([]*corev1.Service, error)) *ResourceUpserter_UpsertDoguExposedServices_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 ResourceValidator
- type ResourceValidator_Expecter
- type ResourceValidator_Validate_Call
- func (_c *ResourceValidator_Validate_Call) Return(_a0 error) *ResourceValidator_Validate_Call
- func (_c *ResourceValidator_Validate_Call) Run(run func(ctx context.Context, doguName string, obj client.Object)) *ResourceValidator_Validate_Call
- func (_c *ResourceValidator_Validate_Call) RunAndReturn(run func(context.Context, string, client.Object) error) *ResourceValidator_Validate_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 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 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 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 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) CheckWithResource ¶
CheckWithResource provides a mock function with given fields: ctx, doguResource
func (*DoguHealthChecker) EXPECT ¶
func (_m *DoguHealthChecker) EXPECT() *DoguHealthChecker_Expecter
type DoguHealthChecker_CheckWithResource_Call ¶
DoguHealthChecker_CheckWithResource_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckWithResource'
func (*DoguHealthChecker_CheckWithResource_Call) Return ¶
func (_c *DoguHealthChecker_CheckWithResource_Call) Return(_a0 error) *DoguHealthChecker_CheckWithResource_Call
func (*DoguHealthChecker_CheckWithResource_Call) Run ¶
func (_c *DoguHealthChecker_CheckWithResource_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *DoguHealthChecker_CheckWithResource_Call
func (*DoguHealthChecker_CheckWithResource_Call) RunAndReturn ¶
func (_c *DoguHealthChecker_CheckWithResource_Call) RunAndReturn(run func(context.Context, *v1.Dogu) error) *DoguHealthChecker_CheckWithResource_Call
type DoguHealthChecker_Expecter ¶
type DoguHealthChecker_Expecter struct {
// contains filtered or unexported fields
}
func (*DoguHealthChecker_Expecter) CheckWithResource ¶
func (_e *DoguHealthChecker_Expecter) CheckWithResource(ctx interface{}, doguResource interface{}) *DoguHealthChecker_CheckWithResource_Call
CheckWithResource is a helper method to define mock.On call
- ctx context.Context
- doguResource *v1.Dogu
type DoguLimits ¶
DoguLimits is an autogenerated mock type for the DoguLimits type
func NewDoguLimits ¶
func NewDoguLimits(t mockConstructorTestingTNewDoguLimits) *DoguLimits
NewDoguLimits creates a new instance of DoguLimits. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*DoguLimits) CpuLimit ¶
func (_m *DoguLimits) CpuLimit() *resource.Quantity
CpuLimit provides a mock function with given fields:
func (*DoguLimits) EXPECT ¶
func (_m *DoguLimits) EXPECT() *DoguLimits_Expecter
func (*DoguLimits) EphemeralStorageLimit ¶
func (_m *DoguLimits) EphemeralStorageLimit() *resource.Quantity
EphemeralStorageLimit provides a mock function with given fields:
func (*DoguLimits) MemoryLimit ¶
func (_m *DoguLimits) MemoryLimit() *resource.Quantity
MemoryLimit provides a mock function with given fields:
type DoguLimits_CpuLimit_Call ¶
DoguLimits_CpuLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CpuLimit'
func (*DoguLimits_CpuLimit_Call) Return ¶
func (_c *DoguLimits_CpuLimit_Call) Return(_a0 *resource.Quantity) *DoguLimits_CpuLimit_Call
func (*DoguLimits_CpuLimit_Call) Run ¶
func (_c *DoguLimits_CpuLimit_Call) Run(run func()) *DoguLimits_CpuLimit_Call
func (*DoguLimits_CpuLimit_Call) RunAndReturn ¶
func (_c *DoguLimits_CpuLimit_Call) RunAndReturn(run func() *resource.Quantity) *DoguLimits_CpuLimit_Call
type DoguLimits_EphemeralStorageLimit_Call ¶
DoguLimits_EphemeralStorageLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EphemeralStorageLimit'
func (*DoguLimits_EphemeralStorageLimit_Call) Return ¶
func (_c *DoguLimits_EphemeralStorageLimit_Call) Return(_a0 *resource.Quantity) *DoguLimits_EphemeralStorageLimit_Call
func (*DoguLimits_EphemeralStorageLimit_Call) Run ¶
func (_c *DoguLimits_EphemeralStorageLimit_Call) Run(run func()) *DoguLimits_EphemeralStorageLimit_Call
func (*DoguLimits_EphemeralStorageLimit_Call) RunAndReturn ¶
func (_c *DoguLimits_EphemeralStorageLimit_Call) RunAndReturn(run func() *resource.Quantity) *DoguLimits_EphemeralStorageLimit_Call
type DoguLimits_Expecter ¶
type DoguLimits_Expecter struct {
// contains filtered or unexported fields
}
func (*DoguLimits_Expecter) CpuLimit ¶
func (_e *DoguLimits_Expecter) CpuLimit() *DoguLimits_CpuLimit_Call
CpuLimit is a helper method to define mock.On call
func (*DoguLimits_Expecter) EphemeralStorageLimit ¶
func (_e *DoguLimits_Expecter) EphemeralStorageLimit() *DoguLimits_EphemeralStorageLimit_Call
EphemeralStorageLimit is a helper method to define mock.On call
func (*DoguLimits_Expecter) MemoryLimit ¶
func (_e *DoguLimits_Expecter) MemoryLimit() *DoguLimits_MemoryLimit_Call
MemoryLimit is a helper method to define mock.On call
type DoguLimits_MemoryLimit_Call ¶
DoguLimits_MemoryLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MemoryLimit'
func (*DoguLimits_MemoryLimit_Call) Return ¶
func (_c *DoguLimits_MemoryLimit_Call) Return(_a0 *resource.Quantity) *DoguLimits_MemoryLimit_Call
func (*DoguLimits_MemoryLimit_Call) Run ¶
func (_c *DoguLimits_MemoryLimit_Call) Run(run func()) *DoguLimits_MemoryLimit_Call
func (*DoguLimits_MemoryLimit_Call) RunAndReturn ¶
func (_c *DoguLimits_MemoryLimit_Call) RunAndReturn(run func() *resource.Quantity) *DoguLimits_MemoryLimit_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) EXPECT ¶
func (_m *DoguManager) EXPECT() *DoguManager_Expecter
func (*DoguManager) HandleSupportMode ¶
HandleSupportMode provides a mock function with given fields: ctx, doguResource
func (*DoguManager) SetDoguDataVolumeSize ¶
SetDoguDataVolumeSize provides a mock function with given fields: ctx, doguResource
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) 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) 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) 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_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_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, currentK8sNamespace string) error
CheckDependenciesRecursive provides a mock function with given fields: ctx, fromDogu, currentK8sNamespace
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, currentK8sNamespace 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{}, currentK8sNamespace interface{}) *DoguRecursiveHealthChecker_CheckDependenciesRecursive_Call
CheckDependenciesRecursive is a helper method to define mock.On call
- ctx context.Context
- fromDogu *core.Dogu
- currentK8sNamespace 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 ¶
func (_m *DoguRegistrator) RegisterDoguVersion(dogu *core.Dogu) error
RegisterDoguVersion provides a mock function with given fields: 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(dogu string) error
UnregisterDogu provides a mock function with given fields: dogu
type DoguRegistrator_Expecter ¶
type DoguRegistrator_Expecter struct {
// contains filtered or unexported fields
}
func (*DoguRegistrator_Expecter) RegisterDoguVersion ¶
func (_e *DoguRegistrator_Expecter) RegisterDoguVersion(dogu interface{}) *DoguRegistrator_RegisterDoguVersion_Call
RegisterDoguVersion is a helper method to define mock.On call
- 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(dogu interface{}) *DoguRegistrator_UnregisterDogu_Call
UnregisterDogu is a helper method to define mock.On call
- 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(dogu *core.Dogu)) *DoguRegistrator_RegisterDoguVersion_Call
func (*DoguRegistrator_RegisterDoguVersion_Call) RunAndReturn ¶
func (_c *DoguRegistrator_RegisterDoguVersion_Call) RunAndReturn(run func(*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(dogu string)) *DoguRegistrator_UnregisterDogu_Call
func (*DoguRegistrator_UnregisterDogu_Call) RunAndReturn ¶
func (_c *DoguRegistrator_UnregisterDogu_Call) RunAndReturn(run func(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) CreateDoguExposedServices ¶
func (_m *DoguResourceGenerator) CreateDoguExposedServices(doguResource *v1.Dogu, dogu *core.Dogu) ([]*corev1.Service, error)
CreateDoguExposedServices 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) 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) CreateReservedPVC ¶
func (_m *DoguResourceGenerator) CreateReservedPVC(doguResource *v1.Dogu) (*corev1.PersistentVolumeClaim, error)
CreateReservedPVC provides a mock function with given fields: doguResource
func (*DoguResourceGenerator) EXPECT ¶
func (_m *DoguResourceGenerator) EXPECT() *DoguResourceGenerator_Expecter
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_CreateDoguExposedServices_Call ¶
DoguResourceGenerator_CreateDoguExposedServices_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateDoguExposedServices'
func (*DoguResourceGenerator_CreateDoguExposedServices_Call) Return ¶
func (_c *DoguResourceGenerator_CreateDoguExposedServices_Call) Return(_a0 []*corev1.Service, _a1 error) *DoguResourceGenerator_CreateDoguExposedServices_Call
func (*DoguResourceGenerator_CreateDoguExposedServices_Call) Run ¶
func (_c *DoguResourceGenerator_CreateDoguExposedServices_Call) Run(run func(doguResource *v1.Dogu, dogu *core.Dogu)) *DoguResourceGenerator_CreateDoguExposedServices_Call
func (*DoguResourceGenerator_CreateDoguExposedServices_Call) RunAndReturn ¶
func (_c *DoguResourceGenerator_CreateDoguExposedServices_Call) RunAndReturn(run func(*v1.Dogu, *core.Dogu) ([]*corev1.Service, error)) *DoguResourceGenerator_CreateDoguExposedServices_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_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_CreateReservedPVC_Call ¶
DoguResourceGenerator_CreateReservedPVC_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateReservedPVC'
func (*DoguResourceGenerator_CreateReservedPVC_Call) Return ¶
func (_c *DoguResourceGenerator_CreateReservedPVC_Call) Return(_a0 *corev1.PersistentVolumeClaim, _a1 error) *DoguResourceGenerator_CreateReservedPVC_Call
func (*DoguResourceGenerator_CreateReservedPVC_Call) Run ¶
func (_c *DoguResourceGenerator_CreateReservedPVC_Call) Run(run func(doguResource *v1.Dogu)) *DoguResourceGenerator_CreateReservedPVC_Call
func (*DoguResourceGenerator_CreateReservedPVC_Call) RunAndReturn ¶
func (_c *DoguResourceGenerator_CreateReservedPVC_Call) RunAndReturn(run func(*v1.Dogu) (*corev1.PersistentVolumeClaim, error)) *DoguResourceGenerator_CreateReservedPVC_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) CreateDoguExposedServices ¶
func (_e *DoguResourceGenerator_Expecter) CreateDoguExposedServices(doguResource interface{}, dogu interface{}) *DoguResourceGenerator_CreateDoguExposedServices_Call
CreateDoguExposedServices 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) 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) CreateReservedPVC ¶
func (_e *DoguResourceGenerator_Expecter) CreateReservedPVC(doguResource interface{}) *DoguResourceGenerator_CreateReservedPVC_Call
CreateReservedPVC is a helper method to define mock.On call
- doguResource *v1.Dogu
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 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(execPodFactoryMode cloudogu.ExecPodVolumeMode, doguResource *v1.Dogu, dogu *core.Dogu) (cloudogu.ExecPod, error)
NewExecPod provides a mock function with given fields: execPodFactoryMode, doguResource, dogu
type ExecPodFactory_Expecter ¶
type ExecPodFactory_Expecter struct {
// contains filtered or unexported fields
}
func (*ExecPodFactory_Expecter) NewExecPod ¶
func (_e *ExecPodFactory_Expecter) NewExecPod(execPodFactoryMode interface{}, doguResource interface{}, dogu interface{}) *ExecPodFactory_NewExecPod_Call
NewExecPod is a helper method to define mock.On call
- execPodFactoryMode cloudogu.ExecPodVolumeMode
- 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(execPodFactoryMode cloudogu.ExecPodVolumeMode, doguResource *v1.Dogu, dogu *core.Dogu)) *ExecPodFactory_NewExecPod_Call
func (*ExecPodFactory_NewExecPod_Call) RunAndReturn ¶
func (_c *ExecPodFactory_NewExecPod_Call) RunAndReturn(run func(cloudogu.ExecPodVolumeMode, *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 string, 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) (string, 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 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 LimitPatcher ¶
LimitPatcher is an autogenerated mock type for the LimitPatcher type
func NewLimitPatcher ¶
func NewLimitPatcher(t mockConstructorTestingTNewLimitPatcher) *LimitPatcher
NewLimitPatcher creates a new instance of LimitPatcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*LimitPatcher) EXPECT ¶
func (_m *LimitPatcher) EXPECT() *LimitPatcher_Expecter
func (*LimitPatcher) PatchDeployment ¶
func (_m *LimitPatcher) PatchDeployment(deployment *v1.Deployment, limits cloudogu.DoguLimits) error
PatchDeployment provides a mock function with given fields: deployment, limits
func (*LimitPatcher) RetrievePodLimits ¶
func (_m *LimitPatcher) RetrievePodLimits(doguResource *apiv1.Dogu) (cloudogu.DoguLimits, error)
RetrievePodLimits provides a mock function with given fields: doguResource
type LimitPatcher_Expecter ¶
type LimitPatcher_Expecter struct {
// contains filtered or unexported fields
}
func (*LimitPatcher_Expecter) PatchDeployment ¶
func (_e *LimitPatcher_Expecter) PatchDeployment(deployment interface{}, limits interface{}) *LimitPatcher_PatchDeployment_Call
PatchDeployment is a helper method to define mock.On call
- deployment *v1.Deployment
- limits cloudogu.DoguLimits
func (*LimitPatcher_Expecter) RetrievePodLimits ¶
func (_e *LimitPatcher_Expecter) RetrievePodLimits(doguResource interface{}) *LimitPatcher_RetrievePodLimits_Call
RetrievePodLimits is a helper method to define mock.On call
- doguResource *apiv1.Dogu
type LimitPatcher_PatchDeployment_Call ¶
LimitPatcher_PatchDeployment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PatchDeployment'
func (*LimitPatcher_PatchDeployment_Call) Return ¶
func (_c *LimitPatcher_PatchDeployment_Call) Return(_a0 error) *LimitPatcher_PatchDeployment_Call
func (*LimitPatcher_PatchDeployment_Call) Run ¶
func (_c *LimitPatcher_PatchDeployment_Call) Run(run func(deployment *v1.Deployment, limits cloudogu.DoguLimits)) *LimitPatcher_PatchDeployment_Call
func (*LimitPatcher_PatchDeployment_Call) RunAndReturn ¶
func (_c *LimitPatcher_PatchDeployment_Call) RunAndReturn(run func(*v1.Deployment, cloudogu.DoguLimits) error) *LimitPatcher_PatchDeployment_Call
type LimitPatcher_RetrievePodLimits_Call ¶
LimitPatcher_RetrievePodLimits_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RetrievePodLimits'
func (*LimitPatcher_RetrievePodLimits_Call) Return ¶
func (_c *LimitPatcher_RetrievePodLimits_Call) Return(_a0 cloudogu.DoguLimits, _a1 error) *LimitPatcher_RetrievePodLimits_Call
func (*LimitPatcher_RetrievePodLimits_Call) Run ¶
func (_c *LimitPatcher_RetrievePodLimits_Call) Run(run func(doguResource *apiv1.Dogu)) *LimitPatcher_RetrievePodLimits_Call
func (*LimitPatcher_RetrievePodLimits_Call) RunAndReturn ¶
func (_c *LimitPatcher_RetrievePodLimits_Call) RunAndReturn(run func(*apiv1.Dogu) (cloudogu.DoguLimits, error)) *LimitPatcher_RetrievePodLimits_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(doguName string) (*core.Dogu, error)
FetchInstalled provides a mock function with given fields: doguName
type LocalDoguFetcher_Expecter ¶
type LocalDoguFetcher_Expecter struct {
// contains filtered or unexported fields
}
func (*LocalDoguFetcher_Expecter) FetchInstalled ¶
func (_e *LocalDoguFetcher_Expecter) FetchInstalled(doguName interface{}) *LocalDoguFetcher_FetchInstalled_Call
FetchInstalled is a helper method to define mock.On call
- 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(doguName string)) *LocalDoguFetcher_FetchInstalled_Call
func (*LocalDoguFetcher_FetchInstalled_Call) RunAndReturn ¶
func (_c *LocalDoguFetcher_FetchInstalled_Call) RunAndReturn(run func(string) (*core.Dogu, error)) *LocalDoguFetcher_FetchInstalled_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 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 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) UpsertDoguExposedServices ¶
func (_m *ResourceUpserter) UpsertDoguExposedServices(ctx context.Context, doguResource *v1.Dogu, dogu *core.Dogu) ([]*corev1.Service, error)
UpsertDoguExposedServices 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) UpsertDoguExposedServices ¶
func (_e *ResourceUpserter_Expecter) UpsertDoguExposedServices(ctx interface{}, doguResource interface{}, dogu interface{}) *ResourceUpserter_UpsertDoguExposedServices_Call
UpsertDoguExposedServices 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_UpsertDoguExposedServices_Call ¶
ResourceUpserter_UpsertDoguExposedServices_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpsertDoguExposedServices'
func (*ResourceUpserter_UpsertDoguExposedServices_Call) Return ¶
func (_c *ResourceUpserter_UpsertDoguExposedServices_Call) Return(_a0 []*corev1.Service, _a1 error) *ResourceUpserter_UpsertDoguExposedServices_Call
func (*ResourceUpserter_UpsertDoguExposedServices_Call) Run ¶
func (_c *ResourceUpserter_UpsertDoguExposedServices_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu, dogu *core.Dogu)) *ResourceUpserter_UpsertDoguExposedServices_Call
func (*ResourceUpserter_UpsertDoguExposedServices_Call) RunAndReturn ¶
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 ResourceValidator ¶
ResourceValidator is an autogenerated mock type for the ResourceValidator type
func NewResourceValidator ¶
func NewResourceValidator(t mockConstructorTestingTNewResourceValidator) *ResourceValidator
NewResourceValidator creates a new instance of ResourceValidator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ResourceValidator) EXPECT ¶
func (_m *ResourceValidator) EXPECT() *ResourceValidator_Expecter
type ResourceValidator_Expecter ¶
type ResourceValidator_Expecter struct {
// contains filtered or unexported fields
}
func (*ResourceValidator_Expecter) Validate ¶
func (_e *ResourceValidator_Expecter) Validate(ctx interface{}, doguName interface{}, obj interface{}) *ResourceValidator_Validate_Call
Validate is a helper method to define mock.On call
- ctx context.Context
- doguName string
- obj client.Object
type ResourceValidator_Validate_Call ¶
ResourceValidator_Validate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Validate'
func (*ResourceValidator_Validate_Call) Return ¶
func (_c *ResourceValidator_Validate_Call) Return(_a0 error) *ResourceValidator_Validate_Call
func (*ResourceValidator_Validate_Call) Run ¶
func (_c *ResourceValidator_Validate_Call) Run(run func(ctx context.Context, doguName string, obj client.Object)) *ResourceValidator_Validate_Call
func (*ResourceValidator_Validate_Call) RunAndReturn ¶
func (_c *ResourceValidator_Validate_Call) RunAndReturn(run func(context.Context, string, client.Object) error) *ResourceValidator_Validate_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
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
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 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 ¶
- Applier.go
- AsyncExecutor.go
- AsyncStep.go
- CollectApplier.go
- CommandExecutor.go
- DeleteManager.go
- DependencyValidator.go
- DoguHealthChecker.go
- DoguLimits.go
- DoguManager.go
- DoguRecursiveHealthChecker.go
- DoguRegistrator.go
- DoguResourceGenerator.go
- DoguSecretHandler.go
- ExecPod.go
- ExecPodFactory.go
- FileExtractor.go
- ImageRegistry.go
- InstallManager.go
- LimitPatcher.go
- LocalDoguFetcher.go
- PremisesChecker.go
- ResourceDoguFetcher.go
- ResourceUpserter.go
- ResourceValidator.go
- SecretResourceGenerator.go
- ServiceAccountCreator.go
- ServiceAccountRemover.go
- ShellCommand.go
- SuffixGenerator.go
- SupportManager.go
- UpgradeExecutor.go
- UpgradeManager.go
- VolumeManager.go