Documentation ¶
Index ¶
- type GitHubRegistry
- type GitHubRelease
- type Manifest
- type Package
- func (pkg *Package) DocsPath() string
- func (pkg *Package) EnvFileTemplatePath() string
- func (pkg *Package) Fetch() error
- func (pkg *Package) HasUpdate() bool
- func (pkg *Package) LocalArtifactExists() bool
- func (pkg *Package) LocalArtifactPath() string
- func (pkg *Package) LocalPackageExists() bool
- func (pkg *Package) LocalPackagePath() string
- func (pkg *Package) MkArtifactDir() error
- func (pkg *Package) MkPackageHome() error
- func (pkg *Package) RemotePackageExists() bool
- func (pkg *Package) RemoveLocalArtifact() error
- func (pkg *Package) RemoveLocalPackage() error
- func (pkg *Package) RemoveStagedPackage() error
- func (pkg *Package) StagedPackageExists() bool
- func (pkg *Package) StagedPackagePath() string
- func (pkg *Package) TaskFilePath() string
- func (pkg *Package) Unpack() error
- type Registry
- type Stage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitHubRegistry ¶
func (*GitHubRegistry) FindPackage ¶
func (reg *GitHubRegistry) FindPackage(name string) *Package
func (*GitHubRegistry) Release ¶
func (reg *GitHubRegistry) Release(name string) (*GitHubRelease, error)
func (*GitHubRegistry) Stage ¶
func (reg *GitHubRegistry) Stage() *Stage
type GitHubRelease ¶
type Manifest ¶
type Manifest struct { Name string `yaml:"name"` Version *semver.Version `yaml:"version"` ReleaseVersion *semver.Version `yaml:"release_version"` }
func ManifestFromFile ¶
type Package ¶
type Package struct { Name string LocalVersion *semver.Version LocalReleaseVersion *semver.Version UpstreamVersion *semver.Version UpstreamReleaseVersion *semver.Version URL string Stage *Stage Config *config.Config // contains filtered or unexported fields }
func NewPackage ¶
func (*Package) EnvFileTemplatePath ¶
func (*Package) LocalArtifactExists ¶
func (*Package) LocalArtifactPath ¶
func (*Package) LocalPackageExists ¶
func (*Package) LocalPackagePath ¶
func (*Package) MkArtifactDir ¶
func (*Package) MkPackageHome ¶
func (*Package) RemotePackageExists ¶
func (*Package) RemoveLocalArtifact ¶
func (*Package) RemoveLocalPackage ¶
func (*Package) RemoveStagedPackage ¶
func (*Package) StagedPackageExists ¶
func (*Package) StagedPackagePath ¶
func (*Package) TaskFilePath ¶
type Registry ¶
func NewRegistry ¶
type Stage ¶
func (*Stage) RemoveStagedPackage ¶
func (*Stage) StagedPackageExists ¶
func (*Stage) StagedPackagePath ¶
Click to show internal directories.
Click to hide internal directories.