Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Endpoint string `json:"endpoint,omitempty"` BytesSent Bytes `json:"bytesSent,omitempty"` TimeSpent time.Duration `json:"timeSpent,omitempty"` }
func (Client) Throughput ¶
type Drive ¶
type Drive struct {
Servers []DriveServers `json:"servers,omitempty"`
}
type DriveServers ¶
type Get ¶
type Get struct { Perf Perf `json:"perf,omitempty"` Servers []ObjectServers `json:"servers,omitempty"` }
type Network ¶
type Network struct {
Servers []NetworkServers `json:"servers,omitempty"`
}
type NetworkServers ¶
type Object ¶
type ObjectServers ¶
type ObjectServers struct {
Endpoint string `json:"endpoint,omitempty"`
}
type Perf ¶
type Perf struct { Throughput Bytes `json:"throughput,omitempty"` ObjectsPerSec int `json:"objectsPerSec,omitempty"` ResponseTime ResponseTime `json:"responseTime,omitempty"` Ttfb ResponseTime `json:"ttfb,omitempty"` Tx Bytes `json:"tx,omitempty"` TxTotalDuration time.Duration `json:"txTotalDuration,omitempty"` Rx Bytes `json:"rx,omitempty"` RxTotalDuration time.Duration `json:"rxTotalDuration,omitempty"` Path string `json:"path,omitempty"` ReadThroughput Bytes `json:"readThroughput,omitempty"` WriteThroughput Bytes `json:"writeThroughput,omitempty"` }
type Put ¶
type Put struct { Perf Perf `json:"perf,omitempty"` Servers []ObjectServers `json:"servers,omitempty"` }
type ResponseTime ¶
type ResponseTime struct { Avg Bytes `json:"avg,omitempty"` P50 Bytes `json:"p50,omitempty"` P75 Bytes `json:"p75,omitempty"` P95 Bytes `json:"p95,omitempty"` P99 Bytes `json:"p99,omitempty"` P999 Bytes `json:"p999,omitempty"` L5P Bytes `json:"l5p,omitempty"` S5P Bytes `json:"s5p,omitempty"` Max Bytes `json:"max,omitempty"` Min Bytes `json:"min,omitempty"` Sdev Bytes `json:"sdev,omitempty"` Range Bytes `json:"range,omitempty"` }
type Result ¶
type Result struct { Version string Network Network `json:"network,omitempty"` Drive Drive `json:"drive,omitempty"` Object Object `json:"object,omitempty"` Client Client `json:"client,omitempty"` SiteReplication SiteReplication `json:"siteReplication,omitempty"` }
func FromJsonByteArray ¶
func FromJsonFile ¶
func FromZipFile ¶
type SiteReplication ¶
type SiteReplication struct {
Servers []SiteReplicationServers `json:"servers,omitempty"`
}
func (*SiteReplication) IsPresent ¶
func (s *SiteReplication) IsPresent() bool
type SiteReplicationServers ¶
Click to show internal directories.
Click to hide internal directories.