Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DistroType ¶
type DistroType string
type ReleaseType ¶
type ReleaseType struct { Version int Major int Minor int Modifier string // e.g. "rc1" Enterprise bool // true if Enterprise edition }
func ToRelease ¶
func ToRelease(rs string) (ReleaseType, error)
Given a string representing a release, return a ReleaseType
type Version ¶
type Version struct { Arch ArchType // hardware platform OS OSType // operating system Distro DistroType // Linux distribution Release ReleaseType // MongoDB Release }
func (*Version) ToLocation ¶
Get filename and URL prefix for a Version
Click to show internal directories.
Click to hide internal directories.