Versions in this module Expand all Collapse all v4 v4.0.0 Jul 5, 2023 Changes in this version + type MockCIIBestPracticesClient struct + func NewMockCIIBestPracticesClient(ctrl *gomock.Controller) *MockCIIBestPracticesClient + func (m *MockCIIBestPracticesClient) EXPECT() *MockCIIBestPracticesClientMockRecorder + func (m *MockCIIBestPracticesClient) GetBadgeLevel(ctx context.Context, uri string) (clients.BadgeLevel, error) + type MockCIIBestPracticesClientMockRecorder struct + func (mr *MockCIIBestPracticesClientMockRecorder) GetBadgeLevel(ctx, uri interface{}) *gomock.Call + type MockRepo struct + func NewMockRepo(ctrl *gomock.Controller) *MockRepo + func (m *MockRepo) AppendMetadata(metadata ...string) + func (m *MockRepo) EXPECT() *MockRepoMockRecorder + func (m *MockRepo) Host() string + func (m *MockRepo) IsValid() error + func (m *MockRepo) Metadata() []string + func (m *MockRepo) String() string + func (m *MockRepo) URI() string + type MockRepoClient struct + func NewMockRepoClient(ctrl *gomock.Controller) *MockRepoClient + func (m *MockRepoClient) Close() error + func (m *MockRepoClient) EXPECT() *MockRepoClientMockRecorder + func (m *MockRepoClient) GetBranch(branch string) (*clients.BranchRef, error) + func (m *MockRepoClient) GetCreatedAt() (time.Time, error) + func (m *MockRepoClient) GetDefaultBranch() (*clients.BranchRef, error) + func (m *MockRepoClient) GetDefaultBranchName() (string, error) + func (m *MockRepoClient) GetFileContent(filename string) ([]byte, error) + func (m *MockRepoClient) GetOrgRepoClient(arg0 context.Context) (clients.RepoClient, error) + func (m *MockRepoClient) InitRepo(repo clients.Repo, commitSHA string, commitDepth int) error + func (m *MockRepoClient) IsArchived() (bool, error) + func (m *MockRepoClient) ListCheckRunsForRef(ref string) ([]clients.CheckRun, error) + func (m *MockRepoClient) ListCommits() ([]clients.Commit, error) + func (m *MockRepoClient) ListContributors() ([]clients.User, error) + func (m *MockRepoClient) ListFiles(predicate func(string) (bool, error)) ([]string, error) + func (m *MockRepoClient) ListIssues() ([]clients.Issue, error) + func (m *MockRepoClient) ListLicenses() ([]clients.License, error) + func (m *MockRepoClient) ListProgrammingLanguages() ([]clients.Language, error) + func (m *MockRepoClient) ListReleases() ([]clients.Release, error) + func (m *MockRepoClient) ListStatuses(ref string) ([]clients.Status, error) + func (m *MockRepoClient) ListSuccessfulWorkflowRuns(filename string) ([]clients.WorkflowRun, error) + func (m *MockRepoClient) ListWebhooks() ([]clients.Webhook, error) + func (m *MockRepoClient) LocalPath() (string, error) + func (m *MockRepoClient) Search(request clients.SearchRequest) (clients.SearchResponse, error) + func (m *MockRepoClient) SearchCommits(request clients.SearchCommitsOptions) ([]clients.Commit, error) + func (m *MockRepoClient) URI() string + type MockRepoClientMockRecorder struct + func (mr *MockRepoClientMockRecorder) Close() *gomock.Call + func (mr *MockRepoClientMockRecorder) GetBranch(branch interface{}) *gomock.Call + func (mr *MockRepoClientMockRecorder) GetCreatedAt() *gomock.Call + func (mr *MockRepoClientMockRecorder) GetDefaultBranch() *gomock.Call + func (mr *MockRepoClientMockRecorder) GetDefaultBranchName() *gomock.Call + func (mr *MockRepoClientMockRecorder) GetFileContent(filename interface{}) *gomock.Call + func (mr *MockRepoClientMockRecorder) GetOrgRepoClient(arg0 interface{}) *gomock.Call + func (mr *MockRepoClientMockRecorder) InitRepo(repo, commitSHA, commitDepth interface{}) *gomock.Call + func (mr *MockRepoClientMockRecorder) IsArchived() *gomock.Call + func (mr *MockRepoClientMockRecorder) ListCheckRunsForRef(ref interface{}) *gomock.Call + func (mr *MockRepoClientMockRecorder) ListCommits() *gomock.Call + func (mr *MockRepoClientMockRecorder) ListContributors() *gomock.Call + func (mr *MockRepoClientMockRecorder) ListFiles(predicate interface{}) *gomock.Call + func (mr *MockRepoClientMockRecorder) ListIssues() *gomock.Call + func (mr *MockRepoClientMockRecorder) ListLicenses() *gomock.Call + func (mr *MockRepoClientMockRecorder) ListProgrammingLanguages() *gomock.Call + func (mr *MockRepoClientMockRecorder) ListReleases() *gomock.Call + func (mr *MockRepoClientMockRecorder) ListStatuses(ref interface{}) *gomock.Call + func (mr *MockRepoClientMockRecorder) ListSuccessfulWorkflowRuns(filename interface{}) *gomock.Call + func (mr *MockRepoClientMockRecorder) ListWebhooks() *gomock.Call + func (mr *MockRepoClientMockRecorder) LocalPath() *gomock.Call + func (mr *MockRepoClientMockRecorder) Search(request interface{}) *gomock.Call + func (mr *MockRepoClientMockRecorder) SearchCommits(request interface{}) *gomock.Call + func (mr *MockRepoClientMockRecorder) URI() *gomock.Call + type MockRepoMockRecorder struct + func (mr *MockRepoMockRecorder) AppendMetadata(metadata ...interface{}) *gomock.Call + func (mr *MockRepoMockRecorder) Host() *gomock.Call + func (mr *MockRepoMockRecorder) IsValid() *gomock.Call + func (mr *MockRepoMockRecorder) Metadata() *gomock.Call + func (mr *MockRepoMockRecorder) String() *gomock.Call + func (mr *MockRepoMockRecorder) URI() *gomock.Call + type MockVulnerabilitiesClient struct + func NewMockVulnerabilitiesClient(ctrl *gomock.Controller) *MockVulnerabilitiesClient + func (m *MockVulnerabilitiesClient) EXPECT() *MockVulnerabilitiesClientMockRecorder + func (m *MockVulnerabilitiesClient) ListUnfixedVulnerabilities(context context.Context, commit, localDir string) (clients.VulnerabilitiesResponse, error) + type MockVulnerabilitiesClientMockRecorder struct + func (mr *MockVulnerabilitiesClientMockRecorder) ListUnfixedVulnerabilities(context, commit, localDir interface{}) *gomock.Call