- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 27 for cadvisorapiv2 (0.16 sec)
-
pkg/kubelet/kubelet_test.go
sdktrace "go.opentelemetry.io/otel/sdk/trace" "go.opentelemetry.io/otel/sdk/trace/tracetest" oteltrace "go.opentelemetry.io/otel/trace" noopoteltrace "go.opentelemetry.io/otel/trace/noop" cadvisorapi "github.com/google/cadvisor/info/v1" cadvisorapiv2 "github.com/google/cadvisor/info/v2" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "go.uber.org/mock/gomock" core "k8s.io/client-go/testing" "k8s.io/mount-utils"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 106.9K bytes - Viewed (0) -
pkg/kubelet/winstats/network_stats.go
packetsOutboundDiscardedCounter: packetsOutboundDiscardedCounter, packetsOutboundErrorsCounter: packetsOutboundErrorsCounter, adapterStats: map[string]cadvisorapi.InterfaceStats{}, }, nil } func (n *networkCounter) getData() ([]cadvisorapi.InterfaceStats, error) { packetsReceivedPerSecondData, err := n.packetsReceivedPerSecondCounter.getDataList() if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 10.2K bytes - Viewed (0) -
pkg/kubelet/nodestatus/setters_test.go
limitations under the License. */ package nodestatus import ( "context" "errors" "fmt" "net" "sort" "strconv" "testing" "time" cadvisorapiv1 "github.com/google/cadvisor/info/v1" "github.com/google/go-cmp/cmp" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" v1 "k8s.io/api/core/v1"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 21:47:24 UTC 2024 - 76.1K bytes - Viewed (0) -
pkg/kubelet/winstats/perfcounter_nodestats.go
} func (p *perfCounterNodeStatsClient) getMachineInfo() (*cadvisorapi.MachineInfo, error) { hostname, err := os.Hostname() if err != nil { return nil, err } systemUUID, err := getSystemUUID() if err != nil { return nil, err } bootId, err := getBootID() if err != nil { return nil, err } return &cadvisorapi.MachineInfo{ NumCores: ProcessorCount(),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 26 18:37:21 UTC 2024 - 9.2K bytes - Viewed (0) -
pkg/kubelet/winstats/perfcounter_nodestats_test.go
See the License for the specific language governing permissions and limitations under the License. */ package winstats import ( "os" "strconv" "testing" "time" cadvisorapi "github.com/google/cadvisor/info/v1" "github.com/google/uuid" "github.com/stretchr/testify/assert" "k8s.io/apimachinery/pkg/util/wait" ) func TestMonitoring(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 26 18:37:21 UTC 2024 - 5.7K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/topology_hints_test.go
} func returnMachineInfo() cadvisorapi.MachineInfo { return cadvisorapi.MachineInfo{ NumCores: 12, Topology: []cadvisorapi.Node{ {Id: 0, Cores: []cadvisorapi.Core{ {SocketID: 0, Id: 0, Threads: []int{0, 6}}, {SocketID: 0, Id: 1, Threads: []int{1, 7}}, {SocketID: 0, Id: 2, Threads: []int{2, 8}}, }, }, {Id: 1, Cores: []cadvisorapi.Core{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 19K bytes - Viewed (0) -
pkg/kubelet/kubelet_getters.go
func (kl *Kubelet) GetRequestedContainersInfo(containerName string, options cadvisorv2.RequestOptions) (map[string]*cadvisorapiv1.ContainerInfo, error) { return kl.cadvisor.GetRequestedContainersInfo(containerName, options) } // GetVersionInfo returns information about the version of cAdvisor in use. func (kl *Kubelet) GetVersionInfo() (*cadvisorapiv1.VersionInfo, error) { return kl.cadvisor.VersionInfo() }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 09 00:48:07 UTC 2024 - 17.9K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/fake_kuberuntime_manager.go
See the License for the specific language governing permissions and limitations under the License. */ package kuberuntime import ( "context" "net/http" "time" cadvisorapi "github.com/google/cadvisor/info/v1" "go.opentelemetry.io/otel/trace" v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/resource" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 16 17:55:59 UTC 2024 - 5.1K bytes - Viewed (0) -
pkg/kubelet/server/server.go
return a.host.GetRequestedContainersInfo(containerName, options) } func (a prometheusHostAdapter) GetVersionInfo() (*cadvisorapi.VersionInfo, error) { return a.host.GetVersionInfo() } func (a prometheusHostAdapter) GetMachineInfo() (*cadvisorapi.MachineInfo, error) { return a.host.GetCachedMachineInfo() }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 40.1K bytes - Viewed (0) -
pkg/kubelet/kubelet_node_status_test.go
"fmt" "net" goruntime "runtime" "sort" "strconv" "strings" "sync/atomic" "testing" "time" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" cadvisorapi "github.com/google/cadvisor/info/v1" "github.com/google/go-cmp/cmp" v1 "k8s.io/api/core/v1" apiequality "k8s.io/apimachinery/pkg/api/equality" apierrors "k8s.io/apimachinery/pkg/api/errors"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 08 19:23:19 UTC 2024 - 115.8K bytes - Viewed (0)