mocks

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 4 Imported by: 0

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