Documentation ¶
Index ¶
- Constants
- Variables
- func CollectDeploy(taskCtx plugin.SubTaskContext) errors.Error
- func CollectDeployBuild(taskCtx plugin.SubTaskContext) errors.Error
- func CollectJob(taskCtx plugin.SubTaskContext) errors.Error
- func CollectJobBuild(taskCtx plugin.SubTaskContext) errors.Error
- func CollectPlan(taskCtx plugin.SubTaskContext) errors.Error
- func CollectPlanBuild(taskCtx plugin.SubTaskContext) errors.Error
- func ConvertDeployBuilds(taskCtx plugin.SubTaskContext) errors.Error
- func ConvertJobBuilds(taskCtx plugin.SubTaskContext) errors.Error
- func ConvertPlanBuilds(taskCtx plugin.SubTaskContext) errors.Error
- func ConvertPlanVcs(taskCtx plugin.SubTaskContext) errors.Error
- func ConvertProjects(taskCtx plugin.SubTaskContext) errors.Error
- func CreateBambooAsyncApiClient(taskCtx plugin.TaskContext, apiClient *api.ApiClient, ...) (*api.ApiAsyncClient, errors.Error)
- func DecodeAndValidateTaskOptions(options map[string]interface{}) (*models.BambooOptions, errors.Error)
- func ExtractDeploy(taskCtx plugin.SubTaskContext) errors.Error
- func ExtractDeployBuild(taskCtx plugin.SubTaskContext) errors.Error
- func ExtractJob(taskCtx plugin.SubTaskContext) errors.Error
- func ExtractJobBuild(taskCtx plugin.SubTaskContext) errors.Error
- func ExtractPlan(taskCtx plugin.SubTaskContext) errors.Error
- func ExtractPlanBuild(taskCtx plugin.SubTaskContext) errors.Error
- func GetResultsResult(res *http.Response) ([]json.RawMessage, errors.Error)
- func GetTotalPagesFromResult(res *http.Response, args *api.ApiCollectorArgs) (int, errors.Error)
- func GetTotalPagesFromSizeInfo(sizeInfo *models.ApiBambooSizeData, args *api.ApiCollectorArgs) (int, errors.Error)
- func NewBambooApiClient(taskCtx plugin.TaskContext, connection *models.BambooConnection) (*api.ApiAsyncClient, errors.Error)
- func QueryForResult(reqData *api.RequestData) (url.Values, errors.Error)
- type BambooTaskData
- type InputForEnv
- type SimpleJob
- type SimplePlan
Constants ¶
View Source
const RAW_DEPLOY_BUILD_TABLE = "bamboo_api_deploy_build"
View Source
const RAW_DEPLOY_TABLE = "bamboo_api_deploy"
View Source
const RAW_JOB_BUILD_TABLE = "bamboo_api_job_build"
View Source
const RAW_JOB_TABLE = "bamboo_api_job"
View Source
const RAW_PLAN_BUILD_TABLE = "bamboo_api_plan_build"
View Source
const RAW_PLAN_TABLE = "bamboo_api_plan"
View Source
const RAW_PROJECT_TABLE = "bamboo_project"
Variables ¶
View Source
var CollectDeployBuildMeta = plugin.SubTaskMeta{ Name: "CollectDeployBuild", EntryPoint: CollectDeployBuild, EnabledByDefault: true, Description: "Collect DeployBuild data from Bamboo api", DomainTypes: []string{plugin.DOMAIN_TYPE_CICD}, }
View Source
var CollectDeployMeta = plugin.SubTaskMeta{ Name: "CollectDeploy", EntryPoint: CollectDeploy, EnabledByDefault: true, Description: "Collect Deploy data from Bamboo api", DomainTypes: []string{plugin.DOMAIN_TYPE_CICD}, }
View Source
var CollectJobBuildMeta = plugin.SubTaskMeta{ Name: "CollectJobBuild", EntryPoint: CollectJobBuild, EnabledByDefault: true, Description: "Collect JobBuild data from Bamboo api", DomainTypes: []string{plugin.DOMAIN_TYPE_CICD}, }
View Source
var CollectJobMeta = plugin.SubTaskMeta{ Name: "CollectJob", EntryPoint: CollectJob, EnabledByDefault: true, Description: "Collect Job data from Bamboo api", DomainTypes: []string{plugin.DOMAIN_TYPE_CICD}, }
View Source
var CollectPlanBuildMeta = plugin.SubTaskMeta{ Name: "CollectPlanBuild", EntryPoint: CollectPlanBuild, EnabledByDefault: true, Description: "Collect PlanBuild data from Bamboo api", DomainTypes: []string{plugin.DOMAIN_TYPE_CICD}, }
View Source
var CollectPlanMeta = plugin.SubTaskMeta{ Name: "CollectPlan", EntryPoint: CollectPlan, EnabledByDefault: true, Description: "Collect Plan data from Bamboo api", DomainTypes: []string{plugin.DOMAIN_TYPE_CICD}, }
View Source
var ConvertDeployBuildsMeta = plugin.SubTaskMeta{ Name: "convertDeployBuilds", EntryPoint: ConvertDeployBuilds, EnabledByDefault: true, Description: "Convert tool layer table bamboo_deploy_builds into domain layer table deployBuilds", DomainTypes: []string{plugin.DOMAIN_TYPE_CICD}, }
View Source
var ConvertJobBuildsMeta = plugin.SubTaskMeta{ Name: "convertJobBuilds", EntryPoint: ConvertJobBuilds, EnabledByDefault: true, Description: "Convert tool layer table bamboo_jobBuilds into domain layer table jobBuilds", DomainTypes: []string{plugin.DOMAIN_TYPE_CICD}, }
View Source
var ConvertPlanBuildsMeta = plugin.SubTaskMeta{ Name: "convertPlanBuilds", EntryPoint: ConvertPlanBuilds, EnabledByDefault: true, Description: "Convert tool layer table bamboo_planBuilds into domain layer table planBuilds", DomainTypes: []string{plugin.DOMAIN_TYPE_CICD}, }
View Source
var ConvertPlanVcsMeta = plugin.SubTaskMeta{ Name: "convertPlanVcs", EntryPoint: ConvertPlanVcs, EnabledByDefault: true, Description: "Convert tool layer table bamboo_planBuilds into domain layer table planBuilds", DomainTypes: []string{plugin.DOMAIN_TYPE_CICD}, }
View Source
var ConvertProjectsMeta = plugin.SubTaskMeta{ Name: "convertProjects", EntryPoint: ConvertProjects, EnabledByDefault: true, Description: "Convert tool layer table bamboo_projects into domain layer table projects", DomainTypes: []string{plugin.DOMAIN_TYPE_CICD}, }
View Source
var ExtractDeployBuildMeta = plugin.SubTaskMeta{ Name: "ExtractDeployBuild", EntryPoint: ExtractDeployBuild, EnabledByDefault: true, Description: "Extract raw data into tool layer table bamboo_plan_builds", DomainTypes: []string{plugin.DOMAIN_TYPE_CICD}, }
View Source
var ExtractDeployMeta = plugin.SubTaskMeta{ Name: "ExtractDeploy", EntryPoint: ExtractDeploy, EnabledByDefault: true, Description: "Extract raw data into tool layer table _tool_bamboo_deploy_environment", DomainTypes: []string{plugin.DOMAIN_TYPE_CICD}, }
View Source
var ExtractJobBuildMeta = plugin.SubTaskMeta{ Name: "ExtractJobBuild", EntryPoint: ExtractJobBuild, EnabledByDefault: true, Description: "Extract raw data into tool layer table bamboo_plan_builds", DomainTypes: []string{plugin.DOMAIN_TYPE_CICD}, }
View Source
var ExtractJobMeta = plugin.SubTaskMeta{ Name: "ExtractJob", EntryPoint: ExtractJob, EnabledByDefault: true, Description: "Extract raw data into tool layer table bamboo_job", DomainTypes: []string{plugin.DOMAIN_TYPE_CICD}, }
View Source
var ExtractPlanBuildMeta = plugin.SubTaskMeta{ Name: "ExtractPlanBuild", EntryPoint: ExtractPlanBuild, EnabledByDefault: true, Description: "Extract raw data into tool layer table bamboo_plan_builds", DomainTypes: []string{plugin.DOMAIN_TYPE_CICD}, }
View Source
var ExtractPlanMeta = plugin.SubTaskMeta{ Name: "ExtractPlan", EntryPoint: ExtractPlan, EnabledByDefault: true, Description: "Extract raw data into tool layer table bamboo_plan", DomainTypes: []string{plugin.DOMAIN_TYPE_CICD}, }
Functions ¶
func CollectDeploy ¶
func CollectDeploy(taskCtx plugin.SubTaskContext) errors.Error
func CollectDeployBuild ¶
func CollectDeployBuild(taskCtx plugin.SubTaskContext) errors.Error
func CollectJob ¶
func CollectJob(taskCtx plugin.SubTaskContext) errors.Error
func CollectJobBuild ¶
func CollectJobBuild(taskCtx plugin.SubTaskContext) errors.Error
func CollectPlan ¶
func CollectPlan(taskCtx plugin.SubTaskContext) errors.Error
func CollectPlanBuild ¶
func CollectPlanBuild(taskCtx plugin.SubTaskContext) errors.Error
func ConvertDeployBuilds ¶
func ConvertDeployBuilds(taskCtx plugin.SubTaskContext) errors.Error
func ConvertJobBuilds ¶
func ConvertJobBuilds(taskCtx plugin.SubTaskContext) errors.Error
func ConvertPlanBuilds ¶
func ConvertPlanBuilds(taskCtx plugin.SubTaskContext) errors.Error
func ConvertPlanVcs ¶
func ConvertPlanVcs(taskCtx plugin.SubTaskContext) errors.Error
func ConvertProjects ¶
func ConvertProjects(taskCtx plugin.SubTaskContext) errors.Error
func CreateBambooAsyncApiClient ¶
func CreateBambooAsyncApiClient( taskCtx plugin.TaskContext, apiClient *api.ApiClient, connection *models.BambooConnection, ) (*api.ApiAsyncClient, errors.Error)
func DecodeAndValidateTaskOptions ¶
func DecodeAndValidateTaskOptions(options map[string]interface{}) (*models.BambooOptions, errors.Error)
func ExtractDeploy ¶
func ExtractDeploy(taskCtx plugin.SubTaskContext) errors.Error
func ExtractDeployBuild ¶
func ExtractDeployBuild(taskCtx plugin.SubTaskContext) errors.Error
func ExtractJob ¶
func ExtractJob(taskCtx plugin.SubTaskContext) errors.Error
func ExtractJobBuild ¶
func ExtractJobBuild(taskCtx plugin.SubTaskContext) errors.Error
func ExtractPlan ¶
func ExtractPlan(taskCtx plugin.SubTaskContext) errors.Error
func ExtractPlanBuild ¶
func ExtractPlanBuild(taskCtx plugin.SubTaskContext) errors.Error
func GetResultsResult ¶
func GetTotalPagesFromResult ¶
func GetTotalPagesFromSizeInfo ¶
func GetTotalPagesFromSizeInfo(sizeInfo *models.ApiBambooSizeData, args *api.ApiCollectorArgs) (int, errors.Error)
func NewBambooApiClient ¶
func NewBambooApiClient(taskCtx plugin.TaskContext, connection *models.BambooConnection) (*api.ApiAsyncClient, errors.Error)
func QueryForResult ¶
Types ¶
type BambooTaskData ¶
type BambooTaskData struct { Options *models.BambooOptions ApiClient *helper.ApiAsyncClient RegexEnricher *helper.RegexEnricher }
func CreateRawDataSubTaskArgs ¶
func CreateRawDataSubTaskArgs(taskCtx plugin.SubTaskContext, rawTable string) (*api.RawDataSubTaskArgs, *BambooTaskData)
type InputForEnv ¶
type SimplePlan ¶
type SimplePlan struct {
PlanKey string
}
Source Files ¶
- api_client.go
- deploy_build_collector.go
- deploy_build_convertor.go
- deploy_build_extractor.go
- deploy_collector.go
- deploy_extractor.go
- job_build_collector.go
- job_build_convertor.go
- job_build_extractor.go
- job_collector.go
- job_extractor.go
- plan_build_collector.go
- plan_build_convertor.go
- plan_build_extractor.go
- plan_collector.go
- plan_commit_convertor.go
- plan_extractor.go
- project_convertor.go
- shared.go
- task_data.go
Click to show internal directories.
Click to hide internal directories.