Documentation ¶
Index ¶
- func AddHandlers(externalRouter chi.Router)
- func ReloadTemplates(resourcesDir string)
- type MetricsAnalysisAddTaskVars
- type MetricsAnalysisDatastoreTask
- func (task MetricsAnalysisDatastoreTask) Get(c context.Context, key *datastore.Key) (task_common.Task, error)
- func (task MetricsAnalysisDatastoreTask) GetDatastoreKind() ds.Kind
- func (task MetricsAnalysisDatastoreTask) GetDescription() string
- func (task MetricsAnalysisDatastoreTask) GetPopulatedAddTaskVars() (task_common.AddTaskVars, error)
- func (task MetricsAnalysisDatastoreTask) GetResultsLink() string
- func (task MetricsAnalysisDatastoreTask) GetTaskName() string
- func (task MetricsAnalysisDatastoreTask) Query(it *datastore.Iterator) (interface{}, error)
- func (task MetricsAnalysisDatastoreTask) RunsOnGCEWorkers() bool
- func (task MetricsAnalysisDatastoreTask) SendCompletionEmail(ctx context.Context, completedSuccessfully bool) error
- func (task *MetricsAnalysisDatastoreTask) SetCompleted(success bool)
- func (task MetricsAnalysisDatastoreTask) TriggerSwarmingTaskAndMail(ctx context.Context, swarmingClient swarmingv2.SwarmingV2Client, ...) error
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 MetricsAnalysisAddTaskVars ¶
type MetricsAnalysisAddTaskVars struct { task_common.AddTaskCommonVars MetricName string `json:"metric_name"` CustomTraces string `json:"custom_traces"` AnalysisTaskId string `json:"analysis_task_id"` AnalysisOutputLink string `json:"analysis_output_link"` BenchmarkArgs string `json:"benchmark_args"` Description string `json:"desc"` ChromiumPatch string `json:"chromium_patch"` CatapultPatch string `json:"catapult_patch"` ValueColumnName string `json:"value_column_name"` CCList []string `json:"cc_list"` TaskPriority string `json:"task_priority"` }
func (*MetricsAnalysisAddTaskVars) GetDatastoreKind ¶
func (task *MetricsAnalysisAddTaskVars) GetDatastoreKind() ds.Kind
func (*MetricsAnalysisAddTaskVars) GetPopulatedDatastoreTask ¶
func (task *MetricsAnalysisAddTaskVars) GetPopulatedDatastoreTask(ctx context.Context) (task_common.Task, error)
type MetricsAnalysisDatastoreTask ¶
type MetricsAnalysisDatastoreTask struct { task_common.CommonCols MetricName string `json:"metric_name"` AnalysisTaskId string `json:"analysis_task_id"` AnalysisOutputLink string `json:"analysis_output_link"` BenchmarkArgs string `json:"benchmark_args"` Description string `json:"description"` CustomTracesGSPath string `json:"custom_traces_gspath"` ChromiumPatchGSPath string `json:"chromium_patch_gspath"` CatapultPatchGSPath string `json:"catapult_patch_gspath"` RawOutput string `json:"raw_output"` ValueColumnName string `json:"value_column_name"` CCList []string `json:"cc_list"` TaskPriority int `json:"task_priority"` }
func (MetricsAnalysisDatastoreTask) Get ¶
func (task MetricsAnalysisDatastoreTask) Get(c context.Context, key *datastore.Key) (task_common.Task, error)
func (MetricsAnalysisDatastoreTask) GetDatastoreKind ¶
func (task MetricsAnalysisDatastoreTask) GetDatastoreKind() ds.Kind
func (MetricsAnalysisDatastoreTask) GetDescription ¶
func (task MetricsAnalysisDatastoreTask) GetDescription() string
func (MetricsAnalysisDatastoreTask) GetPopulatedAddTaskVars ¶
func (task MetricsAnalysisDatastoreTask) GetPopulatedAddTaskVars() (task_common.AddTaskVars, error)
func (MetricsAnalysisDatastoreTask) GetResultsLink ¶
func (task MetricsAnalysisDatastoreTask) GetResultsLink() string
func (MetricsAnalysisDatastoreTask) GetTaskName ¶
func (task MetricsAnalysisDatastoreTask) GetTaskName() string
func (MetricsAnalysisDatastoreTask) Query ¶
func (task MetricsAnalysisDatastoreTask) Query(it *datastore.Iterator) (interface{}, error)
func (MetricsAnalysisDatastoreTask) RunsOnGCEWorkers ¶
func (task MetricsAnalysisDatastoreTask) RunsOnGCEWorkers() bool
func (MetricsAnalysisDatastoreTask) SendCompletionEmail ¶
func (task MetricsAnalysisDatastoreTask) SendCompletionEmail(ctx context.Context, completedSuccessfully bool) error
func (*MetricsAnalysisDatastoreTask) SetCompleted ¶
func (task *MetricsAnalysisDatastoreTask) SetCompleted(success bool)
func (MetricsAnalysisDatastoreTask) TriggerSwarmingTaskAndMail ¶
func (task MetricsAnalysisDatastoreTask) TriggerSwarmingTaskAndMail(ctx context.Context, swarmingClient swarmingv2.SwarmingV2Client, casClient cas.CAS) error
Click to show internal directories.
Click to hide internal directories.