- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for getFsInfo (0.21 sec)
-
pkg/kubelet/cadvisor/cadvisor_linux.go
if err != nil { return cadvisorapiv2.FsInfo{}, err } return cc.getFsInfo(label) } func (cc *cadvisorClient) RootFsInfo() (cadvisorapiv2.FsInfo, error) { return cc.GetDirFsInfo(cc.rootPath) } func (cc *cadvisorClient) getFsInfo(label string) (cadvisorapiv2.FsInfo, error) { res, err := cc.GetFsInfo(label) if err != nil { return cadvisorapiv2.FsInfo{}, err } if len(res) == 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 22:07:20 UTC 2023 - 5.5K bytes - Viewed (0) -
pkg/kubelet/stats/cri_stats_provider.go
return "", err } for _, fs := range resp.GetImageFilesystems() { fsInfo, err := p.getFsInfo(fs.GetFsId()) if err != nil { return "", fmt.Errorf("get filesystem info: %w", err) } if fsInfo != nil { return fsInfo.Device, nil } } return "", errors.New("imagefs device is not found") } // getFsInfo returns the information of the filesystem with the specified
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 18:46:33 UTC 2023 - 35.1K bytes - Viewed (0) -
pkg/kubelet/stats/cri_stats_provider_windows.go
} } var err error fsID := stats.GetWritableLayer().GetFsId() if fsID != nil { imageFsInfo, found := fsIDtoInfo[*fsID] if !found { imageFsInfo, err = p.getFsInfo(fsID) if err != nil { return nil, fmt.Errorf("get filesystem info: %w", err) } fsIDtoInfo[*fsID] = imageFsInfo } if imageFsInfo != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Feb 18 07:03:11 UTC 2024 - 10.4K bytes - Viewed (0) -
pkg/kubelet/winstats/perfcounter_nodestats.go
cpuUsageCoreNanoSecondsCache } func (p *perfCounterNodeStatsClient) startMonitoring() error { memory, err := getPhysicallyInstalledSystemMemoryBytes() if err != nil { return err } osInfo, err := GetOSInfo() if err != nil { return err } p.nodeInfo = nodeInfo{ kernelVersion: osInfo.GetPatchVersion(), osImageVersion: osInfo.ProductName, memoryPhysicalCapacityBytes: memory,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 26 18:37:21 UTC 2024 - 9.2K bytes - Viewed (0) -
cmd/peer-rest-client.go
resp, err := getPartitionsRPC.Call(ctx, client.gridConn(), grid.NewMSS()) return resp.ValueOrZero(), err } // GetOSInfo - fetch OS information for a remote node. func (client *peerRESTClient) GetOSInfo(ctx context.Context) (info madmin.OSInfo, err error) { resp, err := getOSInfoRPC.Call(ctx, client.gridConn(), grid.NewMSS()) return resp.ValueOrZero(), err }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 26.1K bytes - Viewed (0) -
cmd/notification.go
} for index, err := range g.Wait() { if err != nil { sys.addNodeErr(&reply[index], sys.peerClients[index], err) } } return reply } // GetOSInfo - Get operating system's information func (sys *NotificationSys) GetOSInfo(ctx context.Context) []madmin.OSInfo { reply := make([]madmin.OSInfo, len(sys.peerClients)) g := errgroup.WithNErrs(len(sys.peerClients))
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 44.9K bytes - Viewed (0) -
cmd/admin-handlers.go
} } getAndWriteOSInfo := func() { if query.Get("sysosinfo") == "true" { localOSInfo := madmin.GetOSInfo(healthCtx, globalLocalNodeName) anonymizeAddr(&localOSInfo) healthInfo.Sys.OSInfo = append(healthInfo.Sys.OSInfo, localOSInfo) peerOSInfos := globalNotificationSys.GetOSInfo(healthCtx) for _, o := range peerOSInfos { anonymizeAddr(&o)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 98K bytes - Viewed (0) -
cmd/peer-rest-server.go
} // GetOSInfoHandler - returns operating system's information. func (s *peerRESTServer) GetOSInfoHandler(_ *grid.MSS) (*grid.JSON[madmin.OSInfo], *grid.RemoteErr) { info := madmin.GetOSInfo(context.Background(), globalLocalNodeName) return madminOSInfo.NewJSONWith(&info), nil } // GetProcInfoHandler - returns this MinIO process information.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 52.1K bytes - Viewed (0)