Documentation
¶
Index ¶
Constants ¶
View Source
const (
DmiCallCmd = "zos.system.dmi"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CPUUtilizationPercent ¶ added in v0.15.16
type DMIWork ¶
type DMIWork struct {
// contains filtered or unexported fields
}
func NewDMIWork ¶
type FeatureWork ¶ added in v0.15.18
type FeatureWork struct {
// contains filtered or unexported fields
}
func NewFeatureWork ¶ added in v0.15.18
func NewFeatureWork(interval uint) *FeatureWork
func (*FeatureWork) Finders ¶ added in v0.15.18
func (w *FeatureWork) Finders() map[string]time.Duration
func (*FeatureWork) Get ¶ added in v0.15.18
func (w *FeatureWork) Get(ctx context.Context, rmb *peer.RpcClient, twinId uint32) ([]types.NodeFeatures, error)
func (*FeatureWork) Upsert ¶ added in v0.15.18
func (w *FeatureWork) Upsert(ctx context.Context, db db.Database, batch []types.NodeFeatures) error
type GPUWork ¶
type GPUWork struct {
// contains filtered or unexported fields
}
func NewGPUWork ¶
type HealthWork ¶
type HealthWork struct {
// contains filtered or unexported fields
}
func NewHealthWork ¶
func NewHealthWork(interval uint) *HealthWork
func (*HealthWork) Get ¶
func (w *HealthWork) Get(ctx context.Context, rmb *peer.RpcClient, twinId uint32) ([]types.HealthReport, error)
func (*HealthWork) Upsert ¶
func (w *HealthWork) Upsert(ctx context.Context, db db.Database, batch []types.HealthReport) error
type Indexer ¶
type Indexer[T any] struct { // contains filtered or unexported fields }
func NewIndexer ¶
type IperfResult ¶ added in v0.15.16
type IperfResult struct {
UploadSpeed float64 `json:"upload_speed"` // in bit/sec
DownloadSpeed float64 `json:"download_speed"` // in bit/sec
NodeID uint32 `json:"node_id"`
NodeIpv4 string `json:"node_ip"`
TestType string `json:"test_type"`
Error string `json:"error"`
CpuReport CPUUtilizationPercent `json:"cpu_report"`
}
type Ipv6Work ¶ added in v0.15.1
type Ipv6Work struct {
// contains filtered or unexported fields
}
func NewIpv6Work ¶ added in v0.15.1
type SpeedWork ¶
type SpeedWork struct {
// contains filtered or unexported fields
}
func NewSpeedWork ¶
type TaskResult ¶ added in v0.15.16
type WorkloadWork ¶ added in v0.15.3
type WorkloadWork struct {
// contains filtered or unexported fields
}
func NewWorkloadWork ¶ added in v0.15.3
func NewWorkloadWork(interval uint) *WorkloadWork
func (*WorkloadWork) Finders ¶ added in v0.15.3
func (w *WorkloadWork) Finders() map[string]time.Duration
func (*WorkloadWork) Get ¶ added in v0.15.3
func (w *WorkloadWork) Get(ctx context.Context, rmb *peer.RpcClient, twinId uint32) ([]types.NodesWorkloads, error)
func (*WorkloadWork) Upsert ¶ added in v0.15.3
func (w *WorkloadWork) Upsert(ctx context.Context, db db.Database, batch []types.NodesWorkloads) error
Click to show internal directories.
Click to hide internal directories.