e2e

package
v3.0.0-...-1ca2656 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func BeforeTest

func BeforeTest(t testing.TB)

Types

type Etcdctl

type Etcdctl struct {
	// contains filtered or unexported fields
}

func NewEtcdctl

func NewEtcdctl(endpoints []string, connType clientConnType, isAutoTLS bool, v2 bool) *Etcdctl

func (*Etcdctl) AlarmList

func (ctl *Etcdctl) AlarmList() (*clientv3.AlarmResponse, error)

func (*Etcdctl) Compact

func (ctl *Etcdctl) Compact(rev int64) (*clientv3.CompactResponse, error)

func (*Etcdctl) Get

func (ctl *Etcdctl) Get(key string) (*clientv3.GetResponse, error)

func (*Etcdctl) MemberList

func (ctl *Etcdctl) MemberList() (*clientv3.MemberListResponse, error)

func (*Etcdctl) Put

func (ctl *Etcdctl) Put(key, value string) error

func (*Etcdctl) Set

func (ctl *Etcdctl) Set(key, value string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL