Documentation
¶
Index ¶
- type ComponentListProvider
- type ComponentsDisabler
- type Config
- type CreatorForPlan
- type DisabledComponentsProvider
- type HyperscalerInputProvider
- type InputBuilderFactory
- func (f *InputBuilderFactory) CreateProvisionInput(pp internal.ProvisioningParameters) (internal.ProvisionerInputCreator, error)
- func (f *InputBuilderFactory) CreateUpgradeInput(pp internal.ProvisioningParameters) (internal.ProvisionerInputCreator, error)
- func (f *InputBuilderFactory) IsPlanSupport(planID string) bool
- type OptionalComponentService
- type RuntimeInput
- func (r *RuntimeInput) AppendGlobalOverrides(overrides []*gqlschema.ConfigEntryInput) internal.ProvisionerInputCreator
- func (r *RuntimeInput) AppendOverrides(component string, overrides []*gqlschema.ConfigEntryInput) internal.ProvisionerInputCreator
- func (r *RuntimeInput) CreateProvisionRuntimeInput() (gqlschema.ProvisionRuntimeInput, error)
- func (r *RuntimeInput) CreateUpgradeRuntimeInput() (gqlschema.UpgradeRuntimeInput, error)
- func (r *RuntimeInput) EnableOptionalComponent(componentName string) internal.ProvisionerInputCreator
- func (r *RuntimeInput) SetLabel(key, value string) internal.ProvisionerInputCreator
- func (r *RuntimeInput) SetOverrides(component string, overrides []*gqlschema.ConfigEntryInput) internal.ProvisionerInputCreatordeprecated
- func (r *RuntimeInput) SetProvisioningParameters(params internal.ProvisioningParameters) internal.ProvisionerInputCreator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComponentListProvider ¶
type ComponentListProvider interface {
AllComponents(kymaVersion string) ([]v1alpha1.KymaComponent, error)
}
type ComponentsDisabler ¶
type ComponentsDisabler interface {
DisableComponents(components internal.ComponentConfigurationInputList) (internal.ComponentConfigurationInputList, error)
}
type CreatorForPlan ¶
type CreatorForPlan interface { IsPlanSupport(planID string) bool CreateProvisionInput(parameters internal.ProvisioningParameters) (internal.ProvisionerInputCreator, error) CreateUpgradeInput(parameters internal.ProvisioningParameters) (internal.ProvisionerInputCreator, error) }
func NewInputBuilderFactory ¶
func NewInputBuilderFactory(optComponentsSvc OptionalComponentService, disabledComponentsProvider DisabledComponentsProvider, componentsListProvider ComponentListProvider, config Config, defaultKymaVersion string, trialPlatformRegionMapping map[string]string) (CreatorForPlan, error)
type HyperscalerInputProvider ¶
type HyperscalerInputProvider interface { Defaults() *gqlschema.ClusterConfigInput ApplyParameters(input *gqlschema.ClusterConfigInput, params internal.ProvisioningParameters) }
type InputBuilderFactory ¶
type InputBuilderFactory struct {
// contains filtered or unexported fields
}
func (*InputBuilderFactory) CreateProvisionInput ¶
func (f *InputBuilderFactory) CreateProvisionInput(pp internal.ProvisioningParameters) (internal.ProvisionerInputCreator, error)
func (*InputBuilderFactory) CreateUpgradeInput ¶
func (f *InputBuilderFactory) CreateUpgradeInput(pp internal.ProvisioningParameters) (internal.ProvisionerInputCreator, error)
func (*InputBuilderFactory) IsPlanSupport ¶
func (f *InputBuilderFactory) IsPlanSupport(planID string) bool
type OptionalComponentService ¶
type OptionalComponentService interface { ExecuteDisablers(components internal.ComponentConfigurationInputList, names ...string) (internal.ComponentConfigurationInputList, error) ComputeComponentsToDisable(optComponentsToKeep []string) []string }
type RuntimeInput ¶
type RuntimeInput struct {
// contains filtered or unexported fields
}
func (*RuntimeInput) AppendGlobalOverrides ¶
func (r *RuntimeInput) AppendGlobalOverrides(overrides []*gqlschema.ConfigEntryInput) internal.ProvisionerInputCreator
AppendAppendGlobalOverrides appends overrides, the existing overrides are preserved.
func (*RuntimeInput) AppendOverrides ¶
func (r *RuntimeInput) AppendOverrides(component string, overrides []*gqlschema.ConfigEntryInput) internal.ProvisionerInputCreator
AppendOverrides appends overrides for the given components, the existing overrides are preserved.
func (*RuntimeInput) CreateProvisionRuntimeInput ¶
func (r *RuntimeInput) CreateProvisionRuntimeInput() (gqlschema.ProvisionRuntimeInput, error)
func (*RuntimeInput) CreateUpgradeRuntimeInput ¶
func (r *RuntimeInput) CreateUpgradeRuntimeInput() (gqlschema.UpgradeRuntimeInput, error)
func (*RuntimeInput) EnableOptionalComponent ¶
func (r *RuntimeInput) EnableOptionalComponent(componentName string) internal.ProvisionerInputCreator
func (*RuntimeInput) SetLabel ¶
func (r *RuntimeInput) SetLabel(key, value string) internal.ProvisionerInputCreator
func (*RuntimeInput) SetOverrides
deprecated
func (r *RuntimeInput) SetOverrides(component string, overrides []*gqlschema.ConfigEntryInput) internal.ProvisionerInputCreator
AppendOverrides sets the overrides for the given component and discard the previous ones.
Deprecated: use AppendOverrides
func (*RuntimeInput) SetProvisioningParameters ¶
func (r *RuntimeInput) SetProvisioningParameters(params internal.ProvisioningParameters) internal.ProvisionerInputCreator
Click to show internal directories.
Click to hide internal directories.