Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GCSUploader ¶
GCSUploader is an autogenerated mock type for the GCSUploader type
func NewGCSUploader ¶
func NewGCSUploader(t interface { mock.TestingT Cleanup(func()) }) *GCSUploader
NewGCSUploader creates a new instance of GCSUploader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*GCSUploader) UploadBytes ¶
func (_m *GCSUploader) UploadBytes(ctx context.Context, data []byte, fallbackSrc string, dst string) error
UploadBytes provides a mock function with given fields: ctx, data, fallbackSrc, dst
func (*GCSUploader) UploadJSON ¶
func (_m *GCSUploader) UploadJSON(ctx context.Context, data interface{}, tempFileName string, gcsObjectPath string) error
UploadJSON provides a mock function with given fields: ctx, data, tempFileName, gcsObjectPath
type HTTPClient ¶
HTTPClient is an autogenerated mock type for the HTTPClient type
func NewHTTPClient ¶
func NewHTTPClient(t interface { mock.TestingT Cleanup(func()) }) *HTTPClient
NewHTTPClient creates a new instance of HTTPClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
type ImageDownloader ¶
ImageDownloader is an autogenerated mock type for the ImageDownloader type
func NewImageDownloader ¶
func NewImageDownloader(t interface { mock.TestingT Cleanup(func()) }) *ImageDownloader
NewImageDownloader creates a new instance of ImageDownloader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ImageDownloader) DownloadImage ¶
func (_m *ImageDownloader) DownloadImage(ctx context.Context, goldURL string, digest types.Digest) ([]byte, error)
DownloadImage provides a mock function with given fields: ctx, goldURL, digest
type Matcher ¶
Matcher is an autogenerated mock type for the Matcher type
func NewMatcher ¶
NewMatcher creates a new instance of Matcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.