testetcd

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const CACertContent = `` /* 1039-byte string literal not displayed */
View Source
const CertContent = `` /* 1148-byte string literal not displayed */
View Source
const KeyContent = `` /* 1680-byte string literal not displayed */

Variables

This section is empty.

Functions

func GetTLSCerts

func GetTLSCerts(t *testing.T, certsDir string) (caFile, certFile, keyFile string)

func NewTestConfig

func NewTestConfig(t *testing.T) *embed.Config

func RunEtcdServer

func RunEtcdServer(t *testing.T, cfg *embed.Config) *embed.Etcd

Types

This section is empty.

Jump to

Keyboard shortcuts

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