Documentation ¶
Index ¶
- type ComponentListProvider
- type Config
- type CreatorForPlan
- type HyperscalerInputProvider
- type InputBuilderFactory
- type OptionalComponentService
- type RuntimeInput
- func (r *RuntimeInput) AppendGlobalOverrides(overrides []*gqlschema.ConfigEntryInput) internal.ProvisionInputCreator
- func (r *RuntimeInput) AppendOverrides(component string, overrides []*gqlschema.ConfigEntryInput) internal.ProvisionInputCreator
- func (r *RuntimeInput) Create() (gqlschema.ProvisionRuntimeInput, error)
- func (r *RuntimeInput) SetLabel(key, value string) internal.ProvisionInputCreator
- func (r *RuntimeInput) SetOverrides(component string, overrides []*gqlschema.ConfigEntryInput) internal.ProvisionInputCreatordeprecated
- func (r *RuntimeInput) SetProvisioningParameters(params internal.ProvisioningParametersDTO) internal.ProvisionInputCreator
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 CreatorForPlan ¶
type CreatorForPlan interface { IsPlanSupport(planID string) bool ForPlan(planID, kymaVersion string) (internal.ProvisionInputCreator, error) }
func NewInputBuilderFactory ¶
func NewInputBuilderFactory(optComponentsSvc OptionalComponentService, componentsListProvider ComponentListProvider, config Config, defaultKymaVersion string) (CreatorForPlan, error)
type HyperscalerInputProvider ¶
type HyperscalerInputProvider interface { Defaults() *gqlschema.ClusterConfigInput ApplyParameters(input *gqlschema.ClusterConfigInput, params internal.ProvisioningParametersDTO) }
type InputBuilderFactory ¶
type InputBuilderFactory struct {
// contains filtered or unexported fields
}
func (*InputBuilderFactory) ForPlan ¶
func (f *InputBuilderFactory) ForPlan(planID, kymaVersion string) (internal.ProvisionInputCreator, 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.ProvisionInputCreator
AppendAppendGlobalOverrides appends overrides, the existing overrides are preserved.
func (*RuntimeInput) AppendOverrides ¶
func (r *RuntimeInput) AppendOverrides(component string, overrides []*gqlschema.ConfigEntryInput) internal.ProvisionInputCreator
AppendOverrides appends overrides for the given components, the existing overrides are preserved.
func (*RuntimeInput) Create ¶
func (r *RuntimeInput) Create() (gqlschema.ProvisionRuntimeInput, error)
func (*RuntimeInput) SetLabel ¶
func (r *RuntimeInput) SetLabel(key, value string) internal.ProvisionInputCreator
func (*RuntimeInput) SetOverrides
deprecated
func (r *RuntimeInput) SetOverrides(component string, overrides []*gqlschema.ConfigEntryInput) internal.ProvisionInputCreator
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.ProvisioningParametersDTO) internal.ProvisionInputCreator
Click to show internal directories.
Click to hide internal directories.