package testing
import "k8s.io/apiserver/pkg/storage/etcd3/testing"
Index ¶
Functions ¶
func AddPrefix ¶
AddPrefix adds the ETCD_PREFIX to the provided key
func PathPrefix ¶
func PathPrefix() string
PathPrefix returns the prefix set via the ETCD_PREFIX environment variable (if any).
Types ¶
type EtcdTestServer ¶
EtcdTestServer encapsulates the datastructures needed to start local instance for testing
func NewUnsecuredEtcd3TestClientServer ¶
func NewUnsecuredEtcd3TestClientServer(t *testing.T) (*EtcdTestServer, *storagebackend.Config)
NewUnsecuredEtcd3TestClientServer creates a new client and server for testing
func (*EtcdTestServer) Terminate ¶
func (e *EtcdTestServer) Terminate(t *testing.T)
Source Files ¶
test_server.go utils.go
Directories ¶
Path | Synopsis |
---|---|
pkg/storage/etcd3/testing/testingcert |
- Version
- v0.24.10-rc.0
- Published
- Dec 8, 2022
- Platform
- js/wasm
- Imports
- 6 packages
- Last checked
- 1 minute ago –
Tools for package owners.