cloud

package
v1.1.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BuiltinScalingProviders = map[string]ScalingProviderFactory{
	"aws": aws.NewAwsScalingProvider,
}

BuiltinScalingProviders tracks the available scaling providers. The provider name is the name used when configuring nodes for autoscaling.

Functions

func NewScalingProvider

func NewScalingProvider(workerPool *structs.WorkerPool) (structs.ScalingProvider, error)

NewScalingProvider is the entry point method for processing the scaling provider configuration in worker pool nodes, finding the correct factory method and setting up the scaling provider.

Types

type ScalingProviderFactory

type ScalingProviderFactory func(
	conf *structs.WorkerPool) (structs.ScalingProvider, error)

ScalingProviderFactory is a factory method type for instantiating a new instance of a scaling provider.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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