Documentation ¶
Index ¶
- 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) IsPlanSupport(planID string) bool
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreatorForPlan ¶
CreatorForPlan is an autogenerated mock type for the CreatorForPlan type
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) (internal.ProvisionerInputCreator, error)
CreateUpgradeShootInput provides a mock function with given fields: parameters
func (*CreatorForPlan) IsPlanSupport ¶
func (_m *CreatorForPlan) IsPlanSupport(planID string) bool
IsPlanSupport provides a mock function with given fields: planID
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 (*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