mocks

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

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 MockDocumentParser added in v0.1.1

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

MockDocumentParser is a mock of DocumentParser interface.

func NewMockDocumentParser added in v0.1.1

func NewMockDocumentParser(ctrl *gomock.Controller) *MockDocumentParser

NewMockDocumentParser creates a new mock instance.

func (*MockDocumentParser) EXPECT added in v0.1.1

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

func (*MockDocumentParser) GetIdentifiers added in v0.1.1

func (m *MockDocumentParser) GetIdentifiers(ctx context.Context) (*common.IdentifierStrings, error)

GetIdentifiers mocks base method.

func (*MockDocumentParser) GetIdentities added in v0.1.1

func (m *MockDocumentParser) GetIdentities(ctx context.Context) []common.TrustInformation

GetIdentities mocks base method.

func (*MockDocumentParser) GetPredicates added in v0.1.1

GetPredicates mocks base method.

func (*MockDocumentParser) Parse added in v0.1.1

Parse mocks base method.

type MockDocumentParserMockRecorder added in v0.1.1

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

MockDocumentParserMockRecorder is the mock recorder for MockDocumentParser.

func (*MockDocumentParserMockRecorder) GetIdentifiers added in v0.1.1

func (mr *MockDocumentParserMockRecorder) GetIdentifiers(ctx interface{}) *gomock.Call

GetIdentifiers indicates an expected call of GetIdentifiers.

func (*MockDocumentParserMockRecorder) GetIdentities added in v0.1.1

func (mr *MockDocumentParserMockRecorder) GetIdentities(ctx interface{}) *gomock.Call

GetIdentities indicates an expected call of GetIdentities.

func (*MockDocumentParserMockRecorder) GetPredicates added in v0.1.1

func (mr *MockDocumentParserMockRecorder) GetPredicates(ctx interface{}) *gomock.Call

GetPredicates indicates an expected call of GetPredicates.

func (*MockDocumentParserMockRecorder) Parse added in v0.1.1

func (mr *MockDocumentParserMockRecorder) Parse(ctx, doc interface{}) *gomock.Call

Parse indicates an expected call of Parse.

type MockScorecard

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

MockScorecard is a mock of Scorecard interface.

func NewMockScorecard

func NewMockScorecard(ctrl *gomock.Controller) *MockScorecard

NewMockScorecard creates a new mock instance.

func (*MockScorecard) EXPECT

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

func (*MockScorecard) GetScore

func (m *MockScorecard) GetScore(repoName, commitSHA, tag string) (*pkg.ScorecardResult, error)

GetScore mocks base method.

type MockScorecardMockRecorder

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

MockScorecardMockRecorder is the mock recorder for MockScorecard.

func (*MockScorecardMockRecorder) GetScore

func (mr *MockScorecardMockRecorder) GetScore(repoName, commitSHA, tag interface{}) *gomock.Call

GetScore indicates an expected call of GetScore.

Jump to

Keyboard shortcuts

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