var errNotImplemented …
type fakeEtcdClient …
func (f *fakeEtcdClient) Close() error { … }
func (f *fakeEtcdClient) Endpoints() []string { … }
func (f *fakeEtcdClient) MemberList(_ context.Context) (*clientv3.MemberListResponse, error) { … }
func (f *fakeEtcdClient) MemberAdd(_ context.Context, peerAddrs []string) (*clientv3.MemberAddResponse, error) { … }
func (f *fakeEtcdClient) MemberAddAsLearner(_ context.Context, peerAddrs []string) (*clientv3.MemberAddResponse, error) { … }
func (f *fakeEtcdClient) MemberRemove(_ context.Context, id uint64) (*clientv3.MemberRemoveResponse, error) { … }
func (f *fakeEtcdClient) MemberPromote(_ context.Context, id uint64) (*clientv3.MemberPromoteResponse, error) { … }
func (f *fakeEtcdClient) Status(_ context.Context, endpoint string) (*clientv3.StatusResponse, error) { … }
func (f *fakeEtcdClient) Sync(_ context.Context) error { … }
func testGetURL(t *testing.T, getURLFunc func(*kubeadmapi.APIEndpoint) string, port int) { … }
func TestGetClientURL(t *testing.T) { … }
func TestGetPeerURL(t *testing.T) { … }
func TestGetClientURLByIP(t *testing.T) { … }
func TestGetEtcdEndpointsWithBackoff(t *testing.T) { … }
func TestGetRawEtcdEndpointsFromPodAnnotation(t *testing.T) { … }
func TestGetRawEtcdEndpointsFromPodAnnotationWithoutRetry(t *testing.T) { … }
func TestClient_GetMemberID(t *testing.T) { … }
func TestListMembers(t *testing.T) { … }
func TestIsLearner(t *testing.T) { … }