admin_tasks

package
v0.0.0-...-03d6fc4 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2019 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddHandlers

func AddHandlers(externalRouter, internalRouter *mux.Router)

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 (RecreatePageSetsDatastoreTask) GetDatastoreKind

func (task RecreatePageSetsDatastoreTask) GetDatastoreKind() ds.Kind

func (RecreatePageSetsDatastoreTask) GetPopulatedAddTaskVars

func (task RecreatePageSetsDatastoreTask) GetPopulatedAddTaskVars() (task_common.AddTaskVars, error)
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 (RecreateWebpageArchivesDatastoreTask) GetDatastoreKind

func (task RecreateWebpageArchivesDatastoreTask) GetDatastoreKind() ds.Kind

func (RecreateWebpageArchivesDatastoreTask) GetPopulatedAddTaskVars

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

func (RecreateWebpageArchivesDatastoreTask) GetTaskName

func (task RecreateWebpageArchivesDatastoreTask) GetTaskName() string

func (RecreateWebpageArchivesDatastoreTask) GetUpdateTaskVars

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

Jump to

Keyboard shortcuts

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