Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for cadvisorapi (0.28 sec)

  1. 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)
  2. pkg/kubelet/runonce_test.go

    	cadvisor := cadvisortest.NewMockInterface(mockCtrl)
    	cadvisor.EXPECT().MachineInfo().Return(&cadvisorapi.MachineInfo{}, nil).AnyTimes()
    	cadvisor.EXPECT().ImagesFsInfo().Return(cadvisorapiv2.FsInfo{
    		Usage:     400,
    		Capacity:  1000,
    		Available: 600,
    	}, nil).AnyTimes()
    	cadvisor.EXPECT().RootFsInfo().Return(cadvisorapiv2.FsInfo{
    		Usage:    9,
    		Capacity: 10,
    	}, nil).AnyTimes()
    	fakeSecretManager := secret.NewFakeManager()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 06:59:54 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. pkg/kubelet/server/server_test.go

    	return map[string]*cadvisorapi.ContainerInfo{}, nil
    }
    
    func (fk *fakeKubelet) GetCachedMachineInfo() (*cadvisorapi.MachineInfo, error) {
    	return fk.machineInfoFunc()
    }
    
    func (*fakeKubelet) GetVersionInfo() (*cadvisorapi.VersionInfo, error) {
    	return &cadvisorapi.VersionInfo{}, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  6. 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)
  7. pkg/kubelet/cm/devicemanager/manager.go

    limitations under the License.
    */
    
    package devicemanager
    
    import (
    	"context"
    	"fmt"
    	"os"
    	"path/filepath"
    	"runtime"
    	"sort"
    	"sync"
    	"time"
    
    	cadvisorapi "github.com/google/cadvisor/info/v1"
    	"k8s.io/klog/v2"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    	errorsutil "k8s.io/apimachinery/pkg/util/errors"
    	"k8s.io/apimachinery/pkg/util/sets"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 12:01:56 UTC 2024
    - 43K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/devicemanager/manager_test.go

    limitations under the License.
    */
    
    package devicemanager
    
    import (
    	"fmt"
    	"os"
    	"path/filepath"
    	"reflect"
    	goruntime "runtime"
    	"sync"
    	"sync/atomic"
    	"testing"
    	"time"
    
    	cadvisorapi "github.com/google/cadvisor/info/v1"
    	"github.com/stretchr/testify/assert"
    	"github.com/stretchr/testify/require"
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  9. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    limitations under the License.
    */
    
    package kuberuntime
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"os"
    	"path/filepath"
    	"sort"
    	"time"
    
    	cadvisorapi "github.com/google/cadvisor/info/v1"
    	"github.com/google/go-cmp/cmp"
    	"go.opentelemetry.io/otel/trace"
    	crierror "k8s.io/cri-api/pkg/errors"
    	"k8s.io/klog/v2"
    
    	v1 "k8s.io/api/core/v1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  10. cmd/kubelet/app/server.go

    	"github.com/spf13/cobra"
    	"github.com/spf13/pflag"
    	"google.golang.org/grpc/codes"
    	"google.golang.org/grpc/status"
    	jsonpatch "gopkg.in/evanphx/json-patch.v4"
    	"k8s.io/klog/v2"
    	"k8s.io/mount-utils"
    
    	cadvisorapi "github.com/google/cadvisor/info/v1"
    	"go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc"
    	otelsdkresource "go.opentelemetry.io/otel/sdk/resource"
    	semconv "go.opentelemetry.io/otel/semconv/v1.12.0"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
Back to top