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]
Click to show internal directories.
Click to hide internal directories.