Documentation ¶
Index ¶
- type FakeImageService
- func (i *FakeImageService) CreateFromTarball(imagePath string, description string) (string, error)
- func (i *FakeImageService) CreateFromURL(sourceURL string, sourceSha1 string, description string) (string, error)
- func (i *FakeImageService) Delete(id string) error
- func (i *FakeImageService) Find(id string) (image.Image, bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeImageService ¶
type FakeImageService struct { CreateFromURLCalled bool CreateFromURLErr error CreateFromURLID string CreateFromURLSourceURL string CreateFromURLSourceSha1 string CreateFromURLDescription string CreateFromTarballCalled bool CreateFromTarballErr error CreateFromTarballID string CreateFromTarballImagePath string CreateFromTarballDescription string DeleteCalled bool DeleteErr error FindCalled bool FindFound bool FindImage image.Image FindErr error }
func (*FakeImageService) CreateFromTarball ¶
func (i *FakeImageService) CreateFromTarball(imagePath string, description string) (string, error)
func (*FakeImageService) CreateFromURL ¶
func (*FakeImageService) Delete ¶
func (i *FakeImageService) Delete(id string) error
Click to show internal directories.
Click to hide internal directories.