Documentation ¶
Index ¶
- func CollectBranchInfo(basePath string, logger *logger.Logger) ([]structs.BranchInfo, error)
- func CollectBranchInfoForOneRepo(logger *logger.Logger, branchesInfo []structs.BranchInfo, path string) ([]structs.BranchInfo, error)
- func CreateExcelFile(Branches []structs.BranchInfo) (*excelize.File, error)
- func GetCPU(filePath string) int
- func ReadConfig(filePath string) (map[string][]string, error)
- func ReadNameReplacement(filePath string) (map[string]string, error)
- func ReadWorkspaceName(filePath string) (string, error)
- func RemoveAccentsAndSpecialChars(s string) string
- func ReportExcel(basePath string) error
- func SaveExcelFile(f *excelize.File, basePath string, logger *logger.Logger) error
- func WriteBranchInfoToExcel(f *excelize.File, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CollectBranchInfo ¶
func CollectBranchInfoForOneRepo ¶
func CollectBranchInfoForOneRepo(logger *logger.Logger, branchesInfo []structs.BranchInfo, path string) ([]structs.BranchInfo, error)
func CreateExcelFile ¶
func CreateExcelFile(Branches []structs.BranchInfo) (*excelize.File, error)
func ReadNameReplacement ¶
ReadNameReplacement reads the .config file and extracts name replacements from the DEVELOPERS_MAP line
func ReadWorkspaceName ¶
ReadWorkspaceName reads the .secrets file and extracts the BITBUCKET_WORKSPACE value
func ReportExcel ¶
func SaveExcelFile ¶
func WriteBranchInfoToExcel ¶
func WriteBranchInfoToExcel(f *excelize.File, allBranches, mainBranches, developBranches []structs.BranchInfo) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.