Documentation
¶
Index ¶
Constants ¶
View Source
const (
ToMBShift = 20
)
Variables ¶
View Source
var EnvInstanceTemplate = template.Must(template.New("provisioning-script").Parse(provisionEnvScriptFile))
Functions ¶
This section is empty.
Types ¶
type Env ¶
type Env struct { *storage.TemplateFiles // Command to run when building the env. StartCmd string // The number of vCPUs to allocate to the VM. VCpuCount int64 // The amount of RAM memory to allocate to the VM, in MiB. MemoryMB int64 // The amount of free disk to allocate to the VM, in MiB. DiskSizeMB int64 // Path to the directory where the temporary files for the build are stored. BuildLogsWriter io.Writer // contains filtered or unexported fields }
func (*Env) RootfsSizeMB ¶
Real size in MB of rootfs after building the env
type FCNetwork ¶
type FCNetwork struct {
// contains filtered or unexported fields
}
func NewFCNetwork ¶
type MultiWriter ¶
type MultiWriter struct {
// contains filtered or unexported fields
}
type TemplateBuilder ¶
type TemplateBuilder struct {
// contains filtered or unexported fields
}
func NewBuilder ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.