Documentation ¶
Index ¶
- Constants
- func AvailableProviders() []types.Provider
- type Carbon
- func (c *Carbon) FindVMByID(id string) []types.VM
- func (c *Carbon) FindVMByName(name string) []types.VM
- func (c *Carbon) GetImage(imageID string) (types.Image, error)
- func (c *Carbon) GetImageBuild(name, provider, provisioner string) (types.ImageBuild, error)
- func (c *Carbon) GetImageBuildTemplates() []string
- func (c *Carbon) GetImageBuilds() ([]types.ImageBuild, error)
- func (c *Carbon) GetImages() ([]types.Image, error)
- func (c *Carbon) GetProject(name string) (types.Project, error)
- func (c *Carbon) GetProjects() ([]types.Project, error)
- func (c *Carbon) GetProvider(providerType string) (types.Provider, error)
- func (c *Carbon) GetVMs() []types.VM
- func (c *Carbon) Profiles() []types.Profile
- 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 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 New ¶
func New(config common.CarbonConfig) *Carbon
func (*Carbon) GetImageBuild ¶ added in v0.5.0
func (c *Carbon) GetImageBuild(name, provider, provisioner string) (types.ImageBuild, error)
func (*Carbon) GetImageBuildTemplates ¶ added in v0.4.1
func (*Carbon) GetImageBuilds ¶ added in v0.2.0
func (c *Carbon) GetImageBuilds() ([]types.ImageBuild, error)
func (*Carbon) GetProject ¶ added in v0.4.0
func (*Carbon) GetProjects ¶ added in v0.4.0
func (*Carbon) GetProvider ¶ added in v0.5.0
Click to show internal directories.
Click to hide internal directories.