Documentation ¶
Index ¶
- type AnsibleLocalProvisioner
- func (a AnsibleLocalProvisioner) GetCommand() (map[string]string, string, []string)
- func (a AnsibleLocalProvisioner) GetDependencies() Dependencies
- func (a AnsibleLocalProvisioner) GetInstallDependenciesCommand() (map[string]string, string, []string)
- func (a AnsibleLocalProvisioner) String() string
- func (a AnsibleLocalProvisioner) WithExtraArgs(args []string) Provisioner
- func (a AnsibleLocalProvisioner) WithGalaxyDependencies(dependencies []string) Provisioner
- func (a AnsibleLocalProvisioner) WithLocalDependencies(dependencies []string) Provisioner
- func (a AnsibleLocalProvisioner) WithPlaybook(playbook string) Provisioner
- func (a AnsibleLocalProvisioner) WithSkipTags(tags []string) Provisioner
- func (a AnsibleLocalProvisioner) WithTags(tags []string) Provisioner
- type Config
- type Dependencies
- type Provisioner
- type RoleMetadata
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnsibleLocalProvisioner ¶
type AnsibleLocalProvisioner struct { Name string Command string Args []string ExtraArgs []string SkipTags []string Tags []string EnvVars map[string]string Playbook string Dependencies Dependencies }
func (AnsibleLocalProvisioner) GetCommand ¶
func (a AnsibleLocalProvisioner) GetCommand() (map[string]string, string, []string)
func (AnsibleLocalProvisioner) GetDependencies ¶ added in v0.2.0
func (a AnsibleLocalProvisioner) GetDependencies() Dependencies
func (AnsibleLocalProvisioner) GetInstallDependenciesCommand ¶ added in v0.2.0
func (a AnsibleLocalProvisioner) GetInstallDependenciesCommand() (map[string]string, string, []string)
func (AnsibleLocalProvisioner) String ¶
func (a AnsibleLocalProvisioner) String() string
func (AnsibleLocalProvisioner) WithExtraArgs ¶
func (a AnsibleLocalProvisioner) WithExtraArgs(args []string) Provisioner
func (AnsibleLocalProvisioner) WithGalaxyDependencies ¶ added in v0.2.0
func (a AnsibleLocalProvisioner) WithGalaxyDependencies(dependencies []string) Provisioner
func (AnsibleLocalProvisioner) WithLocalDependencies ¶ added in v0.2.0
func (a AnsibleLocalProvisioner) WithLocalDependencies(dependencies []string) Provisioner
func (AnsibleLocalProvisioner) WithPlaybook ¶
func (a AnsibleLocalProvisioner) WithPlaybook(playbook string) Provisioner
func (AnsibleLocalProvisioner) WithSkipTags ¶
func (a AnsibleLocalProvisioner) WithSkipTags(tags []string) Provisioner
func (AnsibleLocalProvisioner) WithTags ¶
func (a AnsibleLocalProvisioner) WithTags(tags []string) Provisioner
type Dependencies ¶ added in v0.2.0
type Provisioner ¶
type Provisioner interface { GetInstallDependenciesCommand() (map[string]string, string, []string) GetCommand() (map[string]string, string, []string) WithSkipTags([]string) Provisioner WithTags([]string) Provisioner WithPlaybook(string) Provisioner GetDependencies() Dependencies WithLocalDependencies([]string) Provisioner WithGalaxyDependencies([]string) Provisioner String() string }
func NewProvisioner ¶
func NewProvisioner(config Config) (Provisioner, error)
type RoleMetadata ¶ added in v0.2.0
type RoleMetadata struct { Collections []string `yaml:"collections"` Dependencies []struct { Role string `yaml:"role"` } `yaml:"dependencies"` }
func GetRoleMetadata ¶ added in v0.2.0
func GetRoleMetadata() (*RoleMetadata, error)
GetRoleMetadata parses the role meta/main.yml file and returns a RoleMetadata struct
func (*RoleMetadata) GalaxyDependencies ¶ added in v0.2.0
func (md *RoleMetadata) GalaxyDependencies() []string
func (*RoleMetadata) LocalDependencies ¶ added in v0.2.0
func (md *RoleMetadata) LocalDependencies() []string
Click to show internal directories.
Click to hide internal directories.