mocks

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 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 MockAnalysisOrchestrator

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

MockAnalysisOrchestrator is a mock of AnalysisOrchestrator interface.

func NewMockAnalysisOrchestrator

func NewMockAnalysisOrchestrator(ctrl *gomock.Controller) *MockAnalysisOrchestrator

NewMockAnalysisOrchestrator creates a new mock instance.

func (*MockAnalysisOrchestrator) CreateWorkspace

func (m *MockAnalysisOrchestrator) CreateWorkspace(ctx context.Context, orgId, requestId, path, bundleHash string) (string, error)

CreateWorkspace mocks base method.

func (*MockAnalysisOrchestrator) EXPECT

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

func (*MockAnalysisOrchestrator) RunAnalysis

func (m *MockAnalysisOrchestrator) RunAnalysis(ctx context.Context, orgId, workspaceId string) (*sarif.SarifResponse, error)

RunAnalysis mocks base method.

type MockAnalysisOrchestratorMockRecorder

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

MockAnalysisOrchestratorMockRecorder is the mock recorder for MockAnalysisOrchestrator.

func (*MockAnalysisOrchestratorMockRecorder) CreateWorkspace

func (mr *MockAnalysisOrchestratorMockRecorder) CreateWorkspace(ctx, orgId, requestId, path, bundleHash interface{}) *gomock.Call

CreateWorkspace indicates an expected call of CreateWorkspace.

func (*MockAnalysisOrchestratorMockRecorder) RunAnalysis

func (mr *MockAnalysisOrchestratorMockRecorder) RunAnalysis(ctx, orgId, workspaceId interface{}) *gomock.Call

RunAnalysis indicates an expected call of RunAnalysis.

Jump to

Keyboard shortcuts

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