Documentation ¶
Index ¶
- type ComponentListProvider
- type ComponentsDisabler
- type ConfigurationProvider
- type CreatorForPlan
- func (_m *CreatorForPlan) CreateProvisionInput(parameters internal.ProvisioningParameters, ...) (internal.ProvisionerInputCreator, error)
- func (_m *CreatorForPlan) CreateUpgradeInput(parameters internal.ProvisioningParameters, ...) (internal.ProvisionerInputCreator, error)
- func (_m *CreatorForPlan) CreateUpgradeShootInput(parameters internal.ProvisioningParameters, ...) (internal.ProvisionerInputCreator, error)
- func (_m *CreatorForPlan) GetPlanDefaults(planID string, platformProvider internal.CloudProvider, ...) (*gqlschema.ClusterConfigInput, error)
- func (_m *CreatorForPlan) IsPlanSupport(planID string) bool
- type DisabledComponentsProvider
- type HyperscalerInputProvider
- func (_m *HyperscalerInputProvider) ApplyParameters(_a0 *gqlschema.ClusterConfigInput, params internal.ProvisioningParameters)
- func (_m *HyperscalerInputProvider) Defaults() *gqlschema.ClusterConfigInput
- func (_m *HyperscalerInputProvider) Profile() gqlschema.KymaProfile
- func (_m *HyperscalerInputProvider) Provider() internal.CloudProvider
- type OptionalComponentService
- func (_m *OptionalComponentService) AddComponentToDisable(name string, disabler runtime.ComponentDisabler)
- func (_m *OptionalComponentService) ComputeComponentsToDisable(optComponentsToKeep []string) []string
- func (_m *OptionalComponentService) ExecuteDisablers(components internal.ComponentConfigurationInputList, names ...string) (internal.ComponentConfigurationInputList, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComponentListProvider ¶
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 ¶
func (_m *ComponentListProvider) AllComponents(kymaVersion internal.RuntimeVersionData, config *internal.ConfigForPlan) ([]internal.KymaComponent, error)
AllComponents provides a mock function with given fields: kymaVersion, config
type ComponentsDisabler ¶
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 ¶
func (_m *ComponentsDisabler) DisableComponents(components internal.ComponentConfigurationInputList) (internal.ComponentConfigurationInputList, error)
DisableComponents provides a mock function with given fields: components
type ConfigurationProvider ¶
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 ¶
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 ¶
func (_m *CreatorForPlan) CreateProvisionInput(parameters internal.ProvisioningParameters, version internal.RuntimeVersionData) (internal.ProvisionerInputCreator, error)
CreateProvisionInput provides a mock function with given fields: parameters, version
func (*CreatorForPlan) CreateUpgradeInput ¶
func (_m *CreatorForPlan) CreateUpgradeInput(parameters internal.ProvisioningParameters, version internal.RuntimeVersionData) (internal.ProvisionerInputCreator, error)
CreateUpgradeInput provides a mock function with given fields: parameters, version
func (*CreatorForPlan) CreateUpgradeShootInput ¶
func (_m *CreatorForPlan) CreateUpgradeShootInput(parameters internal.ProvisioningParameters, version internal.RuntimeVersionData) (internal.ProvisionerInputCreator, error)
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 ¶
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 ¶
HyperscalerInputProvider is an autogenerated mock type for the HyperscalerInputProvider type
func (*HyperscalerInputProvider) ApplyParameters ¶
func (_m *HyperscalerInputProvider) ApplyParameters(_a0 *gqlschema.ClusterConfigInput, params internal.ProvisioningParameters)
ApplyParameters provides a mock function with given fields: _a0, params
func (*HyperscalerInputProvider) Defaults ¶
func (_m *HyperscalerInputProvider) Defaults() *gqlschema.ClusterConfigInput
Defaults provides a mock function with given fields:
func (*HyperscalerInputProvider) Profile ¶
func (_m *HyperscalerInputProvider) Profile() gqlschema.KymaProfile
Profile provides a mock function with given fields:
func (*HyperscalerInputProvider) Provider ¶
func (_m *HyperscalerInputProvider) Provider() internal.CloudProvider
Provider provides a mock function with given fields:
type OptionalComponentService ¶
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 ¶
func (_m *OptionalComponentService) ExecuteDisablers(components internal.ComponentConfigurationInputList, names ...string) (internal.ComponentConfigurationInputList, error)
ExecuteDisablers provides a mock function with given fields: components, names