syzkaller: Index | Files

package gce

import ""

Package gce allows to use Google Compute Engine (GCE) virtual machines as VMs. It is assumed that syz-manager also runs on GCE as VMs are created in the current project/zone.

See for details. In particular, how to build GCE-compatible images: Working with serial console:


Package Files

gce.go tar_go1.10.go

type Config Uses

type Config struct {
    Count       int    `json:"count"`        // number of VMs to use
    MachineType string `json:"machine_type"` // GCE machine type (e.g. "n1-highcpu-2")
    GCSPath     string `json:"gcs_path"`     // GCS path to upload image
    GCEImage    string `json:"gce_image"`    // pre-created GCE image to use
    Preemptible bool   `json:"preemptible"`  // use preemptible VMs if available (defaults to true)

type Pool Uses

type Pool struct {
    GCE *gce.Context
    // contains filtered or unexported fields

func (*Pool) Count Uses

func (pool *Pool) Count() int

func (*Pool) Create Uses

func (pool *Pool) Create(workdir string, index int) (vmimpl.Instance, error)

Package gce imports 16 packages (graph) and is imported by 3 packages. Updated 2020-07-07. Refresh now. Tools for package owners.