Documentation ¶
Index ¶
- func AskAccountName(ctx context.Context, config azconfig.AZConfig, ...) (desiredName string, mustCreate bool)
- func AskParametersAndSave(ctx context.Context, config *azconfig.AZConfig, defaultPoolName string)
- func CreateAccount(ctx context.Context, config azconfig.AZConfig, accountName string) (batchARM.Account, bool)
- func CreateAndSave(ctx context.Context, config *azconfig.AZConfig, accountName string)
- func CreatePool(config azconfig.AZConfig, netStack aznetwork.NetworkStack)
- func PoolParameters(config azconfig.AZConfig, netStack aznetwork.NetworkStack) batch.PoolAddParameter
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 ¶
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 ¶
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.
Click to show internal directories.
Click to hide internal directories.