Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for cadvisorapi (0.23 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    */
    
    package kuberuntime
    
    import (
    	"context"
    	"fmt"
    	"path/filepath"
    	"reflect"
    	"sort"
    	"testing"
    	"time"
    
    	"google.golang.org/grpc/codes"
    	"google.golang.org/grpc/status"
    
    	cadvisorapi "github.com/google/cadvisor/info/v1"
    	"github.com/stretchr/testify/assert"
    	"github.com/stretchr/testify/require"
    	noopoteltrace "go.opentelemetry.io/otel/trace/noop"
    
    	v1 "k8s.io/api/core/v1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
  2. 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)
  3. pkg/kubelet/kubelet.go

    import (
    	"context"
    	"crypto/tls"
    	"errors"
    	"fmt"
    	"math"
    	"net"
    	"net/http"
    	"os"
    	"path/filepath"
    	sysruntime "runtime"
    	"sort"
    	"sync"
    	"sync/atomic"
    	"time"
    
    	cadvisorapi "github.com/google/cadvisor/info/v1"
    	"github.com/google/go-cmp/cmp"
    	"github.com/opencontainers/selinux/go-selinux"
    	"go.opentelemetry.io/otel/attribute"
    	semconv "go.opentelemetry.io/otel/semconv/v1.12.0"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  4. pkg/kubelet/stats/cadvisor_stats_provider_test.go

    			t.Errorf("No container defined with name %v", name)
    		}
    		info.Spec.Memory = cadvisorapiv2.MemorySpec{}
    		info.Spec.Cpu = cadvisorapiv2.CpuSpec{}
    		info.Spec.HasMemory = false
    		info.Spec.HasCpu = false
    		info.Spec.HasNetwork = false
    		infos[name] = info
    	}
    
    	options := cadvisorapiv2.RequestOptions{
    		IdType:    cadvisorapiv2.TypeName,
    		Count:     2,
    		Recursive: true,
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  5. pkg/kubelet/stats/cri_stats_provider_test.go

    		sandbox3Cgroup:                getTestContainerInfo(seedSandbox3, "", "", ""),
    	}
    
    	options := cadvisorapiv2.RequestOptions{
    		IdType:    cadvisorapiv2.TypeName,
    		Count:     2,
    		Recursive: true,
    	}
    
    	mockCadvisor.EXPECT().ContainerInfoV2("/", options).Return(infos, nil)
    	mockCadvisor.EXPECT().RootFsInfo().Return(rootFsInfo, nil)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  6. 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)
  7. pkg/kubelet/nodestatus/setters.go

    limitations under the License.
    */
    
    package nodestatus
    
    import (
    	"context"
    	"fmt"
    	"math"
    	"net"
    	goruntime "runtime"
    	"strings"
    	"time"
    
    	cadvisorapiv1 "github.com/google/cadvisor/info/v1"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/util/errors"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 12:12:04 UTC 2024
    - 30.5K bytes
    - Viewed (0)
Back to top