Documentation ¶
Overview ¶
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).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEtcdServerHandler ¶
func NewEtcdServerHandler(manager inmemoryruntime.Manager, log logr.Logger, resolver ResourceGroupResolver) http.Handler
NewEtcdServerHandler returns an http.Handler for fake etcd members.
Types ¶
type ResourceGroupResolver ¶
ResourceGroupResolver defines a func that can identify which workloadCluster/resourceGroup a request targets.
Click to show internal directories.
Click to hide internal directories.