mocks

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: Apache-2.0 Imports: 3 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 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