kubernetes-testing-framework

module
v0.0.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2021 License: Apache-2.0

README

ktf-banner

Unit Tests Integration Tests License Go Report Card GoDoc

Kong Kubernetes Testing Framework (KTF)

Testing framework used by the Kong Kubernetes Team for the Kong Kubernetes Ingress Controller (KIC).

Requirements

  • Go v1.16.x+

Usage

The following are some of the available features of the KTF:

  • integration testing libraries for Kong on Kubernetes (Golang)
  • unit testing libraries for the Kong Proxy (Golang)

For the integration testing libraries you have the option to deploy the Kong Proxy only to the Kubernetes cluster or to deploy the entire stack depending on your testing needs.

Contributing

See CONTRIBUTING.md.

Community

If you have any questions about this tool and want to get in touch with the maintainers, check in on #kong in Kubernetes Slack.

Directories

Path Synopsis
pkg
docker
Package docker includes utilities for interfacing with a local Docker container daemon from tests.
Package docker includes utilities for interfacing with a local Docker container daemon from tests.
generators/k8s
Package k8s contains functions which support generating opinionated and defaulted Kubernetes API objects provided minimal configuration.
Package k8s contains functions which support generating opinionated and defaulted Kubernetes API objects provided minimal configuration.
helm
Package helm provides utility functions and workflows for deploying, managing, and cleaning up Helm releases.
Package helm provides utility functions and workflows for deploying, managing, and cleaning up Helm releases.
kind
Package kind contains functions for deploying and managing Kubernetes in Docker (Kind) clusters for integration testing.
Package kind contains functions for deploying and managing Kubernetes in Docker (Kind) clusters for integration testing.
kong
Package kong includes testing utilities for "mocking" the Kong Admin API.
Package kong includes testing utilities for "mocking" the Kong Admin API.
metallb
Package metallb includes functionality for automating the configuration and deployment of MetalLB for integration tests.
Package metallb includes functionality for automating the configuration and deployment of MetalLB for integration tests.
networking
Package networking provides utility functions for networking tasks.
Package networking provides utility functions for networking tasks.
test
integration
Package integration includes integration tests for testing libraries in the KTF.
Package integration includes integration tests for testing libraries in the KTF.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL