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 ¶
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) 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.
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) FetchFromS3 ¶
func (m *MockS3Interface) FetchFromS3(arg0 string) ([]byte, error)
FetchFromS3 mocks base method.
func (*MockS3Interface) PutToS3 ¶
func (m *MockS3Interface) PutToS3(arg0, arg1, arg2 string, arg3 io.ReadSeeker) error
PutToS3 mocks base method.
type MockS3InterfaceMockRecorder ¶
type MockS3InterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockS3InterfaceMockRecorder is the mock recorder for MockS3Interface.
func (*MockS3InterfaceMockRecorder) FetchFromS3 ¶
func (mr *MockS3InterfaceMockRecorder) FetchFromS3(arg0 any) *gomock.Call
FetchFromS3 indicates an expected call of FetchFromS3.
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.