frontend

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdateVersionToFuzz

func UpdateVersionToFuzz(storageClient storage.FuzzerGCSClient, backendWorkers []string, version string) error

UpdateVersionToFuzz creates a pending version file and then a work files for each of the backends. When the fuzzer backends finish their roll duties, they will remove their respective "working" files, indicating they are done.

Types

type VersionUpdater

type VersionUpdater struct {
	// contains filtered or unexported fields
}

VersionUpdater is a struct that will handle the updating from one version to fuzz to another for the frontend. It will handle both a pending change and a current change.

func NewVersionUpdater

func NewVersionUpdater(g *gcsloader.GCSLoader, syncer *syncer.FuzzSyncer) *VersionUpdater

NewVersionUpdater returns a VersionUpdater.

func (*VersionUpdater) HandleCurrentVersion

func (v *VersionUpdater) HandleCurrentVersion(ctx context.Context, currentHash string) error

HandleCurrentVersion sets the current version of Skia to be the specified value and calls LoadFreshFromGoogleStorage.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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