Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
Factory is responsible for instantiating slices of Releases based upon queries given from the API.
func NewFactory ¶
NewFactory returns a new instance of Factory with the given modulepath.
func (*Factory) AllForModule ¶
AllForModule returns an instance of Release for each available version of a given module. Each instance will have had .FromDisk() called on it already prior to returning. An error will be returned if an error is encountered during the process of loading each release from disk.
type Release ¶
type Release struct { Metadata metadata.Metadata `json:"metadata"` FileUri string `json:"file_uri"` FileMd5 string `json:"file_md5"` // contains filtered or unexported fields }
Release represents a specific Puppet module release on disk.
Click to show internal directories.
Click to hide internal directories.