mocks

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdditionalIngressAnnotationsManager added in v0.29.0

type AdditionalIngressAnnotationsManager struct {
	mock.Mock
}

AdditionalIngressAnnotationsManager is an autogenerated mock type for the AdditionalIngressAnnotationsManager type

func NewAdditionalIngressAnnotationsManager added in v0.29.0

func NewAdditionalIngressAnnotationsManager(t mockConstructorTestingTNewAdditionalIngressAnnotationsManager) *AdditionalIngressAnnotationsManager

NewAdditionalIngressAnnotationsManager creates a new instance of AdditionalIngressAnnotationsManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*AdditionalIngressAnnotationsManager) EXPECT added in v0.29.0

func (*AdditionalIngressAnnotationsManager) SetDoguAdditionalIngressAnnotations added in v0.29.0

func (_m *AdditionalIngressAnnotationsManager) SetDoguAdditionalIngressAnnotations(ctx context.Context, doguResource *v1.Dogu) error

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

type AdditionalIngressAnnotationsManager_Expecter added in v0.29.0

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

func (*AdditionalIngressAnnotationsManager_Expecter) SetDoguAdditionalIngressAnnotations added in v0.29.0

func (_e *AdditionalIngressAnnotationsManager_Expecter) SetDoguAdditionalIngressAnnotations(ctx interface{}, doguResource interface{}) *AdditionalIngressAnnotationsManager_SetDoguAdditionalIngressAnnotations_Call

SetDoguAdditionalIngressAnnotations is a helper method to define mock.On call

  • ctx context.Context
  • doguResource *v1.Dogu

type AdditionalIngressAnnotationsManager_SetDoguAdditionalIngressAnnotations_Call added in v0.29.0

type AdditionalIngressAnnotationsManager_SetDoguAdditionalIngressAnnotations_Call struct {
	*mock.Call
}

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

func (*AdditionalIngressAnnotationsManager_SetDoguAdditionalIngressAnnotations_Call) Return added in v0.29.0

func (*AdditionalIngressAnnotationsManager_SetDoguAdditionalIngressAnnotations_Call) Run added in v0.29.0

func (*AdditionalIngressAnnotationsManager_SetDoguAdditionalIngressAnnotations_Call) RunAndReturn added in v0.29.0

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 DeploymentAvailabilityChecker added in v0.40.0

type DeploymentAvailabilityChecker struct {
	mock.Mock
}

DeploymentAvailabilityChecker is an autogenerated mock type for the DeploymentAvailabilityChecker type

func NewDeploymentAvailabilityChecker added in v0.40.0

func NewDeploymentAvailabilityChecker(t mockConstructorTestingTNewDeploymentAvailabilityChecker) *DeploymentAvailabilityChecker

NewDeploymentAvailabilityChecker creates a new instance of DeploymentAvailabilityChecker. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*DeploymentAvailabilityChecker) EXPECT added in v0.40.0

func (*DeploymentAvailabilityChecker) IsAvailable added in v0.40.0

func (_m *DeploymentAvailabilityChecker) IsAvailable(deployment *v1.Deployment) bool

IsAvailable provides a mock function with given fields: deployment

type DeploymentAvailabilityChecker_Expecter added in v0.40.0

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

func (*DeploymentAvailabilityChecker_Expecter) IsAvailable added in v0.40.0

IsAvailable is a helper method to define mock.On call

  • deployment *v1.Deployment

type DeploymentAvailabilityChecker_IsAvailable_Call added in v0.40.0

type DeploymentAvailabilityChecker_IsAvailable_Call struct {
	*mock.Call
}

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

func (*DeploymentAvailabilityChecker_IsAvailable_Call) Return added in v0.40.0

func (*DeploymentAvailabilityChecker_IsAvailable_Call) Run added in v0.40.0

func (*DeploymentAvailabilityChecker_IsAvailable_Call) RunAndReturn added in v0.40.0

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) CheckByName added in v0.40.0

func (_m *DoguHealthChecker) CheckByName(ctx context.Context, doguName types.NamespacedName) error

CheckByName provides a mock function with given fields: ctx, doguName

func (*DoguHealthChecker) EXPECT

type DoguHealthChecker_CheckByName_Call added in v0.40.0

type DoguHealthChecker_CheckByName_Call struct {
	*mock.Call
}

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

func (*DoguHealthChecker_CheckByName_Call) Return added in v0.40.0

func (*DoguHealthChecker_CheckByName_Call) Run added in v0.40.0

func (*DoguHealthChecker_CheckByName_Call) RunAndReturn added in v0.40.0

type DoguHealthChecker_Expecter

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

func (*DoguHealthChecker_Expecter) CheckByName added in v0.40.0

func (_e *DoguHealthChecker_Expecter) CheckByName(ctx interface{}, doguName interface{}) *DoguHealthChecker_CheckByName_Call

CheckByName is a helper method to define mock.On call

  • ctx context.Context
  • doguName types.NamespacedName

type DoguHealthStatusUpdater added in v0.40.0

type DoguHealthStatusUpdater struct {
	mock.Mock
}

DoguHealthStatusUpdater is an autogenerated mock type for the DoguHealthStatusUpdater type

func NewDoguHealthStatusUpdater added in v0.40.0

func NewDoguHealthStatusUpdater(t mockConstructorTestingTNewDoguHealthStatusUpdater) *DoguHealthStatusUpdater

NewDoguHealthStatusUpdater creates a new instance of DoguHealthStatusUpdater. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*DoguHealthStatusUpdater) EXPECT added in v0.40.0

func (*DoguHealthStatusUpdater) UpdateStatus added in v0.40.0

func (_m *DoguHealthStatusUpdater) UpdateStatus(ctx context.Context, doguName types.NamespacedName, available bool) error

UpdateStatus provides a mock function with given fields: ctx, doguName, available

type DoguHealthStatusUpdater_Expecter added in v0.40.0

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

func (*DoguHealthStatusUpdater_Expecter) UpdateStatus added in v0.40.0

func (_e *DoguHealthStatusUpdater_Expecter) UpdateStatus(ctx interface{}, doguName interface{}, available interface{}) *DoguHealthStatusUpdater_UpdateStatus_Call

UpdateStatus is a helper method to define mock.On call

  • ctx context.Context
  • doguName types.NamespacedName
  • available bool

type DoguHealthStatusUpdater_UpdateStatus_Call added in v0.40.0

type DoguHealthStatusUpdater_UpdateStatus_Call struct {
	*mock.Call
}

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

func (*DoguHealthStatusUpdater_UpdateStatus_Call) Return added in v0.40.0

func (*DoguHealthStatusUpdater_UpdateStatus_Call) Run added in v0.40.0

func (*DoguHealthStatusUpdater_UpdateStatus_Call) RunAndReturn added in v0.40.0

type DoguInterface added in v0.40.0

type DoguInterface struct {
	mock.Mock
}

DoguInterface is an autogenerated mock type for the DoguInterface type

func NewDoguInterface added in v0.40.0

func NewDoguInterface(t mockConstructorTestingTNewDoguInterface) *DoguInterface

NewDoguInterface creates a new instance of DoguInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*DoguInterface) Create added in v0.40.0

func (_m *DoguInterface) Create(ctx context.Context, dogu *v1.Dogu, opts metav1.CreateOptions) (*v1.Dogu, error)

Create provides a mock function with given fields: ctx, dogu, opts

func (*DoguInterface) Delete added in v0.40.0

func (_m *DoguInterface) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error

Delete provides a mock function with given fields: ctx, name, opts

func (*DoguInterface) DeleteCollection added in v0.40.0

func (_m *DoguInterface) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error

DeleteCollection provides a mock function with given fields: ctx, opts, listOpts

func (*DoguInterface) EXPECT added in v0.40.0

func (_m *DoguInterface) EXPECT() *DoguInterface_Expecter

func (*DoguInterface) Get added in v0.40.0

func (_m *DoguInterface) Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Dogu, error)

Get provides a mock function with given fields: ctx, name, opts

func (*DoguInterface) List added in v0.40.0

func (_m *DoguInterface) List(ctx context.Context, opts metav1.ListOptions) (*v1.DoguList, error)

List provides a mock function with given fields: ctx, opts

func (*DoguInterface) Patch added in v0.40.0

