github.com/reviewdog/reviewdog@v0.17.5-0.20240516205324-0cd103a83d58/service/bitbucket/consts.go (about)

     1  package bitbucket
     2  
     3  import "time"
     4  
     5  const (
     6  	httpTimeout = time.Second * 10
     7  
     8  	reportTypeBug = "BUG"
     9  	// reportTypeSecurity = "SECURITY"
    10  	// reportTypeCoverage = "COVERAGE"
    11  	// reportTypeTest     = "TEST"
    12  
    13  	reportResultPassed  = "PASSED"
    14  	reportResultFailed  = "FAILED"
    15  	reportResultPending = "PENDING"
    16  
    17  	annotationTypeCodeSmell = "CODE_SMELL"
    18  	// annotationTypeVulnerability = "VULNERABILITY"
    19  	// annotationTypeBug           = "BUG"
    20  
    21  	annotationSeverityHigh   = "HIGH"
    22  	annotationSeverityMedium = "MEDIUM"
    23  	annotationSeverityLow    = "LOW"
    24  	// annotationSeverityCritical = "CRITICAL"
    25  
    26  	// list possible, but not used for now annotation results
    27  	// annotationResultPassed  = "PASSED"
    28  	// annotationResultFailed  = "FAILED"
    29  	// annotationResultSkipped = "SKIPPED"
    30  	// annotationResultIgnored = "IGNORED"
    31  	// annotationResultPending = "PENDING"
    32  
    33  	// list of possible, but not used for now
    34  	// report data types
    35  	// reportDataTypeBool       = "BOOLEAN"
    36  	// reportDataTypeDate       = "DATE"
    37  	// reportDataTypeDuration   = "DURATION"
    38  	// reportDataTypeLink       = "LINK"
    39  	// reportDataTypeNumber     = "NUMBER"
    40  	// reportDataTypePercentage = "PERCENTAGE"
    41  	// reportDataTypeText       = "TEXT"
    42  )