Versions in this module Expand all Collapse all v1 v1.0.1 Aug 15, 2024 Changes in this version + const DEFAULT + const DEVELOP + const DefaultWorkspace + const DevWorkspace + const FEATURE + const FEATURE_WITHOUT_SLASH + const HOTFIX + const HOTFIX_WITHOUT_SLASH + const MASTER + const ProdWorkspace + const RELEASE + const RELEASE_WITHOUT_SLASH + const SUPPORT + const SUPPORT_WITHOUT_SLASH + const StagingWorkspace + const TestWorkspace + func ErrorNotSupportedReference(reference string) error + func GetReferencePrefix(reference string) (string, error) + func IsDevelop(branch string) bool + func IsFeature(branch string) bool + func IsHotfix(branch string) bool + func IsMaster(branch string) bool + func IsRelease(branch string) bool + func IsReleaseTag(tag string) bool + func IsSupport(branch string) bool + func IsValid(reference string) bool + func IsValidBranchWorkspace(rules []apistructs.ValidBranch, expectWorkspace apistructs.DiceWorkspace) (validWorkspace, validArtifactWorkspace bool) + type PrefixAndBranch struct + Branch string + Workspace string + func ListAllBranchPrefix() []PrefixAndBranch