func (_m *DoguInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (*v1.Dogu, error)

Patch provides a mock function with given fields: ctx, name, pt, data, opts, subresources

func (*DoguInterface) Update added in v0.40.0

func (_m *DoguInterface) Update(ctx context.Context, dogu *v1.Dogu, opts metav1.UpdateOptions) (*v1.Dogu, error)

Update provides a mock function with given fields: ctx, dogu, opts

func (*DoguInterface) UpdateSpecWithRetry added in v1.0.0

func (_m *DoguInterface) UpdateSpecWithRetry(ctx context.Context, dogu *v1.Dogu, modifySpecFn func(v1.DoguSpec) v1.DoguSpec, opts metav1.UpdateOptions) (*v1.Dogu, error)

UpdateSpecWithRetry provides a mock function with given fields: ctx, dogu, modifySpecFn, opts

func (*DoguInterface) UpdateStatus added in v0.40.0

func (_m *DoguInterface) UpdateStatus(ctx context.Context, dogu *v1.Dogu, opts metav1.UpdateOptions) (*v1.Dogu, error)

UpdateStatus provides a mock function with given fields: ctx, dogu, opts

func (*DoguInterface) UpdateStatusWithRetry added in v1.0.0

func (_m *DoguInterface) UpdateStatusWithRetry(ctx context.Context, dogu *v1.Dogu, modifyStatusFn func(v1.DoguStatus) v1.DoguStatus, opts metav1.UpdateOptions) (*v1.Dogu, error)

UpdateStatusWithRetry provides a mock function with given fields: ctx, dogu, modifyStatusFn, opts

func (*DoguInterface) Watch added in v0.40.0

Watch provides a mock function with given fields: ctx, opts

type DoguInterface_Create_Call added in v0.40.0

type DoguInterface_Create_Call struct {
	*mock.Call
}

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

func (*DoguInterface_Create_Call) Return added in v0.40.0

func (*DoguInterface_Create_Call) Run added in v0.40.0

func (*DoguInterface_Create_Call) RunAndReturn added in v0.40.0

type DoguInterface_DeleteCollection_Call added in v0.40.0

type DoguInterface_DeleteCollection_Call struct {
	*mock.Call
}

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

func (*DoguInterface_DeleteCollection_Call) Return added in v0.40.0

func (*DoguInterface_DeleteCollection_Call) Run added in v0.40.0

func (*DoguInterface_DeleteCollection_Call) RunAndReturn added in v0.40.0

type DoguInterface_Delete_Call added in v0.40.0

type DoguInterface_Delete_Call struct {
	*mock.Call
}

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

func (*DoguInterface_Delete_Call) Return added in v0.40.0

func (*DoguInterface_Delete_Call) Run added in v0.40.0

func (*DoguInterface_Delete_Call) RunAndReturn added in v0.40.0

type DoguInterface_Expecter added in v0.40.0

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

func (*DoguInterface_Expecter) Create added in v0.40.0

func (_e *DoguInterface_Expecter) Create(ctx interface{}, dogu interface{}, opts interface{}) *DoguInterface_Create_Call

Create is a helper method to define mock.On call

  • ctx context.Context
  • dogu *v1.Dogu
  • opts metav1.CreateOptions

func (*DoguInterface_Expecter) Delete added in v0.40.0

func (_e *DoguInterface_Expecter) Delete(ctx interface{}, name interface{}, opts interface{}) *DoguInterface_Delete_Call

Delete is a helper method to define mock.On call

  • ctx context.Context
  • name string
  • opts metav1.DeleteOptions

func (*DoguInterface_Expecter) DeleteCollection added in v0.40.0

func (_e *DoguInterface_Expecter) DeleteCollection(ctx interface{}, opts interface{}, listOpts interface{}) *DoguInterface_DeleteCollection_Call

DeleteCollection is a helper method to define mock.On call

  • ctx context.Context
  • opts metav1.DeleteOptions
  • listOpts metav1.ListOptions

func (*DoguInterface_Expecter) Get added in v0.40.0

func (_e *DoguInterface_Expecter) Get(ctx interface{}, name interface{}, opts interface{}) *DoguInterface_Get_Call

Get is a helper method to define mock.On call

  • ctx context.Context
  • name string
  • opts metav1.GetOptions

func (*DoguInterface_Expecter) List added in v0.40.0

func (_e *DoguInterface_Expecter) List(ctx interface{}, opts interface{}) *DoguInterface_List_Call

List is a helper method to define mock.On call

  • ctx context.Context
  • opts metav1.ListOptions

func (*DoguInterface_Expecter) Patch added in v0.40.0

func (_e *DoguInterface_Expecter) Patch(ctx interface{}, name interface{}, pt interface{}, data interface{}, opts interface{}, subresources ...interface{}) *DoguInterface_Patch_Call

Patch is a helper method to define mock.On call

  • ctx context.Context
  • name string
  • pt types.PatchType
  • data []byte
  • opts metav1.PatchOptions
  • subresources ...string

func (*DoguInterface_Expecter) Update added in v0.40.0

func (_e *DoguInterface_Expecter) Update(ctx interface{}, dogu interface{}, opts interface{}) *DoguInterface_Update_Call

Update is a helper method to define mock.On call

  • ctx context.Context
  • dogu *v1.Dogu
  • opts metav1.UpdateOptions

func (*DoguInterface_Expecter) UpdateSpecWithRetry added in v1.0.0

func (_e *DoguInterface_Expecter) UpdateSpecWithRetry(ctx interface{}, dogu interface{}, modifySpecFn interface{}, opts interface{}) *DoguInterface_UpdateSpecWithRetry_Call

UpdateSpecWithRetry is a helper method to define mock.On call

  • ctx context.Context
  • dogu *v1.Dogu
  • modifySpecFn func(v1.DoguSpec) v1.DoguSpec
  • opts metav1.UpdateOptions

func (*DoguInterface_Expecter) UpdateStatus added in v0.40.0

func (_e *DoguInterface_Expecter) UpdateStatus(ctx interface{}, dogu interface{}, opts interface{}) *DoguInterface_UpdateStatus_Call

UpdateStatus is a helper method to define mock.On call

  • ctx context.Context
  • dogu *v1.Dogu
  • opts metav1.UpdateOptions

func (*DoguInterface_Expecter) UpdateStatusWithRetry added in v1.0.0

func (_e *DoguInterface_Expecter) UpdateStatusWithRetry(ctx interface{}, dogu interface{}, modifyStatusFn interface{}, opts interface{}) *DoguInterface_UpdateStatusWithRetry_Call

UpdateStatusWithRetry is a helper method to define mock.On call

  • ctx context.Context
  • dogu *v1.Dogu
  • modifyStatusFn func(v1.DoguStatus) v1.DoguStatus
  • opts metav1.UpdateOptions

func (*DoguInterface_Expecter) Watch added in v0.40.0

func (_e *DoguInterface_Expecter) Watch(ctx interface{}, opts interface{}) *DoguInterface_Watch_Call

Watch is a helper method to define mock.On call

  • ctx context.Context
  • opts metav1.ListOptions

type DoguInterface_Get_Call added in v0.40.0

type DoguInterface_Get_Call struct {
	*mock.Call
}

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

func (*DoguInterface_Get_Call) Return added in v0.40.0

func (*DoguInterface_Get_Call) Run added in v0.40.0

func (*DoguInterface_Get_Call) RunAndReturn added in v0.40.0

type DoguInterface_List_Call added in v0.40.0

type DoguInterface_List_Call struct {
	*mock.Call
}

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

func (*DoguInterface_List_Call) Return added in v0.40.0

func (*DoguInterface_List_Call) Run added in v0.40.0

func (*DoguInterface_List_Call) RunAndReturn added in v0.40.0

type DoguInterface_Patch_Call added in v0.40.0

type DoguInterface_Patch_Call struct {
	*mock.Call
}

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

func (*DoguInterface_Patch_Call) Return added in v0.40.0

func (*DoguInterface_Patch_Call) Run added in v0.40.0

func (_c *DoguInterface_Patch_Call) Run(run func(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string)) *DoguInterface_Patch_Call

func (*DoguInterface_Patch_Call) RunAndReturn added in v0.40.0

type DoguInterface_UpdateSpecWithRetry_Call added in v1.0.0

type DoguInterface_UpdateSpecWithRetry_Call struct {
	*mock.Call
}

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

func (*DoguInterface_UpdateSpecWithRetry_Call) Return added in v1.0.0

func (*DoguInterface_UpdateSpecWithRetry_Call) Run added in v1.0.0

func (*DoguInterface_UpdateSpecWithRetry_Call) RunAndReturn added in v1.0.0

type DoguInterface_UpdateStatusWithRetry_Call added in v1.0.0

type DoguInterface_UpdateStatusWithRetry_Call struct {
	*mock.Call
}

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

func (*DoguInterface_UpdateStatusWithRetry_Call) Return added in v1.0.0

func (*DoguInterface_UpdateStatusWithRetry_Call) Run added in v1.0.0

func (*DoguInterface_UpdateStatusWithRetry_Call) RunAndReturn added in v1.0.0

type DoguInterface_UpdateStatus_Call added in v0.40.0

type DoguInterface_UpdateStatus_Call struct {
	*mock.Call
}

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

func (*DoguInterface_UpdateStatus_Call) Return added in v0.40.0

func (*DoguInterface_UpdateStatus_Call) Run added in v0.40.0

func (*DoguInterface_UpdateStatus_Call) RunAndReturn added in v0.40.0

type DoguInterface_Update_Call added in v0.40.0

type DoguInterface_Update_Call struct {
	*mock.Call
}

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

func (*DoguInterface_Update_Call) Return added in v0.40.0

func (*DoguInterface_Update_Call) Run added in v0.40.0

func (*DoguInterface_Update_Call) RunAndReturn added in v0.40.0

type DoguInterface_Watch_Call added in v0.40.0

type DoguInterface_Watch_Call struct {
	*mock.Call
}

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

func (*DoguInterface_Watch_Call) Return added in v0.40.0

func (*DoguInterface_Watch_Call) Run added in v0.40.0

func (*DoguInterface_Watch_Call) RunAndReturn added in v0.40.0

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) CheckStarted added in v1.0.0

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

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

