Documentation
¶
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, ...)
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BadEvents ¶ added in v0.16.0
func BadEvents(events []*api.Event) int
Prints the histogram of the events and returns the number of bad events.
func CheckCadvisorHealthOnAllNodes ¶ added in v0.11.0
func CheckCadvisorHealthOnAllNodes(c *client.Client, timeout time.Duration)
func ClusterLevelLoggingWithElasticsearch ¶ added in v0.14.0
func ClusterLevelLoggingWithElasticsearch(c *client.Client)
ClusterLevelLoggingWithElasticsearch is an end to end test for cluster level logging.
func DeleteRC ¶ added in v0.13.0
func DeleteRC(c *client.Client, ns, name string) error
Delete a Replication Controller and all pods it spawned
func LaunchNetTestPodPerNode ¶ added in v0.15.0
func LaunchNetTestPodPerNode(nodes *api.NodeList, name string, c *client.Client, ns string) []string
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 ¶ added in v0.13.0
func RunRC(c *client.Client, name string, ns, image string, replicas int) error
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 ¶ added in v0.11.0
func ServeImageOrFail(c *client.Client, test string, image string)
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 ¶ added in v0.16.0
func VerifyContainersAreNotFailed(pod api.Pod) error
Types ¶
type CloudConfig ¶ added in v0.15.0
type CloudConfig struct {
ProjectID string
Zone string
MasterName string
Provider cloudprovider.Interface
}
type TestContextType ¶ added in v0.15.0
type TestContextType struct {
KubeConfig string
KubeContext string
AuthConfig string
CertDir string
Host string
RepoRoot string
Provider string
CloudConfig CloudConfig
}
Click to show internal directories.
Click to hide internal directories.