package
1.2.0-alpha.8
Repository: https://github.com/codeb2cc/kubernetes.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AddCleanupAction installs a function that will be called in the event of the whole test being terminated.
Prints the histogram of the events and returns the number of bad events.
No description provided by the author
ClusterLevelLoggingWithElasticsearch is an end to end test for cluster level logging.
ClusterLevelLoggingWithKibana is an end to end test that checks to see if Kibana is alive.
No description provided by the author
Delete a Replication Controller and all pods it spawned.
Delete a ReplicaSet and all pods it spawned.
Diff computes a PodDiff given 2 lists of pods.
EnsureLoadBalancerResourcesDeleted ensures that cloud load balancer resources that were created are actually cleaned up.
FailedContainers inspects all containers in a pod and returns failure information for containers that have failed or been restarted.
No description provided by the author
GetKubeletPods retrieves the list of running pods on the kubelet.
No description provided by the author
HighLatencyKubeletOperations logs and counts the high latency metrics exported by the kubelet server via /metrics.
Prints top five summary metrics for request types with latency and returns number of such request types above threshold.
LaunchHostExecPod launches a hostexec pod in the given namespace and waits until it's Running.
No description provided by the author
Convenient wrapper around listing nodes supporting retries.
No description provided by the author
No description provided by the author
No description provided by the author
NewFramework makes a new framework and sets up a BeforeEach/AfterEach for you (you can write additional before/after each functions).
NewHostExecPodSpec returns the pod spec of hostexec pod.
NewLogsVerifier creates a new LogsSizeVerifier which will stop when stopChannel is closed.
NewRestartConfig creates a restartDaemonConfig for the given node and daemon.
No description provided by the author
NewServiceTestJig allocates and inits a new ServiceTestJig.
TODO this still defaults to replication controller.
NodeAddresses returns the first address of the given type of each node.
NodeSSHHosts returns SSH-able host names for all nodes.
OpenWebSocketForURL constructs a websocket connection to the provided URL, using the client config, with the specified protocols.
ParseKubeletMetrics reads metrics from the kubelet server running on the given node.
Query sends a command to the server and returns the Response.
No description provided by the author
RemoveCleanupAction removes a function that was installed by AddCleanupAction.
A basic test to check the deployment of an image using a ReplicaSet.
No description provided by the author
No description provided by the author
RunCleanupActions runs all functions installed by AddCleanupAction.
RunDeployment Launches (and verifies correctness) of a Deployment and will wait for all pods it spawns to become "Running".
TestE2E checks configuration parameters (specified through flags) and then runs E2E tests using the Ginkgo runner.
RunHostCmd runs the given cmd in the context of the given pod using `kubectl exec` inside of a shell.
RunHostCmdOrDie calls RunHostCmd and dies on error.
RunRC Launches (and verifies correctness) of a Replication Controller and will wait for all pods it spawns to become "Running".
No description provided by the author
A basic test to check the deployment of an image using a replication controller.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SSH synchronously SSHs to a node running on provider and runs cmd.
Verifies whether 50, 90 and 99th percentiles of PodStartupLatency are within the threshold.
Verifies (currently just by logging them) the scheduling latencies.

# Constants

No description provided by the author
No description provided by the author
NodeStartupThreshold is a rough estimate of the time allocated for a pod to start on a node.
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
Maximum container failures this test tolerates before failing.
This should match whatever the default/configured range is.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Framework supports common operations used by e2e tests; it will keep a client & a namespace for you.
HPAScaleTest struct is used by the scale(...) function.
No description provided by the author
No description provided by the author
KubeletMetric stores metrics scraped from the kubelet server's /metric endpoint.
No description provided by the author
Dashboard metrics.
LogSizeGatherer is a worker which grabs a WorkItem from the channel and does assigned work.
No description provided by the author
LogsSizeVerifier gathers data about log files sizes from master and node machines.
No description provided by the author
No description provided by the author
No description provided by the author
ResourceConsumer is a tool for testing.
No description provided by the author
Simple helper class to avoid too much boilerplate in tests.
A test jig to help testing.
No description provided by the author
No description provided by the author
No description provided by the author
partially cloned from webserver.go.
No description provided by the author
TimestampedSize contains a size together with a time of measurement.
Configuration of one tests.
WorkItem is a command for a worker that contains an IP of machine from which we want to gather data and paths to all files we're interested in.

# Interfaces

LBCTester is an interface used to test loadbalancer controllers.
No description provided by the author

# Type aliases

KubeletMetricByLatency implements sort.Interface for []KubeletMetric based on the latency field.
No description provided by the author
node -> file -> data.
No description provided by the author
PodDiff is a map of pod name to podInfos.
No description provided by the author
No description provided by the author
we can't have int here, as JSON does not accept integer keys.