chromium_analysis

package
v0.0.0-...-8ed7812 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: BSD-3-Clause Imports: 21 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddHandlers

func AddHandlers(externalRouter chi.Router)

func ReloadTemplates

func ReloadTemplates(resourcesDir string)

Types

type ChromiumAnalysisAddTaskVars

type ChromiumAnalysisAddTaskVars struct {
	task_common.AddTaskCommonVars

	Benchmark            string   `json:"benchmark"`
	PageSets             string   `json:"page_sets"`
	CustomWebpages       string   `json:"custom_webpages"`
	GnArgs               string   `json:"gn_args"`
	BenchmarkArgs        string   `json:"benchmark_args"`
	BrowserArgs          string   `json:"browser_args"`
	Description          string   `json:"desc"`
	ChromiumPatch        string   `json:"chromium_patch"`
	SkiaPatch            string   `json:"skia_patch"`
	CatapultPatch        string   `json:"catapult_patch"`
	BenchmarkPatch       string   `json:"benchmark_patch"`
	V8Patch              string   `json:"v8_patch"`
	RunInParallel        bool     `json:"run_in_parallel"`
	Platform             string   `json:"platform"`
	RunOnGCE             bool     `json:"run_on_gce"`
	ValueColumnName      string   `json:"value_column_name"`
	MatchStdoutTxt       string   `json:"match_stdout_txt"`
	ChromiumHash         string   `json:"chromium_hash"`
	ApkGsPath            string   `json:"apk_gs_path"`
	ChromeBuildGsPath    string   `json:"chrome_build_gs_path"`
	TelemetryIsolateHash string   `json:"telemetry_isolate_hash"`
	CCList               []string `json:"cc_list"`
	TaskPriority         string   `json:"task_priority"`
	GroupName            string   `json:"group_name"`
}

func (*ChromiumAnalysisAddTaskVars) GetDatastoreKind

func (task *ChromiumAnalysisAddTaskVars) GetDatastoreKind() ds.Kind

func (*ChromiumAnalysisAddTaskVars) GetPopulatedDatastoreTask

func (task *ChromiumAnalysisAddTaskVars) GetPopulatedDatastoreTask(ctx context.Context) (task_common.Task, error)

type ChromiumAnalysisDatastoreTask

type ChromiumAnalysisDatastoreTask struct {
	task_common.CommonCols

	Benchmark            string   `json:"benchmark"`
	PageSets             string   `json:"page_sets"`
	IsTestPageSet        bool     `json:"is_test_page_set"`
	GnArgs               string   `json:"gn_args"`
	BenchmarkArgs        string   `json:"benchmark_args"`
	BrowserArgs          string   `json:"browser_args"`
	Description          string   `json:"description"`
	CustomWebpagesGSPath string   `json:"custom_webpages_gspath"`
	ChromiumPatchGSPath  string   `json:"chromium_patch_gspath"`
	SkiaPatchGSPath      string   `json:"skia_patch_gspath"`
	CatapultPatchGSPath  string   `json:"catapult_patch_gspath"`
	BenchmarkPatchGSPath string   `json:"benchmark_patch_gspath"`
	V8PatchGSPath        string   `json:"v8_patch_gspath"`
	RunInParallel        bool     `json:"run_in_parallel"`
	Platform             string   `json:"platform"`
	RunOnGCE             bool     `json:"run_on_gce"`
	RawOutput            string   `json:"raw_output"`
	ValueColumnName      string   `json:"value_column_name"`
	MatchStdoutTxt       string   `json:"match_stdout_txt"`
	ChromiumHash         string   `json:"chromium_hash"`
	ApkGsPath            string   `json:"apk_gspath"`
	ChromeBuildGsPath    string   `json:"chrome_build_gs_path"`
	TelemetryIsolateHash string   `json:"telemetry_isolate_hash"`
	CCList               []string `json:"cc_list"`
	TaskPriority         int      `json:"task_priority"`
	GroupName            string   `json:"group_name"`
}

func (ChromiumAnalysisDatastoreTask) Get

func (ChromiumAnalysisDatastoreTask) GetDatastoreKind

func (task ChromiumAnalysisDatastoreTask) GetDatastoreKind() ds.Kind

func (ChromiumAnalysisDatastoreTask) GetDescription

func (task ChromiumAnalysisDatastoreTask) GetDescription() string

func (*ChromiumAnalysisDatastoreTask) GetPopulatedAddTaskVars

func (task *ChromiumAnalysisDatastoreTask) GetPopulatedAddTaskVars() (task_common.AddTaskVars, error)
func (task ChromiumAnalysisDatastoreTask) GetResultsLink() string

func (ChromiumAnalysisDatastoreTask) GetTaskName

func (task ChromiumAnalysisDatastoreTask) GetTaskName() string

func (ChromiumAnalysisDatastoreTask) Query

func (task ChromiumAnalysisDatastoreTask) Query(it *datastore.Iterator) (interface{}, error)

func (ChromiumAnalysisDatastoreTask) RunsOnGCEWorkers

func (task ChromiumAnalysisDatastoreTask) RunsOnGCEWorkers() bool

func (ChromiumAnalysisDatastoreTask) SendCompletionEmail

func (task ChromiumAnalysisDatastoreTask) SendCompletionEmail(ctx context.Context, completedSuccessfully bool) error

func (*ChromiumAnalysisDatastoreTask) SetCompleted

func (task *ChromiumAnalysisDatastoreTask) SetCompleted(success bool)

func (ChromiumAnalysisDatastoreTask) TriggerSwarmingTaskAndMail

func (task ChromiumAnalysisDatastoreTask) TriggerSwarmingTaskAndMail(ctx context.Context, swarmingClient swarmingv2.SwarmingV2Client, casClient cas.CAS) error

Jump to

Keyboard shortcuts

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