mocks

package
v0.0.0-...-40d4f7c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HadolintClient

type HadolintClient struct {
	mock.Mock
}

HadolintClient is an autogenerated mock type for the HadolintClient type

func (*HadolintClient) DownloadFile

func (_m *HadolintClient) DownloadFile(url string, filename string, header http.Header, cookies []*http.Cookie) error

DownloadFile provides a mock function with given fields: url, filename, header, cookies

func (*HadolintClient) SetOptions

func (_m *HadolintClient) SetOptions(options pkghttp.ClientOptions)

SetOptions provides a mock function with given fields: options

type HadolintPiperFileUtils

type HadolintPiperFileUtils struct {
	mock.Mock
}

HadolintPiperFileUtils is an autogenerated mock type for the HadolintPiperFileUtils type

func (*HadolintPiperFileUtils) FileExists

func (_m *HadolintPiperFileUtils) FileExists(filename string) (bool, error)

FileExists provides a mock function with given fields: filename

func (*HadolintPiperFileUtils) FileWrite

func (_m *HadolintPiperFileUtils) FileWrite(filename string, data []byte, perm os.FileMode) error

FileWrite provides a mock function with given fields: filename, data, perm

func (*HadolintPiperFileUtils) WriteFile

func (_m *HadolintPiperFileUtils) WriteFile(filename string, data []byte, perm os.FileMode) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL