worker

package
v0.1.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MaxWorker = 50
	MinWorker = 1
)

Functions

func RegionDeployWorker

func RegionDeployWorker(id int, wg *sync.WaitGroup, regionWorkerJobs <-chan RegionDeployWorkerJob, regionWorkerResults chan<- *RegionDeployWorkerResult)

func RegionDiffWorker

func RegionDiffWorker(id int, wg *sync.WaitGroup, regionWorkerJobs <-chan RegionDiffWorkerJob, regionWorkerResults chan<- *RegionDiffWorkerResult)

Types

type RegionDeployWorkerJob

type RegionDeployWorkerJob struct {
	Region             string
	Stacks             []stack.Stack
	Profile            string
	StackDeployWorkers int
	Uid                string
	TemplatesRoot      string
	Values             *gabs.Container
	Role               string
	ParallelMode       bool
}

type RegionDeployWorkerResult

type RegionDeployWorkerResult struct {
	Region string
	Err    error
}

type RegionDiffWorkerJob

type RegionDiffWorkerJob struct {
	Region          string
	Stacks          []stack.Stack
	Profile         string
	StackDiffWorker int
	Uid             string
	TemplatesRoot   string
	Values          *gabs.Container
	Role            string
}

type RegionDiffWorkerResult

type RegionDiffWorkerResult struct {
	Region string
	Stacks []stack.Stack
	Err    error
}

type StackDiffJob

type StackDiffJob struct {
	Stack *stack.Stack
}

Jump to

Keyboard shortcuts

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