deprovisioning

package
v0.0.0-...-4b7ff4e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2020 License: Apache-2.0, Apache-2.0 Imports: 20 Imported by: 0

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

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

type EDPClient

type EDPClient interface {
	DeleteDataTenant(name, env string) error
	DeleteMetadataTenant(name, env, key string) 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

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

type InitialisationStep

type InitialisationStep struct {
	// contains filtered or unexported fields
}

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, logger logrus.FieldLogger) *Manager

func (*Manager) AddStep

func (m *Manager) AddStep(weight int, step Step)

func (*Manager) Execute

func (m *Manager) Execute(operationID string) (time.Duration, error)

func (*Manager) InitStep

func (m *Manager) InitStep(step Step)

type RemoveRuntimeStep

type RemoveRuntimeStep struct {
	// contains filtered or unexported fields
}

func (*RemoveRuntimeStep) Name

func (s *RemoveRuntimeStep) Name() string

type Step

type Step interface {
	Name() string
	Run(operation internal.DeprovisioningOperation, logger logrus.FieldLogger) (internal.DeprovisioningOperation, time.Duration, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL