Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Accelerator ¶
type Accelerator struct { Type string `json:"type,omitempty"` Count int64 `json:"count,omitempty"` }
Accelerator contains type and count about resource.
type GCEImage ¶
type GCEImage struct { Image string `json:"image,omitempty"` ImageRegex string `json:"image_regex,omitempty"` // ImageFamily is the image family to use. The latest image from the image family will be used, e.g cos-81-lts. ImageFamily string `json:"image_family,omitempty"` ImageDesc string `json:"image_description,omitempty"` KernelArguments []string `json:"kernel_arguments,omitempty"` Project string `json:"project"` Metadata string `json:"metadata"` Machine string `json:"machine,omitempty"` Resources Resources `json:"resources,omitempty"` }
GCEImage contains some information about GCE Image.
type GCEImageConfig ¶
GCEImageConfig specifies what images should be run and how for these tests. It can be created via the `--images` and `--image-project` flags, or by specifying the `--image-config-file` flag, pointing to a json or yaml file of the form:
images: short-name: image: gce-image-name project: gce-image-project machine: for benchmark only, the machine type (GCE instance) to run test tests: for benchmark only, a list of ginkgo focus strings to match tests
TODO(coufon): replace 'image' with 'node' in configurations and we plan to support testing custom machines other than GCE by specifying Host
type GCERunner ¶
type GCERunner struct {
// contains filtered or unexported fields
}
func (*GCERunner) StartTests ¶
type Resources ¶
type Resources struct {
Accelerators []Accelerator `json:"accelerators,omitempty"`
}
Resources contains accelerators array.
Click to show internal directories.
Click to hide internal directories.