Documentation ¶
Index ¶
- Variables
- type Graph
- type Job
- type JobSorting
- type Package
- type PackageSorting
- type Release
- func (r Release) AllURL() string
- func (r Release) AllVersionsURL() string
- func (r Release) AvatarURL() string
- func (r Release) CPIDocsLink() template.HTML
- func (r Release) DownloadURL() string
- func (r Release) GithubURL() string
- func (r Release) GithubURLForPath(path, ref string) string
- func (r Release) GithubURLOnMaster() string
- func (r Release) GraphURL() string
- func (r Release) HasGithubURL() bool
- func (r Release) IsBOSH() bool
- func (r Release) IsCPI() bool
- func (r Release) MarshalJSON() ([]byte, error)
- func (r *Release) NotesInMarkdown() (template.HTML, error)
- func (r Release) TarballSHA1() (string, error)
- func (r Release) URL() string
- func (r Release) UserVisibleDownloadURL() string
- func (r Release) UserVisibleLatestDownloadURL() string
- type ReleaseRef
- type ReleaseRefs
- type ReleaseSorting
- type SameSourceReleases
- type Source
- func (s Source) AvatarURL() string
- func (s Source) FromGithub() bool
- func (s Source) Full() string
- func (s Source) GithubURL() string
- func (s Source) IsBOSH() bool
- func (s Source) IsCPI() bool
- func (s Source) Short() string
- func (s Source) ShortName() string
- func (s Source) String() string
- func (s Source) URL() string
- type SourceSorting
- type UniqueSourceReleases
- type UniqueSources
Constants ¶
This section is empty.
Variables ¶
View Source
var BOSH = NewReleaseRef("github.com/cloudfoundry/bosh", "BOSH", "")
View Source
var KnownCPIs = ReleaseRefs{ NewReleaseRef("github.com/cloudfoundry-incubator/bosh-aws-cpi-release", "AWS", "init-aws-v1"), NewReleaseRef("github.com/cloudfoundry-incubator/bosh-openstack-cpi-release", "OpenStack", "init-openstack-v1"), NewReleaseRef("github.com/cloudfoundry-incubator/bosh-vsphere-cpi-release", "vSphere", "init-vsphere-v1"), NewReleaseRef("github.com/cloudfoundry-incubator/bosh-vcloud-cpi-release", "vCloud", "init-vcloud-v1"), NewReleaseRef("github.com/cloudfoundry-incubator/bosh-azure-cpi-release", "Azure", "init-azure-v1"), NewReleaseRef("github.com/cloudfoundry-incubator/bosh-softlayer-cpi-release", "SoftLayer", "init-softlayer-v1"), }
Functions ¶
This section is empty.
Types ¶
type JobSorting ¶
type JobSorting []Job
func (JobSorting) Len ¶
func (s JobSorting) Len() int
func (JobSorting) Less ¶
func (s JobSorting) Less(i, j int) bool
func (JobSorting) Swap ¶
func (s JobSorting) Swap(i, j int)
type Package ¶
type Package struct { Release Release Name string Fingerprint string SHA1 string // Package dependencies used at compilation of this package Dependencies []Package }
func (Package) GithubURLOnMaster ¶
func (Package) HasGithubURL ¶
type PackageSorting ¶
type PackageSorting []Package
func (PackageSorting) Len ¶
func (s PackageSorting) Len() int
func (PackageSorting) Less ¶
func (s PackageSorting) Less(i, j int) bool
func (PackageSorting) Swap ¶
func (s PackageSorting) Swap(i, j int)
type Release ¶
type Release struct { Source Source Name string Version semiver.Version IsLatest bool CommitHash string Jobs []Job Packages []Package Graph Graph // contains filtered or unexported fields }
func NewIncompleteRelease ¶
func NewIncompleteRelease(relVerRec bhrelsrepo.ReleaseVersionRec, name string) Release
func NewRelease ¶
func NewRelease(relVerRec bhrelsrepo.ReleaseVersionRec, r bprel.Release) Release
func (Release) AllVersionsURL ¶
func (Release) CPIDocsLink ¶
func (Release) DownloadURL ¶
func (Release) GithubURLForPath ¶
func (Release) GithubURLOnMaster ¶
func (Release) HasGithubURL ¶
func (Release) MarshalJSON ¶
func (Release) TarballSHA1 ¶
func (Release) UserVisibleDownloadURL ¶
func (Release) UserVisibleLatestDownloadURL ¶
type ReleaseRef ¶
func NewReleaseRef ¶
func NewReleaseRef(fullSource, prettyName, docPage string) ReleaseRef
func (ReleaseRef) DocPageLink ¶
func (c ReleaseRef) DocPageLink() string
func (ReleaseRef) DocPagePath ¶
func (c ReleaseRef) DocPagePath() string
type ReleaseRefs ¶
type ReleaseRefs []ReleaseRef
func (ReleaseRefs) FindByDocPage ¶
func (c ReleaseRefs) FindByDocPage(docPage string) (ReleaseRef, bool)
func (ReleaseRefs) FindByShortName ¶
func (c ReleaseRefs) FindByShortName(name string) (ReleaseRef, bool)
type ReleaseSorting ¶
type ReleaseSorting []Release
func (ReleaseSorting) Len ¶
func (s ReleaseSorting) Len() int
func (ReleaseSorting) Less ¶
func (s ReleaseSorting) Less(i, j int) bool
func (ReleaseSorting) Swap ¶
func (s ReleaseSorting) Swap(i, j int)
type SameSourceReleases ¶
func NewSameSourceReleases ¶
func NewSameSourceReleases(source bhrelsrepo.Source, relVerRecs []bhrelsrepo.ReleaseVersionRec, relName string) SameSourceReleases
func (SameSourceReleases) AllURL ¶
func (r SameSourceReleases) AllURL() string
func (SameSourceReleases) AvatarURL ¶
func (r SameSourceReleases) AvatarURL() string
func (SameSourceReleases) FirstXReleases ¶
func (r SameSourceReleases) FirstXReleases(x int) []Release
func (SameSourceReleases) ForAPI ¶
func (s SameSourceReleases) ForAPI() []Release
func (SameSourceReleases) HasMoreThanXReleases ¶
func (r SameSourceReleases) HasMoreThanXReleases(x int) bool
func (SameSourceReleases) URL ¶
func (r SameSourceReleases) URL() string
type Source ¶
type Source struct {
// contains filtered or unexported fields
}
func NewSource ¶
func NewSource(src bhrelsrepo.Source) Source
func (Source) FromGithub ¶
type SourceSorting ¶
type SourceSorting []Source
func (SourceSorting) Len ¶
func (s SourceSorting) Len() int
func (SourceSorting) Less ¶
func (s SourceSorting) Less(i, j int) bool
func (SourceSorting) Swap ¶
func (s SourceSorting) Swap(i, j int)
type UniqueSourceReleases ¶
type UniqueSourceReleases []*SameSourceReleases
func NewUniqueSourceReleases ¶
func NewUniqueSourceReleases(relVerRecs []bhrelsrepo.ReleaseVersionRec) UniqueSourceReleases
func (UniqueSourceReleases) AllURL ¶
func (r UniqueSourceReleases) AllURL() string
type UniqueSources ¶
type UniqueSources []Source
func NewUniqueSources ¶
func NewUniqueSources(srcs []bhrelsrepo.Source) UniqueSources
Click to show internal directories.
Click to hide internal directories.