func (*DoguManager) CheckStopped added in v1.0.0

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

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

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) SetDoguAdditionalIngressAnnotations added in v0.29.0

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

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

func (*DoguManager) SetDoguDataVolumeSize

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

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

func (*DoguManager) StartDogu added in v1.0.0

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

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

func (*DoguManager) StopDogu added in v1.0.0

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

StopDogu 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_CheckStarted_Call added in v1.0.0

type DoguManager_CheckStarted_Call struct {
	*mock.Call
}

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

func (*DoguManager_CheckStarted_Call) Return added in v1.0.0

func (*DoguManager_CheckStarted_Call) Run added in v1.0.0

func (_c *DoguManager_CheckStarted_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *DoguManager_CheckStarted_Call

func (*DoguManager_CheckStarted_Call) RunAndReturn added in v1.0.0

type DoguManager_CheckStopped_Call added in v1.0.0

type DoguManager_CheckStopped_Call struct {
	*mock.Call
}

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

func (*DoguManager_CheckStopped_Call) Return added in v1.0.0

func (*DoguManager_CheckStopped_Call) Run added in v1.0.0

func (_c *DoguManager_CheckStopped_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *DoguManager_CheckStopped_Call

func (*DoguManager_CheckStopped_Call) RunAndReturn added in v1.0.0

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) CheckStarted added in v1.0.0

func (_e *DoguManager_Expecter) CheckStarted(ctx interface{}, doguResource interface{}) *DoguManager_CheckStarted_Call

CheckStarted is a helper method to define mock.On call

  • ctx context.Context
  • doguResource *v1.Dogu

func (*DoguManager_Expecter) CheckStopped added in v1.0.0

func (_e *DoguManager_Expecter) CheckStopped(ctx interface{}, doguResource interface{}) *DoguManager_CheckStopped_Call

CheckStopped is a helper method to define mock.On call

  • ctx context.Context
  • doguResource *v1.Dogu

func (*DoguManager_Expecter) Delete

func (_e *DoguManager_Expecter) Delete(ctx interface{}, doguResource interface{}) *DoguManager_Delete_Call

Delete is a helper method to define mock.On call

  • ctx context.Context
  • doguResource *v1.Dogu

func (*DoguManager_Expecter) HandleSupportMode

func (_e *DoguManager_Expecter) HandleSupportMode(ctx interface{}, doguResource interface{}) *DoguManager_HandleSupportMode_Call

HandleSupportMode is a helper method to define mock.On call

  • ctx context.Context
  • doguResource *v1.Dogu

func (*DoguManager_Expecter) Install

func (_e *DoguManager_Expecter) Install(ctx interface{}, doguResource interface{}) *DoguManager_Install_Call

Install is a helper method to define mock.On call

  • ctx context.Context
  • doguResource *v1.Dogu

func (*DoguManager_Expecter) SetDoguAdditionalIngressAnnotations added in v0.29.0

func (_e *DoguManager_Expecter) SetDoguAdditionalIngressAnnotations(ctx interface{}, doguResource interface{}) *DoguManager_SetDoguAdditionalIngressAnnotations_Call

SetDoguAdditionalIngressAnnotations is a helper method to define mock.On call

  • ctx context.Context
  • doguResource *v1.Dogu

func (*DoguManager_Expecter) SetDoguDataVolumeSize

func (_e *DoguManager_Expecter) SetDoguDataVolumeSize(ctx interface{}, doguResource interface{}) *DoguManager_SetDoguDataVolumeSize_Call

SetDoguDataVolumeSize is a helper method to define mock.On call

  • ctx context.Context
  • doguResource *v1.Dogu

func (*DoguManager_Expecter) StartDogu added in v1.0.0

func (_e *DoguManager_Expecter) StartDogu(ctx interface{}, doguResource interface{}) *DoguManager_StartDogu_Call

StartDogu is a helper method to define mock.On call

  • ctx context.Context
  • doguResource *v1.Dogu

func (*DoguManager_Expecter) StopDogu added in v1.0.0

func (_e *DoguManager_Expecter) StopDogu(ctx interface{}, doguResource interface{}) *DoguManager_StopDogu_Call

StopDogu is a helper method to define mock.On call

  • ctx context.Context
  • doguResource *v1.Dogu

func (*DoguManager_Expecter) Upgrade

func (_e *DoguManager_Expecter) Upgrade(ctx interface{}, doguResource interface{}) *DoguManager_Upgrade_Call

Upgrade is a helper method to define mock.On call

  • ctx context.Context
  • doguResource *v1.Dogu

type DoguManager_HandleSupportMode_Call

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_SetDoguAdditionalIngressAnnotations_Call added in v0.29.0

type DoguManager_SetDoguAdditionalIngressAnnotations_Call struct {
	*mock.Call
}

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

func (*DoguManager_SetDoguAdditionalIngressAnnotations_Call) Return added in v0.29.0

func (*DoguManager_SetDoguAdditionalIngressAnnotations_Call) Run added in v0.29.0

func (*DoguManager_SetDoguAdditionalIngressAnnotations_Call) RunAndReturn added in v0.29.0

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_StartDogu_Call added in v1.0.0

type DoguManager_StartDogu_Call struct {
	*mock.Call
}

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

func (*DoguManager_StartDogu_Call) Return added in v1.0.0

func (*DoguManager_StartDogu_Call) Run added in v1.0.0

func (_c *DoguManager_StartDogu_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *DoguManager_StartDogu_Call

func (*DoguManager_StartDogu_Call) RunAndReturn added in v1.0.0

type DoguManager_StopDogu_Call added in v1.0.0

type DoguManager_StopDogu_Call struct {
	*mock.Call
}

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

func (*DoguManager_StopDogu_Call) Return added in v1.0.0

func (*DoguManager_StopDogu_Call) Run added in v1.0.0

func (_c *DoguManager_StopDogu_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *DoguManager_StopDogu_Call

func (*DoguManager_StopDogu_Call) RunAndReturn added in v1.0.0

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, namespace string) error

CheckDependenciesRecursive provides a mock function with given fields: ctx, fromDogu, namespace

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{}, namespace interface{}) *DoguRecursiveHealthChecker_CheckDependenciesRecursive_Call

CheckDependenciesRecursive is a helper method to define mock.On call

  • ctx context.Context
  • fromDogu *core.Dogu
  • namespace string

type DoguRegistrator

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

func (_m *DoguResourceGenerator) CreateDoguPVC(doguResource *v1.Dogu) (*corev1.PersistentVolumeClaim, error)

CreateDoguPVC provides a mock function with given fields: doguResource

func (*DoguResourceGenerator) CreateDoguSecret added in v0.36.0

func (_m *DoguResourceGenerator) CreateDoguSecret(doguResource *v1.Dogu, stringData map[string]string) (*corev1.Secret, error)

CreateDoguSecret provides a mock function with given fields: doguResource, stringData

func (*DoguResourceGenerator) CreateDoguService

func (_m *DoguResourceGenerator) CreateDoguService(doguResource *v1.Dogu, imageConfig *pkgv1.ConfigFile) (*corev1.Service, error)

CreateDoguService provides a mock function with given fields: doguResource, imageConfig

func (*DoguResourceGenerator) EXPECT

func (*DoguResourceGenerator) GetPodTemplate added in v0.36.0

func (_m *DoguResourceGenerator) GetPodTemplate(doguResource *v1.Dogu, dogu *core.Dogu) (*corev1.PodTemplateSpec, error)

GetPodTemplate provides a mock function with given fields: doguResource, dogu

type DoguResourceGenerator_CreateDoguDeployment_Call

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_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_CreateDoguSecret_Call added in v0.36.0

type DoguResourceGenerator_CreateDoguSecret_Call struct {
	*mock.Call
}

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

func (*DoguResourceGenerator_CreateDoguSecret_Call) Return added in v0.36.0

func (*DoguResourceGenerator_CreateDoguSecret_Call) Run added in v0.36.0

func (*DoguResourceGenerator_CreateDoguSecret_Call) RunAndReturn added in v0.36.0

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_Expecter

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

func (*DoguResourceGenerator_Expecter) CreateDoguDeployment

func (_e *DoguResourceGenerator_Expecter) CreateDoguDeployment(doguResource interface{}, dogu interface{}) *DoguResourceGenerator_CreateDoguDeployment_Call

CreateDoguDeployment is a helper method to define mock.On call

  • doguResource *v1.Dogu
  • dogu *core.Dogu

func (*DoguResourceGenerator_Expecter) CreateDoguPVC

func (_e *DoguResourceGenerator_Expecter) CreateDoguPVC(doguResource interface{}) *DoguResourceGenerator_CreateDoguPVC_Call

CreateDoguPVC is a helper method to define mock.On call

  • doguResource *v1.Dogu

func (*DoguResourceGenerator_Expecter) CreateDoguSecret added in v0.36.0

func (_e *DoguResourceGenerator_Expecter) CreateDoguSecret(doguResource interface{}, stringData interface{}) *DoguResourceGenerator_CreateDoguSecret_Call

CreateDoguSecret is a helper method to define mock.On call

  • doguResource *v1.Dogu
  • stringData map[string]string

func (*DoguResourceGenerator_Expecter) CreateDoguService

func (_e *DoguResourceGenerator_Expecter) CreateDoguService(doguResource interface{}, imageConfig interface{}) *DoguResourceGenerator_CreateDoguService_Call

CreateDoguService is a helper method to define mock.On call

  • doguResource *v1.Dogu
  • imageConfig *pkgv1.ConfigFile

func (*DoguResourceGenerator_Expecter) GetPodTemplate added in v0.36.0

func (_e *DoguResourceGenerator_Expecter) GetPodTemplate(doguResource interface{}, dogu interface{}) *DoguResourceGenerator_GetPodTemplate_Call

GetPodTemplate is a helper method to define mock.On call

  • doguResource *v1.Dogu
  • dogu *core.Dogu

type DoguResourceGenerator_GetPodTemplate_Call added in v0.36.0

type DoguResourceGenerator_GetPodTemplate_Call struct {
	*mock.Call
}

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

func (*DoguResourceGenerator_GetPodTemplate_Call) Return added in v0.36.0

func (*DoguResourceGenerator_GetPodTemplate_Call) Run added in v0.36.0

func (*DoguResourceGenerator_GetPodTemplate_Call) RunAndReturn added in v0.36.0

type DoguRestartInterface added in v1.0.0

type DoguRestartInterface struct {
	mock.Mock
}

DoguRestartInterface is an autogenerated mock type for the DoguRestartInterface type

func NewDoguRestartInterface added in v1.0.0

func NewDoguRestartInterface(t mockConstructorTestingTNewDoguRestartInterface) *DoguRestartInterface

NewDoguRestartInterface creates a new instance of DoguRestartInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*DoguRestartInterface) Create added in v1.0.0

