queues

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: MIT Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Infrastructure

type Infrastructure interface{}

type InfrastructureQueue

type InfrastructureQueue[T Infrastructure] []InfrastructureQueueSteps[T]

InfrastructureQueue represents the queue used by cloud providers to modify an infrastructure in an ordered manner.

A queue is defined as a two dimensional slice where each element is a slice of steps that will run at the same time.

Example: [[funcA1, funcA2, funcA3], [funcB1, funcB2]] will run funcA1, funcA2, and funcA3 at the same time, BEFORE executing funcB1 and funcB2 also at the same time.

func (InfrastructureQueue[T]) Run

func (queue InfrastructureQueue[T]) Run(infrastructure T) error

type InfrastructureQueueStep

type InfrastructureQueueStep[T Infrastructure] func(infrastructure T) error

type InfrastructureQueueSteps

type InfrastructureQueueSteps[T Infrastructure] []InfrastructureQueueStep[T]

Jump to

Keyboard shortcuts

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