Documentation ¶
Index ¶
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 ConnectIssueDeployMeta = core.SubTaskMeta{ Name: "ConnectIssueDeploy", EntryPoint: ConnectIssueDeploy, EnabledByDefault: true, Description: "TODO", DomainTypes: []string{core.DOMAIN_TYPE_CICD}, }
View Source
var EnrichTaskEnvMeta = core.SubTaskMeta{ Name: "EnrichTaskEnv", EntryPoint: EnrichTasksEnv, EnabledByDefault: true, Description: "calculate deployment frequency", DomainTypes: []string{core.DOMAIN_TYPE_CICD}, }
Functions ¶
func CalculateChangeLeadTime ¶
func CalculateChangeLeadTime(taskCtx core.SubTaskContext) errors.Error
func ConnectIssueDeploy ¶
func ConnectIssueDeploy(taskCtx core.SubTaskContext) errors.Error
func EnrichTasksEnv ¶
func EnrichTasksEnv(taskCtx core.SubTaskContext) (err errors.Error)
Types ¶
type DoraApiParams ¶
type DoraApiParams struct { }
type DoraOptions ¶
type DoraOptions struct { Tasks []string `json:"tasks,omitempty"` Since string RepoId string `json:"repoId"` 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 ¶
type TransformationRules struct { ProductionPattern string `mapstructure:"productionPattern" json:"productionPattern"` StagingPattern string `mapstructure:"stagingPattern" json:"stagingPattern"` TestingPattern string `mapstructure:"testingPattern" json:"testingPattern"` DataSoure []string `mapstructure:"dataSoure" json:"dataSoure"` }
Click to show internal directories.
Click to hide internal directories.