Documentation
¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: interfaces.go
Generated by this command:
mockgen -source=interfaces.go -destination=../mock/interfaces.go -package=mock
Package mock is a generated GoMock package.
Index ¶
- type MockHandlerInterface
- func (m *MockHandlerInterface) ApiV1GetScan(w http.ResponseWriter, r *http.Request, imageId generated.ImageID)
- func (m *MockHandlerInterface) ApiV1GetScans(w http.ResponseWriter, r *http.Request)
- func (m *MockHandlerInterface) ApiV1GetTest(w http.ResponseWriter, r *http.Request, imageId generated.ImageID)
- func (m *MockHandlerInterface) ApiV1GetTests(w http.ResponseWriter, r *http.Request)
- func (m *MockHandlerInterface) EXPECT() *MockHandlerInterfaceMockRecorder
- func (m *MockHandlerInterface) Healthz(w http.ResponseWriter, r *http.Request)
- type MockHandlerInterfaceMockRecorder
- func (mr *MockHandlerInterfaceMockRecorder) ApiV1GetScan(w, r, imageId any) *gomock.Call
- func (mr *MockHandlerInterfaceMockRecorder) ApiV1GetScans(w, r any) *gomock.Call
- func (mr *MockHandlerInterfaceMockRecorder) ApiV1GetTest(w, r, imageId any) *gomock.Call
- func (mr *MockHandlerInterfaceMockRecorder) ApiV1GetTests(w, r any) *gomock.Call
- func (mr *MockHandlerInterfaceMockRecorder) Healthz(w, r any) *gomock.Call
- type MockS3Interface
- type MockS3InterfaceMockRecorder
- type MockSSHInterface
- type MockSSHInterfaceMockRecorder
- type MockVaultInterface
- type MockVaultInterfaceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockHandlerInterface ¶
type MockHandlerInterface struct {
// contains filtered or unexported fields
}
MockHandlerInterface is a mock of HandlerInterface interface.
func NewMockHandlerInterface ¶
func NewMockHandlerInterface(ctrl *gomock.Controller) *MockHandlerInterface
NewMockHandlerInterface creates a new mock instance.
func (*MockHandlerInterface) ApiV1GetScan ¶
func (m *MockHandlerInterface) ApiV1GetScan(w http.ResponseWriter, r *http.Request, imageId generated.ImageID)
ApiV1GetScan mocks base method.
func (*MockHandlerInterface) ApiV1GetScans ¶ added in v0.3.0
func (m *MockHandlerInterface) ApiV1GetScans(w http.ResponseWriter, r *http.Request)
ApiV1GetScans mocks base method.
func (*MockHandlerInterface) ApiV1GetTest ¶ added in v0.3.0
func (m *MockHandlerInterface) ApiV1GetTest(w http.ResponseWriter, r *http.Request, imageId generated.ImageID)
ApiV1GetTest mocks base method.
func (*MockHandlerInterface) ApiV1GetTests ¶ added in v0.3.0
func (m *MockHandlerInterface) ApiV1GetTests(w http.ResponseWriter, r *http.Request)
ApiV1GetTests mocks base method.
func (*MockHandlerInterface) EXPECT ¶
func (m *MockHandlerInterface) EXPECT() *MockHandlerInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockHandlerInterface) Healthz ¶
func (m *MockHandlerInterface) Healthz(w http.ResponseWriter, r *http.Request)
Healthz mocks base method.
type MockHandlerInterfaceMockRecorder ¶
type MockHandlerInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockHandlerInterfaceMockRecorder is the mock recorder for MockHandlerInterface.
func (*MockHandlerInterfaceMockRecorder) ApiV1GetScan ¶
func (mr *MockHandlerInterfaceMockRecorder) ApiV1GetScan(w, r, imageId any) *gomock.Call
ApiV1GetScan indicates an expected call of ApiV1GetScan.
func (*MockHandlerInterfaceMockRecorder) ApiV1GetScans ¶ added in v0.3.0
func (mr *MockHandlerInterfaceMockRecorder) ApiV1GetScans(w, r any) *gomock.Call
ApiV1GetScans indicates an expected call of ApiV1GetScans.
func (*MockHandlerInterfaceMockRecorder) ApiV1GetTest ¶ added in v0.3.0
func (mr *MockHandlerInterfaceMockRecorder) ApiV1GetTest(w, r, imageId any) *gomock.Call
ApiV1GetTest indicates an expected call of ApiV1GetTest.
func (*MockHandlerInterfaceMockRecorder) ApiV1GetTests ¶ added in v0.3.0
func (mr *MockHandlerInterfaceMockRecorder) ApiV1GetTests(w, r any) *gomock.Call
ApiV1GetTests indicates an expected call of ApiV1GetTests.
type MockS3Interface ¶
type MockS3Interface struct {
// contains filtered or unexported fields
}
MockS3Interface is a mock of S3Interface interface.
func NewMockS3Interface ¶
func NewMockS3Interface(ctrl *gomock.Controller) *MockS3Interface
NewMockS3Interface creates a new mock instance.
func (*MockS3Interface) EXPECT ¶
func (m *MockS3Interface) EXPECT() *MockS3InterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockS3Interface) Fetch ¶ added in v0.3.0
func (m *MockS3Interface) Fetch(arg0 string) ([]byte, error)
Fetch mocks base method.
func (*MockS3Interface) List ¶ added in v0.3.0
func (m *MockS3Interface) List() ([]string, error)
List mocks base method.
func (*MockS3Interface) Put ¶ added in v0.3.0
func (m *MockS3Interface) Put(arg0, arg1 string, arg2 io.ReadSeeker) error
Put mocks base method.
type MockS3InterfaceMockRecorder ¶
type MockS3InterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockS3InterfaceMockRecorder is the mock recorder for MockS3Interface.
func (*MockS3InterfaceMockRecorder) Fetch ¶ added in v0.3.0
func (mr *MockS3InterfaceMockRecorder) Fetch(arg0 any) *gomock.Call
Fetch indicates an expected call of Fetch.
func (*MockS3InterfaceMockRecorder) List ¶ added in v0.3.0
func (mr *MockS3InterfaceMockRecorder) List() *gomock.Call
List indicates an expected call of List.
type MockSSHInterface ¶
type MockSSHInterface struct {
// contains filtered or unexported fields
}
MockSSHInterface is a mock of SSHInterface interface.
func NewMockSSHInterface ¶
func NewMockSSHInterface(ctrl *gomock.Controller) *MockSSHInterface
NewMockSSHInterface creates a new mock instance.
func (*MockSSHInterface) CopyFromRemoteServer ¶
func (m *MockSSHInterface) CopyFromRemoteServer(srcPath, dstPath, filename string) (*os.File, error)
CopyFromRemoteServer mocks base method.
func (*MockSSHInterface) EXPECT ¶
func (m *MockSSHInterface) EXPECT() *MockSSHInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSSHInterface) SFTPClose ¶
func (m *MockSSHInterface) SFTPClose() error
SFTPClose mocks base method.
func (*MockSSHInterface) SSHClose ¶
func (m *MockSSHInterface) SSHClose() error
SSHClose mocks base method.
type MockSSHInterfaceMockRecorder ¶
type MockSSHInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockSSHInterfaceMockRecorder is the mock recorder for MockSSHInterface.
func (*MockSSHInterfaceMockRecorder) CopyFromRemoteServer ¶
func (mr *MockSSHInterfaceMockRecorder) CopyFromRemoteServer(srcPath, dstPath, filename any) *gomock.Call
CopyFromRemoteServer indicates an expected call of CopyFromRemoteServer.
func (*MockSSHInterfaceMockRecorder) SFTPClose ¶
func (mr *MockSSHInterfaceMockRecorder) SFTPClose() *gomock.Call
SFTPClose indicates an expected call of SFTPClose.
func (*MockSSHInterfaceMockRecorder) SSHClose ¶
func (mr *MockSSHInterfaceMockRecorder) SSHClose() *gomock.Call
SSHClose indicates an expected call of SSHClose.
type MockVaultInterface ¶
type MockVaultInterface struct {
// contains filtered or unexported fields
}
MockVaultInterface is a mock of VaultInterface interface.
func NewMockVaultInterface ¶
func NewMockVaultInterface(ctrl *gomock.Controller) *MockVaultInterface
NewMockVaultInterface creates a new mock instance.
func (*MockVaultInterface) EXPECT ¶
func (m *MockVaultInterface) EXPECT() *MockVaultInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockVaultInterfaceMockRecorder ¶
type MockVaultInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockVaultInterfaceMockRecorder is the mock recorder for MockVaultInterface.