github.com/ouraigua/jenkins-library@v0.0.0-20231028010029-fbeaf2f3aa9b/pkg/hadolint/mocks/hadolintClient.go (about)

     1  // Code generated by mockery v2.0.0-alpha.13. DO NOT EDIT.
     2  
     3  package mocks
     4  
     5  import (
     6  	http "net/http"
     7  
     8  	pkghttp "github.com/SAP/jenkins-library/pkg/http"
     9  	mock "github.com/stretchr/testify/mock"
    10  )
    11  
    12  // HadolintClient is an autogenerated mock type for the HadolintClient type
    13  type HadolintClient struct {
    14  	mock.Mock
    15  }
    16  
    17  // DownloadFile provides a mock function with given fields: url, filename, header, cookies
    18  func (_m *HadolintClient) DownloadFile(url string, filename string, header http.Header, cookies []*http.Cookie) error {
    19  	ret := _m.Called(url, filename, header, cookies)
    20  
    21  	var r0 error
    22  	if rf, ok := ret.Get(0).(func(string, string, http.Header, []*http.Cookie) error); ok {
    23  		r0 = rf(url, filename, header, cookies)
    24  	} else {
    25  		r0 = ret.Error(0)
    26  	}
    27  
    28  	return r0
    29  }
    30  
    31  // SetOptions provides a mock function with given fields: options
    32  func (_m *HadolintClient) SetOptions(options pkghttp.ClientOptions) {
    33  	_m.Called(options)
    34  }