carbon

package
v0.2.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

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

func AvailableProviders() []types.Provider

Types

type Carbon

type Carbon struct {
	// contains filtered or unexported fields
}

func New

func New(options Options) *Carbon

func (*Carbon) BuildImage added in v0.2.0

func (c *Carbon) BuildImage(name string) error

func (*Carbon) CreateImageBuild added in v0.2.0

func (c *Carbon) CreateImageBuild(name, tplDir, service string) error

func (*Carbon) FindVMByID

func (c *Carbon) FindVMByID(id string) []types.VM

func (*Carbon) FindVMByName added in v0.2.0

func (c *Carbon) FindVMByName(name string) []types.VM

func (*Carbon) GetImageBuilds added in v0.2.0

func (c *Carbon) GetImageBuilds() ([]string, error)

func (*Carbon) GetVMs

func (c *Carbon) GetVMs() []types.VM

func (*Carbon) Platforms

func (c *Carbon) Platforms() []types.Platform

func (*Carbon) Providers

func (c *Carbon) Providers() []types.Provider

func (*Carbon) VMsFromHosts added in v0.2.4

func (c *Carbon) VMsFromHosts(hostnames []string) []types.VM

type Options

type Options struct {
	Providers    []string
	Platforms    []string
	Environments []string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL