Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("No Artifacts found.")
ErrNotFound when there's no artifacts found in the CSV data
View Source
var TemplateAmazonEBS = `variable "images" {
default = {
{{range .Artifacts}}
{{index .IDSplit 0}} = "{{index .IDSplit 1}}"{{end}}
}
}`
A simple terraform template for aws amis in zones
Functions ¶
Types ¶
type Artifact ¶
type Artifact struct { BuilderTarget string BuilderID string ID string IDSplit []string Message string FilesCount string }
Artifact is our representation of a Packer.Artifact
func ExtractArtifacts ¶
ExtractArtifacts extracts Artifacts from array of LogLines
func (*Artifact) ApplyLogLine ¶
ApplyLogLine uses a LogLine to
type ErrList ¶
type ErrList struct {
List []string
}
ErrList when there's errors mentioned in the CSV data
type ErrMissing ¶
type ErrMissing struct {
// contains filtered or unexported fields
}
ErrMissing when artifact-count is higher than the Artifacts found
func (*ErrMissing) Error ¶
func (e *ErrMissing) Error() string
Click to show internal directories.
Click to hide internal directories.