Documentation ¶
Index ¶
- type Distro
- func (d *Distro) Download(dir string) error
- func (d *Distro) DownloadAssets(dir string) error
- func (d *Distro) ExtractArchiveFile(dir string) error
- func (d *Distro) GetCachePath() string
- func (d *Distro) GetModeState(mode string) (string, error)
- func (d *Distro) GetName() string
- func (d *Distro) GetRelease() *github.RepositoryRelease
- func (d *Distro) GetReleaseAssets() []*github.ReleaseAsset
- func (d *Distro) GetReleaseName() string
- func (d *Distro) GetSaltstackPillars() (pillars map[string]string)
- func (d *Distro) ValidateAssets(dir string) error
- type Manifest
- type Mode
- type Saltstack
- type SupportedOS
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Distro ¶
type Distro struct { Owner string Repo string Version string Name string Alias string IsAlias bool Manifest *Manifest IncludePreReleases bool // contains filtered or unexported fields }
func (*Distro) DownloadAssets ¶
func (*Distro) ExtractArchiveFile ¶
func (*Distro) GetCachePath ¶
func (*Distro) GetRelease ¶
func (d *Distro) GetRelease() *github.RepositoryRelease
func (*Distro) GetReleaseAssets ¶
func (d *Distro) GetReleaseAssets() []*github.ReleaseAsset
func (*Distro) GetReleaseName ¶
func (*Distro) GetSaltstackPillars ¶ added in v0.3.0
func (*Distro) ValidateAssets ¶
type Manifest ¶
type Manifest struct { Version int `json:"version" yaml:"version" default:"2"` Name string `json:"project_name" yaml:"project_name"` Base string `json:"base_dir" yaml:"base_dir" default:"."` Modes []Mode `json:"modes" yaml:"modes"` Saltstack Saltstack `json:"saltstack,omitempty" yaml:"saltstack,omitempty"` SupportedOS []SupportedOS `json:"supported_os,omitempty" yaml:"supported_os,omitempty"` }
func ParseManifest ¶
type SupportedOS ¶
Click to show internal directories.
Click to hide internal directories.