Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultAnsibleGalaxyURL is the URL of the upstream Ansible Galaxy // server managed by Red Hat. DefaultAnsibleGalaxyURL = "https://galaxy.ansible.com" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnsibleGalaxy ¶
type AnsibleGalaxy struct {
// contains filtered or unexported fields
}
AnsibleGalaxy fetches Ansible Roles information for the Ansible Galaxy APIs.
func NewAnsibleGalaxy ¶
func NewAnsibleGalaxy(baseURL string) AnsibleGalaxy
NewAnsibleGalaxy creates a new AnsibleGalaxy provider. If baseURL is a nil string, DefaulAnsibleGalaxyURL will be used as baseURL for all the requests to the AnsibleGalaxy APIs.
func (AnsibleGalaxy) VersionsForRole ¶
VersionsForRole returns the list of versions available on AnsibleGalaxy for the Role r.
Click to show internal directories.
Click to hide internal directories.