Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Templates []Template `json:"templates"`
Variables map[string]interface{} `json:"variables"`
ConfigURL string `split_words:"true"`
ConfluenceURL string `split_words:"true"`
ConfluenceAuthMethod string `split_words:"true"`
ConfluenceBasicAuth []string `split_words:"true"`
Confluence Confluence `json:"confluence"`
}
Config represents the butler config
func ParseConfig ¶
ParseConfig returns the yaml parsed config
func ParseConfigFile ¶ added in v0.2.0
type Confluence ¶ added in v0.0.34
type Confluence struct {
Templates []ConfluenceTemplate `json:"templates"`
}
type ConfluencePage ¶ added in v0.0.34
type ConfluencePage struct {
Name string `json:"name"`
Children []ConfluencePage `json:"children"`
}
type ConfluenceTemplate ¶ added in v0.0.34
type ConfluenceTemplate struct {
Name string `json:"name"`
Pages []ConfluencePage `json:"pages"`
}
Click to show internal directories.
Click to hide internal directories.