Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Configs embed.FS
Configs is a filesystem with all the config files.
Functions ¶
This section is empty.
Types ¶
type CherrypickWatcherCfg ¶
type CherrypickWatcherCfg struct { // Contains a map of name of the supported branch dep to a struct describing // the dep. SupportedBranchDeps map[string]*SupportedBranchDep `json:"supported_branch_deps"` }
CherrypickWatcherCfg is a struct that contains supported branch deps configurations.
type SupportedBranchDep ¶
type SupportedBranchDep struct { // Name of the source repo. Eg: skia SourceRepo string `json:"source_repo"` // Name of the source branch. Eg: chrome/m100 SourceBranch string `json:"source_branch"` // Name of the target repo. Eg: skia TargetRepo string `json:"target_repo"` // Name of the target branch. Eg: android/next-releease TargetBranch string `json:"target_branch"` // Text that will be included in the reminder comment posted by this // framework. CustomMessage string `json:"custom_message"` }
func ParseCfg ¶
func ParseCfg(cfgContents []byte) ([]*SupportedBranchDep, error)
ParseCfg is a utility function that parses the given config file and returns a slice of the supported branch deps.
type VisibilityType ¶
type VisibilityType string
const InternalVisibility VisibilityType = "internal"
const PublicVisibility VisibilityType = "public"
const StagingVisibility VisibilityType = "staging"
Click to show internal directories.
Click to hide internal directories.