Documentation ¶
Overview ¶
helper is a package that offers e2e test helpers. It's a badly named package. If it grows we should refactor it into something a little more manageable but it's fine for now.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CurlSpinApp ¶
func CurlSpinApp(t *testing.T, ctx context.Context, cfg *envconf.Config, namespace, spinAppName, route, body string) (string, int, error)
CurlSpinApp is a crude function for using the debug pod to send a HTTP request to a spin app within the cluster. It allows customization of the route, and all requests are GET requests unless a non-empty body is provided.
func EnsureDebugContainer ¶
EnsureDebugContainer ensures that the helper debug container is installed right namespace. This allows us to make requests from inside the cluster regardless of the external network configuration.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.