suspension

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adder

type Adder interface {
	Add(processId string)
}

type ContextUpdateHandler

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

func NewContextUpdateHandler

func NewContextUpdateHandler(operations storage.Operations, provisioningQueue Adder, deprovisioningQueue Adder, l logrus.FieldLogger) *ContextUpdateHandler

func (*ContextUpdateHandler) Handle

func (h *ContextUpdateHandler) Handle(instance *internal.Instance, newCtx internal.ERSContext) (bool, error)

Handle performs suspension/unsuspension for given instance. Applies only when 'Active' parameter has changes and ServicePlanID is `Trial`

Jump to

Keyboard shortcuts

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