Documentation ¶
Index ¶
- func AddHandlers(externalRouter, internalRouter *mux.Router)
- func ReloadTemplates(resourcesDir string)
- type AddRecreatePageSetsTaskVars
- type AddRecreateWebpageArchivesTaskVars
- type AddTaskVars
- 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) GetPopulatedAddTaskVars() (task_common.AddTaskVars, error)
- func (task RecreatePageSetsDatastoreTask) GetResultsLink() string
- func (task RecreatePageSetsDatastoreTask) GetTaskName() string
- func (task RecreatePageSetsDatastoreTask) GetUpdateTaskVars() task_common.UpdateTaskVars
- func (task RecreatePageSetsDatastoreTask) Query(it *datastore.Iterator) (interface{}, error)
- func (task RecreatePageSetsDatastoreTask) RunsOnGCEWorkers() bool
- type RecreatePageSetsUpdateVars
- 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) GetPopulatedAddTaskVars() (task_common.AddTaskVars, error)
- func (task RecreateWebpageArchivesDatastoreTask) GetResultsLink() string
- func (task RecreateWebpageArchivesDatastoreTask) GetTaskName() string
- func (task RecreateWebpageArchivesDatastoreTask) GetUpdateTaskVars() task_common.UpdateTaskVars
- func (task RecreateWebpageArchivesDatastoreTask) Query(it *datastore.Iterator) (interface{}, error)
- func (task RecreateWebpageArchivesDatastoreTask) RunsOnGCEWorkers() bool
- type RecreateWebpageArchivesUpdateVars
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddHandlers ¶
func ReloadTemplates ¶
func ReloadTemplates(resourcesDir string)
Types ¶
type AddRecreatePageSetsTaskVars ¶
type AddRecreatePageSetsTaskVars struct { AddTaskVars PageSets string `json:"page_sets"` }
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 { AddTaskVars PageSets string `json:"page_sets"` ChromiumBuild chromium_builds.DatastoreTask `json:"chromium_build"` }
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 AddTaskVars ¶
type AddTaskVars struct {
task_common.AddTaskCommonVars
}
func (*AddTaskVars) IsAdminTask ¶
func (vars *AddTaskVars) IsAdminTask() bool
type RecreatePageSetsDatastoreTask ¶
type RecreatePageSetsDatastoreTask struct { task_common.CommonCols PageSets string IsTestPageSet bool }
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) 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) GetUpdateTaskVars ¶
func (task RecreatePageSetsDatastoreTask) GetUpdateTaskVars() task_common.UpdateTaskVars
func (RecreatePageSetsDatastoreTask) Query ¶
func (task RecreatePageSetsDatastoreTask) Query(it *datastore.Iterator) (interface{}, error)
func (RecreatePageSetsDatastoreTask) RunsOnGCEWorkers ¶
func (task RecreatePageSetsDatastoreTask) RunsOnGCEWorkers() bool
type RecreatePageSetsUpdateVars ¶
type RecreatePageSetsUpdateVars struct {
task_common.UpdateTaskCommonVars
}
func (*RecreatePageSetsUpdateVars) UpdateExtraFields ¶
func (task *RecreatePageSetsUpdateVars) UpdateExtraFields(t task_common.Task) error
func (*RecreatePageSetsUpdateVars) UriPath ¶
func (vars *RecreatePageSetsUpdateVars) UriPath() string
type RecreateWebpageArchivesDatastoreTask ¶
type RecreateWebpageArchivesDatastoreTask struct { task_common.CommonCols PageSets string IsTestPageSet bool ChromiumRev string SkiaRev string }
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) 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) GetUpdateTaskVars ¶
func (task RecreateWebpageArchivesDatastoreTask) GetUpdateTaskVars() task_common.UpdateTaskVars
func (RecreateWebpageArchivesDatastoreTask) Query ¶
func (task RecreateWebpageArchivesDatastoreTask) Query(it *datastore.Iterator) (interface{}, error)
func (RecreateWebpageArchivesDatastoreTask) RunsOnGCEWorkers ¶
func (task RecreateWebpageArchivesDatastoreTask) RunsOnGCEWorkers() bool
type RecreateWebpageArchivesUpdateVars ¶
type RecreateWebpageArchivesUpdateVars struct {
task_common.UpdateTaskCommonVars
}
func (*RecreateWebpageArchivesUpdateVars) UpdateExtraFields ¶
func (task *RecreateWebpageArchivesUpdateVars) UpdateExtraFields(t task_common.Task) error
func (*RecreateWebpageArchivesUpdateVars) UriPath ¶
func (vars *RecreateWebpageArchivesUpdateVars) UriPath() string
Click to show internal directories.
Click to hide internal directories.