Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockAPI
- type MockAPIMockRecorder
- type MockArtifactAPI
- func (m *MockArtifactAPI) AddTag(arg0, arg1, arg2, arg3 string) error
- func (m *MockArtifactAPI) Delete(arg0, arg1, arg2 string) error
- func (m *MockArtifactAPI) DeleteTag(arg0, arg1, arg2, arg3 string) error
- func (m *MockArtifactAPI) EXPECT() *MockArtifactAPIMockRecorder
- func (m *MockArtifactAPI) Get(arg0, arg1, arg2 string) (*harborapi.Artifact, error)
- func (m *MockArtifactAPI) GetFromTag(arg0, arg1, arg2 string) (*harborapi.Artifact, error)
- func (m *MockArtifactAPI) GetTags(arg0, arg1, arg2 string) ([]harborapi.Tag, error)
- func (m *MockArtifactAPI) GetVulnerabilities(arg0, arg1, arg2 string) (harborapi.VulnerabilityReportResponse, error)
- func (m *MockArtifactAPI) Scan(arg0, arg1, arg2 string) error
- type MockArtifactAPIMockRecorder
- func (mr *MockArtifactAPIMockRecorder) AddTag(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockArtifactAPIMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockArtifactAPIMockRecorder) DeleteTag(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockArtifactAPIMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockArtifactAPIMockRecorder) GetFromTag(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockArtifactAPIMockRecorder) GetTags(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockArtifactAPIMockRecorder) GetVulnerabilities(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockArtifactAPIMockRecorder) Scan(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAPI ¶
type MockAPI struct {
// contains filtered or unexported fields
}
MockAPI is a mock of API interface.
func NewMockAPI ¶
func NewMockAPI(ctrl *gomock.Controller) *MockAPI
NewMockAPI creates a new mock instance.
func (*MockAPI) Artifact ¶
func (m *MockAPI) Artifact() harborapi.ArtifactAPI
Artifact mocks base method.
func (*MockAPI) EXPECT ¶
func (m *MockAPI) EXPECT() *MockAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockAPIMockRecorder ¶
type MockAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockAPIMockRecorder is the mock recorder for MockAPI.
func (*MockAPIMockRecorder) Artifact ¶
func (mr *MockAPIMockRecorder) Artifact() *gomock.Call
Artifact indicates an expected call of Artifact.
type MockArtifactAPI ¶
type MockArtifactAPI struct {
// contains filtered or unexported fields
}
MockArtifactAPI is a mock of ArtifactAPI interface.
func NewMockArtifactAPI ¶
func NewMockArtifactAPI(ctrl *gomock.Controller) *MockArtifactAPI
NewMockArtifactAPI creates a new mock instance.
func (*MockArtifactAPI) AddTag ¶
func (m *MockArtifactAPI) AddTag(arg0, arg1, arg2, arg3 string) error
AddTag mocks base method.
func (*MockArtifactAPI) Delete ¶
func (m *MockArtifactAPI) Delete(arg0, arg1, arg2 string) error
Delete mocks base method.
func (*MockArtifactAPI) DeleteTag ¶
func (m *MockArtifactAPI) DeleteTag(arg0, arg1, arg2, arg3 string) error
DeleteTag mocks base method.
func (*MockArtifactAPI) EXPECT ¶
func (m *MockArtifactAPI) EXPECT() *MockArtifactAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockArtifactAPI) Get ¶
func (m *MockArtifactAPI) Get(arg0, arg1, arg2 string) (*harborapi.Artifact, error)
Get mocks base method.
func (*MockArtifactAPI) GetFromTag ¶
func (m *MockArtifactAPI) GetFromTag(arg0, arg1, arg2 string) (*harborapi.Artifact, error)
GetFromTag mocks base method.
func (*MockArtifactAPI) GetTags ¶
func (m *MockArtifactAPI) GetTags(arg0, arg1, arg2 string) ([]harborapi.Tag, error)
GetTags mocks base method.
func (*MockArtifactAPI) GetVulnerabilities ¶
func (m *MockArtifactAPI) GetVulnerabilities(arg0, arg1, arg2 string) (harborapi.VulnerabilityReportResponse, error)
GetVulnerabilities mocks base method.
func (*MockArtifactAPI) Scan ¶
func (m *MockArtifactAPI) Scan(arg0, arg1, arg2 string) error
Scan mocks base method.
type MockArtifactAPIMockRecorder ¶
type MockArtifactAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockArtifactAPIMockRecorder is the mock recorder for MockArtifactAPI.
func (*MockArtifactAPIMockRecorder) AddTag ¶
func (mr *MockArtifactAPIMockRecorder) AddTag(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
AddTag indicates an expected call of AddTag.
func (*MockArtifactAPIMockRecorder) Delete ¶
func (mr *MockArtifactAPIMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockArtifactAPIMockRecorder) DeleteTag ¶
func (mr *MockArtifactAPIMockRecorder) DeleteTag(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
DeleteTag indicates an expected call of DeleteTag.
func (*MockArtifactAPIMockRecorder) Get ¶
func (mr *MockArtifactAPIMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockArtifactAPIMockRecorder) GetFromTag ¶
func (mr *MockArtifactAPIMockRecorder) GetFromTag(arg0, arg1, arg2 interface{}) *gomock.Call
GetFromTag indicates an expected call of GetFromTag.
func (*MockArtifactAPIMockRecorder) GetTags ¶
func (mr *MockArtifactAPIMockRecorder) GetTags(arg0, arg1, arg2 interface{}) *gomock.Call
GetTags indicates an expected call of GetTags.
func (*MockArtifactAPIMockRecorder) GetVulnerabilities ¶
func (mr *MockArtifactAPIMockRecorder) GetVulnerabilities(arg0, arg1, arg2 interface{}) *gomock.Call
GetVulnerabilities indicates an expected call of GetVulnerabilities.
func (*MockArtifactAPIMockRecorder) Scan ¶
func (mr *MockArtifactAPIMockRecorder) Scan(arg0, arg1, arg2 interface{}) *gomock.Call
Scan indicates an expected call of Scan.