Documentation
¶
Overview ¶
Package catalog is the compiled-catalog model produced by the evaluator: a graph of resources with containment and relationship edges, serializable to the Puppet catalog JSON shape.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Catalog ¶
type Catalog struct {
Name string
Environment string
Version int64
// contains filtered or unexported fields
}
Catalog is a compiled catalog for one node.
func (*Catalog) Add ¶
Add inserts r, returning an error if a resource with the same reference is already present (Puppet forbids duplicate resource declarations).
type DuplicateError ¶
type DuplicateError struct{ Ref string }
DuplicateError reports a duplicate resource declaration.
Click to show internal directories.
Click to hide internal directories.