Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HCLMap ¶
func HCLMap(meta ServicesMeta) template.FuncMap
HCLMap is the map of template functions for rendering HCL to their respective implementations
Types ¶
type ByName ¶
type ByName []*dep.CatalogSnippet
ByName is a sortable slice of CatalogSnippet structs.
type ByNodeThenID ¶ added in v0.3.0
type ByNodeThenID []*dep.HealthService
ByNodeThenID is a sortable slice of Service
func (ByNodeThenID) Len ¶ added in v0.3.0
func (s ByNodeThenID) Len() int
Len, Swap, and Less are used to implement the sort.Sort interface.
func (ByNodeThenID) Less ¶ added in v0.3.0
func (s ByNodeThenID) Less(i, j int) bool
func (ByNodeThenID) Swap ¶ added in v0.3.0
func (s ByNodeThenID) Swap(i, j int)
type ServicesMeta ¶
ServicesMeta is a useful type to abstract from the nested map of string which represents the user defined meta for each service a task monitors
Click to show internal directories.
Click to hide internal directories.