Create provides a mock function with given fields: ctx, dogu, opts

func (*DoguRestartInterface) Delete added in v1.0.0

func (_m *DoguRestartInterface) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error

Delete provides a mock function with given fields: ctx, name, opts

func (*DoguRestartInterface) DeleteCollection added in v1.0.0

func (_m *DoguRestartInterface) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error

DeleteCollection provides a mock function with given fields: ctx, opts, listOpts

func (*DoguRestartInterface) EXPECT added in v1.0.0

func (*DoguRestartInterface) Get added in v1.0.0

Get provides a mock function with given fields: ctx, name, opts

func (*DoguRestartInterface) List added in v1.0.0

List provides a mock function with given fields: ctx, opts

func (*DoguRestartInterface) Patch added in v1.0.0

func (_m *DoguRestartInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (*v1.DoguRestart, error)

Patch provides a mock function with given fields: ctx, name, pt, data, opts, subresources

func (*DoguRestartInterface) Update added in v1.0.0

Update provides a mock function with given fields: ctx, dogu, opts

func (*DoguRestartInterface) UpdateSpecWithRetry added in v1.0.0

func (_m *DoguRestartInterface) UpdateSpecWithRetry(ctx context.Context, doguRestart *v1.DoguRestart, modifySpecFn func(v1.DoguRestartSpec) v1.DoguRestartSpec, opts metav1.UpdateOptions) (*v1.DoguRestart, error)

UpdateSpecWithRetry provides a mock function with given fields: ctx, doguRestart, modifySpecFn, opts

func (*DoguRestartInterface) UpdateStatus added in v1.0.0

func (_m *DoguRestartInterface) UpdateStatus(ctx context.Context, dogu *v1.DoguRestart, opts metav1.UpdateOptions) (*v1.DoguRestart, error)

UpdateStatus provides a mock function with given fields: ctx, dogu, opts

func (*DoguRestartInterface) UpdateStatusWithRetry added in v1.0.0

func (_m *DoguRestartInterface) UpdateStatusWithRetry(ctx context.Context, doguRestart *v1.DoguRestart, modifyStatusFn func(v1.DoguRestartStatus) v1.DoguRestartStatus, opts metav1.UpdateOptions) (*v1.DoguRestart, error)

UpdateStatusWithRetry provides a mock function with given fields: ctx, doguRestart, modifyStatusFn, opts

func (*DoguRestartInterface) Watch added in v1.0.0

Watch provides a mock function with given fields: ctx, opts

type DoguRestartInterface_Create_Call added in v1.0.0

type DoguRestartInterface_Create_Call struct {
	*mock.Call
}

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

func (*DoguRestartInterface_Create_Call) Return added in v1.0.0

func (*DoguRestartInterface_Create_Call) Run added in v1.0.0

func (*DoguRestartInterface_Create_Call) RunAndReturn added in v1.0.0

type DoguRestartInterface_DeleteCollection_Call added in v1.0.0

type DoguRestartInterface_DeleteCollection_Call struct {
	*mock.Call
}

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

func (*DoguRestartInterface_DeleteCollection_Call) Return added in v1.0.0

func (*DoguRestartInterface_DeleteCollection_Call) Run added in v1.0.0

func (*DoguRestartInterface_DeleteCollection_Call) RunAndReturn added in v1.0.0

type DoguRestartInterface_Delete_Call added in v1.0.0

type DoguRestartInterface_Delete_Call struct {
	*mock.Call
}

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

func (*DoguRestartInterface_Delete_Call) Return added in v1.0.0

func (*DoguRestartInterface_Delete_Call) Run added in v1.0.0

func (*DoguRestartInterface_Delete_Call) RunAndReturn added in v1.0.0

type DoguRestartInterface_Expecter added in v1.0.0

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

func (*DoguRestartInterface_Expecter) Create added in v1.0.0

func (_e *DoguRestartInterface_Expecter) Create(ctx interface{}, dogu interface{}, opts interface{}) *DoguRestartInterface_Create_Call

Create is a helper method to define mock.On call

  • ctx context.Context
  • dogu *v1.DoguRestart
  • opts metav1.CreateOptions

func (*DoguRestartInterface_Expecter) Delete added in v1.0.0

func (_e *DoguRestartInterface_Expecter) Delete(ctx interface{}, name interface{}, opts interface{}) *DoguRestartInterface_Delete_Call

Delete is a helper method to define mock.On call

  • ctx context.Context
  • name string
  • opts metav1.DeleteOptions

func (*DoguRestartInterface_Expecter) DeleteCollection added in v1.0.0

func (_e *DoguRestartInterface_Expecter) DeleteCollection(ctx interface{}, opts interface{}, listOpts interface{}) *DoguRestartInterface_DeleteCollection_Call

DeleteCollection is a helper method to define mock.On call

  • ctx context.Context
  • opts metav1.DeleteOptions
  • listOpts metav1.ListOptions

func (*DoguRestartInterface_Expecter) Get added in v1.0.0

func (_e *DoguRestartInterface_Expecter) Get(ctx interface{}, name interface{}, opts interface{}) *DoguRestartInterface_Get_Call

Get is a helper method to define mock.On call

  • ctx context.Context
  • name string
  • opts metav1.GetOptions

func (*DoguRestartInterface_Expecter) List added in v1.0.0

func (_e *DoguRestartInterface_Expecter) List(ctx interface{}, opts interface{}) *DoguRestartInterface_List_Call

List is a helper method to define mock.On call

  • ctx context.Context
  • opts metav1.ListOptions

func (*DoguRestartInterface_Expecter) Patch added in v1.0.0

func (_e *DoguRestartInterface_Expecter) Patch(ctx interface{}, name interface{}, pt interface{}, data interface{}, opts interface{}, subresources ...interface{}) *DoguRestartInterface_Patch_Call

Patch is a helper method to define mock.On call

  • ctx context.Context
  • name string
  • pt types.PatchType
  • data []byte
  • opts metav1.PatchOptions
  • subresources ...string

func (*DoguRestartInterface_Expecter) Update added in v1.0.0

func (_e *DoguRestartInterface_Expecter) Update(ctx interface{}, dogu interface{}, opts interface{}) *DoguRestartInterface_Update_Call

Update is a helper method to define mock.On call

  • ctx context.Context
  • dogu *v1.DoguRestart
  • opts metav1.UpdateOptions

func (*DoguRestartInterface_Expecter) UpdateSpecWithRetry added in v1.0.0

func (_e *DoguRestartInterface_Expecter) UpdateSpecWithRetry(ctx interface{}, doguRestart interface{}, modifySpecFn interface{}, opts interface{}) *DoguRestartInterface_UpdateSpecWithRetry_Call

UpdateSpecWithRetry is a helper method to define mock.On call

  • ctx context.Context
  • doguRestart *v1.DoguRestart
  • modifySpecFn func(v1.DoguRestartSpec) v1.DoguRestartSpec
  • opts metav1.UpdateOptions

func (*DoguRestartInterface_Expecter) UpdateStatus added in v1.0.0

func (_e *DoguRestartInterface_Expecter) UpdateStatus(ctx interface{}, dogu interface{}, opts interface{}) *DoguRestartInterface_UpdateStatus_Call

UpdateStatus is a helper method to define mock.On call

  • ctx context.Context
  • dogu *v1.DoguRestart
  • opts metav1.UpdateOptions

func (*DoguRestartInterface_Expecter) UpdateStatusWithRetry added in v1.0.0

func (_e *DoguRestartInterface_Expecter) UpdateStatusWithRetry(ctx interface{}, doguRestart interface{}, modifyStatusFn interface{}, opts interface{}) *DoguRestartInterface_UpdateStatusWithRetry_Call

UpdateStatusWithRetry is a helper method to define mock.On call

  • ctx context.Context
  • doguRestart *v1.DoguRestart
  • modifyStatusFn func(v1.DoguRestartStatus) v1.DoguRestartStatus
  • opts metav1.UpdateOptions

func (*DoguRestartInterface_Expecter) Watch added in v1.0.0

func (_e *DoguRestartInterface_Expecter) Watch(ctx interface{}, opts interface{}) *DoguRestartInterface_Watch_Call

Watch is a helper method to define mock.On call

  • ctx context.Context
  • opts metav1.ListOptions

type DoguRestartInterface_Get_Call added in v1.0.0

type DoguRestartInterface_Get_Call struct {
	*mock.Call
}

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

func (*DoguRestartInterface_Get_Call) Return added in v1.0.0

func (*DoguRestartInterface_Get_Call) Run added in v1.0.0

func (*DoguRestartInterface_Get_Call) RunAndReturn added in v1.0.0

type DoguRestartInterface_List_Call added in v1.0.0

type DoguRestartInterface_List_Call struct {
	*mock.Call
}

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

func (*DoguRestartInterface_List_Call) Return added in v1.0.0

func (*DoguRestartInterface_List_Call) Run added in v1.0.0

func (*DoguRestartInterface_List_Call) RunAndReturn added in v1.0.0

type DoguRestartInterface_Patch_Call added in v1.0.0

type DoguRestartInterface_Patch_Call struct {
	*mock.Call
}

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

func (*DoguRestartInterface_Patch_Call) Return added in v1.0.0

func (*DoguRestartInterface_Patch_Call) Run added in v1.0.0

func (_c *DoguRestartInterface_Patch_Call) Run(run func(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string)) *DoguRestartInterface_Patch_Call

func (*DoguRestartInterface_Patch_Call) RunAndReturn added in v1.0.0

type DoguRestartInterface_UpdateSpecWithRetry_Call added in v1.0.0

type DoguRestartInterface_UpdateSpecWithRetry_Call struct {
	*mock.Call
}

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

func (*DoguRestartInterface_UpdateSpecWithRetry_Call) Return added in v1.0.0

func (*DoguRestartInterface_UpdateSpecWithRetry_Call) Run added in v1.0.0

func (*DoguRestartInterface_UpdateSpecWithRetry_Call) RunAndReturn added in v1.0.0

type DoguRestartInterface_UpdateStatusWithRetry_Call added in v1.0.0

type DoguRestartInterface_UpdateStatusWithRetry_Call struct {
	*mock.Call
}

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

func (*DoguRestartInterface_UpdateStatusWithRetry_Call) Return added in v1.0.0

func (*DoguRestartInterface_UpdateStatusWithRetry_Call) Run added in v1.0.0

func (*DoguRestartInterface_UpdateStatusWithRetry_Call) RunAndReturn added in v1.0.0

type DoguRestartInterface_UpdateStatus_Call added in v1.0.0

type DoguRestartInterface_UpdateStatus_Call struct {
	*mock.Call
}

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

func (*DoguRestartInterface_UpdateStatus_Call) Return added in v1.0.0

func (*DoguRestartInterface_UpdateStatus_Call) Run added in v1.0.0

func (*DoguRestartInterface_UpdateStatus_Call) RunAndReturn added in v1.0.0

type DoguRestartInterface_Update_Call added in v1.0.0

type DoguRestartInterface_Update_Call struct {
	*mock.Call
}

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

func (*DoguRestartInterface_Update_Call) Return added in v1.0.0

func (*DoguRestartInterface_Update_Call) Run added in v1.0.0

func (*DoguRestartInterface_Update_Call) RunAndReturn added in v1.0.0

type DoguRestartInterface_Watch_Call added in v1.0.0

type DoguRestartInterface_Watch_Call struct {
	*mock.Call
}

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

func (*DoguRestartInterface_Watch_Call) Return added in v1.0.0

func (*DoguRestartInterface_Watch_Call) Run added in v1.0.0

func (*DoguRestartInterface_Watch_Call) RunAndReturn added in v1.0.0

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 DoguStartStopManager added in v1.0.0

type DoguStartStopManager struct {
	mock.Mock
}

DoguStartStopManager is an autogenerated mock type for the DoguStartStopManager type

func NewDoguStartStopManager added in v1.0.0

func NewDoguStartStopManager(t mockConstructorTestingTNewDoguStartStopManager) *DoguStartStopManager

NewDoguStartStopManager creates a new instance of DoguStartStopManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*DoguStartStopManager) CheckStarted added in v1.0.0

