Documentation ¶
Index ¶
- Constants
- type FakeImageCRIShimInterface
- type FakeImageServiceClient
- func (f FakeImageServiceClient) ImageFsInfo() ([]*v1api.FilesystemUsage, error)
- func (f FakeImageServiceClient) ImageStatus(image string) (*v1api.ImageStatusResponse, error)
- func (f FakeImageServiceClient) ListImages() ([]string, error)
- func (f FakeImageServiceClient) PullImage(image string) (string, error)
- func (f FakeImageServiceClient) RemoveImage(image string) error
Constants ¶
View Source
const V1 = "v1"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeImageCRIShimInterface ¶
type FakeImageCRIShimInterface interface { ListImages() ([]string, error) ImageStatus(image string) (*v1api.ImageStatusResponse, error) PullImage(image string) (string, error) RemoveImage(image string) error ImageFsInfo() ([]*v1api.FilesystemUsage, error) }
func NewFakeImageServiceClientWithV1 ¶
func NewFakeImageServiceClientWithV1(client v1api.ImageServiceClient) FakeImageCRIShimInterface
type FakeImageServiceClient ¶
type FakeImageServiceClient struct { Version string V1ImageServiceClient v1api.ImageServiceClient }
func (FakeImageServiceClient) ImageFsInfo ¶
func (f FakeImageServiceClient) ImageFsInfo() ([]*v1api.FilesystemUsage, error)
func (FakeImageServiceClient) ImageStatus ¶
func (f FakeImageServiceClient) ImageStatus(image string) (*v1api.ImageStatusResponse, error)
func (FakeImageServiceClient) ListImages ¶
func (f FakeImageServiceClient) ListImages() ([]string, error)
func (FakeImageServiceClient) PullImage ¶
func (f FakeImageServiceClient) PullImage(image string) (string, error)
return image ID
func (FakeImageServiceClient) RemoveImage ¶
func (f FakeImageServiceClient) RemoveImage(image string) error
Click to show internal directories.
Click to hide internal directories.