Documentation ¶
Index ¶
Constants ¶
View Source
const ( // the time after which the operation is marked as expired CheckStatusTimeout = 3 * time.Hour )
View Source
const ( // the time after which the operation is marked as expired RemoveRuntimeTimeout = 1 * time.Hour )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AvsEvaluationRemovalStep ¶
type AvsEvaluationRemovalStep struct {
// contains filtered or unexported fields
}
func NewAvsEvaluationsRemovalStep ¶
func NewAvsEvaluationsRemovalStep(delegator *avs.Delegator, operationsStorage storage.Operations, externalEvalAssistant, internalEvalAssistant avs.EvalAssistant) *AvsEvaluationRemovalStep
func (*AvsEvaluationRemovalStep) Name ¶
func (ars *AvsEvaluationRemovalStep) Name() string
func (*AvsEvaluationRemovalStep) Run ¶
func (ars *AvsEvaluationRemovalStep) Run(deProvisioningOperation internal.DeprovisioningOperation, logger logrus.FieldLogger) (internal.DeprovisioningOperation, time.Duration, error)
type DeprovisionAzureEventHubStep ¶
type DeprovisionAzureEventHubStep struct { OperationManager *process.DeprovisionOperationManager processazure.EventHub }
func NewDeprovisionAzureEventHubStep ¶
func NewDeprovisionAzureEventHubStep(os storage.Operations, hyperscalerProvider azure.HyperscalerProvider, accountProvider hyperscaler.AccountProvider, ctx context.Context) DeprovisionAzureEventHubStep
func (DeprovisionAzureEventHubStep) Name ¶
func (s DeprovisionAzureEventHubStep) Name() string
func (DeprovisionAzureEventHubStep) Run ¶
func (s DeprovisionAzureEventHubStep) Run(operation internal.DeprovisioningOperation, log logrus.FieldLogger) ( internal.DeprovisioningOperation, time.Duration, error)
type EDPDeregistrationStep ¶
type EDPDeregistrationStep struct {
// contains filtered or unexported fields
}
func NewEDPDeregistrationStep ¶
func NewEDPDeregistrationStep(client EDPClient, config edp.Config) *EDPDeregistrationStep
func (*EDPDeregistrationStep) Name ¶
func (s *EDPDeregistrationStep) Name() string
func (*EDPDeregistrationStep) Run ¶
func (s *EDPDeregistrationStep) Run(operation internal.DeprovisioningOperation, log logrus.FieldLogger) (internal.DeprovisioningOperation, time.Duration, error)
type IASDeregistrationStep ¶
type IASDeregistrationStep struct {
// contains filtered or unexported fields
}
func NewIASDeregistrationStep ¶
func NewIASDeregistrationStep(os storage.Operations, bundleBuilder ias.BundleBuilder) *IASDeregistrationStep
func (*IASDeregistrationStep) Name ¶
func (s *IASDeregistrationStep) Name() string
func (*IASDeregistrationStep) Run ¶
func (s *IASDeregistrationStep) Run(operation internal.DeprovisioningOperation, log logrus.FieldLogger) (internal.DeprovisioningOperation, time.Duration, error)
type InitialisationStep ¶
type InitialisationStep struct {
// contains filtered or unexported fields
}
func NewInitialisationStep ¶
func NewInitialisationStep(os storage.Operations, is storage.Instances, pc provisioner.Client) *InitialisationStep
func (*InitialisationStep) Name ¶
func (s *InitialisationStep) Name() string
func (*InitialisationStep) Run ¶
func (s *InitialisationStep) Run(operation internal.DeprovisioningOperation, log logrus.FieldLogger) (internal.DeprovisioningOperation, time.Duration, error)
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func NewManager(storage storage.Operations, pub event.Publisher, logger logrus.FieldLogger) *Manager
type RemoveRuntimeStep ¶
type RemoveRuntimeStep struct {
// contains filtered or unexported fields
}
func NewRemoveRuntimeStep ¶
func NewRemoveRuntimeStep(os storage.Operations, is storage.Instances, cli provisioner.Client) *RemoveRuntimeStep
func (*RemoveRuntimeStep) Name ¶
func (s *RemoveRuntimeStep) Name() string
func (*RemoveRuntimeStep) Run ¶
func (s *RemoveRuntimeStep) Run(operation internal.DeprovisioningOperation, log logrus.FieldLogger) (internal.DeprovisioningOperation, time.Duration, error)
type Step ¶
type Step interface { Name() string Run(operation internal.DeprovisioningOperation, logger logrus.FieldLogger) (internal.DeprovisioningOperation, time.Duration, error) }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.