Documentation ¶
Index ¶
- Constants
- func AvailableProviders() []types.Provider
- type Carbon
- func (c *Carbon) BuildImage(name string) error
- func (c *Carbon) CreateImageBuild(name, tplDir, service string) error
- func (c *Carbon) FindVMByID(id string) []types.VM
- func (c *Carbon) FindVMByName(name string) []types.VM
- func (c *Carbon) GetImageBuilds() ([]string, error)
- func (c *Carbon) GetVMs() []types.VM
- func (c *Carbon) Platforms() []types.Platform
- func (c *Carbon) Providers() []types.Provider
- func (c *Carbon) VMsFromHosts(hostnames []string) []types.VM
- type Options
Constants ¶
View Source
const CloudInitDir = "cloud-init"
View Source
const ISOVarUsage = "var.iso_url"
View Source
const PackerDir = "deployments/packer"
View Source
const PackerFileIsoVars = "iso-variables.pkr.hcl"
View Source
const PackerFileLocalVars = "local-variables.pkr.hcl"
View Source
const PackerFilePacker = "packer.pkr.hcl"
View Source
const PackerFilePrivateVarsExample = "private.auto.pkrvars.hcl.example"
View Source
const PackerFileSuffixAnsible = "-ansible.pkr.hcl"
View Source
const PackerFileSuffixCloudInit = "-cloud-init.pkr.hcl"
View Source
const PackerFileSuffixVariables = "-variables.pkr.hcl"
Variables ¶
This section is empty.
Functions ¶
func AvailableProviders ¶
Types ¶
type Carbon ¶
type Carbon struct {
// contains filtered or unexported fields
}
func (*Carbon) BuildImage ¶ added in v0.2.0
func (*Carbon) CreateImageBuild ¶ added in v0.2.0
func (*Carbon) GetImageBuilds ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.