Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConfigRepository ¶ added in v0.2.1
func NewConfigRepository(configPath string) playbook.ConfigRepository
NewConfigRepository returns a new ConfigRepository It takes as parameters the directory where configs are stored. Typically, the templates files for a given playbook are in a "templates" directory at the root of the playbook and configs are stored in a "configs" directory located at the root of the playbook
func NewInventoryRepository ¶ added in v0.2.1
func NewInventoryRepository(inventoryPath string) playbook.InventoryRepository
NewInventoryRepository returns a InventoryRepository The parameter is the directory where are stored the inventories
func NewPlaybookRepository ¶ added in v0.3.0
func NewPlaybookRepository(templatePath, defaultsPath string) playbook.PlaybookRepository
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ConfigPath ¶ added in v0.3.0
ConfigPath return the config path for the current playbook
func (*Client) Configs ¶ added in v0.3.0
func (c *Client) Configs() playbook.ConfigRepository
func (*Client) Inventories ¶ added in v0.3.0
func (c *Client) Inventories() playbook.InventoryRepository
func (*Client) InventoryPath ¶ added in v0.3.0
InventoryPath returns the inventory path for the current playbook
func (*Client) Playbooks ¶ added in v0.3.0
func (c *Client) Playbooks() playbook.PlaybookRepository
Click to show internal directories.
Click to hide internal directories.