func (_m *DoguStartStopManager) CheckStarted(ctx context.Context, doguResource *v1.Dogu) error

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

func (*DoguStartStopManager) CheckStopped added in v1.0.0

func (_m *DoguStartStopManager) CheckStopped(ctx context.Context, doguResource *v1.Dogu) error

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

func (*DoguStartStopManager) EXPECT added in v1.0.0

func (*DoguStartStopManager) StartDogu added in v1.0.0

func (_m *DoguStartStopManager) StartDogu(ctx context.Context, doguResource *v1.Dogu) error

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

func (*DoguStartStopManager) StopDogu added in v1.0.0

func (_m *DoguStartStopManager) StopDogu(ctx context.Context, doguResource *v1.Dogu) error

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

type DoguStartStopManager_CheckStarted_Call added in v1.0.0

type DoguStartStopManager_CheckStarted_Call struct {
	*mock.Call
}

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

func (*DoguStartStopManager_CheckStarted_Call) Return added in v1.0.0

func (*DoguStartStopManager_CheckStarted_Call) Run added in v1.0.0

func (*DoguStartStopManager_CheckStarted_Call) RunAndReturn added in v1.0.0

type DoguStartStopManager_CheckStopped_Call added in v1.0.0

type DoguStartStopManager_CheckStopped_Call struct {
	*mock.Call
}

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

func (*DoguStartStopManager_CheckStopped_Call) Return added in v1.0.0

func (*DoguStartStopManager_CheckStopped_Call) Run added in v1.0.0

func (*DoguStartStopManager_CheckStopped_Call) RunAndReturn added in v1.0.0

type DoguStartStopManager_Expecter added in v1.0.0

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

func (*DoguStartStopManager_Expecter) CheckStarted added in v1.0.0

func (_e *DoguStartStopManager_Expecter) CheckStarted(ctx interface{}, doguResource interface{}) *DoguStartStopManager_CheckStarted_Call

CheckStarted is a helper method to define mock.On call

  • ctx context.Context
  • doguResource *v1.Dogu

