Documentation ¶
Index ¶
- Constants
- Variables
- func CheckReconcilerStatus(op internal.Operation) bool
- func ForBTPOperatorCredentialsProvided(op internal.Operation) bool
- func RequiresBTPOperatorCredentials(op internal.Operation) bool
- func RequiresReconcilerUpdate(op internal.Operation) bool
- func SkipForOwnClusterPlan(op internal.Operation) bool
- type ApplyReconcilerConfigurationStep
- type BTPOperatorOverridesStep
- type CheckReconcilerState
- type CheckStep
- type GetKubeconfigStep
- type InitKymaVersionStep
- type InitialisationStep
- type Manager
- type RuntimeVersionConfiguratorForUpdating
- type Step
- type StepCondition
- type StepWithCondition
- type UpgradeShootStep
Constants ¶
View Source
const BTPOperatorComponentName = "btp-operator"
View Source
const DryRunPrefix = "dry_run-"
Variables ¶
View Source
var ConfigMapGetter internal.ClusterIDGetter = internal.GetClusterIDWithKubeconfig
Functions ¶
func CheckReconcilerStatus ¶
func SkipForOwnClusterPlan ¶
Types ¶
type ApplyReconcilerConfigurationStep ¶
type ApplyReconcilerConfigurationStep struct {
// contains filtered or unexported fields
}
func NewApplyReconcilerConfigurationStep ¶
func NewApplyReconcilerConfigurationStep(os storage.Operations, runtimeStorage storage.RuntimeStates, reconcilerClient reconciler.Client) *ApplyReconcilerConfigurationStep
func (*ApplyReconcilerConfigurationStep) Name ¶
func (s *ApplyReconcilerConfigurationStep) Name() string
type BTPOperatorOverridesStep ¶
type BTPOperatorOverridesStep struct {
// contains filtered or unexported fields
}
func NewBTPOperatorOverridesStep ¶
func NewBTPOperatorOverridesStep(os storage.Operations, components input.ComponentListProvider) *BTPOperatorOverridesStep
func (*BTPOperatorOverridesStep) Name ¶
func (s *BTPOperatorOverridesStep) Name() string
type CheckReconcilerState ¶
type CheckReconcilerState struct {
// contains filtered or unexported fields
}
func NewCheckReconcilerState ¶
func NewCheckReconcilerState(os storage.Operations, reconcilerClient reconciler.Client) *CheckReconcilerState
func (*CheckReconcilerState) Name ¶
func (s *CheckReconcilerState) Name() string
type CheckStep ¶
type CheckStep struct {
// contains filtered or unexported fields
}
CheckStep checks if the SKR is updated
func NewCheckStep ¶
func NewCheckStep(os storage.Operations, provisionerClient provisioner.Client, provisioningTimeout time.Duration) *CheckStep
type GetKubeconfigStep ¶
type GetKubeconfigStep struct {
// contains filtered or unexported fields
}
func NewGetKubeconfigStep ¶
func NewGetKubeconfigStep(os storage.Operations, provisionerClient provisioner.Client, k8sClientProvider func(kcfg string) (client.Client, error)) *GetKubeconfigStep
func (*GetKubeconfigStep) Name ¶
func (s *GetKubeconfigStep) Name() string
type InitKymaVersionStep ¶
type InitKymaVersionStep struct {
// contains filtered or unexported fields
}
func NewInitKymaVersionStep ¶
func NewInitKymaVersionStep(os storage.Operations, rvc *runtimeversion.RuntimeVersionConfigurator, runtimeStatesDb storage.RuntimeStates) *InitKymaVersionStep
func (*InitKymaVersionStep) Name ¶
func (s *InitKymaVersionStep) Name() string
type InitialisationStep ¶
type InitialisationStep struct {
// contains filtered or unexported fields
}
func NewInitialisationStep ¶
func NewInitialisationStep(is storage.Instances, os storage.Operations, rvc RuntimeVersionConfiguratorForUpdating, b input.CreatorForPlan) *InitialisationStep
func (*InitialisationStep) Name ¶
func (s *InitialisationStep) Name() string
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func NewManager(storage storage.Operations, pub event.Publisher, operationTimeout time.Duration, logger logrus.FieldLogger) *Manager
func (*Manager) AddStep ¶
func (m *Manager) AddStep(stageName string, step Step, cnd StepCondition) error
func (*Manager) DefineStages ¶
func (*Manager) GetAllStages ¶
type RuntimeVersionConfiguratorForUpdating ¶
type RuntimeVersionConfiguratorForUpdating interface {
ForUpdating(op internal.Operation) (*internal.RuntimeVersionData, error)
}
type Step ¶
type Step interface { Name() string Run(operation internal.UpdatingOperation, logger logrus.FieldLogger) (internal.UpdatingOperation, time.Duration, error) }
type StepCondition ¶
type StepCondition func(operation internal.UpdatingOperation) bool
type StepWithCondition ¶
type StepWithCondition struct { Step // contains filtered or unexported fields }
type UpgradeShootStep ¶
type UpgradeShootStep struct {
// contains filtered or unexported fields
}
func NewUpgradeShootStep ¶
func NewUpgradeShootStep( os storage.Operations, runtimeStorage storage.RuntimeStates, cli provisioner.Client) *UpgradeShootStep
func (*UpgradeShootStep) Name ¶
func (s *UpgradeShootStep) Name() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.