mocks

package
v0.28.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Applier

type Applier struct {
	mock.Mock
}

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

type Applier_ApplyWithOwner_Call struct {
	*mock.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 (*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

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

type AsyncExecutor struct {
	mock.Mock
}

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

func (*AsyncExecutor) Execute

func (_m *AsyncExecutor) Execute(ctx context.Context, dogu *v1.Dogu, currentState string) error

Execute provides a mock function with given fields: ctx, dogu, currentState

type AsyncExecutor_AddStep_Call

type AsyncExecutor_AddStep_Call struct {
	*mock.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 (*AsyncExecutor_AddStep_Call) Run

func (*AsyncExecutor_AddStep_Call) RunAndReturn

type AsyncExecutor_Execute_Call

type AsyncExecutor_Execute_Call struct {
	*mock.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 (*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

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

type AsyncStep struct {
	mock.Mock
}

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) Execute

func (_m *AsyncStep) Execute(ctx context.Context, dogu *v1.Dogu) (string, error)

Execute provides a mock function with given fields: ctx, dogu

func (*AsyncStep) GetStartCondition

func (_m *AsyncStep) GetStartCondition() string

GetStartCondition provides a mock function with given fields:

type AsyncStep_Execute_Call

type AsyncStep_Execute_Call struct {
	*mock.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 (*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

type AsyncStep_GetStartCondition_Call struct {
	*mock.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 (*AsyncStep_GetStartCondition_Call) Run

func (*AsyncStep_GetStartCondition_Call) RunAndReturn

type CollectApplier

type CollectApplier struct {
	mock.Mock
}

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

type CollectApplier_CollectApply_Call

type CollectApplier_CollectApply_Call struct {
	*mock.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 (*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

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

type CommandExecutor struct {
	mock.Mock
}

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 (*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

type CommandExecutor_ExecCommandForDogu_Call struct {
	*mock.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 (*CommandExecutor_ExecCommandForDogu_Call) Run

type CommandExecutor_ExecCommandForPod_Call

type CommandExecutor_ExecCommandForPod_Call struct {
	*mock.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 (*CommandExecutor_ExecCommandForPod_Call) Run

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

type DeleteManager struct {
	mock.Mock
}

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) Delete

func (_m *DeleteManager) Delete(ctx context.Context, doguResource *v1.Dogu) error

Delete provides a mock function with given fields: ctx, doguResource

func (*DeleteManager) EXPECT

func (_m *DeleteManager) EXPECT() *DeleteManager_Expecter

type DeleteManager_Delete_Call

type DeleteManager_Delete_Call struct {
	*mock.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 (*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

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

type DependencyValidator struct {
	mock.Mock
}

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 (*DependencyValidator) ValidateDependencies

func (_m *DependencyValidator) ValidateDependencies(ctx context.Context, dogu *core.Dogu) error

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

type DependencyValidator_ValidateDependencies_Call struct {
	*mock.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 (*DependencyValidator_ValidateDependencies_Call) Run

func (*DependencyValidator_ValidateDependencies_Call) RunAndReturn

type DoguHealthChecker

type DoguHealthChecker struct {
	mock.Mock
}

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

func (_m *DoguHealthChecker) CheckWithResource(ctx context.Context, doguResource *v1.Dogu) error

CheckWithResource provides a mock function with given fields: ctx, doguResource

func (*DoguHealthChecker) EXPECT

type DoguHealthChecker_CheckWithResource_Call

type DoguHealthChecker_CheckWithResource_Call struct {
	*mock.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 (*DoguHealthChecker_CheckWithResource_Call) Run

func (*DoguHealthChecker_CheckWithResource_Call) RunAndReturn

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

type DoguLimits struct {
	mock.Mock
}

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

type DoguLimits_CpuLimit_Call struct {
	*mock.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 (*DoguLimits_CpuLimit_Call) Run

func (*DoguLimits_CpuLimit_Call) RunAndReturn

func (_c *DoguLimits_CpuLimit_Call) RunAndReturn(run func() *resource.Quantity) *DoguLimits_CpuLimit_Call

type DoguLimits_EphemeralStorageLimit_Call

type DoguLimits_EphemeralStorageLimit_Call struct {
	*mock.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 (*DoguLimits_EphemeralStorageLimit_Call) Run

func (*DoguLimits_EphemeralStorageLimit_Call) RunAndReturn

type DoguLimits_Expecter

type DoguLimits_Expecter struct {
	// contains filtered or unexported fields
}

func (*DoguLimits_Expecter) CpuLimit

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

MemoryLimit is a helper method to define mock.On call

type DoguLimits_MemoryLimit_Call

type DoguLimits_MemoryLimit_Call struct {
	*mock.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 (*DoguLimits_MemoryLimit_Call) Run

func (*DoguLimits_MemoryLimit_Call) RunAndReturn

type DoguManager

type DoguManager struct {
	mock.Mock
}

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) Delete

func (_m *DoguManager) Delete(ctx context.Context, doguResource *v1.Dogu) error

Delete provides a mock function with given fields: ctx, doguResource

func (*DoguManager) EXPECT

func (_m *DoguManager) EXPECT() *DoguManager_Expecter

func (*DoguManager) HandleSupportMode

func (_m *DoguManager) HandleSupportMode(ctx context.Context, doguResource *v1.Dogu) (bool, error)

HandleSupportMode provides a mock function with given fields: ctx, doguResource

func (*DoguManager) Install

func (_m *DoguManager) Install(ctx context.Context, doguResource *v1.Dogu) error

Install provides a mock function with given fields: ctx, doguResource

func (*DoguManager) SetDoguDataVolumeSize

func (_m *DoguManager) SetDoguDataVolumeSize(ctx context.Context, doguResource *v1.Dogu) error

SetDoguDataVolumeSize provides a mock function with given fields: ctx, doguResource

func (*DoguManager) Upgrade

func (_m *DoguManager) Upgrade(ctx context.Context, doguResource *v1.Dogu) error

Upgrade provides a mock function with given fields: ctx, doguResource

type DoguManager_Delete_Call

type DoguManager_Delete_Call struct {
	*mock.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 (*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

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

type DoguManager_HandleSupportMode_Call struct {
	*mock.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 (*DoguManager_HandleSupportMode_Call) Run

func (*DoguManager_HandleSupportMode_Call) RunAndReturn

type DoguManager_Install_Call

type DoguManager_Install_Call struct {
	*mock.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 (*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

type DoguManager_SetDoguDataVolumeSize_Call

type DoguManager_SetDoguDataVolumeSize_Call struct {
	*mock.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 (*DoguManager_SetDoguDataVolumeSize_Call) Run

func (*DoguManager_SetDoguDataVolumeSize_Call) RunAndReturn

type DoguManager_Upgrade_Call

type DoguManager_Upgrade_Call struct {
	*mock.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 (*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

type DoguRecursiveHealthChecker

type DoguRecursiveHealthChecker struct {
	mock.Mock
}

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

type DoguRecursiveHealthChecker_CheckDependenciesRecursive_Call

type DoguRecursiveHealthChecker_CheckDependenciesRecursive_Call struct {
	*mock.Call
}

DoguRecursiveHealthChecker_CheckDependenciesRecursive_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckDependenciesRecursive'

func (*DoguRecursiveHealthChecker_CheckDependenciesRecursive_Call) Return

func (*DoguRecursiveHealthChecker_CheckDependenciesRecursive_Call) Run

func (*DoguRecursiveHealthChecker_CheckDependenciesRecursive_Call) RunAndReturn

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

type DoguRegistrator struct {
	mock.Mock
}

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 (*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

type DoguRegistrator_RegisterDoguVersion_Call struct {
	*mock.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 (*DoguRegistrator_RegisterDoguVersion_Call) Run

func (*DoguRegistrator_RegisterDoguVersion_Call) RunAndReturn

type DoguRegistrator_RegisterNewDogu_Call

type DoguRegistrator_RegisterNewDogu_Call struct {
	*mock.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 (*DoguRegistrator_RegisterNewDogu_Call) Run

func (*DoguRegistrator_RegisterNewDogu_Call) RunAndReturn

type DoguRegistrator_UnregisterDogu_Call

type DoguRegistrator_UnregisterDogu_Call struct {
	*mock.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 (*DoguRegistrator_UnregisterDogu_Call) Run

func (*DoguRegistrator_UnregisterDogu_Call) RunAndReturn

type DoguResourceGenerator

type DoguResourceGenerator struct {
	mock.Mock
}

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

type DoguResourceGenerator_CreateDoguDeployment_Call

type DoguResourceGenerator_CreateDoguDeployment_Call struct {
	*mock.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 (*DoguResourceGenerator_CreateDoguDeployment_Call) Run

func (*DoguResourceGenerator_CreateDoguDeployment_Call) RunAndReturn

type DoguResourceGenerator_CreateDoguExposedServices_Call

type DoguResourceGenerator_CreateDoguExposedServices_Call struct {
	*mock.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 (*DoguResourceGenerator_CreateDoguExposedServices_Call) Run

func (*DoguResourceGenerator_CreateDoguExposedServices_Call) RunAndReturn

type DoguResourceGenerator_CreateDoguPVC_Call

type DoguResourceGenerator_CreateDoguPVC_Call struct {
	*mock.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 (*DoguResourceGenerator_CreateDoguPVC_Call) Run

func (*DoguResourceGenerator_CreateDoguPVC_Call) RunAndReturn

type DoguResourceGenerator_CreateDoguService_Call

type DoguResourceGenerator_CreateDoguService_Call struct {
	*mock.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 (*DoguResourceGenerator_CreateDoguService_Call) Run

func (*DoguResourceGenerator_CreateDoguService_Call) RunAndReturn

type DoguResourceGenerator_CreateReservedPVC_Call

type DoguResourceGenerator_CreateReservedPVC_Call struct {
	*mock.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 (*DoguResourceGenerator_CreateReservedPVC_Call) Run

func (*DoguResourceGenerator_CreateReservedPVC_Call) RunAndReturn

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

type DoguSecretHandler struct {
	mock.Mock
}

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 (*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

type DoguSecretHandler_WriteDoguSecretsToRegistry_Call struct {
	*mock.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 (*DoguSecretHandler_WriteDoguSecretsToRegistry_Call) Run

func (*DoguSecretHandler_WriteDoguSecretsToRegistry_Call) RunAndReturn

type ExecPod

type ExecPod struct {
	mock.Mock
}

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) Create

func (_m *ExecPod) Create(ctx context.Context) error

Create provides a mock function with given fields: ctx

func (*ExecPod) Delete

func (_m *ExecPod) Delete(ctx context.Context) error

Delete provides a mock function with given fields: ctx

func (*ExecPod) EXPECT

func (_m *ExecPod) EXPECT() *ExecPod_Expecter

func (*ExecPod) Exec

func (_m *ExecPod) Exec(ctx context.Context, cmd cloudogu.ShellCommand) (string, error)

Exec provides a mock function with given fields: ctx, cmd

func (*ExecPod) ObjectKey

func (_m *ExecPod) ObjectKey() *types.NamespacedName

ObjectKey provides a mock function with given fields:

func (*ExecPod) PodName

func (_m *ExecPod) PodName() string

PodName provides a mock function with given fields:

type ExecPodFactory

type ExecPodFactory struct {
	mock.Mock
}

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 (*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

type ExecPodFactory_NewExecPod_Call struct {
	*mock.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 (*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

type ExecPod_Create_Call

type ExecPod_Create_Call struct {
	*mock.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 (*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

type ExecPod_Delete_Call struct {
	*mock.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 (*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

type ExecPod_Exec_Call struct {
	*mock.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 (*ExecPod_Exec_Call) RunAndReturn

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

type ExecPod_ObjectKey_Call struct {
	*mock.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 (*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

type ExecPod_PodName_Call struct {
	*mock.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 (*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

type FileExtractor struct {
	mock.Mock
}

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

type FileExtractor_ExtractK8sResourcesFromContainer_Call struct {
	*mock.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 (*FileExtractor_ExtractK8sResourcesFromContainer_Call) Run

func (*FileExtractor_ExtractK8sResourcesFromContainer_Call) RunAndReturn

type ImageRegistry

type ImageRegistry struct {
	mock.Mock
}

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

type ImageRegistry_PullImageConfig_Call struct {
	*mock.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 (*ImageRegistry_PullImageConfig_Call) Run

func (*ImageRegistry_PullImageConfig_Call) RunAndReturn

type InstallManager

type InstallManager struct {
	mock.Mock
}

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 (*InstallManager) Install

func (_m *InstallManager) Install(ctx context.Context, doguResource *v1.Dogu) error

Install provides a mock function with given fields: ctx, doguResource

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

type InstallManager_Install_Call struct {
	*mock.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 (*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

type LimitPatcher

type LimitPatcher struct {
	mock.Mock
}

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

type LimitPatcher_PatchDeployment_Call struct {
	*mock.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 (*LimitPatcher_PatchDeployment_Call) Run

func (*LimitPatcher_PatchDeployment_Call) RunAndReturn

type LimitPatcher_RetrievePodLimits_Call

type LimitPatcher_RetrievePodLimits_Call struct {
	*mock.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 (*LimitPatcher_RetrievePodLimits_Call) Run

func (*LimitPatcher_RetrievePodLimits_Call) RunAndReturn

type LocalDoguFetcher

type LocalDoguFetcher struct {
	mock.Mock
}

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 (*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

type LocalDoguFetcher_FetchInstalled_Call struct {
	*mock.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 (*LocalDoguFetcher_FetchInstalled_Call) Run

func (*LocalDoguFetcher_FetchInstalled_Call) RunAndReturn

type PremisesChecker

type PremisesChecker struct {
	mock.Mock
}

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

type PremisesChecker_Check_Call

type PremisesChecker_Check_Call struct {
	*mock.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 (*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

type ResourceDoguFetcher struct {
	mock.Mock
}

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 (*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

type ResourceDoguFetcher_FetchWithResource_Call struct {
	*mock.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 (*ResourceDoguFetcher_FetchWithResource_Call) Run

func (*ResourceDoguFetcher_FetchWithResource_Call) RunAndReturn

type ResourceUpserter

type ResourceUpserter struct {
	mock.Mock
}

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 (*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

type ResourceUpserter_UpsertDoguDeployment_Call struct {
	*mock.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 (*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

type ResourceUpserter_UpsertDoguExposedServices_Call

type ResourceUpserter_UpsertDoguExposedServices_Call struct {
	*mock.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 (*ResourceUpserter_UpsertDoguExposedServices_Call) Run

func (*ResourceUpserter_UpsertDoguExposedServices_Call) RunAndReturn

type ResourceUpserter_UpsertDoguPVCs_Call

type ResourceUpserter_UpsertDoguPVCs_Call struct {
	*mock.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 (*ResourceUpserter_UpsertDoguPVCs_Call) Run

func (*ResourceUpserter_UpsertDoguPVCs_Call) RunAndReturn

type ResourceUpserter_UpsertDoguService_Call

type ResourceUpserter_UpsertDoguService_Call struct {
	*mock.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 (*ResourceUpserter_UpsertDoguService_Call) Run

func (*ResourceUpserter_UpsertDoguService_Call) RunAndReturn

type ResourceValidator

type ResourceValidator struct {
	mock.Mock
}

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 (*ResourceValidator) Validate

func (_m *ResourceValidator) Validate(ctx context.Context, doguName string, obj client.Object) error

Validate provides a mock function with given fields: ctx, doguName, obj

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

type ResourceValidator_Validate_Call struct {
	*mock.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 (*ResourceValidator_Validate_Call) Run

func (*ResourceValidator_Validate_Call) RunAndReturn

type SecretResourceGenerator

type SecretResourceGenerator struct {
	mock.Mock
}

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

type SecretResourceGenerator_CreateDoguSecret_Call

type SecretResourceGenerator_CreateDoguSecret_Call struct {
	*mock.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 (*SecretResourceGenerator_CreateDoguSecret_Call) Run

func (*SecretResourceGenerator_CreateDoguSecret_Call) RunAndReturn

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

type ServiceAccountCreator struct {
	mock.Mock
}

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

func (_m *ServiceAccountCreator) CreateAll(ctx context.Context, dogu *core.Dogu) error

CreateAll provides a mock function with given fields: ctx, dogu

func (*ServiceAccountCreator) EXPECT

type ServiceAccountCreator_CreateAll_Call

type ServiceAccountCreator_CreateAll_Call struct {
	*mock.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 (*ServiceAccountCreator_CreateAll_Call) Run

func (*ServiceAccountCreator_CreateAll_Call) RunAndReturn

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

type ServiceAccountRemover struct {
	mock.Mock
}

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 (*ServiceAccountRemover) RemoveAll

func (_m *ServiceAccountRemover) RemoveAll(ctx context.Context, dogu *core.Dogu) error

RemoveAll provides a mock function with given fields: ctx, dogu

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

type ServiceAccountRemover_RemoveAll_Call struct {
	*mock.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 (*ServiceAccountRemover_RemoveAll_Call) Run

func (*ServiceAccountRemover_RemoveAll_Call) RunAndReturn

type ShellCommand

type ShellCommand struct {
	mock.Mock
}

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

type ShellCommand_CommandWithArgs_Call struct {
	*mock.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 (*ShellCommand_CommandWithArgs_Call) Run

func (*ShellCommand_CommandWithArgs_Call) RunAndReturn

type ShellCommand_Expecter

type ShellCommand_Expecter struct {
	// contains filtered or unexported fields
}

func (*ShellCommand_Expecter) CommandWithArgs

CommandWithArgs is a helper method to define mock.On call

type SuffixGenerator

type SuffixGenerator struct {
	mock.Mock
}

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 (*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

type SuffixGenerator_String_Call struct {
	*mock.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 (*SuffixGenerator_String_Call) Run

func (_c *SuffixGenerator_String_Call) Run(run func(length int)) *SuffixGenerator_String_Call

func (*SuffixGenerator_String_Call) RunAndReturn

type SupportManager

type SupportManager struct {
	mock.Mock
}

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 (*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

type SupportManager_HandleSupportMode_Call struct {
	*mock.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 (*SupportManager_HandleSupportMode_Call) Run

func (*SupportManager_HandleSupportMode_Call) RunAndReturn

type UpgradeExecutor

type UpgradeExecutor struct {
	mock.Mock
}

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 (*UpgradeExecutor) Upgrade

func (_m *UpgradeExecutor) Upgrade(ctx context.Context, toDoguResource *v1.Dogu, fromDogu *core.Dogu, toDogu *core.Dogu) error

Upgrade provides a mock function with given fields: ctx, toDoguResource, fromDogu, toDogu

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

type UpgradeExecutor_Upgrade_Call struct {
	*mock.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 (*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

type UpgradeManager struct {
	mock.Mock
}

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 (*UpgradeManager) Upgrade

func (_m *UpgradeManager) Upgrade(ctx context.Context, doguResource *v1.Dogu) error

Upgrade provides a mock function with given fields: ctx, doguResource

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

type UpgradeManager_Upgrade_Call struct {
	*mock.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 (*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

type VolumeManager

type VolumeManager struct {
	mock.Mock
}

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

func (_m *VolumeManager) SetDoguDataVolumeSize(ctx context.Context, doguResource *v1.Dogu) error

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

type VolumeManager_SetDoguDataVolumeSize_Call struct {
	*mock.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 (*VolumeManager_SetDoguDataVolumeSize_Call) Run

func (*VolumeManager_SetDoguDataVolumeSize_Call) RunAndReturn

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL