Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ListImages (0.1 sec)

  1. pkg/kubelet/container/runtime.go

    	// the local storage. It returns ("", nil) if the image isn't in the local storage.
    	GetImageRef(ctx context.Context, image ImageSpec) (string, error)
    	// ListImages gets all images currently on the machine.
    	ListImages(ctx context.Context) ([]Image, error)
    	// RemoveImage removes the specified image.
    	RemoveImage(ctx context.Context, image ImageSpec) error
    	// ImageStats returns Image statistics.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_test.go

    type fakeImageGCManager struct {
    	fakeImageService kubecontainer.ImageService
    	images.ImageGCManager
    }
    
    func (f *fakeImageGCManager) GetImageList() ([]kubecontainer.Image, error) {
    	return f.fakeImageService.ListImages(context.Background())
    }
    
    type TestKubelet struct {
    	kubelet              *Kubelet
    	fakeRuntime          *containertest.FakeRuntime
    	fakeContainerManager *cm.FakeContainerManager
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
Back to top