# Packages

Package ginkgowrapper wraps Ginkgo Fail and Skip functions to panic with structured data instead of a constant string.

# Functions

AddCleanupAction installs a function that will be called in the event of the whole test being terminated.
CheckPodsCondition returns whether all pods whose names are listed in podNames in namespace ns are in the condition, using c and waiting at most timeout.
CheckPodsRunningReady returns whether all pods whose names are listed in podNames in namespace ns are running and ready, using c and waiting at most timeout.
No description provided by the author
No description provided by the author
CountEgressSinglePortRules counts the number of 'single port' (non-ranged) egress rules for the specified seclist and port.
CountIngressSinglePortRules counts the number of 'single port' (non-ranged) ingress rules for the specified seclist and port.
CountSinglePortRules counts the number of 'single port' (non-ranged).
CountSinglePortSecListRules counts the number of 'single port' (non-ranged) egress/ingress rules for the specified list and port.
CreateExecPodOrFail creates a simple busybox pod in a sleep loop used as a vessel for kubectl exec commands.
No description provided by the author
DeleteRCAndWaitForGC deletes only the Replication Controller and waits for GC to delete the pods.
DeleteResourceAndWaitForGC deletes only given resource and waits for GC to delete the pods.
EnableAndDisableInternalLB returns two functions for enabling and disabling the internal load balancer setting for the supported cloud providers: GCE/GKE and Azure.
EnsureLoadBalancerResourcesDeleted ensures that cloud load balancer resources that were created are actually cleaned up.
No description provided by the author
ExpectNoErrorWithOffset checks if "err" is set, and if so, fails assertion while logging the error at "offset" levels above its caller (for example, for call chain f -> g -> ExpectNoErrorWithOffset(1, ...) error would be logged for "f").
No description provided by the author
FailfWithOffset calls "Fail" and logs the error at "offset" levels above its caller (for example, for call chain f -> g -> FailfWithOffset(1, ...) error would be logged for "f").
Filters nodes in NodeList in place, removing nodes that do not satisfy the given condition TODO: consider merging with pkg/client/cache.NodeLister.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetReadySchedulableNodesOrDie addresses the common use case of getting nodes you can do work on.
No description provided by the author
HasValidSinglePortEgressRulesAfterPortChange checks the counts of 'single port' (non-ranged) egress rules in the provided seclist after a service port change.
HasValidSinglePortIngressRulesAfterPortChange checks the counts of 'single port' (non-ranged) egress rules in the provided seclist after a service port change.
HasValidSinglePortRulesAfterPortChangeNSG checks the counts of 'single port'.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
KubectlCmd runs the kubectl executable through the wrapper script.
No description provided by the author
New creates a new a framework that holds the context of the test execution.
NewBackupFramework constructs a new e2e test Framework initialising a storage client used to create a backup.
NewCcmFramework constructs a new e2e test CloudProviderFramework.
NewDefaultFramework constructs a new e2e test CloudProviderFramework with default options.
NewFrameworkWithCloudProvider constructs a new e2e test CloudProviderFramework for testing cloudprovider.Interface directly.
No description provided by the author
No description provided by the author
NewPVCTestJig allocates and inits a new PVCTestJig.
No description provided by the author
NewServiceTestJig allocates and inits a new ServiceTestJig.
NewWithConfig creates a new Framework instance and configures the instance as per the configuration options in the given config.
No description provided by the author
No description provided by the author
RemoveCleanupAction removes a function that was installed by AddCleanupAction.
RunCleanupActions runs all functions installed by AddCleanupAction.
RunHostCmd runs the given cmd in the context of the given pod using `kubectl exec` inside of a shell.
RunKubectl is a convenience wrapper over kubectlBuilder.
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
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
UniqueID returns a unique UUID-like identifier for use in generating resources for integration tests.
UpdateService fetches a service, calls the update function on it, and then attempts to send the updated service.
No description provided by the author
WaitForPodCondition waits for a Pod to satisfy a condition.
WaitForSinglePortEgressRulesAfterPortChangeOrFail waits for the expected number of 'single port' (non-ranged) egress rules to be present in the specified seclist or fails.
WaitForSinglePortIngressRulesAfterPortChangeOrFail waits for the expected number of 'single port' (non-ranged) ingress rules to be present in the specified seclist or fails.
WaitForSinglePortRulesAfterPortChangeOrFailNSG waits for the expected rules to be added and validates that the rule on the old port is removed and the rule on the new port is added.

# Constants

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
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
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
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
No description provided by the author
No description provided by the author
No description provided by the author
DefaultTimeout is how long we wait for long-running operations in the test suite before giving up.
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
GCPMaxInstancesInInstanceGroup is the maximum number of instances supported in one instance group on GCP.
No description provided by the author
Poll defines how regularly to poll kubernetes resources.
No description provided by the author
KubeProxyEndpointLagTimeout is the maximum time a kube-proxy daemon on a node is allowed to not notice an Endpoint update.
KubeProxyLagTimeout is the maximum time a kube-proxy daemon on a node is allowed to not notice a Service update, such as type=NodePort.
No description provided by the author
Time required by the loadbalancer to cleanup, proportional to numApps/Ing.
How long to wait for a load balancer to be created/modified.TODO: once support ticket 21807001 is resolved, reduce this timeout back to something reasonable.
No description provided by the author
LoadBalancerLagTimeoutAWS is the delay between ELB creation and serving traffic on AWS.
LoadBalancerLagTimeoutDefault is the maximum time a load balancer is allowed to not respond after creation.
No description provided by the author
On average it takes ~6 minutes for a single backend to come online in GCE.
Don't test with more than 3 nodes.
No description provided by the author
No description provided by the author
No description provided by the author
OCI LB NSG Update Timeout.
OCI LB Shape Update Timeout.
SSL config update timeout.
Poll is the default polling period when checking lifecycle status.
ServiceTestTimeout is used for most polling/waiting activities.
Number of checks to hit a given set of endpoints when enable session affinity.
How long to try single API calls (like 'get' or 'list').
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
This should match whatever the default/configured range is.
SSL CAData is a CA certificate not being used anywhere else; it only is utilised to check the load balancer SSL connection during tests.
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

CloudProviderFramework is used in the execution of e2e tests.
Framework is the context of the text execution.
No description provided by the author
No description provided by the author
PVCTestJig is a jig to help create PVC tests.
Simple helper class to avoid too much boilerplate in tests.
A test jig to help service testing.

# Type aliases

No description provided by the author
No description provided by the author