package testing
import "k8s.io/kubernetes/pkg/storage/etcd/testing"
Index ¶
Types ¶
type EtcdTestServer ¶
type EtcdTestServer struct { etcdserver.ServerConfig PeerListeners, ClientListeners []net.Listener Client *goetcd.Client // contains filtered or unexported fields }
EtcdTestServer encapsulates the datastructures needed to start local instance for testing
func NewEtcdTestClientServer ¶
func NewEtcdTestClientServer(t *testing.T) *EtcdTestServer
NewEtcdTestClientServer creates a new client and server for testing
func (*EtcdTestServer) Terminate ¶
func (m *EtcdTestServer) Terminate(t *testing.T)
Terminate will shutdown the running etcd server
Source Files ¶
utils.go
- Version
- v1.2.0-alpha.5
- Published
- Dec 15, 2015
- Platform
- js/wasm
- Imports
- 14 packages
- Last checked
- 1 minute ago –
Tools for package owners.