func (*DoguStartStopManager_Expecter) CheckStopped added in v1.0.0

func (_e *DoguStartStopManager_Expecter) CheckStopped(ctx interface{}, doguResource interface{}) *DoguStartStopManager_CheckStopped_Call

CheckStopped is a helper method to define mock.On call

  • ctx context.Context
  • doguResource *v1.Dogu

func (*DoguStartStopManager_Expecter) StartDogu added in v1.0.0

func (_e *DoguStartStopManager_Expecter) StartDogu(ctx interface{}, doguResource interface{}) *DoguStartStopManager_StartDogu_Call

StartDogu is a helper method to define mock.On call

  • ctx context.Context
  • doguResource *v1.Dogu

func (*DoguStartStopManager_Expecter) StopDogu added in v1.0.0

func (_e *DoguStartStopManager_Expecter) StopDogu(ctx interface{}, doguResource interface{}) *DoguStartStopManager_StopDogu_Call

StopDogu is a helper method to define mock.On call

  • ctx context.Context
  • doguResource *v1.Dogu

type DoguStartStopManager_StartDogu_Call added in v1.0.0

type DoguStartStopManager_StartDogu_Call struct {
	*mock.Call
}

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

func (*DoguStartStopManager_StartDogu_Call) Return added in v1.0.0

func (*DoguStartStopManager_StartDogu_Call) Run added in v1.0.0

func (*DoguStartStopManager_StartDogu_Call) RunAndReturn added in v1.0.0

type DoguStartStopManager_StopDogu_Call added in v1.0.0

type DoguStartStopManager_StopDogu_Call struct {
	*mock.Call
}

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

func (*DoguStartStopManager_StopDogu_Call) Return added in v1.0.0

func (*DoguStartStopManager_StopDogu_Call) Run added in v1.0.0

func (*DoguStartStopManager_StopDogu_Call) RunAndReturn added in v1.0.0

type EcosystemInterface added in v0.40.0

type EcosystemInterface struct {
	mock.Mock
}

EcosystemInterface is an autogenerated mock type for the EcosystemInterface type

func NewEcosystemInterface added in v0.40.0

func NewEcosystemInterface(t mockConstructorTestingTNewEcosystemInterface) *EcosystemInterface

NewEcosystemInterface creates a new instance of EcosystemInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*EcosystemInterface) DoguRestarts added in v1.0.0

func (_m *EcosystemInterface) DoguRestarts(namespace string) ecoSystem.DoguRestartInterface

DoguRestarts provides a mock function with given fields: namespace

func (*EcosystemInterface) Dogus added in v0.40.0

func (_m *EcosystemInterface) Dogus(namespace string) ecoSystem.DoguInterface

Dogus provides a mock function with given fields: namespace

func (*EcosystemInterface) EXPECT added in v0.40.0

type EcosystemInterface_DoguRestarts_Call added in v1.0.0

type EcosystemInterface_DoguRestarts_Call struct {
	*mock.Call
}

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

func (*EcosystemInterface_DoguRestarts_Call) Return added in v1.0.0

func (*EcosystemInterface_DoguRestarts_Call) Run added in v1.0.0

func (*EcosystemInterface_DoguRestarts_Call) RunAndReturn added in v1.0.0

type EcosystemInterface_Dogus_Call added in v0.40.0

type EcosystemInterface_Dogus_Call struct {
	*mock.Call
}

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

func (*EcosystemInterface_Dogus_Call) Return added in v0.40.0

func (*EcosystemInterface_Dogus_Call) Run added in v0.40.0

func (*EcosystemInterface_Dogus_Call) RunAndReturn added in v0.40.0

type EcosystemInterface_Expecter added in v0.40.0

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

func (*EcosystemInterface_Expecter) DoguRestarts added in v1.0.0

func (_e *EcosystemInterface_Expecter) DoguRestarts(namespace interface{}) *EcosystemInterface_DoguRestarts_Call

DoguRestarts is a helper method to define mock.On call

  • namespace string

func (*EcosystemInterface_Expecter) Dogus added in v0.40.0

func (_e *EcosystemInterface_Expecter) Dogus(namespace interface{}) *EcosystemInterface_Dogus_Call

Dogus is a helper method to define mock.On call

  • namespace string

type ExecPod

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) (*bytes.Buffer, 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(doguResource *v1.Dogu, dogu *core.Dogu) (cloudogu.ExecPod, error)

NewExecPod provides a mock function with given fields: doguResource, dogu

type ExecPodFactory_Expecter

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

func (*ExecPodFactory_Expecter) NewExecPod

func (_e *ExecPodFactory_Expecter) NewExecPod(doguResource interface{}, dogu interface{}) *ExecPodFactory_NewExecPod_Call

NewExecPod is a helper method to define mock.On call

  • doguResource *v1.Dogu
  • dogu *core.Dogu

type ExecPodFactory_NewExecPod_Call

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(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 *bytes.Buffer, 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 ExposePortAdder added in v0.31.0

type ExposePortAdder struct {
	mock.Mock
}

ExposePortAdder is an autogenerated mock type for the ExposePortAdder type

func NewExposePortAdder added in v0.31.0

func NewExposePortAdder(t mockConstructorTestingTNewExposePortAdder) *ExposePortAdder

NewExposePortAdder creates a new instance of ExposePortAdder. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*ExposePortAdder) CreateOrUpdateCesLoadbalancerService added in v0.31.0

func (_m *ExposePortAdder) CreateOrUpdateCesLoadbalancerService(ctx context.Context, doguResource *v1.Dogu, dogu *core.Dogu) (*corev1.Service, error)

CreateOrUpdateCesLoadbalancerService provides a mock function with given fields: ctx, doguResource, dogu

func (*ExposePortAdder) EXPECT added in v0.31.0

type ExposePortAdder_CreateOrUpdateCesLoadbalancerService_Call added in v0.31.0

type ExposePortAdder_CreateOrUpdateCesLoadbalancerService_Call struct {
	*mock.Call
}

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

func (*ExposePortAdder_CreateOrUpdateCesLoadbalancerService_Call) Return added in v0.31.0

func (*ExposePortAdder_CreateOrUpdateCesLoadbalancerService_Call) Run added in v0.31.0

func (*ExposePortAdder_CreateOrUpdateCesLoadbalancerService_Call) RunAndReturn added in v0.31.0

type ExposePortAdder_Expecter added in v0.31.0

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

func (*ExposePortAdder_Expecter) CreateOrUpdateCesLoadbalancerService added in v0.31.0

func (_e *ExposePortAdder_Expecter) CreateOrUpdateCesLoadbalancerService(ctx interface{}, doguResource interface{}, dogu interface{}) *ExposePortAdder_CreateOrUpdateCesLoadbalancerService_Call

CreateOrUpdateCesLoadbalancerService is a helper method to define mock.On call

  • ctx context.Context
  • doguResource *v1.Dogu
  • dogu *core.Dogu

type ExposePortRemover added in v0.31.0

type ExposePortRemover struct {
	mock.Mock
}

ExposePortRemover is an autogenerated mock type for the ExposePortRemover type

func NewExposePortRemover added in v0.31.0

func NewExposePortRemover(t mockConstructorTestingTNewExposePortRemover) *ExposePortRemover

NewExposePortRemover creates a new instance of ExposePortRemover. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*ExposePortRemover) EXPECT added in v0.31.0

func (*ExposePortRemover) RemoveExposedPorts added in v0.31.0

func (_m *ExposePortRemover) RemoveExposedPorts(ctx context.Context, doguResource *v1.Dogu, dogu *core.Dogu) error

RemoveExposedPorts provides a mock function with given fields: ctx, doguResource, dogu

type ExposePortRemover_Expecter added in v0.31.0

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

func (*ExposePortRemover_Expecter) RemoveExposedPorts added in v0.31.0

func (_e *ExposePortRemover_Expecter) RemoveExposedPorts(ctx interface{}, doguResource interface{}, dogu interface{}) *ExposePortRemover_RemoveExposedPorts_Call

RemoveExposedPorts is a helper method to define mock.On call

  • ctx context.Context
  • doguResource *v1.Dogu
  • dogu *core.Dogu

type ExposePortRemover_RemoveExposedPorts_Call added in v0.31.0

type ExposePortRemover_RemoveExposedPorts_Call struct {
	*mock.Call
}

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

func (*ExposePortRemover_RemoveExposedPorts_Call) Return added in v0.31.0

func (*ExposePortRemover_RemoveExposedPorts_Call) Run added in v0.31.0

func (*ExposePortRemover_RemoveExposedPorts_Call) RunAndReturn added in v0.31.0

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 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 PodTemplateResourceGenerator added in v0.36.0

