tasks

package
v0.14.0-alpha4 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

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

Variables

View Source
var CollectCommitterMeta = core.SubTaskMeta{
	Name:             "CollectCommitter",
	EntryPoint:       CollectCommitter,
	EnabledByDefault: true,
	Description:      "Collect Committer data from Icla api",
}
View Source
var ExtractCommitterMeta = core.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 core.SubTaskContext) errors.Error

func ExtractCommitter

func ExtractCommitter(taskCtx core.SubTaskContext) errors.Error

func NewIclaApiClient

func NewIclaApiClient(taskCtx core.TaskContext) (*helper.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 sub tasks and you need pass it in 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