Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsTemplateFile ¶
IsTemplateFile returns true if filename points to a valid template file; otherwise returns false.
Types ¶
type RpmPackage ¶
func (*RpmPackage) Download ¶
func (p *RpmPackage) Download() error
func (*RpmPackage) Filename ¶
func (p *RpmPackage) Filename() string
func (*RpmPackage) URL ¶
func (p *RpmPackage) URL() string
type Template ¶
type Template struct { Base string RpmBase *RpmPackage "rpm-base" Cmdline string Build string Files map[string]string Rootfs string }
A template is a configuration file that describes how to build a VM image. It is usually representeed as a `Capstanfile` file on disk.
func ParseTemplate ¶
ParseTemplate parses a Template from a byte array.
func ReadTemplateFile ¶
ReadTemplateFile parses a Template from a file.
Click to show internal directories.
Click to hide internal directories.