type PodTemplateResourceGenerator struct {
	mock.Mock
}

PodTemplateResourceGenerator is an autogenerated mock type for the PodTemplateResourceGenerator type

func NewPodTemplateResourceGenerator added in v0.36.0

func NewPodTemplateResourceGenerator(t mockConstructorTestingTNewPodTemplateResourceGenerator) *PodTemplateResourceGenerator

NewPodTemplateResourceGenerator creates a new instance of PodTemplateResourceGenerator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*PodTemplateResourceGenerator) EXPECT added in v0.36.0

func (*PodTemplateResourceGenerator) GetPodTemplate added in v0.36.0

func (_m *PodTemplateResourceGenerator) GetPodTemplate(doguResource *v1.Dogu, dogu *core.Dogu) (*corev1.PodTemplateSpec, error)

GetPodTemplate provides a mock function with given fields: doguResource, dogu

type PodTemplateResourceGenerator_Expecter added in v0.36.0

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

func (*PodTemplateResourceGenerator_Expecter) GetPodTemplate added in v0.36.0

func (_e *PodTemplateResourceGenerator_Expecter) GetPodTemplate(doguResource interface{}, dogu interface{}) *PodTemplateResourceGenerator_GetPodTemplate_Call

GetPodTemplate is a helper method to define mock.On call

  • doguResource *v1.Dogu
  • dogu *core.Dogu

type PodTemplateResourceGenerator_GetPodTemplate_Call added in v0.36.0

type PodTemplateResourceGenerator_GetPodTemplate_Call struct {
	*mock.Call
}

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

func (*PodTemplateResourceGenerator_GetPodTemplate_Call) Return added in v0.36.0

func (*PodTemplateResourceGenerator_GetPodTemplate_Call) Run added in v0.36.0

func (*PodTemplateResourceGenerator_GetPodTemplate_Call) RunAndReturn added in v0.36.0

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 RequeueHandler added in v0.36.0

type RequeueHandler struct {
	mock.Mock
}

RequeueHandler is an autogenerated mock type for the RequeueHandler type

func NewRequeueHandler added in v0.36.0

func NewRequeueHandler(t mockConstructorTestingTNewRequeueHandler) *RequeueHandler

NewRequeueHandler creates a new instance of RequeueHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*RequeueHandler) EXPECT added in v0.36.0

func (*RequeueHandler) Handle added in v0.36.0

func (_m *RequeueHandler) Handle(ctx context.Context, contextMessage string, doguResource *v1.Dogu, err error, onRequeue func(*v1.Dogu) error) (reconcile.Result, error)

Handle provides a mock function with given fields: ctx, contextMessage, doguResource, err, onRequeue

type RequeueHandler_Expecter added in v0.36.0

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

func (*RequeueHandler_Expecter) Handle added in v0.36.0

func (_e *RequeueHandler_Expecter) Handle(ctx interface{}, contextMessage interface{}, doguResource interface{}, err interface{}, onRequeue interface{}) *RequeueHandler_Handle_Call

Handle is a helper method to define mock.On call

  • ctx context.Context
  • contextMessage string
  • doguResource *v1.Dogu
  • err error
  • onRequeue func(*v1.Dogu) error

type RequeueHandler_Handle_Call added in v0.36.0

type RequeueHandler_Handle_Call struct {
	*mock.Call
}

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

func (*RequeueHandler_Handle_Call) Return added in v0.36.0

func (*RequeueHandler_Handle_Call) Run added in v0.36.0

func (_c *RequeueHandler_Handle_Call) Run(run func(ctx context.Context, contextMessage string, doguResource *v1.Dogu, err error, onRequeue func(*v1.Dogu) error)) *RequeueHandler_Handle_Call

func (*RequeueHandler_Handle_Call) RunAndReturn added in v0.36.0

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 ResourceRequirementsGenerator added in v0.33.0

type ResourceRequirementsGenerator struct {
	mock.Mock
}

ResourceRequirementsGenerator is an autogenerated mock type for the ResourceRequirementsGenerator type

func NewResourceRequirementsGenerator added in v0.33.0

func NewResourceRequirementsGenerator(t mockConstructorTestingTNewResourceRequirementsGenerator) *ResourceRequirementsGenerator

NewResourceRequirementsGenerator creates a new instance of ResourceRequirementsGenerator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*ResourceRequirementsGenerator) EXPECT added in v0.33.0

func (*ResourceRequirementsGenerator) Generate added in v0.33.0

Generate provides a mock function with given fields: dogu

type ResourceRequirementsGenerator_Expecter added in v0.33.0

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

func (*ResourceRequirementsGenerator_Expecter) Generate added in v0.33.0

Generate is a helper method to define mock.On call

  • dogu *core.Dogu

type ResourceRequirementsGenerator_Generate_Call added in v0.33.0

type ResourceRequirementsGenerator_Generate_Call struct {
	*mock.Call
}

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

func (*ResourceRequirementsGenerator_Generate_Call) Return added in v0.33.0

func (*ResourceRequirementsGenerator_Generate_Call) Run added in v0.33.0

func (*ResourceRequirementsGenerator_Generate_Call) RunAndReturn added in v0.33.0

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) UpsertDoguExposedService added in v0.31.0

func (_m *ResourceUpserter) UpsertDoguExposedService(ctx context.Context, doguResource *v1.Dogu, dogu *core.Dogu) (*corev1.Service, error)

UpsertDoguExposedService provides a mock function with given fields: ctx, doguResource, dogu

func (*ResourceUpserter) UpsertDoguPVCs

func (_m *ResourceUpserter) UpsertDoguPVCs(ctx context.Context, doguResource *v1.Dogu, dogu *core.Dogu) (*corev1.PersistentVolumeClaim, error)

UpsertDoguPVCs provides a mock function with given fields: ctx, doguResource, dogu

func (*ResourceUpserter) UpsertDoguService

func (_m *ResourceUpserter) UpsertDoguService(ctx context.Context, doguResource *v1.Dogu, image *pkgv1.ConfigFile) (*corev1.Service, error)

UpsertDoguService provides a mock function with given fields: ctx, doguResource, image

type ResourceUpserter_Expecter

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

func (*ResourceUpserter_Expecter) UpsertDoguDeployment

func (_e *ResourceUpserter_Expecter) UpsertDoguDeployment(ctx interface{}, doguResource interface{}, dogu interface{}, deploymentPatch interface{}) *ResourceUpserter_UpsertDoguDeployment_Call

UpsertDoguDeployment is a helper method to define mock.On call

  • ctx context.Context
  • doguResource *v1.Dogu
  • dogu *core.Dogu
  • deploymentPatch func(*appsv1.Deployment)

func (*ResourceUpserter_Expecter) UpsertDoguExposedService added in v0.31.0

func (_e *ResourceUpserter_Expecter) UpsertDoguExposedService(ctx interface{}, doguResource interface{}, dogu interface{}) *ResourceUpserter_UpsertDoguExposedService_Call

UpsertDoguExposedService is a helper method to define mock.On call

  • ctx context.Context
  • doguResource *v1.Dogu
  • dogu *core.Dogu

func (*ResourceUpserter_Expecter) UpsertDoguPVCs

func (_e *ResourceUpserter_Expecter) UpsertDoguPVCs(ctx interface{}, doguResource interface{}, dogu interface{}) *ResourceUpserter_UpsertDoguPVCs_Call

UpsertDoguPVCs is a helper method to define mock.On call

  • ctx context.Context
  • doguResource *v1.Dogu
  • dogu *core.Dogu

func (*ResourceUpserter_Expecter) UpsertDoguService

func (_e *ResourceUpserter_Expecter) UpsertDoguService(ctx interface{}, doguResource interface{}, image interface{}) *ResourceUpserter_UpsertDoguService_Call

UpsertDoguService is a helper method to define mock.On call

  • ctx context.Context
  • doguResource *v1.Dogu
  • image *pkgv1.ConfigFile

type ResourceUpserter_UpsertDoguDeployment_Call

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_UpsertDoguExposedService_Call added in v0.31.0

type ResourceUpserter_UpsertDoguExposedService_Call struct {
	*mock.Call
}

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

func (*ResourceUpserter_UpsertDoguExposedService_Call) Return added in v0.31.0

func (*ResourceUpserter_UpsertDoguExposedService_Call) Run added in v0.31.0

func (*ResourceUpserter_UpsertDoguExposedService_Call) RunAndReturn added in v0.31.0

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

func (*ShellCommand) Stdin added in v0.32.0

func (_m *ShellCommand) Stdin() io.Reader

Stdin provides a mock function with given fields:

type ShellCommand_CommandWithArgs_Call

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

func (*ShellCommand_Expecter) Stdin added in v0.32.0

