test

module
v1.9.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0

README

Test

Compatibility notice

This package is not subject to deprecation notices or compatibility guarantees.

  • We iterate on the test framework quickly and frequently, and breaking changes are likely. External providers using this package should update to the latest API changes when updating Cluster API. Maintainers and contributors must give notice in release notes when a breaking change happens.

  • The docker and the in-memory providers, including their APIs, should only be used for development/testing purposes. APIs and code can change at any time without notice.

Directories

Path Synopsis
e2e
Package e2e implements end to end testing.
Package e2e implements end to end testing.
internal/log
Package log implements log handling.
Package log implements log handling.
main is the main package for the test extension.
main is the main package for the test extension.
handlers/lifecycle
Package lifecycle contains the handlers for the lifecycle hooks.
Package lifecycle contains the handlers for the lifecycle hooks.
handlers/topologymutation
Package topologymutation contains the handlers for the topologymutation webhook.
Package topologymutation contains the handlers for the topologymutation webhook.
Package framework implements the test framework.
Package framework implements the test framework.
bootstrap
Package bootstrap implements bootstrap functionality for e2e testing.
Package bootstrap implements bootstrap functionality for e2e testing.
clusterctl
Package clusterctl implements clusterctl interaction.
Package clusterctl implements clusterctl interaction.
clusterctl/logger
Package logger implements clusterctl logging functionality.
Package logger implements clusterctl logging functionality.
exec
Package exec implements command execution functionality.
Package exec implements command execution functionality.
ginkgoextensions
Package ginkgoextensions extends ginkgo.
Package ginkgoextensions extends ginkgo.
internal/log
Package log implements test framework logging.
Package log implements test framework logging.
kubernetesversions
Package kubernetesversions implements kubernetes version functions.
Package kubernetesversions implements kubernetes version functions.
kubetest
Package kubetest implmements kubetest functionality.
Package kubetest implmements kubetest functionality.
infrastructure
container
Package container provides an interface for interacting with Docker and potentially other container runtimes.
Package container provides an interface for interacting with Docker and potentially other container runtimes.
docker
main is the main package for the Docker Infrastructure Provider.
main is the main package for the Docker Infrastructure Provider.
docker/api/v1alpha3
Package v1alpha3 contains the v1alpha3 API implementation.
Package v1alpha3 contains the v1alpha3 API implementation.
docker/api/v1alpha4
Package v1alpha4 contains the v1alpha4 API implementation.
Package v1alpha4 contains the v1alpha4 API implementation.
docker/api/v1beta1
Package v1beta1 contains API Schema definitions for the infrastructure v1beta1 API group +kubebuilder:object:generate=true +groupName=infrastructure.cluster.x-k8s.io
Package v1beta1 contains API Schema definitions for the infrastructure v1beta1 API group +kubebuilder:object:generate=true +groupName=infrastructure.cluster.x-k8s.io
docker/controllers
Package controllers provides access to reconcilers implemented in internal/controllers.
Package controllers provides access to reconcilers implemented in internal/controllers.
docker/exp/api/v1alpha3
Package v1alpha3 contains the v1alpha3 API implementation.
Package v1alpha3 contains the v1alpha3 API implementation.
docker/exp/api/v1alpha4
Package v1alpha4 contains the v1alpha4 API implementation.
Package v1alpha4 contains the v1alpha4 API implementation.
docker/exp/api/v1beta1
Package v1beta1 contains API Schema definitions for the infrastructure v1beta1 API group +kubebuilder:object:generate=true +groupName=infrastructure.cluster.x-k8s.io
Package v1beta1 contains API Schema definitions for the infrastructure v1beta1 API group +kubebuilder:object:generate=true +groupName=infrastructure.cluster.x-k8s.io
docker/exp/controllers
Package controllers implements controller functionality.
Package controllers implements controller functionality.
docker/exp/internal/controllers
Package controllers implements controller functionality.
Package controllers implements controller functionality.
docker/exp/internal/webhooks
Package webhooks implements docker infrastructure exp webhooks.
Package webhooks implements docker infrastructure exp webhooks.
docker/exp/webhooks
Package webhooks contains docker infrastructure experimental webhook implementations for some of our API types.
Package webhooks contains docker infrastructure experimental webhook implementations for some of our API types.
docker/internal/controllers
Package controllers implements the Docker controllers.
Package controllers implements the Docker controllers.
docker/internal/docker
Package docker implements docker functionality.
Package docker implements docker functionality.
docker/internal/docker/types
Package types implements type functionality.
Package types implements type functionality.
docker/internal/loadbalancer
Package loadbalancer contains external loadbalancer related constants and configuration.
Package loadbalancer contains external loadbalancer related constants and configuration.
docker/internal/provisioning
Package provisioning deals with various machine initialization methods viz.
Package provisioning deals with various machine initialization methods viz.
docker/internal/provisioning/cloudinit
Package cloudinit defines cloud init adapter for kind nodes.
Package cloudinit defines cloud init adapter for kind nodes.
docker/internal/provisioning/ignition
Package ignition defines an Ignition adapter for kind nodes.
Package ignition defines an Ignition adapter for kind nodes.
docker/internal/webhooks
Package webhooks implements docker infrastructure webhooks.
Package webhooks implements docker infrastructure webhooks.
docker/webhooks
Package webhooks contains docker infrastructure webhook implementations for some of our API types.
Package webhooks contains docker infrastructure webhook implementations for some of our API types.
inmemory
main is the main package for the Cluster API Core Provider.
main is the main package for the Cluster API Core Provider.
inmemory/api/v1alpha1
Package v1alpha1 contains API Schema definitions for the infrastructure v1alpha1 API group +kubebuilder:object:generate=true +groupName=infrastructure.cluster.x-k8s.io
Package v1alpha1 contains API Schema definitions for the infrastructure v1alpha1 API group +kubebuilder:object:generate=true +groupName=infrastructure.cluster.x-k8s.io
inmemory/controllers
Package controllers provides access to reconcilers implemented in internal/controllers.
Package controllers provides access to reconcilers implemented in internal/controllers.
inmemory/internal/cloud/api/v1alpha1
Package v1alpha1 contains API Schema definitions for the inmemory v1alpha1 API group +kubebuilder:object:generate=true +groupName=virtual.cluster.x-k8s.io
Package v1alpha1 contains API Schema definitions for the inmemory v1alpha1 API group +kubebuilder:object:generate=true +groupName=virtual.cluster.x-k8s.io
inmemory/internal/controllers
Package controllers implements controller functionality.
Package controllers implements controller functionality.
inmemory/internal/webhooks
Package webhooks implements inmemory infrastructure webhooks.
Package webhooks implements inmemory infrastructure webhooks.
inmemory/pkg/runtime
Package runtime implements an in memory runtime for handling objects grouped in resource groups, similarly to resource groups in Azure.
Package runtime implements an in memory runtime for handling objects grouped in resource groups, similarly to resource groups in Azure.
inmemory/pkg/runtime/cache
Package cache defines resource group aware Cache.
Package cache defines resource group aware Cache.
inmemory/pkg/runtime/client
Package client defines Client for operating on resource groups.
Package client defines Client for operating on resource groups.
inmemory/pkg/runtime/manager
Package manager defines a Manager for resource groups.
Package manager defines a Manager for resource groups.
inmemory/pkg/runtime/resourcegroup
Package resourcegroup defines a ResourceGroup; the default implementation is backed by a cache.
Package resourcegroup defines a ResourceGroup; the default implementation is backed by a cache.
inmemory/pkg/server
Package server implements a server that can be used to fake the APIServer and etcd running in the workload clusters; the implementation is designed specifically to make Cluster API and the Kubeadm Control Plane provider happy during a stress test (it is not complete or production ready, and it will never be).
Package server implements a server that can be used to fake the APIServer and etcd running in the workload clusters; the implementation is designed specifically to make Cluster API and the Kubeadm Control Plane provider happy during a stress test (it is not complete or production ready, and it will never be).
inmemory/pkg/server/api
Package api defines a set of Handlers to be used for implementing a fake API server, designed specifically to make Cluster API and the Kubeadm Control Plane provider happy during a stress test (it is not complete or production ready, and it will never be).
Package api defines a set of Handlers to be used for implementing a fake API server, designed specifically to make Cluster API and the Kubeadm Control Plane provider happy during a stress test (it is not complete or production ready, and it will never be).
inmemory/pkg/server/api/portforward
Package portforward implements support for implementing a fake port forward service in the api.
Package portforward implements support for implementing a fake port forward service in the api.
inmemory/pkg/server/etcd
Package etcd implements a fake etcd server, designed specifically to make Cluster API and the Kubeadm Control Plane provider happy during a stress test (it is not complete or production ready, and it will never be).
Package etcd implements a fake etcd server, designed specifically to make Cluster API and the Kubeadm Control Plane provider happy during a stress test (it is not complete or production ready, and it will never be).
inmemory/pkg/server/proxy
Package proxy implements kubeadm proxy functionality.
Package proxy implements kubeadm proxy functionality.
inmemory/webhooks
Package webhooks implements inmemory infrastructure webhooks.
Package webhooks implements inmemory infrastructure webhooks.
kind
Package kind provide utilities for CAPD interoperability with kindest/node images.
Package kind provide utilities for CAPD interoperability with kindest/node images.

Jump to

Keyboard shortcuts

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