Documentation
¶
Overview ¶
Package totmanager encapsulates all the required functions for ensuring tot mapping rules are followed.
Index ¶
- func BranchesToMilestones(branches []suschpb.Branch) ([]int, error)
- func GetBeta() int
- func GetDev() int
- func GetStable() int
- func GetTot() int
- func IdentifyBranch(milestone int) (suschpb.Branch, error)
- func InitTotManager() error
- func IsTargetedBranch(milestone int, branches []suschpb.Branch) (bool, suschpb.Branch, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTot ¶
func GetTot() int
GetTot returns the calculated ToT version. If the value is 0 then that means the ToT info was never fetched and the nil int value is being returned.
NOTE: Canary is ToT.
func IdentifyBranch ¶
IdentifyBranch returns the branch which the given milestone maps to based on the current ToT.
func InitTotManager ¶
func InitTotManager() error
InitTotManager fetch the chromeos version info from the overlays repo.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.