package
0.0.0-20200901175903-8180c33a0940
Repository: https://github.com/linkerd/linkerd2-conformance.git
Documentation: pkg.go.dev

# Functions

CheckProxyContainer gets the pods from a deployment, and checks if the proxy container is present.
Err returns err.Error() string if err is not nil This helper is meant to be used with gomega.Should() to annotate failures without causing runtime errors when returned errors are nil.
GetHelperAndConfig returns a reference to the initialized `testHelper` and `testConfig`.
InstallLinkerdBinary installs a linkerd2 binary of the given version.
InstallLinkerdControlPlane runs the control plane install tests.
RunBeforeAndAfterEachSetup runs the control plane installation and uninstallation tests when a new control plane is required by each test.
RunCheck rus `linkerd check`.
ShouldTestSkip is called within a Describe block to determine if a test must be skipped.
TestControlPlanePostInstall tests the control plane resources post installation.
TestEmojivotoApp installs and checks if emojivoto app is installed called of the function must have `testdata/emojivoto.yml`.
TestEmojivotoInject installs and checks if emojivoto app is installed called of the function must have `testdata/emojivoto.yml`.
TestEmojivotoUninstall tests if emojivoto can be successfull uninstalled.
UninstallLinkerdControlPlane runs the test for control plane uninstall.

# Constants

Nginx holds the string literal "nginx".
NginxController is the name of the nginx controller.
NginxNs is the namespace in which the nginx controller is installed.

# Structs

CheckOutput is used for unmarshalling the output from `linkerd check -o json`.
ConformanceTestOptions holds the values fed from the test config file.
ControlPlane wraps Namespace and ControlPlaneConfig.
ControlPlaneConfig holds the configuration for control plane installation.
Edges holds the configuration for `linkerd edges` tests.
Ingress holds the configuration for ingress test.
IngressConfig holds the list of ingress controllers.
IngressControllerConfig holds controller specific configuration.
Inject holds the inject test configuration.
Lifecycle holds lifecycle test configuration.
Routes holds the configuration for `routes` tests.
Stat holds the configuration for stat test.
No description provided by the author
TestCase holds configuration of the various test cases.