Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBootstrapCommand ¶
func ParseProxmoxBasicArchetypeParams ¶
func ParseProxmoxBasicArchetypeParams(data interface{}) (*proxmoxBasicArchetypeParams, error)
Types ¶
type Image ¶
type Image struct { Name string `yaml:"name"` Flavor string `yaml:"flavor"` Auto bool `yaml:"auto"` UsbBoot bool `yaml:"usb-boot"` Reuse bool `yaml:"reuse"` Format string `yaml:"format"` }
func ParseImages ¶
type Provider ¶
Interface for all providers
func ParseProviders ¶
Entry point to parse a list of providers. Input data expects a top level key whose name is the value of 'keyInfra'
type VM ¶
type VM struct { Id string `yaml:"id"` Name string `yaml:"name"` Provider struct { Name string `yaml:"name"` Args map[string]interface{} `yaml:"args"` } `yaml:"provider"` Image struct { Name string `yaml:"name"` Store string `yaml:"store"` } `yaml:"image"` Archetype string `yaml:"archetype"` Params interface{} `yaml:"-"` Start bool `yaml:"start"` }
Click to show internal directories.
Click to hide internal directories.