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 ¶
- type Etcdctl
- func (ctl *Etcdctl) AlarmList() (*clientv3.AlarmResponse, error)
- func (ctl *Etcdctl) AuthEnable() error
- func (ctl *Etcdctl) Compact(rev int64) (*clientv3.CompactResponse, error)
- func (ctl *Etcdctl) Get(key string) (*clientv3.GetResponse, error)
- func (ctl *Etcdctl) MemberAdd(name string, peerURLs []string) (*clientv3.MemberAddResponse, error)
- func (ctl *Etcdctl) MemberList() (*clientv3.MemberListResponse, error)
- func (ctl *Etcdctl) MemberRemove(id uint64) (*clientv3.MemberRemoveResponse, error)
- func (ctl *Etcdctl) Put(key, value string) error
- func (ctl *Etcdctl) PutWithAuth(key, value, username, password string) error
- func (ctl *Etcdctl) Set(key, value string) error
- func (ctl *Etcdctl) UserAdd(name, password string) (*clientv3.AuthUserAddResponse, error)
- func (ctl *Etcdctl) UserGrantRole(user string, role string) (*clientv3.AuthUserGrantRoleResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Etcdctl ¶ added in v3.5.8
type Etcdctl struct {
// contains filtered or unexported fields
}
func NewEtcdctl ¶ added in v3.5.5
func (*Etcdctl) AlarmList ¶ added in v3.5.8
func (ctl *Etcdctl) AlarmList() (*clientv3.AlarmResponse, error)
func (*Etcdctl) AuthEnable ¶ added in v3.5.12
func (*Etcdctl) Compact ¶ added in v3.5.8
func (ctl *Etcdctl) Compact(rev int64) (*clientv3.CompactResponse, error)
func (*Etcdctl) Get ¶ added in v3.5.8
func (ctl *Etcdctl) Get(key string) (*clientv3.GetResponse, error)
func (*Etcdctl) MemberList ¶ added in v3.5.8
func (ctl *Etcdctl) MemberList() (*clientv3.MemberListResponse, error)
func (*Etcdctl) MemberRemove ¶ added in v3.5.12
func (ctl *Etcdctl) MemberRemove(id uint64) (*clientv3.MemberRemoveResponse, error)
func (*Etcdctl) PutWithAuth ¶ added in v3.5.12
func (*Etcdctl) UserAdd ¶ added in v3.5.12
func (ctl *Etcdctl) UserAdd(name, password string) (*clientv3.AuthUserAddResponse, error)
func (*Etcdctl) UserGrantRole ¶ added in v3.5.12
Click to show internal directories.
Click to hide internal directories.