Documentation ¶
Index ¶
- type ComponentListProvider
- type ComponentsDisabler
- 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
- type ProvisionerInputCreator
- func (_m *ProvisionerInputCreator) AppendGlobalOverrides(overrides []*gqlschema.ConfigEntryInput) internal.ProvisionerInputCreator
- func (_m *ProvisionerInputCreator) AppendOverrides(component string, overrides []*gqlschema.ConfigEntryInput) internal.ProvisionerInputCreator
- func (_m *ProvisionerInputCreator) CreateProvisionRuntimeInput() (gqlschema.ProvisionRuntimeInput, error)
- func (_m *ProvisionerInputCreator) CreateUpgradeRuntimeInput() (gqlschema.UpgradeRuntimeInput, error)
- func (_m *ProvisionerInputCreator) CreateUpgradeShootInput() (gqlschema.UpgradeShootInput, error)
- func (_m *ProvisionerInputCreator) EnableOptionalComponent(componentName string) internal.ProvisionerInputCreator
- func (_m *ProvisionerInputCreator) SetLabel(key string, value string) internal.ProvisionerInputCreator
- func (_m *ProvisionerInputCreator) SetOverrides(component string, overrides []*gqlschema.ConfigEntryInput) internal.ProvisionerInputCreator
- func (_m *ProvisionerInputCreator) SetProvisioningParameters(params internal.ProvisioningParameters) internal.ProvisionerInputCreator
- func (_m *ProvisionerInputCreator) SetShootName(_a0 string) internal.ProvisionerInputCreator
- type RuntimeOverridesAppender
- type RuntimeVersionConfiguratorForUpgrade
- type Step
- type StepCondition
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 (*ComponentListProvider) AllComponents ¶
func (_m *ComponentListProvider) AllComponents(kymaVersion internal.RuntimeVersionData) ([]v1alpha1.KymaComponent, error)
AllComponents provides a mock function with given fields: kymaVersion
type ComponentsDisabler ¶
ComponentsDisabler is an autogenerated mock type for the ComponentsDisabler type
func (*ComponentsDisabler) DisableComponents ¶
func (_m *ComponentsDisabler) DisableComponents(components internal.ComponentConfigurationInputList) (internal.ComponentConfigurationInputList, error)
DisableComponents provides a mock function with given fields: components
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 (*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
type ProvisionerInputCreator ¶
ProvisionerInputCreator is an autogenerated mock type for the ProvisionerInputCreator type
func (*ProvisionerInputCreator) AppendGlobalOverrides ¶
func (_m *ProvisionerInputCreator) AppendGlobalOverrides(overrides []*gqlschema.ConfigEntryInput) internal.ProvisionerInputCreator
AppendGlobalOverrides provides a mock function with given fields: overrides
func (*ProvisionerInputCreator) AppendOverrides ¶
func (_m *ProvisionerInputCreator) AppendOverrides(component string, overrides []*gqlschema.ConfigEntryInput) internal.ProvisionerInputCreator
AppendOverrides provides a mock function with given fields: component, overrides
func (*ProvisionerInputCreator) CreateProvisionRuntimeInput ¶
func (_m *ProvisionerInputCreator) CreateProvisionRuntimeInput() (gqlschema.ProvisionRuntimeInput, error)
CreateProvisionRuntimeInput provides a mock function with given fields:
func (*ProvisionerInputCreator) CreateUpgradeRuntimeInput ¶
func (_m *ProvisionerInputCreator) CreateUpgradeRuntimeInput() (gqlschema.UpgradeRuntimeInput, error)
CreateUpgradeRuntimeInput provides a mock function with given fields:
func (*ProvisionerInputCreator) CreateUpgradeShootInput ¶
func (_m *ProvisionerInputCreator) CreateUpgradeShootInput() (gqlschema.UpgradeShootInput, error)
CreateUpgradeShootInput provides a mock function with given fields:
func (*ProvisionerInputCreator) EnableOptionalComponent ¶
func (_m *ProvisionerInputCreator) EnableOptionalComponent(componentName string) internal.ProvisionerInputCreator
EnableOptionalComponent provides a mock function with given fields: componentName
func (*ProvisionerInputCreator) SetLabel ¶
func (_m *ProvisionerInputCreator) SetLabel(key string, value string) internal.ProvisionerInputCreator
SetLabel provides a mock function with given fields: key, value
func (*ProvisionerInputCreator) SetOverrides ¶
func (_m *ProvisionerInputCreator) SetOverrides(component string, overrides []*gqlschema.ConfigEntryInput) internal.ProvisionerInputCreator
SetOverrides provides a mock function with given fields: component, overrides
func (*ProvisionerInputCreator) SetProvisioningParameters ¶
func (_m *ProvisionerInputCreator) SetProvisioningParameters(params internal.ProvisioningParameters) internal.ProvisionerInputCreator
SetProvisioningParameters provides a mock function with given fields: params
func (*ProvisionerInputCreator) SetShootName ¶
func (_m *ProvisionerInputCreator) SetShootName(_a0 string) internal.ProvisionerInputCreator
SetShootName provides a mock function with given fields: _a0
type RuntimeOverridesAppender ¶
RuntimeOverridesAppender is an autogenerated mock type for the RuntimeOverridesAppender type
func (*RuntimeOverridesAppender) Append ¶
func (_m *RuntimeOverridesAppender) Append(input runtimeoverrides.InputAppender, planID string, kymaVersion string) error
Append provides a mock function with given fields: input, planID, kymaVersion
type RuntimeVersionConfiguratorForUpgrade ¶
RuntimeVersionConfiguratorForUpgrade is an autogenerated mock type for the RuntimeVersionConfiguratorForUpgrade type
func NewRuntimeVersionConfiguratorForUpgrade ¶
func NewRuntimeVersionConfiguratorForUpgrade(t mockConstructorTestingTNewRuntimeVersionConfiguratorForUpgrade) *RuntimeVersionConfiguratorForUpgrade
NewRuntimeVersionConfiguratorForUpgrade creates a new instance of RuntimeVersionConfiguratorForUpgrade. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*RuntimeVersionConfiguratorForUpgrade) ForUpgrade ¶
func (_m *RuntimeVersionConfiguratorForUpgrade) ForUpgrade(op internal.UpgradeKymaOperation) (*internal.RuntimeVersionData, error)
ForUpgrade provides a mock function with given fields: op
type Step ¶
Step is an autogenerated mock type for the Step type
func (*Step) Run ¶
func (_m *Step) Run(operation internal.UpgradeKymaOperation, logger logrus.FieldLogger) (internal.UpgradeKymaOperation, time.Duration, error)
Run provides a mock function with given fields: operation, logger
type StepCondition ¶
StepCondition is an autogenerated mock type for the StepCondition type
func (*StepCondition) Execute ¶
func (_m *StepCondition) Execute(operation internal.UpgradeKymaOperation) bool
Execute provides a mock function with given fields: operation