Documentation ¶
Index ¶
- Constants
- func DoForOwnClusterPlanOnly(operation internal.Operation) bool
- func SkipForOwnClusterPlan(operation internal.Operation) bool
- func WhenBTPOperatorCredentialsProvided(op internal.Operation) bool
- type ApplyKymaStep
- type BTPOperatorOverridesStep
- type CheckClusterConfigurationStep
- type CheckRuntimeStep
- type CreateClusterConfigurationStep
- type CreateRuntimeForOwnCluster
- type CreateRuntimeWithoutKymaStep
- type DirectorClient
- type EDPClient
- type EDPRegistrationStep
- type EnableForTrialPlanStep
- type ExternalEvalCreator
- type ExternalEvalStep
- type GetKubeconfigStep
- type InitialisationStep
- type InjectBTPOperatorCredentialsStep
- type InternalEvalUpdater
- type InternalEvaluationStep
- type KymaVersionConfigurator
- type OverridesFromSecretsAndConfigStep
- type ResolveCredentialsStep
- type RuntimeOverridesAppender
- type RuntimeTagsStep
- type RuntimeVersionConfiguratorForProvisioning
- type SkipForTrialPlanStep
- type StartStep
Constants ¶
View Source
const ( // the time after which the operation is marked as expired CreateRuntimeTimeout = 1 * time.Hour )
Variables ¶
This section is empty.
Functions ¶
func DoForOwnClusterPlanOnly ¶
func SkipForOwnClusterPlan ¶
Types ¶
type ApplyKymaStep ¶
type ApplyKymaStep struct {
// contains filtered or unexported fields
}
func NewApplyKymaStep ¶
func NewApplyKymaStep(os storage.Operations, cli client.Client) *ApplyKymaStep
func (*ApplyKymaStep) Name ¶
func (a *ApplyKymaStep) Name() string
type BTPOperatorOverridesStep ¶
type BTPOperatorOverridesStep struct {
// contains filtered or unexported fields
}
func NewBTPOperatorOverridesStep ¶
func NewBTPOperatorOverridesStep(os storage.Operations) *BTPOperatorOverridesStep
func (*BTPOperatorOverridesStep) Name ¶
func (s *BTPOperatorOverridesStep) Name() string
type CheckClusterConfigurationStep ¶
type CheckClusterConfigurationStep struct {
// contains filtered or unexported fields
}
CheckClusterConfigurationStep checks if the SKR configuration is applied (by reconciler)
func NewCheckClusterConfigurationStep ¶
func NewCheckClusterConfigurationStep(os storage.Operations, reconcilerClient reconciler.Client, provisioningTimeout time.Duration) *CheckClusterConfigurationStep
func (*CheckClusterConfigurationStep) Name ¶
func (s *CheckClusterConfigurationStep) Name() string
type CheckRuntimeStep ¶
type CheckRuntimeStep struct {
// contains filtered or unexported fields
}
CheckRuntimeStep checks if the SKR is provisioned
func NewCheckRuntimeStep ¶
func NewCheckRuntimeStep(os storage.Operations, provisionerClient provisioner.Client, provisioningTimeout time.Duration) *CheckRuntimeStep
func (*CheckRuntimeStep) Name ¶
func (s *CheckRuntimeStep) Name() string
type CreateClusterConfigurationStep ¶
type CreateClusterConfigurationStep struct {
// contains filtered or unexported fields
}
func NewCreateClusterConfiguration ¶
func NewCreateClusterConfiguration(os storage.Operations, runtimeStorage storage.RuntimeStates, reconcilerClient reconciler.Client) *CreateClusterConfigurationStep
func (*CreateClusterConfigurationStep) Name ¶
func (s *CreateClusterConfigurationStep) Name() string
type CreateRuntimeForOwnCluster ¶
type CreateRuntimeForOwnCluster struct {
// contains filtered or unexported fields
}
func NewCreateRuntimeForOwnClusterStep ¶
func NewCreateRuntimeForOwnClusterStep(os storage.Operations, is storage.Instances) *CreateRuntimeForOwnCluster
func (*CreateRuntimeForOwnCluster) Name ¶
func (s *CreateRuntimeForOwnCluster) Name() string
type CreateRuntimeWithoutKymaStep ¶
type CreateRuntimeWithoutKymaStep struct {
// contains filtered or unexported fields
}
func NewCreateRuntimeWithoutKymaStep ¶
func NewCreateRuntimeWithoutKymaStep(os storage.Operations, runtimeStorage storage.RuntimeStates, is storage.Instances, cli provisioner.Client) *CreateRuntimeWithoutKymaStep
func (*CreateRuntimeWithoutKymaStep) Name ¶
func (s *CreateRuntimeWithoutKymaStep) Name() string
type DirectorClient ¶
type EDPRegistrationStep ¶
type EDPRegistrationStep struct {
// contains filtered or unexported fields
}
func NewEDPRegistrationStep ¶
func NewEDPRegistrationStep(os storage.Operations, client EDPClient, config edp.Config) *EDPRegistrationStep
func (*EDPRegistrationStep) Name ¶
func (s *EDPRegistrationStep) Name() string
type EnableForTrialPlanStep ¶
type EnableForTrialPlanStep struct {
// contains filtered or unexported fields
}
func NewEnableForTrialPlanStep ¶
func NewEnableForTrialPlanStep(step process.Step) EnableForTrialPlanStep
func (EnableForTrialPlanStep) Name ¶
func (s EnableForTrialPlanStep) Name() string
type ExternalEvalCreator ¶
type ExternalEvalCreator struct {
// contains filtered or unexported fields
}
func NewExternalEvalCreator ¶
func NewExternalEvalCreator(delegator *avs.Delegator, disabled bool, assistant *avs.ExternalEvalAssistant) *ExternalEvalCreator
type ExternalEvalStep ¶
type ExternalEvalStep struct {
// contains filtered or unexported fields
}
func NewExternalEvalStep ¶
func NewExternalEvalStep(externalEvalCreator *ExternalEvalCreator) *ExternalEvalStep
func (ExternalEvalStep) Name ¶
func (e ExternalEvalStep) Name() string
type GetKubeconfigStep ¶
type GetKubeconfigStep struct {
// contains filtered or unexported fields
}
func NewGetKubeconfigStep ¶
func NewGetKubeconfigStep(os storage.Operations, provisionerClient provisioner.Client, k8sClientProvider func(kubeconfig string) (client.Client, error)) *GetKubeconfigStep
func (*GetKubeconfigStep) Name ¶
func (s *GetKubeconfigStep) Name() string
type InitialisationStep ¶
type InitialisationStep struct {
// contains filtered or unexported fields
}
func NewInitialisationStep ¶
func NewInitialisationStep(os storage.Operations, is storage.Instances, b input.CreatorForPlan, rvc RuntimeVersionConfiguratorForProvisioning) *InitialisationStep
func (*InitialisationStep) Name ¶
func (s *InitialisationStep) Name() string
type InjectBTPOperatorCredentialsStep ¶
type InjectBTPOperatorCredentialsStep struct {
// contains filtered or unexported fields
}
func NewInjectBTPOperatorCredentialsStep ¶
func NewInjectBTPOperatorCredentialsStep(os storage.Operations, k8sClientProvider func(kcfg string) (client.Client, error)) *InjectBTPOperatorCredentialsStep
func (*InjectBTPOperatorCredentialsStep) Name ¶
func (s *InjectBTPOperatorCredentialsStep) Name() string
type InternalEvalUpdater ¶
type InternalEvalUpdater struct {
// contains filtered or unexported fields
}
func NewInternalEvalUpdater ¶
func NewInternalEvalUpdater(delegator *avs.Delegator, assistant *avs.InternalEvalAssistant, config avs.Config) *InternalEvalUpdater
func (*InternalEvalUpdater) AddTagsToEval ¶
type InternalEvaluationStep ¶
type InternalEvaluationStep struct {
// contains filtered or unexported fields
}
func NewInternalEvaluationStep ¶
func NewInternalEvaluationStep(delegator *avs.Delegator, assistant *avs.InternalEvalAssistant) *InternalEvaluationStep
func (*InternalEvaluationStep) Name ¶
func (ies *InternalEvaluationStep) Name() string
type KymaVersionConfigurator ¶
type OverridesFromSecretsAndConfigStep ¶
type OverridesFromSecretsAndConfigStep struct {
// contains filtered or unexported fields
}
func NewOverridesFromSecretsAndConfigStep ¶
func NewOverridesFromSecretsAndConfigStep(os storage.Operations, runtimeOverrides RuntimeOverridesAppender, rvc RuntimeVersionConfiguratorForProvisioning) *OverridesFromSecretsAndConfigStep
func (*OverridesFromSecretsAndConfigStep) Name ¶
func (s *OverridesFromSecretsAndConfigStep) Name() string
type ResolveCredentialsStep ¶
type ResolveCredentialsStep struct {
// contains filtered or unexported fields
}
func NewResolveCredentialsStep ¶
func NewResolveCredentialsStep(os storage.Operations, accountProvider hyperscaler.AccountProvider) *ResolveCredentialsStep
func (*ResolveCredentialsStep) Name ¶
func (s *ResolveCredentialsStep) Name() string
type RuntimeOverridesAppender ¶
type RuntimeOverridesAppender interface {
Append(input runtimeoverrides.InputAppender, planName, overridesVersion string) error
}
type RuntimeTagsStep ¶
type RuntimeTagsStep struct {
// contains filtered or unexported fields
}
func NewRuntimeTagsStep ¶
func NewRuntimeTagsStep(internalEvalUpdater *InternalEvalUpdater, provisionerClient provisioner.Client) *RuntimeTagsStep
func (*RuntimeTagsStep) Name ¶
func (e *RuntimeTagsStep) Name() string
type RuntimeVersionConfiguratorForProvisioning ¶
type RuntimeVersionConfiguratorForProvisioning interface {
ForProvisioning(op internal.Operation) (*internal.RuntimeVersionData, error)
}
type SkipForTrialPlanStep ¶
type SkipForTrialPlanStep struct {
// contains filtered or unexported fields
}
func NewSkipForTrialPlanStep ¶
func NewSkipForTrialPlanStep(step process.Step) SkipForTrialPlanStep
func (SkipForTrialPlanStep) Name ¶
func (s SkipForTrialPlanStep) Name() string
type StartStep ¶
type StartStep struct {
// contains filtered or unexported fields
}
StartStep changes the state from pending to in progress if necessary
func NewStartStep ¶
func NewStartStep(os storage.Operations, is storage.Instances) *StartStep
Source Files ¶
- apply_kyma_step.go
- btp_operator_overrides.go
- check_cluster_configuration.go
- check_runtime_step.go
- conditions.go
- create_cluster_configuration.go
- create_runtime_for_own_cluster_step.go
- create_runtime_without_kyma_step.go
- edp_registration.go
- enable_for_trial_step.go
- external_eval.go
- external_eval_step.go
- get_kubeconfig_step.go
- initialisation.go
- inject_btp_operator_credentials_step.go
- internal_eval.go
- internal_eval_updater.go
- resolve_creds.go
- runtime_tags_step.go
- secret_cm_overrides.go
- skip_for_trial_step.go
- start_step.go
Click to show internal directories.
Click to hide internal directories.