test

module
v1.6.7 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 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
Package cloud implements an in memory cloud provider.
Package cloud implements an in memory cloud provider.
inmemory/internal/cloud/api/v1alpha1
Package v1alpha1 contains API Schema definitions for the cloud v1alpha1 API group +kubebuilder:object:generate=true +groupName=virtual.cluster.x-k8s.io
Package v1alpha1 contains API Schema definitions for the cloud v1alpha1 API group +kubebuilder:object:generate=true +groupName=virtual.cluster.x-k8s.io
inmemory/internal/cloud/runtime/builder
Package builder provides a builder to build controllers.
Package builder provides a builder to build controllers.
inmemory/internal/cloud/runtime/cache
Package cache defines resource group aware Cache.
Package cache defines resource group aware Cache.
inmemory/internal/cloud/runtime/client
Package client defines Client for operating on resource groups.
Package client defines Client for operating on resource groups.
inmemory/internal/cloud/runtime/controller
Package controller provides types and functions for building Controllers.
Package controller provides types and functions for building Controllers.
inmemory/internal/cloud/runtime/event
Package event contains the definitions for the Event types produced by source.Sources and transformed into reconcile.Requests by handler.EventHandler.
Package event contains the definitions for the Event types produced by source.Sources and transformed into reconcile.Requests by handler.EventHandler.
inmemory/internal/cloud/runtime/handler
Package handler defines EventHandlers that enqueue reconcile.Requests in response to Create, Update, Deletion Events observed from Watching Kubernetes APIs.
Package handler defines EventHandlers that enqueue reconcile.Requests in response to Create, Update, Deletion Events observed from Watching Kubernetes APIs.
inmemory/internal/cloud/runtime/manager
Package manager defines a Manager for resource groups.
Package manager defines a Manager for resource groups.
inmemory/internal/cloud/runtime/predicate
Package predicate defines Predicates used by Controllers to filter Events before they are provided to EventHandlers.
Package predicate defines Predicates used by Controllers to filter Events before they are provided to EventHandlers.
inmemory/internal/cloud/runtime/reconcile
Package reconcile defines the Reconciler interface; Reconciler is provided to Controllers at creation time as the API implementation.
Package reconcile defines the Reconciler interface; Reconciler is provided to Controllers at creation time as the API implementation.
inmemory/internal/cloud/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/internal/cloud/runtime/source
Package source provides event streams to hook up to Controllers with Controller.Watch.
Package source provides event streams to hook up to Controllers with Controller.Watch.
inmemory/internal/controllers
Package controllers implements controller functionality.
Package controllers implements controller functionality.
inmemory/internal/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/internal/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/internal/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/internal/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/internal/server/proxy
Package proxy implements kubeadm proxy functionality.
Package proxy implements kubeadm proxy functionality.
inmemory/internal/webhooks
Package webhooks implements inmemory infrastructure webhooks.
Package webhooks implements inmemory infrastructure webhooks.
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