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.
Click to show internal directories.
Click to hide internal directories.