Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getTestFsInfo (0.36 sec)

  1. pkg/kubelet/stats/cadvisor_stats_provider_test.go

    		mockCadvisor = cadvisortest.NewMockInterface(mockCtrl)
    		mockRuntime  = containertest.NewMockRuntime(mockCtrl)
    
    		seed            = 1000
    		imageFsInfo     = getTestFsInfo(seed)
    		containerSeed   = 1001
    		containerFsInfo = getTestFsInfo(containerSeed)
    	)
    	imageFsInfoCRI := &runtimeapi.FilesystemUsage{
    		Timestamp:  imageFsInfo.Timestamp.Unix(),
    		FsId:       &runtimeapi.FilesystemIdentifier{Mountpoint: "images"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  2. pkg/kubelet/stats/provider_test.go

    		mockRuntimeCache = new(kubecontainertest.MockRuntimeCache)
    
    		assert  = assert.New(t)
    		options = cadvisorapiv2.RequestOptions{IdType: cadvisorapiv2.TypeName, Count: 2, Recursive: false}
    
    		rootFsInfo       = getTestFsInfo(rootFsInfoSeed)
    		containerInfo    = getTestContainerInfo(containerInfoSeed, "test-pod", "test-ns", "test-container")
    		containerInfoMap = map[string]cadvisorapiv2.ContainerInfo{"/": containerInfo}
    	)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 20K bytes
    - Viewed (0)
Back to top