azbatch

package
v0.6.7 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AskAccountName

func AskAccountName(
	ctx context.Context, config azconfig.AZConfig,
	cliAccountName, defaultAccountName string,
) (desiredName string, mustCreate bool)

AskAccountName asks for a batch account name, potentially overridable by a CLI arg.

func AskParametersAndSave

func AskParametersAndSave(ctx context.Context, config *azconfig.AZConfig, defaultPoolName string)

AskParametersAndSave asks the user for the batch pool parameters and saves them in the config.

func CreateAccount

func CreateAccount(ctx context.Context, config azconfig.AZConfig, accountName string) (batchARM.Account, bool)

CreateAccount creates a new azure batch account

func CreateAndSave

func CreateAndSave(ctx context.Context, config *azconfig.AZConfig, accountName string)

CreateAndSave creates a batch account and saves it to the config.

func CreatePool

func CreatePool(config azconfig.AZConfig, netStack aznetwork.NetworkStack)

CreatePool starts a pool of Flamenco Workers.

func PoolParameters

func PoolParameters(config azconfig.AZConfig, netStack aznetwork.NetworkStack) batch.PoolAddParameter

PoolParameters returns the batch pool parameters.

Types

This section is empty.

Jump to

Keyboard shortcuts

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