Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockDocumentParser
- func (m *MockDocumentParser) EXPECT() *MockDocumentParserMockRecorder
- func (m *MockDocumentParser) GetIdentifiers(ctx context.Context) (*common.IdentifierStrings, error)
- func (m *MockDocumentParser) GetIdentities(ctx context.Context) []common.TrustInformation
- func (m *MockDocumentParser) GetPredicates(ctx context.Context) *assembler.IngestPredicates
- func (m *MockDocumentParser) Parse(ctx context.Context, doc *processor.Document) error
- type MockDocumentParserMockRecorder
- func (mr *MockDocumentParserMockRecorder) GetIdentifiers(ctx interface{}) *gomock.Call
- func (mr *MockDocumentParserMockRecorder) GetIdentities(ctx interface{}) *gomock.Call
- func (mr *MockDocumentParserMockRecorder) GetPredicates(ctx interface{}) *gomock.Call
- func (mr *MockDocumentParserMockRecorder) Parse(ctx, doc interface{}) *gomock.Call
- type MockScorecard
- type MockScorecardMockRecorder
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
func (m *MockDocumentParser) EXPECT() *MockDocumentParserMockRecorder
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
func (m *MockDocumentParser) GetPredicates(ctx context.Context) *assembler.IngestPredicates
GetPredicates 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 ¶
func (m *MockScorecard) EXPECT() *MockScorecardMockRecorder
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.