tasks

package
v0.0.0-...-7d3b672 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const ENDPOINT = "https://people.apache.org/"
View Source
const RAW_COMMITTER_TABLE = "icla_committer"

Variables

View Source
var CollectCommitterMeta = plugin.SubTaskMeta{
	Name:             "CollectCommitter",
	EntryPoint:       CollectCommitter,
	EnabledByDefault: true,
	Description:      "Collect Committer data from Icla api",
}
View Source
var ExtractCommitterMeta = plugin.SubTaskMeta{
	Name:             "ExtractCommitter",
	EntryPoint:       ExtractCommitter,
	EnabledByDefault: true,
	Description:      "Extract raw data into tool layer table {{ .plugin_name }}_{{ .extractor_data_name }}",
}

Functions

func CollectCommitter

func CollectCommitter(taskCtx plugin.SubTaskContext) errors.Error

func ExtractCommitter

func ExtractCommitter(taskCtx plugin.SubTaskContext) errors.Error

func NewIclaApiClient

func NewIclaApiClient(taskCtx plugin.TaskContext) (*api.ApiAsyncClient, errors.Error)

Types

type IclaApiParams

type IclaApiParams struct {
}

type IclaOptions

type IclaOptions struct {
	// TODO add some custom options here if necessary
	// options means some custom params required by plugin running.
	// Such As How many rows do your want
	// You can use it in subtasks, and you need to pass it to main.go and pipelines.
	Tasks []string `json:"tasks,omitempty"`
}

type IclaTaskData

type IclaTaskData struct {
	Options   *IclaOptions
	ApiClient *helper.ApiAsyncClient
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL