automock

package
v0.0.0-...-f7d1ac2 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComponentListProvider

type ComponentListProvider struct {
	mock.Mock
}

ComponentListProvider is an autogenerated mock type for the ComponentListProvider type

func NewComponentListProvider

func NewComponentListProvider(t mockConstructorTestingTNewComponentListProvider) *ComponentListProvider

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

func (*ComponentListProvider) AllComponents

AllComponents provides a mock function with given fields: kymaVersion, config

type ComponentsDisabler

type ComponentsDisabler struct {
	mock.Mock
}

ComponentsDisabler is an autogenerated mock type for the ComponentsDisabler type

func NewComponentsDisabler

func NewComponentsDisabler(t mockConstructorTestingTNewComponentsDisabler) *ComponentsDisabler

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

func (*ComponentsDisabler) DisableComponents

DisableComponents provides a mock function with given fields: components

type ConfigurationProvider

type ConfigurationProvider struct {
	mock.Mock
}

ConfigurationProvider is an autogenerated mock type for the ConfigurationProvider type

func NewConfigurationProvider

func NewConfigurationProvider(t mockConstructorTestingTNewConfigurationProvider) *ConfigurationProvider

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

func (*ConfigurationProvider) ProvideForGivenVersionAndPlan

func (_m *ConfigurationProvider) ProvideForGivenVersionAndPlan(kymaVersion string, planName string) (*internal.ConfigForPlan, error)

ProvideForGivenVersionAndPlan provides a mock function with given fields: kymaVersion, planName

type CreatorForPlan

type CreatorForPlan struct {
	mock.Mock
}

CreatorForPlan is an autogenerated mock type for the CreatorForPlan type

func NewCreatorForPlan

func NewCreatorForPlan(t mockConstructorTestingTNewCreatorForPlan) *CreatorForPlan

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

func (*CreatorForPlan) CreateProvisionInput

CreateProvisionInput provides a mock function with given fields: parameters, version

func (*CreatorForPlan) CreateUpgradeInput

CreateUpgradeInput provides a mock function with given fields: parameters, version

func (*CreatorForPlan) CreateUpgradeShootInput

CreateUpgradeShootInput provides a mock function with given fields: parameters, version

func (*CreatorForPlan) GetPlanDefaults

func (_m *CreatorForPlan) GetPlanDefaults(planID string, platformProvider internal.CloudProvider, parametersProvider *internal.CloudProvider) (*gqlschema.ClusterConfigInput, error)

GetPlanDefaults provides a mock function with given fields: planID, platformProvider, parametersProvider

func (*CreatorForPlan) IsPlanSupport

func (_m *CreatorForPlan) IsPlanSupport(planID string) bool

IsPlanSupport provides a mock function with given fields: planID

type DisabledComponentsProvider

type DisabledComponentsProvider struct {
	mock.Mock
}

DisabledComponentsProvider is an autogenerated mock type for the DisabledComponentsProvider type

func (*DisabledComponentsProvider) DisabledComponentsPerPlan

func (_m *DisabledComponentsProvider) DisabledComponentsPerPlan(planID string) (map[string]struct{}, error)

DisabledComponentsPerPlan provides a mock function with given fields: planID

func (*DisabledComponentsProvider) DisabledForAll

func (_m *DisabledComponentsProvider) DisabledForAll() map[string]struct{}

DisabledForAll provides a mock function with given fields:

type HyperscalerInputProvider

type HyperscalerInputProvider struct {
	mock.Mock
}

HyperscalerInputProvider is an autogenerated mock type for the HyperscalerInputProvider type

func (*HyperscalerInputProvider) ApplyParameters

ApplyParameters provides a mock function with given fields: _a0, params

func (*HyperscalerInputProvider) Defaults

Defaults provides a mock function with given fields:

func (*HyperscalerInputProvider) Profile

Profile provides a mock function with given fields:

func (*HyperscalerInputProvider) Provider

Provider provides a mock function with given fields:

type OptionalComponentService

type OptionalComponentService struct {
	mock.Mock
}

OptionalComponentService is an autogenerated mock type for the OptionalComponentService type

func NewOptionalComponentService

func NewOptionalComponentService(t mockConstructorTestingTNewOptionalComponentService) *OptionalComponentService

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

func (*OptionalComponentService) AddComponentToDisable

func (_m *OptionalComponentService) AddComponentToDisable(name string, disabler runtime.ComponentDisabler)

AddComponentToDisable provides a mock function with given fields: name, disabler

func (*OptionalComponentService) ComputeComponentsToDisable

func (_m *OptionalComponentService) ComputeComponentsToDisable(optComponentsToKeep []string) []string

ComputeComponentsToDisable provides a mock function with given fields: optComponentsToKeep

func (*OptionalComponentService) ExecuteDisablers

ExecuteDisablers provides a mock function with given fields: components, names

Jump to

Keyboard shortcuts

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