Documentation ¶
Index ¶
- func AddHandlers(externalRouter chi.Router)
- func ReloadTemplates(resourcesDir string)
- type AddRecreatePageSetsTaskVars
- type AddRecreateWebpageArchivesTaskVars
- type AdminAddTaskVars
- type AdminDatastoreTask
- type RecreatePageSetsDatastoreTask
- func (task RecreatePageSetsDatastoreTask) Get(c context.Context, key *datastore.Key) (task_common.Task, error)
- func (task RecreatePageSetsDatastoreTask) GetDatastoreKind() ds.Kind
- func (task RecreatePageSetsDatastoreTask) GetDescription() string
- func (task RecreatePageSetsDatastoreTask) GetPopulatedAddTaskVars() (task_common.AddTaskVars, error)
- func (task RecreatePageSetsDatastoreTask) GetResultsLink() string
- func (task RecreatePageSetsDatastoreTask) GetTaskName() string
- func (task RecreatePageSetsDatastoreTask) Query(it *datastore.Iterator) (interface{}, error)
- func (task RecreatePageSetsDatastoreTask) RunsOnGCEWorkers() bool
- func (task RecreatePageSetsDatastoreTask) SendCompletionEmail(ctx context.Context, completedSuccessfully bool) error
- func (task *RecreatePageSetsDatastoreTask) SetCompleted(success bool)
- func (task RecreatePageSetsDatastoreTask) TriggerSwarmingTaskAndMail(ctx context.Context, swarmingClient swarmingv2.SwarmingV2Client, ...) error
- type RecreateWebpageArchivesDatastoreTask
- func (task RecreateWebpageArchivesDatastoreTask) Get(c context.Context, key *datastore.Key) (task_common.Task, error)
- func (task RecreateWebpageArchivesDatastoreTask) GetDatastoreKind() ds.Kind
- func (task RecreateWebpageArchivesDatastoreTask) GetDescription() string
- func (task RecreateWebpageArchivesDatastoreTask) GetPopulatedAddTaskVars() (task_common.AddTaskVars, error)
- func (task RecreateWebpageArchivesDatastoreTask) GetResultsLink() string
- func (task RecreateWebpageArchivesDatastoreTask) GetTaskName() string
- func (task RecreateWebpageArchivesDatastoreTask) Query(it *datastore.Iterator) (interface{}, error)
- func (task RecreateWebpageArchivesDatastoreTask) RunsOnGCEWorkers() bool
- func (task RecreateWebpageArchivesDatastoreTask) SendCompletionEmail(ctx context.Context, completedSuccessfully bool) error
- func (task *RecreateWebpageArchivesDatastoreTask) SetCompleted(success bool)
- func (task RecreateWebpageArchivesDatastoreTask) 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 AddRecreatePageSetsTaskVars ¶
type AddRecreatePageSetsTaskVars struct {
AdminAddTaskVars
}
Represents the parameters sent as JSON to the add_recreate_page_sets_task handler.
func (*AddRecreatePageSetsTaskVars) GetDatastoreKind ¶
func (task *AddRecreatePageSetsTaskVars) GetDatastoreKind() ds.Kind
func (*AddRecreatePageSetsTaskVars) GetPopulatedDatastoreTask ¶
func (task *AddRecreatePageSetsTaskVars) GetPopulatedDatastoreTask(ctx context.Context) (task_common.Task, error)
type AddRecreateWebpageArchivesTaskVars ¶
type AddRecreateWebpageArchivesTaskVars struct {
AdminAddTaskVars
}
Represents the parameters sent as JSON to the add_recreate_webpage_archives_task handler.
func (*AddRecreateWebpageArchivesTaskVars) GetDatastoreKind ¶
func (task *AddRecreateWebpageArchivesTaskVars) GetDatastoreKind() ds.Kind
func (*AddRecreateWebpageArchivesTaskVars) GetPopulatedDatastoreTask ¶
func (task *AddRecreateWebpageArchivesTaskVars) GetPopulatedDatastoreTask(ctx context.Context) (task_common.Task, error)
type AdminAddTaskVars ¶
type AdminAddTaskVars struct { task_common.AddTaskCommonVars PageSets string `json:"page_sets"` }
func (*AdminAddTaskVars) IsAdminTask ¶
func (vars *AdminAddTaskVars) IsAdminTask() bool
type AdminDatastoreTask ¶
type AdminDatastoreTask struct { task_common.CommonCols PageSets string `json:"page_sets"` IsTestPageSet bool `json:"is_test_page_set"` // For backwards compatilibity. ChromiumRev string `json:"chromium_rev"` SkiaRev string `json:"skia_rev"` }
type RecreatePageSetsDatastoreTask ¶
type RecreatePageSetsDatastoreTask struct {
AdminDatastoreTask
}
func (RecreatePageSetsDatastoreTask) Get ¶
func (task RecreatePageSetsDatastoreTask) Get(c context.Context, key *datastore.Key) (task_common.Task, error)
func (RecreatePageSetsDatastoreTask) GetDatastoreKind ¶
func (task RecreatePageSetsDatastoreTask) GetDatastoreKind() ds.Kind
func (RecreatePageSetsDatastoreTask) GetDescription ¶
func (task RecreatePageSetsDatastoreTask) GetDescription() string
func (RecreatePageSetsDatastoreTask) GetPopulatedAddTaskVars ¶
func (task RecreatePageSetsDatastoreTask) GetPopulatedAddTaskVars() (task_common.AddTaskVars, error)
func (RecreatePageSetsDatastoreTask) GetResultsLink ¶
func (task RecreatePageSetsDatastoreTask) GetResultsLink() string
func (RecreatePageSetsDatastoreTask) GetTaskName ¶
func (task RecreatePageSetsDatastoreTask) GetTaskName() string
func (RecreatePageSetsDatastoreTask) Query ¶
func (task RecreatePageSetsDatastoreTask) Query(it *datastore.Iterator) (interface{}, error)
func (RecreatePageSetsDatastoreTask) RunsOnGCEWorkers ¶
func (task RecreatePageSetsDatastoreTask) RunsOnGCEWorkers() bool
func (RecreatePageSetsDatastoreTask) SendCompletionEmail ¶
func (task RecreatePageSetsDatastoreTask) SendCompletionEmail(ctx context.Context, completedSuccessfully bool) error
func (*RecreatePageSetsDatastoreTask) SetCompleted ¶
func (task *RecreatePageSetsDatastoreTask) SetCompleted(success bool)
func (RecreatePageSetsDatastoreTask) TriggerSwarmingTaskAndMail ¶
func (task RecreatePageSetsDatastoreTask) TriggerSwarmingTaskAndMail(ctx context.Context, swarmingClient swarmingv2.SwarmingV2Client, casClient cas.CAS) error
type RecreateWebpageArchivesDatastoreTask ¶
type RecreateWebpageArchivesDatastoreTask struct {
AdminDatastoreTask
}
func (RecreateWebpageArchivesDatastoreTask) Get ¶
func (task RecreateWebpageArchivesDatastoreTask) Get(c context.Context, key *datastore.Key) (task_common.Task, error)
func (RecreateWebpageArchivesDatastoreTask) GetDatastoreKind ¶
func (task RecreateWebpageArchivesDatastoreTask) GetDatastoreKind() ds.Kind
func (RecreateWebpageArchivesDatastoreTask) GetDescription ¶
func (task RecreateWebpageArchivesDatastoreTask) GetDescription() string
func (RecreateWebpageArchivesDatastoreTask) GetPopulatedAddTaskVars ¶
func (task RecreateWebpageArchivesDatastoreTask) GetPopulatedAddTaskVars() (task_common.AddTaskVars, error)
func (RecreateWebpageArchivesDatastoreTask) GetResultsLink ¶
func (task RecreateWebpageArchivesDatastoreTask) GetResultsLink() string
func (RecreateWebpageArchivesDatastoreTask) GetTaskName ¶
func (task RecreateWebpageArchivesDatastoreTask) GetTaskName() string
func (RecreateWebpageArchivesDatastoreTask) Query ¶
func (task RecreateWebpageArchivesDatastoreTask) Query(it *datastore.Iterator) (interface{}, error)
func (RecreateWebpageArchivesDatastoreTask) RunsOnGCEWorkers ¶
func (task RecreateWebpageArchivesDatastoreTask) RunsOnGCEWorkers() bool
func (RecreateWebpageArchivesDatastoreTask) SendCompletionEmail ¶
func (task RecreateWebpageArchivesDatastoreTask) SendCompletionEmail(ctx context.Context, completedSuccessfully bool) error
func (*RecreateWebpageArchivesDatastoreTask) SetCompleted ¶
func (task *RecreateWebpageArchivesDatastoreTask) SetCompleted(success bool)
func (RecreateWebpageArchivesDatastoreTask) TriggerSwarmingTaskAndMail ¶
func (task RecreateWebpageArchivesDatastoreTask) TriggerSwarmingTaskAndMail(ctx context.Context, swarmingClient swarmingv2.SwarmingV2Client, casClient cas.CAS) error
Click to show internal directories.
Click to hide internal directories.