Stdin is a helper method to define mock.On call

type ShellCommand_Stdin_Call added in v0.32.0

type ShellCommand_Stdin_Call struct {
	*mock.Call
}

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

func (*ShellCommand_Stdin_Call) Return added in v0.32.0

func (*ShellCommand_Stdin_Call) Run added in v0.32.0

func (_c *ShellCommand_Stdin_Call) Run(run func()) *ShellCommand_Stdin_Call

func (*ShellCommand_Stdin_Call) RunAndReturn added in v0.32.0

func (_c *ShellCommand_Stdin_Call) RunAndReturn(run func() io.Reader) *ShellCommand_Stdin_Call

type StartDoguManager added in v1.0.0

type StartDoguManager struct {
	mock.Mock
}

StartDoguManager is an autogenerated mock type for the StartDoguManager type

func NewStartDoguManager added in v1.0.0

func NewStartDoguManager(t mockConstructorTestingTNewStartDoguManager) *StartDoguManager

NewStartDoguManager creates a new instance of StartDoguManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*StartDoguManager) CheckStarted added in v1.0.0

func (_m *StartDoguManager) CheckStarted(ctx context.Context, doguResource *v1.Dogu) error

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

func (*StartDoguManager) EXPECT added in v1.0.0

func (*StartDoguManager) StartDogu added in v1.0.0

func (_m *StartDoguManager) StartDogu(ctx context.Context, doguResource *v1.Dogu) error

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

type StartDoguManager_CheckStarted_Call added in v1.0.0

type StartDoguManager_CheckStarted_Call struct {
	*mock.Call
}

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

func (*StartDoguManager_CheckStarted_Call) Return added in v1.0.0

func (*StartDoguManager_CheckStarted_Call) Run added in v1.0.0

func (*StartDoguManager_CheckStarted_Call) RunAndReturn added in v1.0.0

type StartDoguManager_Expecter added in v1.0.0

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

func (*StartDoguManager_Expecter) CheckStarted added in v1.0.0

func (_e *StartDoguManager_Expecter) CheckStarted(ctx interface{}, doguResource interface{}) *StartDoguManager_CheckStarted_Call

CheckStarted is a helper method to define mock.On call

  • ctx context.Context
  • doguResource *v1.Dogu

func (*StartDoguManager_Expecter) StartDogu added in v1.0.0

func (_e *StartDoguManager_Expecter) StartDogu(ctx interface{}, doguResource interface{}) *StartDoguManager_StartDogu_Call

StartDogu is a helper method to define mock.On call

  • ctx context.Context
  • doguResource *v1.Dogu

type StartDoguManager_StartDogu_Call added in v1.0.0

type StartDoguManager_StartDogu_Call struct {
	*mock.Call
}

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

func (*StartDoguManager_StartDogu_Call) Return added in v1.0.0

func (*StartDoguManager_StartDogu_Call) Run added in v1.0.0

func (*StartDoguManager_StartDogu_Call) RunAndReturn added in v1.0.0

type StopDoguManager added in v1.0.0

type StopDoguManager struct {
	mock.Mock
}

StopDoguManager is an autogenerated mock type for the StopDoguManager type

func NewStopDoguManager added in v1.0.0

func NewStopDoguManager(t mockConstructorTestingTNewStopDoguManager) *StopDoguManager

NewStopDoguManager creates a new instance of StopDoguManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*StopDoguManager) CheckStopped added in v1.0.0

func (_m *StopDoguManager) CheckStopped(ctx context.Context, doguResource *v1.Dogu) error

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

func (*StopDoguManager) EXPECT added in v1.0.0

func (*StopDoguManager) StopDogu added in v1.0.0

func (_m *StopDoguManager) StopDogu(ctx context.Context, doguResource *v1.Dogu) error

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

type StopDoguManager_CheckStopped_Call added in v1.0.0

type StopDoguManager_CheckStopped_Call struct {
	*mock.Call
}

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

func (*StopDoguManager_CheckStopped_Call) Return added in v1.0.0

func (*StopDoguManager_CheckStopped_Call) Run added in v1.0.0

func (*StopDoguManager_CheckStopped_Call) RunAndReturn added in v1.0.0

type StopDoguManager_Expecter added in v1.0.0

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

func (*StopDoguManager_Expecter) CheckStopped added in v1.0.0

func (_e *StopDoguManager_Expecter) CheckStopped(ctx interface{}, doguResource interface{}) *StopDoguManager_CheckStopped_Call

CheckStopped is a helper method to define mock.On call

  • ctx context.Context
  • doguResource *v1.Dogu

func (*StopDoguManager_Expecter) StopDogu added in v1.0.0

func (_e *StopDoguManager_Expecter) StopDogu(ctx interface{}, doguResource interface{}) *StopDoguManager_StopDogu_Call

StopDogu is a helper method to define mock.On call

  • ctx context.Context
  • doguResource *v1.Dogu

type StopDoguManager_StopDogu_Call added in v1.0.0

type StopDoguManager_StopDogu_Call struct {
	*mock.Call
}

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

func (*StopDoguManager_StopDogu_Call) Return added in v1.0.0

func (*StopDoguManager_StopDogu_Call) Run added in v1.0.0

func (_c *StopDoguManager_StopDogu_Call) Run(run func(ctx context.Context, doguResource *v1.Dogu)) *StopDoguManager_StopDogu_Call

func (*StopDoguManager_StopDogu_Call) RunAndReturn added in v1.0.0

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 TcpUpdServiceExposer added in v0.31.0

type TcpUpdServiceExposer struct {
	mock.Mock
}

TcpUpdServiceExposer is an autogenerated mock type for the TcpUpdServiceExposer type

func NewTcpUpdServiceExposer added in v0.31.0

func NewTcpUpdServiceExposer(t mockConstructorTestingTNewTcpUpdServiceExposer) *TcpUpdServiceExposer

NewTcpUpdServiceExposer creates a new instance of TcpUpdServiceExposer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*TcpUpdServiceExposer) DeleteDoguServices added in v0.31.0

func (_m *TcpUpdServiceExposer) DeleteDoguServices(ctx context.Context, namespace string, dogu *core.Dogu) error

DeleteDoguServices provides a mock function with given fields: ctx, namespace, dogu

func (*TcpUpdServiceExposer) EXPECT added in v0.31.0

func (*TcpUpdServiceExposer) ExposeOrUpdateDoguServices added in v0.31.0

func (_m *TcpUpdServiceExposer) ExposeOrUpdateDoguServices(ctx context.Context, namespace string, dogu *core.Dogu) error

ExposeOrUpdateDoguServices provides a mock function with given fields: ctx, namespace, dogu

type TcpUpdServiceExposer_DeleteDoguServices_Call added in v0.31.0

type TcpUpdServiceExposer_DeleteDoguServices_Call struct {
	*mock.Call
}

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

func (*TcpUpdServiceExposer_DeleteDoguServices_Call) Return added in v0.31.0

func (*TcpUpdServiceExposer_DeleteDoguServices_Call) Run added in v0.31.0

func (*TcpUpdServiceExposer_DeleteDoguServices_Call) RunAndReturn added in v0.31.0

type TcpUpdServiceExposer_Expecter added in v0.31.0

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

func (*TcpUpdServiceExposer_Expecter) DeleteDoguServices added in v0.31.0

func (_e *TcpUpdServiceExposer_Expecter) DeleteDoguServices(ctx interface{}, namespace interface{}, dogu interface{}) *TcpUpdServiceExposer_DeleteDoguServices_Call

DeleteDoguServices is a helper method to define mock.On call

  • ctx context.Context
  • namespace string
  • dogu *core.Dogu

func (*TcpUpdServiceExposer_Expecter) ExposeOrUpdateDoguServices added in v0.31.0

func (_e *TcpUpdServiceExposer_Expecter) ExposeOrUpdateDoguServices(ctx interface{}, namespace interface{}, dogu interface{}) *TcpUpdServiceExposer_ExposeOrUpdateDoguServices_Call

ExposeOrUpdateDoguServices is a helper method to define mock.On call

  • ctx context.Context
  • namespace string
  • dogu *core.Dogu

type TcpUpdServiceExposer_ExposeOrUpdateDoguServices_Call added in v0.31.0

type TcpUpdServiceExposer_ExposeOrUpdateDoguServices_Call struct {
	*mock.Call
}

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

func (*TcpUpdServiceExposer_ExposeOrUpdateDoguServices_Call) Return added in v0.31.0

func (*TcpUpdServiceExposer_ExposeOrUpdateDoguServices_Call) Run added in v0.31.0

func (*TcpUpdServiceExposer_ExposeOrUpdateDoguServices_Call) RunAndReturn added in v0.31.0

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