etcd

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

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

type ResourceGroupResolver func(host string) (string, error)

ResourceGroupResolver defines a func that can identify which workloadCluster/resourceGroup a request targets.

Jump to

Keyboard shortcuts

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