Versions in this module Expand all Collapse all v1 v1.1.2 Jul 11, 2019 v1.1.1 Dec 14, 2018 Changes in this version + type EcsClient struct + AuthToken string + ClusterAddress string + EcsVersion string + ErrorCount float64 + Password string + UserName string + func (c *EcsClient) CallECSAPI(request string) (response string, err error) + func (c *EcsClient) Logout() error + func (c *EcsClient) RetrieveAuthToken() (authToken string, err error) + func (c *EcsClient) RetrieveClusterState() (EcsClusterState, error) + func (c *EcsClient) RetrieveNodeCount() int + func (c *EcsClient) RetrieveNodeInfo() + func (c *EcsClient) RetrieveNodeStateParallel() []NodeState + func (c *EcsClient) RetrieveReplState() (EcsReplState, error) + type EcsClusterState struct + AlertsNumUnackCritical float64 + AlertsNumUnackError float64 + AlertsNumUnackInfo float64 + AlertsNumUnackWarning float64 + DiskSpaceAllocated float64 + DiskSpaceFree float64 + DiskSpaceTotal float64 + NumBadDisks float64 + NumBadNodes float64 + NumGoodDisks float64 + NumGoodNodes float64 + NumNodes float64 + TransactionErrorsTotal float64 + TransactionReadBandwidthCurrent float64 + TransactionReadLatency float64 + TransactionReadTransactionsPerSecond float64 + TransactionSuccessTotal float64 + TransactionWriteBandwidthCurrent float64 + TransactionWriteLatency float64 + TransactionWriteTransactionsPerSecond float64 + VdcName string + type EcsReplState struct + ChunksJournalPendingReplicationTotalSize float64 + ChunksPendingXorTotalSize float64 + ChunksRepoPendingReplicationTotalSize float64 + ReplicationEgressTraffic float64 + ReplicationIngressTraffic float64 + ReplicationRpoTimestamp float64 + RgName string + type NodeState struct + ActiveConnections float64 + NodeIP string + TotalDTnum float64 + UnknownDTnum float64 + UnreadyDTnum float64