Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCommonImpl ¶
MockCommonImpl is a mock of common.CommonImpl. All the methods are mocked using testify's mocking library.
func NewMockCommonImpl ¶
func NewMockCommonImpl() *MockCommonImpl
New returns a pointer to a newly created struct. We return the pointer because we want to make sure the methods on mock.Mock stay accessible, e.g. m.On()
func (*MockCommonImpl) Hostname ¶
func (m *MockCommonImpl) Hostname() string
type MockGCSClient ¶
type MockGCSClient struct {
mockgcsclient.MockGCSClient
}
func NewMockGCSClient ¶
func NewMockGCSClient() *MockGCSClient
func (*MockGCSClient) DeleteAllFilesInFolder ¶
func (m *MockGCSClient) DeleteAllFilesInFolder(folder string, processes int) error
func (*MockGCSClient) DownloadAllFuzzes ¶
func (m *MockGCSClient) DownloadAllFuzzes(downloadToPath, category, revision, architecture, fuzzType string, processes int) ([]string, error)
func (*MockGCSClient) GetAllFuzzNamesInFolder ¶
func (m *MockGCSClient) GetAllFuzzNamesInFolder(name string) ([]string, error)
Click to show internal directories.
Click to hide internal directories.