Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Content ¶
type Content struct { Source string `yaml:"src,omitempty"` Destination string `yaml:"dst,omitempty"` Type string `yaml:"type,omitempty"` Packager string `yaml:"packager,omitempty"` FileInfo *ContentFileInfo `yaml:"file_info,omitempty"` }
Content describes the source and destination of one file to copy into a package.
func (*Content) WithFileInfoDefaults ¶
func (c *Content) WithFileInfoDefaults()
type ContentFileInfo ¶
type Contents ¶
type Contents []*Content
Contents list of Content to process.
func ExpandContentGlobs ¶
ExpandContentGlobs gathers all of the real files to be copied into the package.
func (*Contents) UnmarshalYAML ¶
Click to show internal directories.
Click to hide internal directories.