files

package
v1.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

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 NewClient

func NewClient(wd string) (*Client, error)

func (*Client) ConfigPath added in v0.3.0

func (c *Client) ConfigPath() string

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

func (c *Client) InventoryPath() string

InventoryPath returns the inventory path for the current playbook

func (*Client) Playbooks added in v0.3.0

func (c *Client) Playbooks() playbook.PlaybookRepository

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL