mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-14 11:03:09 +02:00
35 lines
929 B
Go
35 lines
929 B
Go
|
// Code generated by mockery v2.0.0-alpha.13. DO NOT EDIT.
|
||
|
|
||
|
package mocks
|
||
|
|
||
|
import (
|
||
|
http "net/http"
|
||
|
|
||
|
pkghttp "github.com/SAP/jenkins-library/pkg/http"
|
||
|
mock "github.com/stretchr/testify/mock"
|
||
|
)
|
||
|
|
||
|
// HadolintClient is an autogenerated mock type for the HadolintClient type
|
||
|
type HadolintClient struct {
|
||
|
mock.Mock
|
||
|
}
|
||
|
|
||
|
// DownloadFile provides a mock function with given fields: url, filename, header, cookies
|
||
|
func (_m *HadolintClient) DownloadFile(url string, filename string, header http.Header, cookies []*http.Cookie) error {
|
||
|
ret := _m.Called(url, filename, header, cookies)
|
||
|
|
||
|
var r0 error
|
||
|
if rf, ok := ret.Get(0).(func(string, string, http.Header, []*http.Cookie) error); ok {
|
||
|
r0 = rf(url, filename, header, cookies)
|
||
|
} else {
|
||
|
r0 = ret.Error(0)
|
||
|
}
|
||
|
|
||
|
return r0
|
||
|
}
|
||
|
|
||
|
// SetOptions provides a mock function with given fields: options
|
||
|
func (_m *HadolintClient) SetOptions(options pkghttp.ClientOptions) {
|
||
|
_m.Called(options)
|
||
|
}
|