Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 42 for cadvisorapi (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. pkg/kubelet/stats/provider_test.go

    				e.Format = cadvisorapiv1.IntType
    			case 1:
    				e.Format = cadvisorapiv1.FloatType
    			}
    			c.Fuzz(&e.Units)
    		})
    	var ret []cadvisorapiv1.MetricSpec
    	f.Fuzz(&ret)
    	return ret
    }
    
    func generateCustomMetrics(spec []cadvisorapiv1.MetricSpec) map[string][]cadvisorapiv1.MetricVal {
    	ret := map[string][]cadvisorapiv1.MetricVal{}
    	for _, metricSpec := range spec {
    		f := fuzz.New().NilChance(0).Funcs(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 20K bytes
    - Viewed (0)
  8. 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)
  9. pkg/kubelet/stats/cadvisor_stats_provider.go

    func filterTerminatedContainerInfoAndAssembleByPodCgroupKey(containerInfo map[string]cadvisorapiv2.ContainerInfo) (map[string]cadvisorapiv2.ContainerInfo, map[string]cadvisorapiv2.ContainerInfo) {
    	cinfoMap := make(map[containerID][]containerInfoWithCgroup)
    	cinfosByPodCgroupKey := make(map[string]cadvisorapiv2.ContainerInfo)
    	for key, cinfo := range containerInfo {
    		var podCgroupKey string
    		if cm.IsSystemdStyleName(key) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 16 13:34:22 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  10. pkg/kubelet/stats/host_stats_provider.go

    	getPodLogStats(podNamespace, podName string, podUID types.UID, rootFsInfo *cadvisorapiv2.FsInfo) (*statsapi.FsStats, error)
    	// getPodContainerLogStats gets stats associated with container log usage
    	getPodContainerLogStats(podNamespace, podName string, podUID types.UID, containerName string, rootFsInfo *cadvisorapiv2.FsInfo) (*statsapi.FsStats, error)
    	// getPodEtcHostsStats gets stats associated with pod etc-hosts usage
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top