package e2e
import "k8s.io/kubernetes/test/e2e"
Index ¶
- func BadEvents(events []*api.Event) int
- func CheckCadvisorHealthOnAllNodes(c *client.Client, timeout time.Duration)
- func ClusterLevelLoggingWithElasticsearch(c *client.Client)
- func DeleteRC(c *client.Client, ns, name string) error
- func Failf(format string, a ...interface{})
- func LaunchNetTestPodPerNode(nodes *api.NodeList, name string, c *client.Client, ns string) []string
- func Logf(format string, a ...interface{})
- func RunE2ETests(context *TestContextType, orderseed int64, times int, reportDir string, testList []string)
- func RunRC(c *client.Client, name string, ns, image string, replicas int) error
- func ServeImageOrFail(c *client.Client, test string, image string)
- func VerifyContainersAreNotFailed(pod api.Pod) error
- type CloudConfig
- type TestContextType
Functions ¶
func BadEvents ¶
Prints the histogram of the events and returns the number of bad events.
func CheckCadvisorHealthOnAllNodes ¶
func ClusterLevelLoggingWithElasticsearch ¶
ClusterLevelLoggingWithElasticsearch is an end to end test for cluster level logging.
func DeleteRC ¶
Delete a Replication Controller and all pods it spawned
func Failf ¶
func Failf(format string, a ...interface{})
func LaunchNetTestPodPerNode ¶
func LaunchNetTestPodPerNode(nodes *api.NodeList, name string, c *client.Client, ns string) []string
func Logf ¶
func Logf(format string, a ...interface{})
func RunE2ETests ¶
func RunE2ETests(context *TestContextType, orderseed int64, times int, reportDir string, testList []string)
Run each Go end-to-end-test. This function assumes the creation of a test cluster.
func RunRC ¶
Launch a Replication Controller and wait for all pods it spawns to become running. The controller will need to be cleaned up external to this method
func ServeImageOrFail ¶
A basic test to check the deployment of an image using a replication controller. The image serves its hostname which is checked for each replica.
func VerifyContainersAreNotFailed ¶
Types ¶
type CloudConfig ¶
type CloudConfig struct { ProjectID string Zone string MasterName string Provider cloudprovider.Interface }
type TestContextType ¶
type TestContextType struct { KubeConfig string KubeContext string AuthConfig string CertDir string Host string RepoRoot string Provider string CloudConfig CloudConfig }
Source Files ¶
cadvisor.go certs.go density.go docker_containers.go downward_api.go driver.go empty_dir.go es_cluster_logging.go events.go kubectl.go monitoring.go networking.go pd.go pods.go rc.go secrets.go service.go shell.go util.go
- Version
- v0.16.2
- Published
- May 4, 2015
- Platform
- js/wasm
- Imports
- 44 packages
- Last checked
- 3 minutes ago –
Tools for package owners.