btest

package
v0.2.19-0...-0e46f23 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2018 License: GPL-3.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FunctionName

func FunctionName(i interface{}) string

func Start

func Start(base, proxy_path string)

func TestBackendStatusUpdate

func TestBackendStatusUpdate(t *BackrunnerTest) error

func TestResult

func TestResult(err error) string

Types

type BStat

type BStat struct {
	Group map[string]GroupStat
	Meta  bucket.BucketMsgpack
}

type BackrunnerTest

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

func (*BackrunnerTest) ACLInit

func (t *BackrunnerTest) ACLInit() error

func (*BackrunnerTest) NewCheckRequest

func (t *BackrunnerTest) NewCheckRequest(method, handler, user, token string, status int) *CheckRequest

func (*BackrunnerTest) NewEmptyRequest

func (t *BackrunnerTest) NewEmptyRequest(method, handler, user, token, bucket, key string) *http.Request

func (*BackrunnerTest) NewRequest

func (t *BackrunnerTest) NewRequest(method, handler, user, token, bucket, key string, body io.Reader) *http.Request

func (*BackrunnerTest) StartEllipticsClientProxy

func (bt *BackrunnerTest) StartEllipticsClientProxy(proxy_path string)

func (*BackrunnerTest) StartEllipticsServer

func (bt *BackrunnerTest) StartEllipticsServer()

type CheckRequest

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

type GroupStat

type GroupStat struct {
	Backends         []StatAB
	RecordsTotal     uint64
	RecordsRemoved   uint64
	RecordsCorrupted uint64
}

type Stat

type Stat struct {
	Buckets map[string]BStat
}

type StatAB

type StatAB struct {
	Address string
	Backend int32
	Stat    *elliptics.StatBackend
}

Jump to

Keyboard shortcuts

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