mocks

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSnykCodeClient

type MockSnykCodeClient struct {
	// contains filtered or unexported fields
}

MockSnykCodeClient is a mock of SnykCodeClient interface.

func NewMockSnykCodeClient

func NewMockSnykCodeClient(ctrl *gomock.Controller) *MockSnykCodeClient

NewMockSnykCodeClient creates a new mock instance.

func (*MockSnykCodeClient) CreateBundle

func (m *MockSnykCodeClient) CreateBundle(ctx context.Context, files map[string]string) (string, []string, error)

CreateBundle mocks base method.

func (*MockSnykCodeClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSnykCodeClient) ExtendBundle

func (m *MockSnykCodeClient) ExtendBundle(ctx context.Context, bundleHash string, files map[string]deepcode.BundleFile, removedFiles []string) (string, []string, error)

ExtendBundle mocks base method.

func (*MockSnykCodeClient) GetFilters

GetFilters mocks base method.

type MockSnykCodeClientMockRecorder

type MockSnykCodeClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockSnykCodeClientMockRecorder is the mock recorder for MockSnykCodeClient.

func (*MockSnykCodeClientMockRecorder) CreateBundle

func (mr *MockSnykCodeClientMockRecorder) CreateBundle(ctx, files interface{}) *gomock.Call

CreateBundle indicates an expected call of CreateBundle.

func (*MockSnykCodeClientMockRecorder) ExtendBundle

func (mr *MockSnykCodeClientMockRecorder) ExtendBundle(ctx, bundleHash, files, removedFiles interface{}) *gomock.Call

ExtendBundle indicates an expected call of ExtendBundle.

func (*MockSnykCodeClientMockRecorder) GetFilters

func (mr *MockSnykCodeClientMockRecorder) GetFilters(ctx interface{}) *gomock.Call

GetFilters indicates an expected call of GetFilters.

Jump to

Keyboard shortcuts

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