Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 118 for cadvisorfs (0.87 sec)

  1. pkg/kubelet/cadvisor/helpers_linux.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package cadvisor
    
    import (
    	"fmt"
    	"strings"
    
    	cadvisorfs "github.com/google/cadvisor/fs"
    )
    
    // imageFsInfoProvider knows how to translate the configured runtime
    // to its file system label for images.
    type imageFsInfoProvider struct {
    	runtimeEndpoint string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:15:53 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. pkg/kubelet/cadvisor/cadvisor_linux_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package cadvisor
    
    import (
    	"fmt"
    	"testing"
    
    	"github.com/stretchr/testify/assert"
    
    	"github.com/google/cadvisor/container/crio"
    	cadvisorfs "github.com/google/cadvisor/fs"
    )
    
    func TestImageFsInfoLabel(t *testing.T) {
    	testcases := []struct {
    		description     string
    		runtime         string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:15:53 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. pkg/kubelet/stats/cri_stats_provider.go

    package stats
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"path/filepath"
    	"sort"
    	"strings"
    	"sync"
    	"time"
    
    	cadvisormemory "github.com/google/cadvisor/cache/memory"
    	cadvisorfs "github.com/google/cadvisor/fs"
    	cadvisorapiv2 "github.com/google/cadvisor/info/v2"
    	"google.golang.org/grpc/codes"
    	"google.golang.org/grpc/status"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  4. pkg/kubelet/stats/cri_stats_provider_test.go

    limitations under the License.
    */
    
    package stats
    
    import (
    	"context"
    	"math/rand"
    	"os"
    	"path/filepath"
    	"runtime"
    	"strings"
    	"testing"
    	"time"
    
    	cadvisorfs "github.com/google/cadvisor/fs"
    	cadvisorapiv2 "github.com/google/cadvisor/info/v2"
    	"github.com/stretchr/testify/assert"
    	gomock "go.uber.org/mock/gomock"
    	"k8s.io/apimachinery/pkg/api/resource"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  5. pkg/kubelet/server/stats/handler.go

    package stats
    
    import (
    	"context"
    	"fmt"
    	"net/http"
    
    	restful "github.com/emicklei/go-restful/v3"
    	cadvisorapi "github.com/google/cadvisor/info/v1"
    	cadvisorv2 "github.com/google/cadvisor/info/v2"
    	"k8s.io/klog/v2"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/types"
    	statsapi "k8s.io/kubelet/pkg/apis/stats/v1alpha1"
    	"k8s.io/kubernetes/pkg/kubelet/cm"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 14 21:31:38 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  6. build/dependencies.yaml

        - path: build/common.sh
          match: __default_setcap_version=
    
      # cadvisor
      - name: "gcr.io/cadvisor/cadvisor: dependents"
        version: "v0.47.2"
        refPaths:
        - path: test/e2e_node/resource_collector.go
          match: gcr.io\/cadvisor\/cadvisor:v\d+\.\d+\.\d+
        - path: test/e2e_node/image_list.go
          mathc: gcr.io\/cadvisor\/cadvisor:v\d+\.\d+\.\d+
    
      # GCB docker gcloud image
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. pkg/kubelet/server/server.go

    	"reflect"
    	goruntime "runtime"
    	"strconv"
    	"strings"
    	"time"
    
    	"github.com/emicklei/go-restful/v3"
    	cadvisormetrics "github.com/google/cadvisor/container"
    	cadvisorapi "github.com/google/cadvisor/info/v1"
    	cadvisorv2 "github.com/google/cadvisor/info/v2"
    	"github.com/google/cadvisor/metrics"
    	"go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful"
    	oteltrace "go.opentelemetry.io/otel/trace"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 40.1K bytes
    - Viewed (0)
  8. 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)
  9. pkg/kubelet/stats/provider.go

    ) *Provider {
    	return newStatsProvider(cadvisor, podManager, runtimeCache, newCRIStatsProvider(cadvisor, resourceAnalyzer,
    		runtimeService, imageService, hostStatsProvider, podAndContainerStatsFromCRI))
    }
    
    // NewCadvisorStatsProvider returns a containerStatsProvider that provides both
    // the node and the container stats from cAdvisor.
    func NewCadvisorStatsProvider(
    	cadvisor cadvisor.Interface,
    	resourceAnalyzer stats.ResourceAnalyzer,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 13:56:22 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  10. pkg/kubelet/cadvisor/types.go

    */
    
    //go:generate mockgen -source=types.go -destination=testing/cadvisor_mock.go -package=testing Interface
    package cadvisor
    
    import (
    	cadvisorapi "github.com/google/cadvisor/info/v1"
    	cadvisorapiv2 "github.com/google/cadvisor/info/v2"
    )
    
    // Interface is an abstract interface for testability.  It abstracts the interface to cAdvisor.
    type Interface interface {
    	Start() error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 22:07:20 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top