bench

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2018 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoJobs

func DoJobs(name string, work []func() bool, concurrency int)

func GetDevices

func GetDevices(client *http.Client, address string, checkMounted bool) []string

func RunBench

func RunBench(args []string)

func RunCBench

func RunCBench(args []string)

func RunCGBench

func RunCGBench(args []string)

func RunDBench

func RunDBench(args []string)

func RunThrash

func RunThrash(args []string)

Types

type ContainerObject

type ContainerObject struct {
	Url string
	// contains filtered or unexported fields
}

func (*ContainerObject) Delete

func (obj *ContainerObject) Delete() bool

func (*ContainerObject) Put

func (obj *ContainerObject) Put() bool

type DirectObject

type DirectObject struct {
	Url    string
	Data   []byte
	Client *http.Client
}

func (*DirectObject) Delete

func (obj *DirectObject) Delete() bool

func (*DirectObject) Get

func (obj *DirectObject) Get() bool

func (*DirectObject) Put

func (obj *DirectObject) Put() bool

func (*DirectObject) Replicate

func (obj *DirectObject) Replicate() bool

type Object

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

func (*Object) Delete

func (obj *Object) Delete() bool

func (*Object) Get

func (obj *Object) Get() bool

func (*Object) Put

func (obj *Object) Put() bool

Jump to

Keyboard shortcuts

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