Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Job ¶
type Job struct { Release bhrelui.Release Name string Description string Templates []Template Packages []Package PropertyItems []PropertyItem }
func (Job) BinTemplates ¶
func (Job) ConfigTemplates ¶
func (Job) GithubURLOnMaster ¶
func (Job) HasGithubURL ¶
func (Job) OtherTemplates ¶
type PackageSorting ¶
type PackageSorting []Package
func (PackageSorting) Len ¶
func (s PackageSorting) Len() int
func (PackageSorting) Less ¶
func (s PackageSorting) Less(i, j int) bool
func (PackageSorting) Swap ¶
func (s PackageSorting) Swap(i, j int)
type Property ¶
type Property struct { Name string Description string Default interface{} Examples []PropertyExample }
func NewProperties ¶
func NewProperty ¶
func (Property) DefaultAsYAML ¶
func (Property) DescriptionInMarkdown ¶
func (Property) HasDefault ¶
type PropertyExample ¶
type PropertyExample struct { Description string Value interface{} }
func (PropertyExample) DescriptionInMarkdown ¶
func (e PropertyExample) DescriptionInMarkdown() (template.HTML, error)
func (PropertyExample) ValueAsYAML ¶
func (e PropertyExample) ValueAsYAML() (string, error)
type PropertyItem ¶
type PropertyItem struct { Indent int Key string Anchor string // HasDefaults shows if either this item or sub-items have defaults MissingValues bool Property *Property }
func NewPropertyItems ¶
func NewPropertyItems(props []Property) []PropertyItem
func (PropertyItem) DefaultAsYAML ¶
func (i PropertyItem) DefaultAsYAML() (string, error)
func (PropertyItem) HasLongKey ¶
func (i PropertyItem) HasLongKey() bool
func (PropertyItem) PoundAnchor ¶
func (i PropertyItem) PoundAnchor() string
type PropertySorting ¶
type PropertySorting []Property
func (PropertySorting) Len ¶
func (s PropertySorting) Len() int
func (PropertySorting) Less ¶
func (s PropertySorting) Less(i, j int) bool
func (PropertySorting) Swap ¶
func (s PropertySorting) Swap(i, j int)
type Template ¶
func NewTemplates ¶
type TemplateSorting ¶
type TemplateSorting []Template
func (TemplateSorting) Len ¶
func (s TemplateSorting) Len() int
func (TemplateSorting) Less ¶
func (s TemplateSorting) Less(i, j int) bool
func (TemplateSorting) Swap ¶
func (s TemplateSorting) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.