testutils/

directory
v0.0.0-...-75da391 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2019 License: Apache-2.0

README

THIS IS STILL A WORK IN PROGRESS

Test Infra 2.0 Supporting Libs

See high level and low level designs for more details

Directories

Path Synopsis
Package clustermanager provides support for managing clusters for e2e tests, responsible for creating/deleting cluster, and cluster life cycle management if running in Prow usage example: func acquireCluster() { clusterOps := GKEClient{}.Setup(2, "n1-standard-8", "us-east1", "a", "myproject") // Cast to GKEOperation GKEOps := clusterOps.(GKECluster) if err = GKEOps.Acquire(); err != nil { log.Fatalf("Failed acquire cluster: '%v'", err) } log.Printf("GKE project is: %s", GKEOps.Project) log.Printf("GKE cluster is: %v", GKEOps.Cluster) }
Package clustermanager provides support for managing clusters for e2e tests, responsible for creating/deleting cluster, and cluster life cycle management if running in Prow usage example: func acquireCluster() { clusterOps := GKEClient{}.Setup(2, "n1-standard-8", "us-east1", "a", "myproject") // Cast to GKEOperation GKEOps := clusterOps.(GKECluster) if err = GKEOps.Acquire(); err != nil { log.Fatalf("Failed acquire cluster: '%v'", err) } log.Printf("GKE project is: %s", GKEOps.Project) log.Printf("GKE cluster is: %v", GKEOps.Cluster) }

Jump to

Keyboard shortcuts

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