Documentation ¶
Index ¶
- type Applier
- type AsyncExecutor
- type AsyncStep
- type CollectApplier
- type CommandExecutor
- type DeleteManager
- type DependencyValidator
- type DoguHealthChecker
- type DoguLimits
- type DoguManager
- func (_m *DoguManager) Delete(ctx context.Context, doguResource *v1.Dogu) error
- func (_m *DoguManager) HandleSupportMode(ctx context.Context, doguResource *v1.Dogu) (bool, error)
- func (_m *DoguManager) Install(ctx context.Context, doguResource *v1.Dogu) error
- func (_m *DoguManager) SetDoguDataVolumeSize(ctx context.Context, doguResource *v1.Dogu) error
- func (_m *DoguManager) Upgrade(ctx context.Context, doguResource *v1.Dogu) error
- type DoguRecursiveHealthChecker
- type DoguRegistrator
- type DoguResourceGenerator
- func (_m *DoguResourceGenerator) CreateDoguDeployment(doguResource *v1.Dogu, dogu *core.Dogu) (*appsv1.Deployment, error)
- func (_m *DoguResourceGenerator) CreateDoguExposedServices(doguResource *v1.Dogu, dogu *core.Dogu) ([]*corev1.Service, error)
- func (_m *DoguResourceGenerator) CreateDoguPVC(doguResource *v1.Dogu) (*corev1.PersistentVolumeClaim, error)
- func (_m *DoguResourceGenerator) CreateDoguService(doguResource *v1.Dogu, imageConfig *pkgv1.ConfigFile) (*corev1.Service, error)
- func (_m *DoguResourceGenerator) CreateReservedPVC(doguResource *v1.Dogu) (*corev1.PersistentVolumeClaim, error)
- type DoguSecretHandler
- type ExecPod
- type ExecPodFactory
- type FileExtractor
- type ImageRegistry
- type InstallManager
- type LimitPatcher
- type LocalDoguFetcher
- type PremisesChecker
- type ResourceDoguFetcher
- type ResourceUpserter
- func (_m *ResourceUpserter) UpsertDoguDeployment(ctx context.Context, doguResource *v1.Dogu, dogu *core.Dogu, ...) (*appsv1.Deployment, error)
- func (_m *ResourceUpserter) UpsertDoguExposedServices(ctx context.Context, doguResource *v1.Dogu, dogu *core.Dogu) ([]*corev1.Service, error)
- func (_m *ResourceUpserter) UpsertDoguPVCs(ctx context.Context, doguResource *v1.Dogu, dogu *core.Dogu) (*corev1.PersistentVolumeClaim, error)
- func (_m *ResourceUpserter) UpsertDoguService(ctx context.Context, doguResource *v1.Dogu, image *pkgv1.ConfigFile) (*corev1.Service, error)
- type ResourceValidator
- type SecretResourceGenerator
- type ServiceAccountCreator
- type ServiceAccountRemover
- type ShellCommand
- type SuffixGenerator
- type SupportManager
- type UpgradeExecutor
- type UpgradeManager
- type VolumeManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Applier ¶
Applier is an autogenerated mock type for the Applier type
func NewApplier ¶
func NewApplier(t mockConstructorTestingTNewApplier) *Applier
NewApplier creates a new instance of Applier. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Applier) ApplyWithOwner ¶
func (_m *Applier) ApplyWithOwner(doc apply.YamlDocument, namespace string, resource v1.Object) error
ApplyWithOwner provides a mock function with given fields: doc, namespace, resource
type AsyncExecutor ¶ added in v0.19.0
AsyncExecutor is an autogenerated mock type for the AsyncExecutor type
func NewAsyncExecutor ¶ added in v0.19.0
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 ¶ added in v0.19.0
func (_m *AsyncExecutor) AddStep(step internal.AsyncStep)
AddStep provides a mock function with given fields: step
type AsyncStep ¶ added in v0.19.0
AsyncStep is an autogenerated mock type for the AsyncStep type
func NewAsyncStep ¶ added in v0.19.0
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) Execute ¶ added in v0.19.0
Execute provides a mock function with given fields: ctx, dogu
func (*AsyncStep) GetStartCondition ¶ added in v0.19.0
GetStartCondition provides a mock function with given fields:
type CollectApplier ¶
CollectApplier is an autogenerated mock type for the CollectApplier type
func NewCollectApplier ¶
func NewCollectApplier(t mockConstructorTestingTNewCollectApplier) *CollectApplier
NewCollectApplier creates a new instance of CollectApplier. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*CollectApplier) CollectApply ¶
func (_m *CollectApplier) CollectApply(ctx context.Context, customK8sResources map[string]string, doguResource *v1.Dogu) error
CollectApply provides a mock function with given fields: ctx, customK8sResources, doguResource
type CommandExecutor ¶
CommandExecutor is an autogenerated mock type for the CommandExecutor type
func NewCommandExecutor ¶
func NewCommandExecutor(t mockConstructorTestingTNewCommandExecutor) *CommandExecutor
NewCommandExecutor creates a new instance of CommandExecutor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*CommandExecutor) ExecCommandForDogu ¶
func (_m *CommandExecutor) ExecCommandForDogu(ctx context.Context, resource *v1.Dogu, command internal.ShellCommand, expected internal.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 internal.ShellCommand, expected internal.PodStatusForExec) (*bytes.Buffer, error)
ExecCommandForPod provides a mock function with given fields: ctx, pod, command, expected
type DeleteManager ¶
DeleteManager is an autogenerated mock type for the DeleteManager type
func NewDeleteManager ¶
func NewDeleteManager(t mockConstructorTestingTNewDeleteManager) *DeleteManager
NewDeleteManager creates a new instance of DeleteManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type DependencyValidator ¶
DependencyValidator is an autogenerated mock type for the DependencyValidator type
func NewDependencyValidator ¶
func NewDependencyValidator(t mockConstructorTestingTNewDependencyValidator) *DependencyValidator
NewDependencyValidator creates a new instance of DependencyValidator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*DependencyValidator) ValidateDependencies ¶
ValidateDependencies provides a mock function with given fields: ctx, dogu
type DoguHealthChecker ¶
DoguHealthChecker is an autogenerated mock type for the DoguHealthChecker type
func NewDoguHealthChecker ¶
func NewDoguHealthChecker(t mockConstructorTestingTNewDoguHealthChecker) *DoguHealthChecker
NewDoguHealthChecker creates a new instance of DoguHealthChecker. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*DoguHealthChecker) CheckWithResource ¶
CheckWithResource provides a mock function with given fields: ctx, doguResource
type DoguLimits ¶
DoguLimits is an autogenerated mock type for the DoguLimits type
func NewDoguLimits ¶
func NewDoguLimits(t mockConstructorTestingTNewDoguLimits) *DoguLimits
NewDoguLimits creates a new instance of DoguLimits. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*DoguLimits) CpuLimit ¶
func (_m *DoguLimits) CpuLimit() *resource.Quantity
CpuLimit provides a mock function with given fields:
func (*DoguLimits) EphemeralStorageLimit ¶
func (_m *DoguLimits) EphemeralStorageLimit() *resource.Quantity
EphemeralStorageLimit provides a mock function with given fields:
func (*DoguLimits) MemoryLimit ¶
func (_m *DoguLimits) MemoryLimit() *resource.Quantity
MemoryLimit provides a mock function with given fields:
type DoguManager ¶
DoguManager is an autogenerated mock type for the DoguManager type
func NewDoguManager ¶
func NewDoguManager(t mockConstructorTestingTNewDoguManager) *DoguManager
NewDoguManager creates a new instance of DoguManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*DoguManager) HandleSupportMode ¶
HandleSupportMode provides a mock function with given fields: ctx, doguResource
func (*DoguManager) SetDoguDataVolumeSize ¶ added in v0.19.0
SetDoguDataVolumeSize provides a mock function with given fields: ctx, doguResource
type DoguRecursiveHealthChecker ¶
DoguRecursiveHealthChecker is an autogenerated mock type for the DoguRecursiveHealthChecker type
func NewDoguRecursiveHealthChecker ¶
func NewDoguRecursiveHealthChecker(t mockConstructorTestingTNewDoguRecursiveHealthChecker) *DoguRecursiveHealthChecker
NewDoguRecursiveHealthChecker creates a new instance of DoguRecursiveHealthChecker. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*DoguRecursiveHealthChecker) CheckDependenciesRecursive ¶
func (_m *DoguRecursiveHealthChecker) CheckDependenciesRecursive(ctx context.Context, fromDogu *core.Dogu, currentK8sNamespace string) error
CheckDependenciesRecursive provides a mock function with given fields: ctx, fromDogu, currentK8sNamespace
type DoguRegistrator ¶
DoguRegistrator is an autogenerated mock type for the DoguRegistrator type
func NewDoguRegistrator ¶
func NewDoguRegistrator(t mockConstructorTestingTNewDoguRegistrator) *DoguRegistrator
NewDoguRegistrator creates a new instance of DoguRegistrator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*DoguRegistrator) 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 DoguResourceGenerator ¶
DoguResourceGenerator is an autogenerated mock type for the DoguResourceGenerator type
func NewDoguResourceGenerator ¶
func NewDoguResourceGenerator(t mockConstructorTestingTNewDoguResourceGenerator) *DoguResourceGenerator
NewDoguResourceGenerator creates a new instance of DoguResourceGenerator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*DoguResourceGenerator) CreateDoguDeployment ¶
func (_m *DoguResourceGenerator) CreateDoguDeployment(doguResource *v1.Dogu, dogu *core.Dogu) (*appsv1.Deployment, error)
CreateDoguDeployment provides a mock function with given fields: doguResource, dogu
func (*DoguResourceGenerator) CreateDoguExposedServices ¶
func (_m *DoguResourceGenerator) CreateDoguExposedServices(doguResource *v1.Dogu, dogu *core.Dogu) ([]*corev1.Service, error)
CreateDoguExposedServices provides a mock function with given fields: doguResource, dogu
func (*DoguResourceGenerator) CreateDoguPVC ¶
func (_m *DoguResourceGenerator) CreateDoguPVC(doguResource *v1.Dogu) (*corev1.PersistentVolumeClaim, error)
CreateDoguPVC provides a mock function with given fields: doguResource
func (*DoguResourceGenerator) CreateDoguService ¶
func (_m *DoguResourceGenerator) CreateDoguService(doguResource *v1.Dogu, imageConfig *pkgv1.ConfigFile) (*corev1.Service, error)
CreateDoguService provides a mock function with given fields: doguResource, imageConfig
func (*DoguResourceGenerator) CreateReservedPVC ¶
func (_m *DoguResourceGenerator) CreateReservedPVC(doguResource *v1.Dogu) (*corev1.PersistentVolumeClaim, error)
CreateReservedPVC provides a mock function with given fields: doguResource
type DoguSecretHandler ¶
DoguSecretHandler is an autogenerated mock type for the DoguSecretHandler type
func NewDoguSecretHandler ¶
func NewDoguSecretHandler(t mockConstructorTestingTNewDoguSecretHandler) *DoguSecretHandler
NewDoguSecretHandler creates a new instance of DoguSecretHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*DoguSecretHandler) WriteDoguSecretsToRegistry ¶
func (_m *DoguSecretHandler) WriteDoguSecretsToRegistry(ctx context.Context, doguResource *v1.Dogu) error
WriteDoguSecretsToRegistry provides a mock function with given fields: ctx, doguResource
type ExecPod ¶
ExecPod is an autogenerated mock type for the ExecPod type
func NewExecPod ¶
func NewExecPod(t mockConstructorTestingTNewExecPod) *ExecPod
NewExecPod creates a new instance of ExecPod. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ExecPod) ObjectKey ¶
func (_m *ExecPod) ObjectKey() *types.NamespacedName
ObjectKey provides a mock function with given fields:
type ExecPodFactory ¶
ExecPodFactory is an autogenerated mock type for the ExecPodFactory type
func NewExecPodFactory ¶
func NewExecPodFactory(t mockConstructorTestingTNewExecPodFactory) *ExecPodFactory
NewExecPodFactory creates a new instance of ExecPodFactory. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ExecPodFactory) NewExecPod ¶
func (_m *ExecPodFactory) NewExecPod(execPodFactoryMode internal.ExecPodVolumeMode, doguResource *v1.Dogu, dogu *core.Dogu) (internal.ExecPod, error)
NewExecPod provides a mock function with given fields: execPodFactoryMode, doguResource, dogu
type FileExtractor ¶
FileExtractor is an autogenerated mock type for the FileExtractor type
func NewFileExtractor ¶
func NewFileExtractor(t mockConstructorTestingTNewFileExtractor) *FileExtractor
NewFileExtractor creates a new instance of FileExtractor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*FileExtractor) ExtractK8sResourcesFromContainer ¶
func (_m *FileExtractor) ExtractK8sResourcesFromContainer(ctx context.Context, k8sExecPod internal.ExecPod) (map[string]string, error)
ExtractK8sResourcesFromContainer provides a mock function with given fields: ctx, k8sExecPod
type ImageRegistry ¶
ImageRegistry is an autogenerated mock type for the ImageRegistry type
func NewImageRegistry ¶
func NewImageRegistry(t mockConstructorTestingTNewImageRegistry) *ImageRegistry
NewImageRegistry creates a new instance of ImageRegistry. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ImageRegistry) PullImageConfig ¶
func (_m *ImageRegistry) PullImageConfig(ctx context.Context, image string) (*v1.ConfigFile, error)
PullImageConfig provides a mock function with given fields: ctx, image
type InstallManager ¶
InstallManager is an autogenerated mock type for the InstallManager type
func NewInstallManager ¶
func NewInstallManager(t mockConstructorTestingTNewInstallManager) *InstallManager
NewInstallManager creates a new instance of InstallManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type LimitPatcher ¶
LimitPatcher is an autogenerated mock type for the LimitPatcher type
func NewLimitPatcher ¶
func NewLimitPatcher(t mockConstructorTestingTNewLimitPatcher) *LimitPatcher
NewLimitPatcher creates a new instance of LimitPatcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*LimitPatcher) PatchDeployment ¶
func (_m *LimitPatcher) PatchDeployment(deployment *v1.Deployment, limits internal.DoguLimits) error
PatchDeployment provides a mock function with given fields: deployment, limits
func (*LimitPatcher) RetrievePodLimits ¶
func (_m *LimitPatcher) RetrievePodLimits(doguResource *apiv1.Dogu) (internal.DoguLimits, error)
RetrievePodLimits provides a mock function with given fields: doguResource
type LocalDoguFetcher ¶
LocalDoguFetcher is an autogenerated mock type for the LocalDoguFetcher type
func NewLocalDoguFetcher ¶
func NewLocalDoguFetcher(t mockConstructorTestingTNewLocalDoguFetcher) *LocalDoguFetcher
NewLocalDoguFetcher creates a new instance of LocalDoguFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*LocalDoguFetcher) FetchInstalled ¶
func (_m *LocalDoguFetcher) FetchInstalled(doguName string) (*core.Dogu, error)
FetchInstalled provides a mock function with given fields: doguName
type PremisesChecker ¶
PremisesChecker is an autogenerated mock type for the PremisesChecker type
func NewPremisesChecker ¶
func NewPremisesChecker(t mockConstructorTestingTNewPremisesChecker) *PremisesChecker
NewPremisesChecker creates a new instance of PremisesChecker. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type ResourceDoguFetcher ¶
ResourceDoguFetcher is an autogenerated mock type for the ResourceDoguFetcher type
func NewResourceDoguFetcher ¶
func NewResourceDoguFetcher(t mockConstructorTestingTNewResourceDoguFetcher) *ResourceDoguFetcher
NewResourceDoguFetcher creates a new instance of ResourceDoguFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ResourceDoguFetcher) 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 ResourceUpserter ¶
ResourceUpserter is an autogenerated mock type for the ResourceUpserter type
func NewResourceUpserter ¶
func NewResourceUpserter(t mockConstructorTestingTNewResourceUpserter) *ResourceUpserter
NewResourceUpserter creates a new instance of ResourceUpserter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ResourceUpserter) UpsertDoguDeployment ¶
func (_m *ResourceUpserter) UpsertDoguDeployment(ctx context.Context, doguResource *v1.Dogu, dogu *core.Dogu, deploymentPatch func(*appsv1.Deployment)) (*appsv1.Deployment, error)
UpsertDoguDeployment provides a mock function with given fields: ctx, doguResource, dogu, deploymentPatch
func (*ResourceUpserter) UpsertDoguExposedServices ¶
func (_m *ResourceUpserter) UpsertDoguExposedServices(ctx context.Context, doguResource *v1.Dogu, dogu *core.Dogu) ([]*corev1.Service, error)
UpsertDoguExposedServices provides a mock function with given fields: ctx, doguResource, dogu
func (*ResourceUpserter) UpsertDoguPVCs ¶
func (_m *ResourceUpserter) UpsertDoguPVCs(ctx context.Context, doguResource *v1.Dogu, dogu *core.Dogu) (*corev1.PersistentVolumeClaim, error)
UpsertDoguPVCs provides a mock function with given fields: ctx, doguResource, dogu
func (*ResourceUpserter) UpsertDoguService ¶
func (_m *ResourceUpserter) UpsertDoguService(ctx context.Context, doguResource *v1.Dogu, image *pkgv1.ConfigFile) (*corev1.Service, error)
UpsertDoguService provides a mock function with given fields: ctx, doguResource, image
type ResourceValidator ¶
ResourceValidator is an autogenerated mock type for the ResourceValidator type
func NewResourceValidator ¶
func NewResourceValidator(t mockConstructorTestingTNewResourceValidator) *ResourceValidator
NewResourceValidator creates a new instance of ResourceValidator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type SecretResourceGenerator ¶
SecretResourceGenerator is an autogenerated mock type for the SecretResourceGenerator type
func NewSecretResourceGenerator ¶
func NewSecretResourceGenerator(t mockConstructorTestingTNewSecretResourceGenerator) *SecretResourceGenerator
NewSecretResourceGenerator creates a new instance of SecretResourceGenerator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*SecretResourceGenerator) CreateDoguSecret ¶
func (_m *SecretResourceGenerator) CreateDoguSecret(doguResource *v1.Dogu, stringData map[string]string) (*corev1.Secret, error)
CreateDoguSecret provides a mock function with given fields: doguResource, stringData
type ServiceAccountCreator ¶
ServiceAccountCreator is an autogenerated mock type for the ServiceAccountCreator type
func NewServiceAccountCreator ¶
func NewServiceAccountCreator(t mockConstructorTestingTNewServiceAccountCreator) *ServiceAccountCreator
NewServiceAccountCreator creates a new instance of ServiceAccountCreator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type ServiceAccountRemover ¶
ServiceAccountRemover is an autogenerated mock type for the ServiceAccountRemover type
func NewServiceAccountRemover ¶
func NewServiceAccountRemover(t mockConstructorTestingTNewServiceAccountRemover) *ServiceAccountRemover
NewServiceAccountRemover creates a new instance of ServiceAccountRemover. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type ShellCommand ¶
ShellCommand is an autogenerated mock type for the ShellCommand type
func NewShellCommand ¶
func NewShellCommand(t mockConstructorTestingTNewShellCommand) *ShellCommand
NewShellCommand creates a new instance of ShellCommand. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ShellCommand) CommandWithArgs ¶
func (_m *ShellCommand) CommandWithArgs() []string
CommandWithArgs provides a mock function with given fields:
type SuffixGenerator ¶
SuffixGenerator is an autogenerated mock type for the SuffixGenerator type
func NewSuffixGenerator ¶
func NewSuffixGenerator(t mockConstructorTestingTNewSuffixGenerator) *SuffixGenerator
NewSuffixGenerator creates a new instance of SuffixGenerator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*SuffixGenerator) String ¶
func (_m *SuffixGenerator) String(length int) string
String provides a mock function with given fields: length
type SupportManager ¶
SupportManager is an autogenerated mock type for the SupportManager type
func NewSupportManager ¶
func NewSupportManager(t mockConstructorTestingTNewSupportManager) *SupportManager
NewSupportManager creates a new instance of SupportManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*SupportManager) HandleSupportMode ¶
func (_m *SupportManager) HandleSupportMode(ctx context.Context, doguResource *v1.Dogu) (bool, error)
HandleSupportMode provides a mock function with given fields: ctx, doguResource
type UpgradeExecutor ¶
UpgradeExecutor is an autogenerated mock type for the UpgradeExecutor type
func NewUpgradeExecutor ¶
func NewUpgradeExecutor(t mockConstructorTestingTNewUpgradeExecutor) *UpgradeExecutor
NewUpgradeExecutor creates a new instance of UpgradeExecutor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type UpgradeManager ¶
UpgradeManager is an autogenerated mock type for the UpgradeManager type
func NewUpgradeManager ¶
func NewUpgradeManager(t mockConstructorTestingTNewUpgradeManager) *UpgradeManager
NewUpgradeManager creates a new instance of UpgradeManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type VolumeManager ¶ added in v0.19.0
VolumeManager is an autogenerated mock type for the VolumeManager type
func NewVolumeManager ¶ added in v0.19.0
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) SetDoguDataVolumeSize ¶ added in v0.19.0
SetDoguDataVolumeSize provides a mock function with given fields: ctx, doguResource
Source Files ¶
- Applier.go
- AsyncExecutor.go
- AsyncStep.go
- CollectApplier.go
- CommandExecutor.go
- DeleteManager.go
- DependencyValidator.go
- DoguHealthChecker.go
- DoguLimits.go
- DoguManager.go
- DoguRecursiveHealthChecker.go
- DoguRegistrator.go
- DoguResourceGenerator.go
- DoguSecretHandler.go
- ExecPod.go
- ExecPodFactory.go
- FileExtractor.go
- ImageRegistry.go
- InstallManager.go
- LimitPatcher.go
- LocalDoguFetcher.go
- PremisesChecker.go
- ResourceDoguFetcher.go
- ResourceUpserter.go
- ResourceValidator.go
- SecretResourceGenerator.go
- ServiceAccountCreator.go
- ServiceAccountRemover.go
- ShellCommand.go
- SuffixGenerator.go
- SupportManager.go
- UpgradeExecutor.go
- UpgradeManager.go
- VolumeManager.go