Documentation ¶
Index ¶
- func CloneRepositories(selectedReleaseProfiles []string, allConfig ReleaseProfile, tmp string)
- func InstallBinaries(selectedInstallProfiles []string, allConfig Profile, ...)
- func RenderInstallScript(selectedScriptProfiles []string, allConfig Profile, scriptDir string)
- type Install
- type Profile
- type ReleaseProfile
- type ReleaseRepository
- type Script
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloneRepositories ¶
func CloneRepositories(selectedReleaseProfiles []string, allConfig ReleaseProfile, tmp string)
func InstallBinaries ¶
func RenderInstallScript ¶
Types ¶
type Profile ¶
type Profile struct { BinaryProfile []map[string]Install `mapstructure:"binary"` ScriptProfile []map[string]Script `mapstructure:"script"` }
func SelectInstallProfiles ¶
type ReleaseProfile ¶
type ReleaseProfile struct {
RepositoryProfile []map[string]ReleaseRepository `mapstructure:"repositories"`
}
func SelectReleaseProfiles ¶
func SelectReleaseProfiles(yamlFile string) (selectedReleaseProfiles []string, allReleaseProfiles ReleaseProfile)
type ReleaseRepository ¶
type ReleaseRepository struct { Url string `mapstructure:"url"` Branch string `mapstructure:"branch"` Version string `mapstructure:"version"` }
RELEASE
Click to show internal directories.
Click to hide internal directories.