cmd

package
v4.10.4 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: Apache-2.0 Imports: 24 Imported by: 1

Documentation

Overview

Package cmd implements Scorecard commandline.

Package cmd is a generated GoMock package.

Package cmd implements Scorecard commandline.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New added in v4.2.0

func New(o *options.Options) *cobra.Command

New creates a new instance of the scorecard command.

Types

type MockpackageManagerClient added in v4.2.0

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

MockpackageManagerClient is a mock of packageManagerClient interface.

func NewMockpackageManagerClient added in v4.2.0

func NewMockpackageManagerClient(ctrl *gomock.Controller) *MockpackageManagerClient

NewMockpackageManagerClient creates a new mock instance.

func (*MockpackageManagerClient) EXPECT added in v4.2.0

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

func (*MockpackageManagerClient) Get added in v4.2.0

func (m *MockpackageManagerClient) Get(URI, packagename string) (*http.Response, error)

Get mocks base method.

type MockpackageManagerClientMockRecorder added in v4.2.0

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

MockpackageManagerClientMockRecorder is the mock recorder for MockpackageManagerClient.

func (*MockpackageManagerClientMockRecorder) Get added in v4.2.0

func (mr *MockpackageManagerClientMockRecorder) Get(URI, packagename interface{}) *gomock.Call

Get indicates an expected call of Get.

Jump to

Keyboard shortcuts

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