threefold.deploy #
struct TFDeployment #
@[heap]
struct TFDeployment {
pub mut:
name string = 'default'
description string
vms []VMachine
mut:
deployer ?grid.Deployer @[skip; str: skip]
}
fn (TFDeployment) vm_deploy #
fn (mut self TFDeployment) vm_deploy(args_ VMRequirements) !VMachine
fn (TFDeployment) vm_get #
fn (mut self TFDeployment) vm_get(name string) ![]VMachine
fn (TFDeployment) load #
fn (mut self TFDeployment) load(deployment_name string) !TFDeployment