Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadFromStdin ¶
Types ¶
type Manifest ¶
type Manifest struct { Version int Dependencies []ManifestEntry }
Manifest is a golang representation of the manifest json
func ParseManifest ¶
type ManifestByRepo ¶
type ManifestByRepo struct { Repository string Dependencies []ManifestEntry }
ManifestByRepo is like Manifest, except that only the Dependencies for a specific repo are included
func ParseManifestByRepo ¶
func ParseManifestByRepo(input []byte) ([]ManifestByRepo, error)
type ManifestEntry ¶
type ManifestEntry struct { Importpath string Repository string Vcs string Revision string HasTags bool RevisionTag string SuggestedTag string SuggestedRev string Branch string }
ManifestEntry includes the fields from the original manifest plus some additional fields:
HasTags - does the repository have tags RevisionTag - is there a tag corresponding to this revision SuggestedTag - if there is no tag, the most recent tag is listed SuggestedRev - if a tag is suggested, the revision is also suggested
type SortedManifestByRepo ¶
type SortedManifestByRepo []ManifestByRepo
func (SortedManifestByRepo) Len ¶
func (slice SortedManifestByRepo) Len() int
func (SortedManifestByRepo) Less ¶
func (slice SortedManifestByRepo) Less(i, j int) bool
func (SortedManifestByRepo) Swap ¶
func (slice SortedManifestByRepo) Swap(i, j int)
type TagData ¶
type TagData struct { Name string Commit TagDataCommit }
TagData is the golang representation of the json returned from Github
type TagDataCommit ¶
TagDataCommit is the golang representation of the json returned from Github
type UntaggedException ¶
UntaggedException is the golang representation of a documented exception to revision not being tagged
Click to show internal directories.
Click to hide internal directories.