cluster-api: sigs.k8s.io/cluster-api/controlplane/kubeadm/internal/etcd/fake Index | Files

package fake

import "sigs.k8s.io/cluster-api/controlplane/kubeadm/internal/etcd/fake"

Index

Package Files

client.go

type FakeEtcdClient Uses

type FakeEtcdClient struct {
    AlarmResponse        *clientv3.AlarmResponse
    EtcdEndpoints        []string
    MemberListResponse   *clientv3.MemberListResponse
    MemberRemoveResponse *clientv3.MemberRemoveResponse
    MemberUpdateResponse *clientv3.MemberUpdateResponse
    MoveLeaderResponse   *clientv3.MoveLeaderResponse
    StatusResponse       *clientv3.StatusResponse
    ErrorResponse        error
    MovedLeader          uint64
    RemovedMember        uint64
}

func (*FakeEtcdClient) AlarmList Uses

func (c *FakeEtcdClient) AlarmList(_ context.Context) (*clientv3.AlarmResponse, error)

func (*FakeEtcdClient) Close Uses

func (c *FakeEtcdClient) Close() error

func (*FakeEtcdClient) Endpoints Uses

func (c *FakeEtcdClient) Endpoints() []string

func (*FakeEtcdClient) MemberList Uses

func (c *FakeEtcdClient) MemberList(_ context.Context) (*clientv3.MemberListResponse, error)

func (*FakeEtcdClient) MemberRemove Uses

func (c *FakeEtcdClient) MemberRemove(_ context.Context, i uint64) (*clientv3.MemberRemoveResponse, error)

func (*FakeEtcdClient) MemberUpdate Uses

func (c *FakeEtcdClient) MemberUpdate(_ context.Context, _ uint64, _ []string) (*clientv3.MemberUpdateResponse, error)

func (*FakeEtcdClient) MoveLeader Uses

func (c *FakeEtcdClient) MoveLeader(_ context.Context, i uint64) (*clientv3.MoveLeaderResponse, error)

func (*FakeEtcdClient) Status Uses

func (c *FakeEtcdClient) Status(_ context.Context, _ string) (*clientv3.StatusResponse, error)

Package fake imports 2 packages (graph). Updated 2020-10-27. Refresh now. Tools for package owners.