etcd

package
v0.0.0-...-2d9dd87 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2023 License: Apache-2.0 Imports: 16 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 cmanager.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