Documentation ¶
Overview ¶
Package e2e implements tests built upon etcd binaries, and focus on end-to-end testing.
Features/goals of the end-to-end tests: 1. test command-line parsing and arguments. 2. test user-facing command-line API. 3. launch full processes and check for expected outputs.
Index ¶
- func BeforeTest(t testing.TB)
- type Etcdctl
- func (ctl *Etcdctl) AlarmList() (*clientv3.AlarmResponse, error)
- func (ctl *Etcdctl) Compact(rev int64) (*clientv3.CompactResponse, error)
- func (ctl *Etcdctl) Get(key string) (*clientv3.GetResponse, error)
- func (ctl *Etcdctl) MemberList() (*clientv3.MemberListResponse, error)
- func (ctl *Etcdctl) Put(key, value string) error
- func (ctl *Etcdctl) Set(key, value string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BeforeTest ¶
Types ¶
type Etcdctl ¶
type Etcdctl struct {
// contains filtered or unexported fields
}
func NewEtcdctl ¶
func (*Etcdctl) MemberList ¶
func (ctl *Etcdctl) MemberList() (*clientv3.MemberListResponse, error)
Click to show internal directories.
Click to hide internal directories.