 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- Variables
- func CalculateChangeLeadTime(taskCtx core.SubTaskContext) errors.Error
- func CalculateChangeLeadTimeOld(taskCtx core.SubTaskContext) errors.Error
- func ConnectIncidentToDeployment(taskCtx core.SubTaskContext) errors.Error
- func ConnectIncidentToDeploymentOld(taskCtx core.SubTaskContext) errors.Error
- func EnrichTasksEnv(taskCtx core.SubTaskContext) (err errors.Error)
- type DoraApiParams
- type DoraOptions
- type DoraTaskData
- type TransformationRules
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
    var CalculateChangeLeadTimeMeta = core.SubTaskMeta{ Name: "calculateChangeLeadTime", EntryPoint: CalculateChangeLeadTime, EnabledByDefault: true, Description: "Calculate change lead time", DomainTypes: []string{core.DOMAIN_TYPE_CICD, core.DOMAIN_TYPE_CODE}, }
      View Source
      
  var CalculateChangeLeadTimeOldMeta = core.SubTaskMeta{ Name: "calculateChangeLeadTimeOld", EntryPoint: CalculateChangeLeadTimeOld, EnabledByDefault: false, Description: "Calculate change lead time", DomainTypes: []string{core.DOMAIN_TYPE_CICD, core.DOMAIN_TYPE_CODE}, }
CalculateChangeLeadTimeOldMeta will be removed in v0.17 DEPRECATED
      View Source
      
  
    var ConnectIncidentToDeploymentMeta = core.SubTaskMeta{ Name: "ConnectIncidentToDeployment", EntryPoint: ConnectIncidentToDeployment, EnabledByDefault: true, Description: "Connect incident issue to deployment", DomainTypes: []string{core.DOMAIN_TYPE_CICD}, }
      View Source
      
  var ConnectIncidentToDeploymentOldMeta = core.SubTaskMeta{ Name: "connectIncidentToDeploymentOld", EntryPoint: ConnectIncidentToDeploymentOld, EnabledByDefault: false, Description: "Connect incident issue to deployment", DomainTypes: []string{core.DOMAIN_TYPE_CICD}, }
ConnectIncidentToDeploymentOldMeta will be removed in v0.17 DEPRECATED
      View Source
      
  var EnrichTaskEnvMeta = core.SubTaskMeta{ Name: "EnrichTaskEnv", EntryPoint: EnrichTasksEnv, EnabledByDefault: false, Description: "calculate deployment frequency", DomainTypes: []string{core.DOMAIN_TYPE_CICD}, }
EnrichTaskEnvMeta will be removed in v0.17 DEPRECATED
Functions ¶
func CalculateChangeLeadTime ¶
func CalculateChangeLeadTime(taskCtx core.SubTaskContext) errors.Error
func CalculateChangeLeadTimeOld ¶ added in v0.15.0
func CalculateChangeLeadTimeOld(taskCtx core.SubTaskContext) errors.Error
CalculateChangeLeadTimeOldMeta will be removed in v0.17 DEPRECATED
func ConnectIncidentToDeployment ¶ added in v0.15.0
func ConnectIncidentToDeployment(taskCtx core.SubTaskContext) errors.Error
func ConnectIncidentToDeploymentOld ¶ added in v0.15.0
func ConnectIncidentToDeploymentOld(taskCtx core.SubTaskContext) errors.Error
ConnectIncidentToDeploymentOld will be removed in v0.17 DEPRECATED
func EnrichTasksEnv ¶
func EnrichTasksEnv(taskCtx core.SubTaskContext) (err errors.Error)
Types ¶
type DoraApiParams ¶
type DoraApiParams struct {
	ProjectName string
}
    type DoraOptions ¶
type DoraOptions struct {
	Tasks               []string `json:"tasks,omitempty"`
	Since               string
	RepoId              string `json:"repoId"`
	CicdScopeId         string `json:"cicdScopeId"`
	BoardId             string `json:"boardId"`
	Prefix              string `json:"prefix"`
	ProjectName         string `json:"projectName"`
	TransformationRules `mapstructure:"transformationRules" json:"transformationRules"`
}
    func DecodeAndValidateTaskOptions ¶
func DecodeAndValidateTaskOptions(options map[string]interface{}) (*DoraOptions, errors.Error)
type DoraTaskData ¶
type DoraTaskData struct {
	Options *DoraOptions
}
    type TransformationRules ¶
 Click to show internal directories. 
   Click to hide internal directories.